From f9e8a2d52fe52fb2389892a46c12d4d262ee9aaf Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期六, 29 十一月 2025 16:53:28 +0800
Subject: [PATCH] 增加提升机可进行一次进俩托物料出入库

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
index 0bb9578..60bfde7 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/Dt_BillGroupStock.jsx"
@@ -48,6 +48,24 @@
       //     })
       //   }
       // });
+      var DoubleTrayBtn = this.buttons.find(x => x.value == "DoubleTray");
+        if (DoubleTrayBtn != null) {
+          DoubleTrayBtn.onClick = () => {
+                let rows = this.$refs.table.getSelected();
+                if (rows.length == 0) return this.$error("璇烽�夋嫨鏁版嵁!");
+                if (rows.length >1) return this.$error("璇烽�夋嫨鏁版嵁!");
+                this.http.post(`/api/Task/OutBoundTaskAsync?palletCode=${rows[0].palletCode}&remark=${""}&doubleTray=${1}`, {}, '鏁版嵁澶勭悊涓�...')
+                    .then((x) => {
+                        if (x.status) {
+                            this.$Message.success('鎴愬姛.');
+                            this.refresh();
+                        } else {
+                            return this.$error(x.message);
+                        }
+                    });
+            }
+        }
+      
       this.boxButtons.push({
         name: '纭畾鍑哄簱', //鎸夐挳鍚嶇О
         type: 'danger',

--
Gitblit v1.9.3