From da9c0b8c1b35edfa586f523692a6c27e8fb4d338 Mon Sep 17 00:00:00 2001 From: lxp <1928192722@qq.com> Date: 星期一, 12 八月 2024 17:51:05 +0800 Subject: [PATCH] modified: src/components/do/b1-ins-order/fiberoptic-config.vue --- src/components/do/b1-ins-order/add.vue | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index ceb28b6..5f0baee 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -620,8 +620,7 @@ </el-row> </span> </el-dialog> - <fiberOpticConfig :currentId="currentId" @saveFiberopticConfig="getTotal()" v-if="configShow && examine == 0" :active="active" /> - <fiberOpticConfigTwo :currentId="currentId" @saveFiberopticConfig="getTotal()" v-if="configShow && examine == 1" :active="active" /> + <fiberOpticConfig :currentId="currentId" @saveFiberopticConfig="getTotal()" v-if="configShow" :active="active" /> <equipConfig :currentId="currentId" v-if="equipConfigShow" :active="active" /> <cableConfig v-if="cableConfigShow" :active="active" /> <!-- 鍗曢�夌壒娈婂�煎鐞嗘--> @@ -760,7 +759,7 @@ width="800px" :show-close="false"> <el-table :data="editTable" - style="width: 100%"> + style="width: 100%" height="80vh"> <!-- inspectionItemList --> <el-table-column prop="inspectionItemList" @@ -1185,12 +1184,11 @@ inputValueHandler(row,index){ if(row){ const nextIndex = index+1 + console.log(nextIndex, this.editTable) for (let i = nextIndex; i < this.editTable.length; i++) { const element = this.editTable[i]; - if(element.model==row.model){ + if(element.model==row.model&&row.symbolItem==element.symbolItem){ this.editTable[i].value = row.value - }else{ - break; } } } @@ -3002,7 +3000,7 @@ this.totalArr = [] this.total = 0; this.sampleList.forEach(item => { - if (item.insProduct && item.insProduct.length > 0) { + if (item.insProduct && item.insProduct.length > 0) { item.insProduct.forEach(a => { this.totalArr.push(a) }) -- Gitblit v1.9.3