From f0d85fcacc87937db731327cabd7d41d77eddcda Mon Sep 17 00:00:00 2001
From: pan <antony1029@163.com>
Date: 星期六, 15 十一月 2025 09:04:00 +0800
Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhongRui/ALDbanyunxiangmu

---
 项目代码/WIDESEA_WMSClient/src/extension/inbound/extend/Pallet.vue |   15 +++++++++------
 1 files changed, 9 insertions(+), 6 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 bad04be..2fbaa74 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"
@@ -148,8 +148,8 @@
             <span><i class="el-icon-tickets"></i> 缁勭洏鏁版嵁</span>
             <span class="list-actions">
               <el-tag type="primary" size="small">鍏� {{ materials.length }} 鏉�</el-tag>
-              <el-tag type="primary" size="small">宸茬粍鐩� {{ totalStockCount }}</el-tag>
-              <el-tag type="primary" size="small">搴撳瓨 {{ totalStockSum }}{{ uniqueUnit }}</el-tag>
+              <el-tag type="primary" size="small">鏈粍鐩� {{ totalStockCount }}</el-tag>
+              <el-tag type="primary" size="small">鏈叆搴撴暟閲� {{ totalStockSum }}{{ uniqueUnit }}</el-tag>
               <el-tag v-if="trayBarcode" type="success" size="small">鎵樼洏: {{ trayBarcode }}</el-tag>
               <el-tag v-if="form.locationType" type="info" size="small">鍖哄煙: {{ currentLocationDesc }}</el-tag>
             </span>
@@ -198,6 +198,7 @@
 import { ElLoading, ElMessage,ElMessageBox  } from 'element-plus';
 import { ref, onMounted, onUnmounted } from 'vue'
 import InboundOrder from '../../../views/inbound/inboundOrder.vue';
+import { th } from 'element-plus/es/locales.mjs';
 
 export default {
   name: 'BarcodeScanner',
@@ -436,7 +437,7 @@
         // 鎵嬪姩妫�鏌ocationType锛屾纭鐞嗗�间负0鐨勬儏鍐�
         if (this.form.locationType === null || this.form.locationType === undefined || this.form.locationType === '') {
           this.error = '璇峰厛閫夋嫨浠撳簱鍖哄煙';
-          this.$message.warning('璇峰厛閫夋嫨浠撳簱鍖哄煙');
+          //this.$message.warning('璇峰厛閫夋嫨浠撳簱鍖哄煙');
         } else {
           // 濡傛灉鍊煎瓨鍦紙鍖呮嫭0锛夛紝浣嗛獙璇佷笉閫氳繃锛屽彲鑳芥槸鍏朵粬楠岃瘉閿欒
           this.error = '璇锋鏌ヨ〃鍗曞~鍐欐槸鍚︽纭�';
@@ -616,7 +617,7 @@
   // 鍏堢洿鎺ユ鏌ocationType锛岄伩鍏嶈〃鍗曢獙璇佺殑寮傛闂
   if (!this.form.locationType) {
     this.error = '璇峰厛閫夋嫨浠撳簱鍖哄煙';
-    this.$message.warning('璇峰厛閫夋嫨浠撳簱鍖哄煙');
+    //this.$message.warning('璇峰厛閫夋嫨浠撳簱鍖哄煙');
     return;
   }
   
@@ -728,7 +729,7 @@
                 duration: 2000
               });
          
-            
+            this.fetchStockStatistics(); 
             // 娓呯┖鐗╂枡杈撳叆妗嗗苟淇濇寔鑱氱劍
             this.barcode = '';
             this.scanCode = ''; // 娓呯┖鎵爜缂撳瓨
@@ -775,7 +776,7 @@
  if(!response.status){
    this.error = response.message || '鏌ヨ鏉$爜淇℃伅澶辫触锛岃閲嶈瘯';
  }
-        // 纭繚杩斿洖鐨勬暟鎹寘鍚墍鏈夊繀闇�鐨勫瓧娈�
+
         return  materialData;
         
       } catch (error) {
@@ -850,6 +851,8 @@
               type: 'success',
               message: '鍒犻櫎鎴愬姛!'
             });
+            this.fetchStockStatistics(); 
+
           }).catch(() => {
             // 鍙栨秷鍒犻櫎
           });

--
Gitblit v1.9.3