From 1544dcf0a81cf0a271a78ea82c52ab952c91f8d7 Mon Sep 17 00:00:00 2001
From: 陈婷婷 <506607603@qq.com>
Date: 星期四, 27 十一月 2025 10:25:42 +0800
Subject: [PATCH] 条码生产

---
 src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue
index ceb96eb..6f69c43 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue
@@ -225,7 +225,7 @@
                 </el-tab-pane>
                 <el-tab-pane label="鏉$爜淇℃伅" name="tiaoma">
                     <el-table :data="editTmData" style="width: 100%" height="480" width="100%" ref="tbzbTable"
-                        @selection-change="handleTableWlxxZbEdit" :row-class-name="tiaomaZbIndex" border>
+                        @selection-change="handleTableWlxxZbEdit" :row-class-name="tiaomaZbIndex" border v-if="editTmData.length>0">
                         <el-table-column align="center" label="搴忓彿" type="index" width="80" fixed />
                         <template v-for="(item, index) in tmBtList">
                             <el-table-column align="center" :prop="item.field" :label="item.title" :width="item.width"
@@ -235,7 +235,7 @@
                 </el-tab-pane>
                 <el-tab-pane label="妗f鍒楄〃" name="dangan">
                     <el-table :data="editDaData" style="width: 100%" height="480" width="100%" ref="dazbTable"
-                        @selection-change="handleTableDangan" :row-class-name="danganZbIndex" border>
+                        @selection-change="handleTableDangan" :row-class-name="danganZbIndex" border v-if="editDaData.length>0">
                         <el-table-column type="selection" width="55" align="center" />
                         <el-table-column align="center" label="搴忓彿" type="index" width="80" fixed />
                         <template v-for="(item, index) in daBtList">
@@ -251,7 +251,7 @@
             </el-tabs>
         </el-form>
         <!-- 閮ㄩ棬寮圭獥 -->
-        <el-dialog :title="dialogTitle" :visible.sync="openData" width="1280px" append-to-body>
+        <el-dialog :title="dialogTitle" :visible.sync="openData" width="1280px" append-to-body @close="closeBill">
             <HSourceReportHtml @deptEmitDb="dbEmitData" @deptEmit="emitData" :openPage="HModName"
                 :HOrgID='this.form.HOrgID' :HSouceBillType="HSouceBillType" v-if="ScICMOBillShow" />
             <div slot="footer" class="dialog-footer">
@@ -521,6 +521,9 @@
         this.getdata()
     },
     methods: {
+        closeBill(){
+            this.ScICMOBillShow=false
+        },
         get_PrintReport() {
             if (this.danganSelList.length == 0) {
                 this.$modal.msgError("璇烽�夋嫨鏁版嵁");

--
Gitblit v1.9.1