From 7319ab1ce998a7d13f0192a4ccaf92d4a02929f8 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 11 十二月 2024 14:33:43 +0800
Subject: [PATCH] 电路试验上传文件报错

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

diff --git a/src/components/do/b1-inspect-order-plan/Inspection.vue b/src/components/do/b1-inspect-order-plan/Inspection.vue
index 814896d..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 = []
@@ -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