From b0932123072a837e376e64de2c3417f045462cc3 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 08 四月 2025 17:27:32 +0800 Subject: [PATCH] 新增PDA一键收货功能 --- rsf-admin/src/page/asnOrder/AsnOrderList.jsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rsf-admin/src/page/asnOrder/AsnOrderList.jsx b/rsf-admin/src/page/asnOrder/AsnOrderList.jsx index 08016e7..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']} > @@ -167,7 +167,7 @@ <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