From 5eeed44ad21748ed7560a8c688d4e2d2f03555c8 Mon Sep 17 00:00:00 2001
From: 刘磊 <1161824510@qq.com>
Date: 星期二, 05 八月 2025 12:47:13 +0800
Subject: [PATCH] 同步

---
 项目代码/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/DtBoxingInfo.js |   23 +++++++++++++++++++++--
 1 files changed, 21 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/DtBoxingInfo.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/DtBoxingInfo.js"
index ab615b6..5c8976e 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/DtBoxingInfo.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSClient/src/extension/widesea_wms/stock/DtBoxingInfo.js"
@@ -6,7 +6,7 @@
 **鍚庡彴鎿嶄綔瑙侊細http://v2.volcore.xyz/document/netCoreDev
 *****************************************************************************************/
 //姝s鏂囦欢鏄敤鏉ヨ嚜瀹氫箟鎵╁睍涓氬姟浠g爜锛屽彲浠ユ墿灞曚竴浜涜嚜瀹氫箟椤甸潰鎴栬�呴噸鏂伴厤缃敓鎴愮殑浠g爜
-import gridBody from './Boxing/AddBoxongInfo.vue';
+import gridBody from './Boxing/RequestInbound.vue';
 import gridHeader from './Boxing/AddInfo.vue'
 let extension = {
   components: {
@@ -33,13 +33,32 @@
         Boxing.onClick = () => {
           this.$refs.gridHeader.show = true;
           //this.refresh();
-
           var _this = this;
           this.http.get("/api/Dt_MaterielInfo/GetMaterielInfo", null, "鍔犺浇鏁版嵁涓�").then(x => {
             _this.$refs.gridHeader.MatetilList = x;
           });
         }
       }
+
+        var RequestIn = this.buttons.find(x => x.value == "RequestIn");
+      if (RequestIn != null) {
+        RequestIn.onClick = () => {
+          
+          let rows = this.$refs.table.getSelected();
+          if (rows.length == 0) {
+            return this.$error("璇烽�夋嫨鏁版嵁!");
+          } else if (rows.length > 1) {
+            return this.$error("鍙兘閫夋嫨鍗曟潯鏁版嵁");
+          }
+          this.$refs.gridBody.open(rows[0].palletCode);
+
+          //this.refresh();
+          //var _this = this;
+          // this.http.get("/api/Dt_MaterielInfo/GetMaterielInfo", null, "鍔犺浇鏁版嵁涓�").then(x => {
+          //   _this.$refs.gridHeader.MatetilList = x;
+          // });
+        }
+      }
     },
     onInited() {
       //妗嗘灦鍒濆鍖栭厤缃悗

--
Gitblit v1.9.3