From 9e84e0199af37546a5fe76befdf004fae84ca921 Mon Sep 17 00:00:00 2001
From: chen.lin <1442464845@qq.com>
Date: 星期三, 25 二月 2026 13:36:34 +0800
Subject: [PATCH] 站点初始化,批量增加
---
rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupList.jsx | 33 +++++++++++++++++----------------
1 files changed, 17 insertions(+), 16 deletions(-)
diff --git a/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupList.jsx b/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupList.jsx
index b7436b2..a8cb90a 100644
--- a/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupList.jsx
+++ b/rsf-admin/src/page/basicInfo/matnrGroup/MatnrGroupList.jsx
@@ -46,14 +46,14 @@
minWidth: 80,
},
{
+ id: 'parCode',
+ label: 'table.field.matnrGroup.parCode',
+ minWidth: 100,
+ },
+ {
id: 'name',
label: 'table.field.matnrGroup.name',
Width: 100,
- },
- {
- id: 'parentId',
- label: 'table.field.matnrGroup.parentId',
- minWidth: 100,
}
];
@@ -197,15 +197,16 @@
deleteOne(
RESOURCE,
{ id: node.id },
- {
- onSuccess: () => {
- handleRefresh();
- notify('Department deleted successfully', { type: 'info', messageArgs: { _: 'Department deleted successfully' } });
- },
- onError: (error) => {
- notify(`Error: ${error.message}`, { type: 'warning', messageArgs: { _: `Error: ${error.message}` } });
- },
- }
+ {
+ onSuccess: () => {
+ handleRefresh();
+ const msg = translate('ra.message.delete_success');
+ notify(msg, { type: 'success', messageArgs: { _: msg } });
+ },
+ onError: (error) => {
+ notify(`Error: ${error.message}`, { type: 'warning', messageArgs: { _: `Error: ${error.message}` } });
+ },
+ }
);
}
};
@@ -269,7 +270,7 @@
{expandAll ? translate('common.action.collapseAll') : translate('common.action.expandAll')}
</Button>
<TextField
- label="鎼滅储"
+ label="鎼滅储鍚嶇О"
value={filter}
onChange={({ target }) => {
setFilter(target.value)
@@ -354,4 +355,4 @@
);
}
-export default MatnrGroupList;
\ No newline at end of file
+export default MatnrGroupList;
--
Gitblit v1.9.1