From 673b5a596f611099eaacc310f6e7def0e022daca Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期三, 29 四月 2026 11:00:55 +0800
Subject: [PATCH] 添加盘点模板和胶箱台账功能

---
 项目代码/WIDESEA_WMSClient/src/extension/stock/stockView.js |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/stock/stockView.js" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/stock/stockView.js"
index efe09a5..f2b2e20 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/stock/stockView.js"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WIDESEA_WMSClient/src/extension/stock/stockView.js"
@@ -1,11 +1,12 @@
 import { createVNode, render, h, reactive } from 'vue';
 import { ElDialog, ElForm, ElFormItem, ElSelect, ElOption, ElButton, ElMessage, ElLoading } from 'element-plus';
 import gridHeader from './extend/CrossAreaRelocationDialog.vue'
+import gridBody from './extend/BatchOutboundByExcel.vue'
 let extension = {
   components: {
     //鏌ヨ鐣岄潰鎵╁睍缁勪欢
     gridHeader: gridHeader,
-    gridBody: '',
+    gridBody: gridBody,
     gridFooter: '',
     //鏂板缓銆佺紪杈戝脊鍑烘鎵╁睍缁勪欢
     modelHeader: '',
@@ -17,6 +18,13 @@
   methods: {
     //涓嬮潰杩欎簺鏂规硶鍙互淇濈暀涔熷彲浠ュ垹闄�
     onInit() {
+      let BatchOutboundByExcelBtn = this.buttons.find(x => x.value === 'BatchOutboundByExcel');
+      if (BatchOutboundByExcelBtn) {
+        // 閲嶅啓鎸夐挳鐐瑰嚮浜嬩欢
+        BatchOutboundByExcelBtn.onClick = function () {
+          this.$refs.gridBody.open();
+        };
+      }
       // let InOrder = this.buttons.find(x => x.value == 'StockOutbound');
       // if (InOrder) {
       //   InOrder.onClick = function () {

--
Gitblit v1.9.3