From 084c64442a9d7f2743a46c63ca1dfc5e0a0b26b1 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期三, 18 九月 2024 13:05:15 +0800
Subject: [PATCH] #

---
 zy-acs-flow/src/page/loc/LocList.jsx |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/zy-acs-flow/src/page/loc/LocList.jsx b/zy-acs-flow/src/page/loc/LocList.jsx
index 92a319e..a576324 100644
--- a/zy-acs-flow/src/page/loc/LocList.jsx
+++ b/zy-acs-flow/src/page/loc/LocList.jsx
@@ -50,7 +50,8 @@
     '& .RaDatagrid-row': {
         cursor: 'auto'
     },
-    '& .column-name': {
+    '& .column-locNo': {
+        minWidth: 180
     },
     '& .opt': {
         width: 200
@@ -146,7 +147,7 @@
                         <TextField source="data" />
                     </ReferenceField>
                     {/* <TextField source="compDirect$" label="table.field.loc.compDirect" sortable={false} /> */}
-                    <ReferenceField source="locSts" label="table.field.loc.locSts" reference="locSts" link={false} sortable={false}>
+                    <ReferenceField source="locSts" label="table.field.loc.locSts" reference="locSts" link={false} sortable={true}>
                         <TextField source="name" />
                     </ReferenceField>
                     <NumberField source="row" label="table.field.loc.row" />
@@ -171,7 +172,7 @@
                     <TextField source="memo" label="common.field.memo" sortable={false} />
                     <WrapperField cellClassName="opt" label="common.field.opt">
                         <EditButton sx={{ padding: '1px', fontSize: '.75rem' }} />
-                        <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={OPERATE_MODE} />
+                        <DeleteButton sx={{ padding: '1px', fontSize: '.75rem' }} mutationMode={'optimistic'} />
                     </WrapperField>
                 </StyledDatagrid>
             </List>

--
Gitblit v1.9.1