From 6f0855ab8c685bf8e96160687899da796a179f3a Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 31 十月 2024 13:46:20 +0800
Subject: [PATCH] 修改培训后的优化

---
 src/components/do/b1-inspect-order-plan/Inspection.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index c2bf51b..ebed918 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -735,7 +735,7 @@
       </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="{
@@ -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