From b047f19a6b34a73e018d7e24fb7ec55db2edf472 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 28 五月 2025 12:33:04 +0800
Subject: [PATCH] 库位导出功能优化

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

diff --git a/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx b/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
index 55ff8cd..d48c170 100644
--- a/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
+++ b/rsf-admin/src/page/work/checkOutBound/CheckOutBoundList.jsx
@@ -182,14 +182,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()
@@ -340,9 +333,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