From 36a30a262c16b6c37be7d1817c46d6693a324cc4 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 19 十二月 2024 13:15:57 +0800
Subject: [PATCH] 完成管理评审搬迁

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

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index e3ef30e..3334450 100644
--- a/src/components/do/b1-inspect-order-plan/Inspection.vue
+++ b/src/components/do/b1-inspect-order-plan/Inspection.vue
@@ -3328,8 +3328,12 @@
           this.$message.error('璇疯緭鍏ユ箍搴�')
           return
         }
+        this.loading = true
         if(this.sonLaboratory === '鐢佃矾璇曢獙'&&!(await this.$refs.CircuitParameters.saveAll())){
+          this.loading = false
           return
+        }else{
+          this.loading = false
         }
         this.experimentDia = true
         this.newUserInfo = []
@@ -3728,9 +3732,9 @@
           if(this.sonLaboratory === '鐢佃矾璇曢獙'){
             // // 鐢佃矾璇曢獙鏁伴噰
             // 鑾峰彇褰撳墠鏍峰搧鐨勬楠岄」
-            // let list = await this.getCurrentProduct(this.currentSample.id,0)
-            // this.currentSample.insProduct = this.HaveJson(list)
-            // this.currentNum++
+            let list = await this.getCurrentProduct(this.currentSample.id,0)
+            this.currentSample.insProduct = this.HaveJson(list)
+            this.currentNum++
           }
 				}else {
           this.$message.error(response.message);
@@ -3851,8 +3855,12 @@
             cancelButtonText: '鍙栨秷',
             type: 'warning'
           }).then(async () => {
+            this.loading = true
             if(await this.$refs.CircuitParameters.saveAll()){
               this.$emit('goback')
+              this.loading = false
+            }else{
+              this.loading = false
             }
           })
         }else{

--
Gitblit v1.9.3