From 72ca54b5a36818de16acf81c9c395e9f35a39a67 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期三, 11 六月 2025 09:53:27 +0800
Subject: [PATCH] 下发执行页,添加默认请求方法

---
 rsf-admin/src/page/work/outBound/OutBoundList.jsx |   27 +++++++++++++--------------
 1 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/rsf-admin/src/page/work/outBound/OutBoundList.jsx b/rsf-admin/src/page/work/outBound/OutBoundList.jsx
index 391ca1d..404f546 100644
--- a/rsf-admin/src/page/work/outBound/OutBoundList.jsx
+++ b/rsf-admin/src/page/work/outBound/OutBoundList.jsx
@@ -64,7 +64,6 @@
 import { number } from "prop-types";
 
 const OutBoundList = () => {
-
     const [createDialog, setCreateDialog] = useState(false);
     const [tabelData, setTableData] = useState([]);
     const [selectedRows, setSelectedRows] = useState([]);
@@ -183,12 +182,12 @@
     }
     const http = async (sta, items) => {
         console.log(items);
-        const filZores = items.filter(item => item.outQty  <= 0.0);
-        const filter = items.filter(item => (item.outQty + item.workQty) > item.anfme);
-        if (filter.length > 0 || filZores.length > 0) {
-            notify(translate('toolbar.request.error.out_stock_qty'))
-            return
-        }
+        // const filZores = items.filter(item => item.outQty  <= 0.0);
+        // const filter = items.filter(item => (item.outQty + item.workQty) > item.anfme);
+        // if (filter.length > 0 || filZores.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 });
         if (code === 200) {
             notify(msg);
@@ -232,13 +231,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: 'locCode',
             headerName: translate('table.field.locItem.locCode'),

--
Gitblit v1.9.1