From 9fd72bc9710ec094f7001c8a64fb3d1a882dc02a Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期二, 23 十二月 2025 10:15:59 +0800
Subject: [PATCH] 1

---
 项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue"
index ee375f5..d401f8b 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue"
@@ -299,6 +299,7 @@
   methods: {
     open() {
       this.show = true;
+      this.orderNo = "";
       this.resetData();
       this.initLocationTypes();
       this.initwarehouseTypes();
@@ -317,7 +318,7 @@
     // 鏍规嵁鏉$爜鍒楄〃鑾峰彇璇︾粏鏁版嵁
     async fetchUnpalletMaterialDetails() {
       try {
-        const response = await http.post('/api/InboundOrder/UnPalletGroupBarcode?orderNo=' + this.docNo, {});
+        const response = await http.post('/api/InboundOrder/UnPalletGroupBarcode?orderNo=' + this.orderNo, {});
         if (response.status && Array.isArray(response.data)) {
           this.unpalletMaterials = response.data;
           this.unpalletBarcodes = response.data.map(item => item.barcode || '');
@@ -433,7 +434,6 @@
     },
     // 閲嶇疆鎵�鏈夋暟鎹�
     resetData() {
-      console.log('閲嶇疆寮规鏁版嵁');
       this.trayBarcode = '';
       this.barcode = '';
       this.materials = [];
@@ -656,6 +656,7 @@
         });
         this.orderNo = materialData[0].orderNo;
         await this.fetchStockStatistics(materialData[0].orderNo);
+        await this.fetchUnpalletMaterialDetails();
         // 娓呯┖鐗╂枡杈撳叆妗嗗苟淇濇寔鑱氱劍
         this.barcode = '';
         this.scanCode = ''; // 娓呯┖鎵爜缂撳瓨

--
Gitblit v1.9.3