From bfc43ca0e4683c1c0322a6cad5d5be2bc07decc3 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期四, 24 七月 2025 15:00:44 +0800
Subject: [PATCH] 新增调拔单功能 盘点功能优化

---
 rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx |   28 ++++++++++------------------
 1 files changed, 10 insertions(+), 18 deletions(-)

diff --git a/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx b/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
index 55ff8cd..89f8a5e 100644
--- a/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
+++ b/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
@@ -128,7 +128,6 @@
                                         label={translate("table.field.outBound.checkSta")}
                                         onChange={(e) => {
                                             setSta(e.target.value);
-                                            console.log("绔欑偣宸查�夋嫨:", e.target.value);
                                         }}
                                         size="small"
                                         type="[107]"
@@ -182,14 +181,7 @@
         http(sta, data);
     }
     const http = async (sta, items) => {
-        console.log(items);
-
-        const filter = items.filter(item => (item.outQty + item.workQty) > item.anfme);
-        if (filter.length > 0) {
-            notify(translate('toolbar.request.error.out_stock_qty'))
-            return
-        }
-        const { data: { code, data, msg } } = await request.post(`/locItem/generate/task`, { siteNo: sta, items: items });
+        const { data: { code, data, msg } } = await request.post(`/locItem/check/task`, { siteNo: sta, items: items });
         if (code === 200) {
             notify(msg);
             refresh()
@@ -229,13 +221,13 @@
             width: 100,
             editable: false,
         },
-        {
-            field: 'workQty',
-            headerName: translate('table.field.locItem.workQty'),
-            width: 100,
-            type: 'number',
-            editable: false,
-        },
+        // {
+        //     field: 'workQty',
+        //     headerName: translate('table.field.locItem.workQty'),
+        //     width: 100,
+        //     type: 'number',
+        //     editable: false,
+        // },
         {
             field: 'matnrCode',
             headerName: translate('table.field.locItem.matnrCode'),
@@ -340,9 +332,9 @@
                         },
                     },
                 }}
-                pageSizeOptions={[10, 25, 50, 100]}
+                pageSizeOptions={[15, 25, 50, 100]}
                 editMode="row"
-                checkboxSelection
+                checkboxSelection = {false}
                 onRowSelectionModelChange={handleSelectionChange}
                 selectionModel={selectedRows}
                 sx={{

--
Gitblit v1.9.1