From b0409a8bac61d91d6db8755b15d4e2b9c4e3973c Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期四, 05 六月 2025 15:56:11 +0800 Subject: [PATCH] 出库单取消功能优化 --- rsf-admin/src/page/orders/outStock/OutOrderList.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx index 267a114..979c23f 100644 --- a/rsf-admin/src/page/orders/outStock/OutOrderList.jsx +++ b/rsf-admin/src/page/orders/outStock/OutOrderList.jsx @@ -83,10 +83,10 @@ <TextInput source="code" label="table.field.outStock.code" alwaysOn />, <TextInput source="poCode" label="table.field.outStock.poCode" />, <NumberInput source="poId" label="table.field.outStock.poId" />, - <ReferenceInput source="type" reference="dictData" filter={{ dictTypeCode: 'sys_business_type' }} label="table.field.outStock.type" alwaysOn> + <ReferenceInput source="type" reference="dictData" filter={{ dictTypeCode: 'sys_order_type', group: '2' }} label="table.field.outStock.type" alwaysOn> <AutocompleteInput label="table.field.outStock.type" optionValue="value" /> </ReferenceInput>, - <ReferenceInput source="wkType" reference="dictData" filter={{ dictTypeCode: 'sys_business_type' }} label="table.field.outStock.wkType" alwaysOn> + <ReferenceInput source="wkType" reference="dictData" filter={{ dictTypeCode: 'sys_business_type', group: '2' }} label="table.field.outStock.wkType" alwaysOn> <AutocompleteInput label="table.field.outStock.wkType" optionValue="value" /> </ReferenceInput>, <NumberInput source="anfme" label="table.field.outStock.anfme" />, @@ -164,6 +164,7 @@ <TextField source="type$" label="table.field.outStock.type" /> <TextField cellClassName="wkType" source="wkType$" label="table.field.outStock.wkType" /> <NumberField source="anfme" label="table.field.outStock.anfme" /> + <NumberField source="workQty" label="table.field.outStock.workQty" /> <NumberField source="qty" label="table.field.outStock.qty" /> <TextField source="logisNo" label="table.field.outStock.logisNo" /> <TextField source="rleStatus$" label="table.field.outStock.rleStatus" sortable={false} /> @@ -283,6 +284,6 @@ } return ( - record?.exceStatus == 0 ? <ConfirmButton label={"toolbar.cancel"} startIcon={<CancelOutlinedIcon /> } onConfirm={cancelOrder} /> : <></> + record?.exceStatus == 10 ? <ConfirmButton label={"toolbar.cancel"} startIcon={<CancelOutlinedIcon />} onConfirm={cancelOrder} /> : <></> ) } -- Gitblit v1.9.1