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/stockTransfer/stockTransferList.jsx |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx b/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
index 353332f..66e82eb 100644
--- a/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
+++ b/rsf-admin/src/page/work/stockTransfer/stockTransferList.jsx
@@ -182,7 +182,8 @@
                                 <Stack direction='row' spacing={2} minWidth={200}>
                                     <SubmitButton
                                         orgLoc={orgLoc}
-                                        tarLoc={tarLoc}                                        
+                                        tarLoc={tarLoc} 
+                                        tabelData={tabelData}                                       
                                     />
                                 </Stack>
                             </Box>
@@ -213,17 +214,17 @@
     const notify = useNotify();
     const redirect = useRedirect();
     const refresh = useRefresh();
-    const { orgLoc, tarLoc } = props;
+    const { orgLoc, tarLoc, tabelData } = props;
     const move = () => {
         console.log(orgLoc, tarLoc);
         if (orgLoc === "" || orgLoc === undefined || orgLoc === null) {
             notify("璇疯緭鍏ユ簮搴撲綅");
             return;
         }
-        if (tarLoc === "" || tarLoc === undefined || tarLoc === null) {
-            notify("璇疯緭鍏ョ洰鏍囧簱浣�");
-            return;
-        }   
+        // if (tarLoc === "" || tarLoc === undefined || tarLoc === null) {
+        //     notify("璇疯緭鍏ョ洰鏍囧簱浣�");
+        //     return;
+        // }   
         if (tabelData.length === 0) {
             notify("婧愬簱浣嶆槑缁嗘棤锛岃妫�鏌ュ簱浣嶇姸鎬�");
             return;

--
Gitblit v1.9.1