From 69ed1555e7be98d643e5cf9c55b591c44d52d1b9 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期五, 01 十一月 2024 11:24:24 +0800
Subject: [PATCH] 修改标签打印格式

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |   21 ++++++++++++++-------
 1 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index e276763..ebed918 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -735,11 +735,12 @@
       </div>
       <!-- 鍔熺巼璇曢獙 -->
       <div v-else-if="tableLists.find(m=>m.templateId==currentTable).templateName.includes('鍔熺巼瀹归噺')">
-        <PowerCapacity :insProduct="currentSample.insProduct" :orderId="id" :sampleId="currentSample.id" :state="state" :isLook="isLook" :num="currentSample.num1" />
+        <PowerCapacity :insProduct="currentSample.insProduct" :orderId="id" :sampleId="currentSample.id" :state="state" :isLook="isLook" :num="currentSample.num1"/>
       </div>
       <el-upload :action="action"
       :data="{
-        orderId:id
+        orderId:id,
+        sonLaboratory:sonLaboratory
       }"
       v-if="state==1&&fileAdd"
       :on-success="handleSuccessUp" :show-file-list="false"
@@ -908,7 +909,7 @@
     <el-dialog
       title="鏂囦欢棰勮"
       :visible.sync="lookFileVisible"
-      width="60%" fullscreen>
+      width="60%" fullscreen :modal="false">
       <filePreview v-if="lookFileVisible" :fileUrl="currentFile.url"
       :currentFile="currentFile" style="max-height: 87vh;overflow-y: auto;"/>
     </el-dialog>
@@ -917,7 +918,6 @@
 
 <script>
   import ValueTable from '../../tool/value-table.vue'
-  import Circuit from './circuit.vue'
   import file from '../../../util/file'
   import excelFunction from '../../../util/excelFountion'
   import CircuitParameters1 from './circuit-parameters1.vue'
@@ -929,7 +929,6 @@
     props: ['sonLaboratory', 'orderId', 'state','inspectorList','version','orderStateId','isLook','num1','noBack'],
     components: {
       ValueTable,
-      Circuit,
       CircuitParameters1,
       CircuitParameters2,
       filePreview,
@@ -988,7 +987,8 @@
         },
         componentData0: {
           entity: {
-            insOrderId:''
+            insOrderId:'',
+            sonLaboratory:this.sonLaboratory
           },
           isIndex: true,
           showSelect: false,
@@ -3266,8 +3266,15 @@
         }
       },
       handleSubmit(){
+        if(!this.otherForm.temperature){
+          this.$message.error('璇疯緭鍏ユ俯搴�')
+          return
+        }
+        if(!this.otherForm.humidity){
+          this.$message.error('璇疯緭鍏ユ箍搴�')
+          return
+        }
         this.experimentDia = true
-        console.log(6666,this.sampleProduct)
         if (this.sonLaboratory === '鐢佃矾璇曢獙') {
           this.experimentDia0 = true
         }

--
Gitblit v1.9.3