From a2ad875701f2eb05250d78af4abf15e08a57798d Mon Sep 17 00:00:00 2001
From: value <z1292839451@163.com>
Date: 星期五, 07 六月 2024 04:22:48 +0800
Subject: [PATCH] 实现电缆配置

---
 src/components/do/b1-ins-order/add.vue |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue
index 4da5604..64dbde7 100644
--- a/src/components/do/b1-ins-order/add.vue
+++ b/src/components/do/b1-ins-order/add.vue
@@ -117,7 +117,7 @@
             <span style="color: #3A7BFA;">淇濆瓨妯℃澘</span>
           </el-button>
           <el-button size="medium" type="primary" @click="openEquipConfig"
-            v-if="PROJECT==='瑁呭鐢电紗'">鐢电紗閰嶇疆</el-button>
+            v-if="PROJECT==='瑁呭鐢电紗' && active==1">鐢电紗閰嶇疆</el-button>
           <el-button size="medium" type="primary" @click="openConfig"
             v-if="addObj.sampleType==='鍏夌紗'">鍏夌氦閰嶇疆</el-button>
           <el-button size="medium" type="primary" @click="save" :loading="saveLoad" v-show="active==1">鎻愪氦</el-button>
@@ -1060,6 +1060,7 @@
           this.sample.standardMethodListId = null
           this.sample.insProduct = []
           this.sample.id = this.count
+          this.sample.childSampleList = []
           this.sampleList.push(this.HaveJson(this.sample))
           this.count++
         }

--
Gitblit v1.9.3