From 97db7c8a1471e9146a5abe53375f4d2e29fa2ced Mon Sep 17 00:00:00 2001
From: verou <857149855@qq.com>
Date: 星期一, 07 四月 2025 17:04:53 +0800
Subject: [PATCH] fix:0407修改

---
 rsf-admin/src/page/asnOrder/AsnOrderList.jsx |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/rsf-admin/src/page/asnOrder/AsnOrderList.jsx b/rsf-admin/src/page/asnOrder/AsnOrderList.jsx
index ad77e8f..c4da83b 100644
--- a/rsf-admin/src/page/asnOrder/AsnOrderList.jsx
+++ b/rsf-admin/src/page/asnOrder/AsnOrderList.jsx
@@ -62,7 +62,7 @@
   '& .column-name': {
   },
   '& .opt': {
-    width: 200
+    width: 300
   },
 }));
 
@@ -102,7 +102,7 @@
   const [createDialog, setCreateDialog] = useState(false);
   const [drawerVal, setDrawerVal] = useState(false);
   const [modalType, setmodalType] = useState(0);
-  const [billReload, setBillReload] = useState(null);
+  const billReload = useRef();
 
   const navigate = useNavigate();
   const assign = (record) => {
@@ -140,7 +140,7 @@
           preferenceKey='asnOrder'
           bulkActionButtons={<> <InspectionsButton /><BulkDeleteButton mutationMode={OPERATE_MODE} /></>}
           rowClick={() => false}
-          expand={<AsnOrderPanel setBillReload={setBillReload} />}
+          expand={<AsnOrderPanel billReload={billReload} />}
           expandSingle={true}
           omit={['id', 'createTime', 'createBy', 'memo', 'poId']}
         >
@@ -164,9 +164,10 @@
             <TextField source="nickname" />
           </ReferenceField>
           <DateField source="createTime" label="common.field.createTime" showTime />
-          <BooleanField source="statusBool" label="common.field.status" sortable={false} />
+          <TextField source="exceStatus$" label="common.field.status" />
+          {/* <BooleanField source="statusBool" label="common.field.status" sortable={false} /> */}
           <TextField source="memo" label="common.field.memo" sortable={false} />
-          <WrapperField cellClassName="opt" label="common.field.opt" >
+          <WrapperField cellClassName="opt" label="common.field.opt" width={300} >
             {/* <Button label="toolbar.print" onClick={print}>
               <FileDownloadIcon />
             </Button> */}

--
Gitblit v1.9.1