From d329d3764120f1caa5932f69654248331604a890 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期二, 15 七月 2025 09:59:01 +0800
Subject: [PATCH] 盘点功能代码优化

---
 rsf-admin/src/page/orders/check/CheckOrderList.jsx |   23 +++++------------------
 1 files changed, 5 insertions(+), 18 deletions(-)

diff --git a/rsf-admin/src/page/orders/check/CheckOrderList.jsx b/rsf-admin/src/page/orders/check/CheckOrderList.jsx
index 3fec11a..47ea727 100644
--- a/rsf-admin/src/page/orders/check/CheckOrderList.jsx
+++ b/rsf-admin/src/page/orders/check/CheckOrderList.jsx
@@ -67,25 +67,14 @@
 const filters = [
   <SearchInput source="condition" alwaysOn />,
   <TextInput source="code" label="table.field.checkOrder.code" alwaysOn />,
-  <TextInput source="poCode" label="table.field.checkOrder.poCode" />,
-  <NumberInput source="poId" label="table.field.checkOrder.poId" />,
   <ReferenceInput source="type" reference="dictData" filter={{ dictTypeCode: 'sys_order_type', group: '3' }} label="table.field.checkOrder.type" alwaysOn>
     <AutocompleteInput label="table.field.checkOrder.type" optionValue="value" />
   </ReferenceInput>,
-  <ReferenceInput source="wkType" reference="dictData" filter={{ dictTypeCode: 'sys_check_order_type' }} label="table.field.checkOrder.wkType" alwaysOn>
-    <AutocompleteInput label="table.field.checkOrder.wkType" optionValue="value" />
+  <ReferenceInput source="wkType" reference="dictData" filter={{ dictTypeCode: 'sys_check_order_type' }} label="table.field.checkOrder.checkType" alwaysOn>
+    <AutocompleteInput label="table.field.checkOrder.checkType" optionValue="value" />
   </ReferenceInput>,
-  <NumberInput source="anfme" label="table.field.checkOrder.anfme" />,
-  <NumberInput source="qty" label="table.field.checkOrder.qty" />,
   <TextInput source="logisNo" label="table.field.checkOrder.logisNo" />,
   <DateInput source="arrTime" label="table.field.checkOrder.arrTime" />,
-  <SelectInput source="rleStatus" label="table.field.checkOrder.rleStatus"
-    choices={[
-      { id: 0, name: ' 姝e父' },
-      { id: 1, name: ' 宸查噴鏀�' },
-    ]}
-  />,
-
   <TextInput label="common.field.memo" source="memo" />,
   <DictionarySelect
     label='table.field.checkOrder.exceStatus'
@@ -143,7 +132,7 @@
             <FilterButton />
             <MyCreateButton onClick={() => { setManualDialog(true); setmodalType(0) }} />
             <SelectColumnsButton preferenceKey='check' />
-            <ImportButton value={'checkItem'} />
+            <ImportButton value={'check'} />
           </TopToolbar>
         )}
         perPage={DEFAULT_PAGE_SIZE}
@@ -157,14 +146,12 @@
         >
           <NumberField source="id" />
           <TextField source="code" label="table.field.checkOrder.code" />
-          <TextField source="poCode" label="table.field.checkOrder.poCode" />
           <TextField source="type$" label="table.field.checkOrder.type" />
-          <TextField cellClassName="wkType" source="checkType$" label="table.field.checkOrder.wkType" />
+          <TextField cellClassName="wkType" source="checkType$" label="table.field.checkOrder.checkType" />
           <NumberField source="anfme" label="table.field.checkOrder.anfme" />
           <NumberField source="workQty" label="table.field.checkOrder.workQty" />
           <NumberField source="qty" label="table.field.checkOrder.qty" />
-          <TextField source="logisNo" label="table.field.checkOrder.logisNo" />
-          <TextField source="rleStatus$" label="table.field.checkOrder.rleStatus" sortable={false} />
+          <DateField source="arrTime" label="table.field.checkOrder.arrTime" />
           <TextField source="updateBy$" label="common.field.updateBy" />
           <DateField source="updateTime" label="common.field.updateTime" showTime />
           <TextField source="createBy$" label="common.field.createBy" />

--
Gitblit v1.9.1