diff --git a/src/pages/applet/basicconfiguration/index.jsx b/src/pages/applet/basicconfiguration/index.jsx index 8c2e1e3..a67b7e0 100644 --- a/src/pages/applet/basicconfiguration/index.jsx +++ b/src/pages/applet/basicconfiguration/index.jsx @@ -212,7 +212,7 @@ const Material = () => { setIsModalVisible(false); actionRef.current.reloadAndRest(); } else { - message.error(response.errors||'更新失败') + message.error(response.errors || '更新失败') } } else { const response = await appletAPI.AddMinimaterial(jsonData); @@ -221,7 +221,7 @@ const Material = () => { setIsModalVisible(false); actionRef.current.reloadAndRest(); } else { - message.error(response.errors||'添加失败') + message.error(response.errors || '添加失败') } } } @@ -307,12 +307,12 @@ const Material = () => { useEffect(() => { if (!selectedStore) return; onFetchMiniPageList(); - if(!selectedPage) return; + if (!selectedPage) return; actionRef.current.reloadAndRest(); }, [selectedStore]); useEffect(() => { - actionRef.current.reloadAndRest(); + actionRef.current.reloadAndRest(); }, [selectedPage]); return { breadcrumb: {}, }}> -
+
当前门店:
@@ -335,8 +335,8 @@ const Material = () => { }
-
    
-
+
    
+
所属页面:
@@ -362,14 +362,14 @@ const Material = () => { }} pagination={{ pageSize: 10, - }} + }} request={async (params) => { if (!selectedStore) return; const jsonData = { "current": params.current, "pageSize": params.pageSize, "storeId": selectedStore, - "pageId":selectedPage + "pageId": selectedPage } const response = await appletAPI.MinimaterialListByStore(jsonData); const pageList = []; @@ -494,10 +494,10 @@ const Material = () => { })() } - - +
diff --git a/src/pages/applet/paytemplate/index.jsx b/src/pages/applet/paytemplate/index.jsx index 1011b3a..5741e5f 100644 --- a/src/pages/applet/paytemplate/index.jsx +++ b/src/pages/applet/paytemplate/index.jsx @@ -34,9 +34,9 @@ const pageManage = () => { render: (_, record) => { const find = storeList.find(item => item.id === record.storeId); if (find) { - return
{find.name}
+ return
{find.name}
} - } + } }, { @@ -113,7 +113,7 @@ const pageManage = () => { */ const onFetchStoreList = async () => { const response = await appletAPI.GetAllStore(); - if (response.statusCode==200) { + if (response.statusCode == 200) { setStoreList(response.data); setSelectedStore(response.data[0]?.id); } else { @@ -129,10 +129,10 @@ const pageManage = () => { actionRef.current.reloadAndRest(); }, [selectedStore]); - return + }}>
@@ -154,17 +154,17 @@ const pageManage = () => { actionRef={actionRef} pagination={{ pageSize: 10, - }} - scroll={{ + }} + scroll={{ x: 1300, - }} + }} cardBordered editable={{ type: 'multiple', }} request={async (params) => { if (!selectedStore) return; - const jsonData = { + const jsonData = { "current": params.current, "pageSize": params.pageSize, "storeId": selectedStore @@ -186,10 +186,10 @@ const pageManage = () => { ]} /> - setIsModalVisible(false)} onCancel={() => setIsModalVisible(false)} bodyStyle={{ padding: '32px 40px 1px 48px' }}> + setIsModalVisible(false)} onCancel={() => setIsModalVisible(false)} bodyStyle={{ padding: '32px 40px 1px 48px' }}>
{ - - - +
diff --git a/src/pages/groupMeal/member/membertag/components/CreateForm.jsx b/src/pages/groupMeal/member/membertag/components/CreateForm.jsx index e063cb1..4ade43a 100644 --- a/src/pages/groupMeal/member/membertag/components/CreateForm.jsx +++ b/src/pages/groupMeal/member/membertag/components/CreateForm.jsx @@ -24,7 +24,7 @@ const CreateForm = (props) => { - + { */} - + {/* - + */} + + +
); diff --git a/src/pages/groupMeal/oneCard/machine/index.jsx b/src/pages/groupMeal/oneCard/machine/index.jsx index 9812def..b5da419 100644 --- a/src/pages/groupMeal/oneCard/machine/index.jsx +++ b/src/pages/groupMeal/oneCard/machine/index.jsx @@ -270,10 +270,16 @@ const Machine = () => { ]} /> - { setCurrentOption({}); setIsModalOpen(false) }}> + { + modalForm.submit(); + }} + onCancel={() => { setCurrentOption({}); setIsModalOpen(false) }}>
{ > - - - - - - { + + + + + + {/* { */} - + { - @@ -379,11 +385,11 @@ const Machine = () => { } - + {/* - + */}
diff --git a/src/pages/groupMeal/oneCard/storedValueCard/index.jsx b/src/pages/groupMeal/oneCard/storedValueCard/index.jsx index 5e8d1b0..8c6ebdd 100644 --- a/src/pages/groupMeal/oneCard/storedValueCard/index.jsx +++ b/src/pages/groupMeal/oneCard/storedValueCard/index.jsx @@ -285,7 +285,10 @@ const storedValueCard = () => { maskClosable={false} title={currentOption.id ? '编辑储值卡' : '添加储值卡'} visible={isModalOpen} - footer={false} + //footer={false} + onOk={()=>{ + modalForm.submit(); + }} onCancel={() => setIsModalOpen(false)} >
@@ -352,11 +355,11 @@ const storedValueCard = () => { } - + {/* - + */}