From 41ee7170ba0d269028e737d2021ed0565022f737 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期五, 22 八月 2025 10:00:08 +0800
Subject: [PATCH] 差异单同步 调整单接口同步
---
rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupCreate.jsx | 25 +++++++++----------------
1 files changed, 9 insertions(+), 16 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupCreate.jsx b/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupCreate.jsx
index 6e2a958..27f633a 100644
--- a/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupCreate.jsx
+++ b/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupCreate.jsx
@@ -43,23 +43,16 @@
}
};
- const handleSuccess = async (data) => {
- setOpen(false);
- notify('common.response.success');
- };
-
- const handleError = async (error) => {
- notify(error.message || 'common.response.fail', { type: 'error', messageArgs: { _: error.message } });
- };
-
return (
<>
<CreateBase
- record={{}}
- transform={(data) => {
- return data;
- }}
- mutationOptions={{ onSuccess: handleSuccess, onError: handleError }}
+ // record={{}}
+ // transform={(data) => {
+ // console.log('success========>');
+
+ // return data;
+ // }}
+ // mutationOptions={{ onSuccess: handleSuccess, onError: handleError }}
>
<Dialog
open={open}
@@ -93,14 +86,14 @@
validate={required()}
/>
</Grid>
- {/* <Grid item xs={6} display="flex" gap={1}>
+ <Grid item xs={6} display="flex" gap={1}>
<TextInput
label="table.field.matnrGroup.code"
source="code"
parse={v => v}
validate={required()}
/>
- </Grid> */}
+ </Grid>
<Grid item xs={6} display="flex" gap={1}>
<NumberInput
label="table.field.matnrGroup.parentId"
--
Gitblit v1.9.1