From 8ad7614fd797123b0d19d9323c3f9a4552702c29 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期三, 16 七月 2025 10:37:38 +0800 Subject: [PATCH] 代码优化 --- rsf-admin/src/page/orders/check/CheckOrderItemList.jsx | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/rsf-admin/src/page/orders/check/CheckOrderItemList.jsx b/rsf-admin/src/page/orders/check/CheckOrderItemList.jsx index 6e108d8..f1e9a01 100644 --- a/rsf-admin/src/page/orders/check/CheckOrderItemList.jsx +++ b/rsf-admin/src/page/orders/check/CheckOrderItemList.jsx @@ -58,8 +58,8 @@ const filters = [ <SearchInput source="condition" alwaysOn />, - <NumberInput source="asnId" label="table.field.outStockItem.asnId" />, - <TextInput source="asnCode" label="table.field.outStockItem.asnCode" alwaysOn />, + <NumberInput source="orderId" label="table.field.outStockItem.orderId" />, + <TextInput source="orderCode" label="table.field.outStockItem.orderCode" alwaysOn />, <TextInput source="poDetlId" label="table.field.outStockItem.poDetlId" />, <TextInput source="matnrId" label="table.field.outStockItem.matnrId" />, <TextInput source="maktx" label="table.field.outStockItem.maktx" alwaysOn />, @@ -111,7 +111,7 @@ }} title={"menu.outStockItem"} empty={false} - filter={{ asnId: asnId, deleted: 0 }} + filter={{ orderId: asnId, deleted: 0 }} filters={filters} sort={{ field: "create_time", order: "desc" }} actions={( @@ -126,11 +126,11 @@ preferenceKey='outStockItem' bulkActionButtons={false} rowClick={false} - omit={['id', 'createTime', 'createBy', 'memo', 'poDetlId', 'purQty', 'trackCode', 'packName', 'qrcode', 'splrName', 'matnrId', 'asnId']} + omit={['id', 'createTime', 'createBy', 'memo', 'poDetlId', 'purQty', 'trackCode', 'packName', 'qrcode', 'splrName', 'matnrId', 'orderId']} > <NumberField source="id" /> - <NumberField source="asnId" label="table.field.outStockItem.asnId" /> - <TextField source="asnCode" label="table.field.outStockItem.asnCode" /> + <NumberField source="orderId" label="table.field.outStockItem.orderId" /> + <TextField source="orderCode" label="table.field.outStockItem.orderCode" /> <TextField source="matnrId" label="table.field.outStockItem.matnrId" /> <TextField source="matnrCode" label="table.field.outStockItem.matnrCode" /> <TextField source="maktx" label="table.field.outStockItem.maktx" /> -- Gitblit v1.9.1