From f943eafd889d193274158c1a7a5811e289687601 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 21 十月 2024 14:46:36 +0800
Subject: [PATCH] 优化电路试验、报告生成页面

---
 src/components/view/b1-inspect-order-plan.vue |   22 +++++++++++++---------
 1 files changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/components/view/b1-inspect-order-plan.vue b/src/components/view/b1-inspect-order-plan.vue
index bec7b50..41402db 100644
--- a/src/components/view/b1-inspect-order-plan.vue
+++ b/src/components/view/b1-inspect-order-plan.vue
@@ -166,8 +166,8 @@
 						</el-col>
 						<el-col :span="6">
 							<div class="center-title">
-                <el-button size="small" type="primary" @click="qrCodeVisible=true">鎵爜鎶ユ</el-button>
-                <el-button size="small" type="primary" @click="exportVisible=true" style="margin-right: 16px;">鍑哄簱</el-button>
+                <el-button size="small" type="primary" @click="qrCodeVisible=true" v-if="selectWarehouse">鎵爜鎶ユ</el-button>
+                <el-button size="small" type="primary" @click="exportVisible=true" style="margin-right: 16px;" v-if="selectWarehouse">鍑哄簱</el-button>
 								<span>鎬昏浠诲姟鏁伴噺:</span>
 								<span>{{total}}</span>
 							</div>
@@ -335,32 +335,32 @@
           <el-table-column
             prop="submitTime"
             label="鎻愪氦鏃ユ湡"
-            width="150">
+            min-width="150">
           </el-table-column>
           <el-table-column
             prop="submitUserName"
             label="鎻愪氦浜�"
-            width="90">
+            min-width="90">
           </el-table-column>
           <el-table-column
             prop="term"
             label="瀹為獙闃舵"
-            width="120">
+            min-width="120">
           </el-table-column>
           <el-table-column
             prop="note"
             label="瀹為獙鎿嶄綔"
-            width="120">
+            min-width="120">
           </el-table-column>
           <el-table-column
             prop="tell"
             label="鍐嶆妫�楠屽師鍥�"
-            width="120">
+            min-width="120">
           </el-table-column>
           <el-table-column
             fixed="right"
             label="鎿嶄綔"
-            width="100">
+            min-width="100">
             <template slot-scope="scope">
               <el-button @click="lookHistory(scope.row)" type="text" size="small">鏌ョ湅</el-button>
             </template>
@@ -660,6 +660,7 @@
         upLoadStorage: false,
         exportVisible: false,
         upLoadExport: false,
+        selectWarehouse:false
 			}
 		},
 		created() {
@@ -667,7 +668,6 @@
 			this.getTypeDicts()
 			this.getInsStateDicts()
       this.getAuthorizedPerson()
-      this.selectList()
       this.currentTime = getYearAndMonthAndDays()
 		},
 		mounted() {
@@ -892,6 +892,10 @@
           if (power[i].menuMethod == 'scanInsOrderState') {
 						this.scanInsOrderState = true
 					}
+          if (power[i].menuMethod == 'selectWarehouse') {
+						this.selectWarehouse = true
+            this.selectList()
+					}
 				}
         // if (!getInsProduct2) {
 				// 	this.componentData.do.splice(5, 1)

--
Gitblit v1.9.3