From 5c8aaba66c16b1a143fdec27e29ad36eaefd1e3a Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 31 十二月 2024 14:33:25 +0800 Subject: [PATCH] 无源器件检验开发 --- src/components/do/b1-inspect-order-plan/circuit-parameters1.vue | 26 ++++++++++++++------------ 1 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/circuit-parameters1.vue b/src/components/do/b1-inspect-order-plan/circuit-parameters1.vue index 14bf808..551d30c 100644 --- a/src/components/do/b1-inspect-order-plan/circuit-parameters1.vue +++ b/src/components/do/b1-inspect-order-plan/circuit-parameters1.vue @@ -101,7 +101,7 @@ </tr> <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> <td> - <el-input size="small" placeholder="瑙掑害" v-model="item.value" @blur="handleAngle(item.value,index)" :disabled="state>1"></el-input> + <el-input size="small" placeholder="瑙掑害" v-model="item.value" @blur="handleAngle(item.value,index,h.band)" :disabled="state>1"></el-input> </td> <td v-for="(m,i) in n.portList" :key="i+'ggg'"> <el-input size="small" placeholder="鏈�宸��" v-model="n.value[index][i]" v-if="n.value[index]" :disabled="state>1"></el-input> @@ -164,7 +164,7 @@ </tr> <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> <td> - <el-input size="small" placeholder="瑙掑害" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index)"></el-input> + <el-input size="small" placeholder="瑙掑害" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index,h.band)"></el-input> </td> <td v-for="(m,i) in n.portList" :key="i+'ggg'"> <el-input size="small" placeholder="鏈�宸��" v-model="n.value[index][i]" v-if="n.value[index]" :disabled="state>1"></el-input> @@ -210,7 +210,7 @@ </tr> <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> <td> - <el-input size="small" placeholder="瑙掑害" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index)"></el-input> + <el-input size="small" placeholder="瑙掑害" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index,h.band)"></el-input> </td> <td v-for="(m,i) in n.portList" :key="i+'ggg'"> <el-input size="small" placeholder="鏈�宸��" v-model="n.value[index][i]" v-if="n.value[index]" :disabled="state>1"></el-input> @@ -251,7 +251,7 @@ </tr> <tr v-for="(item,index) in n.angleList" :key="index + 'eee'"> <td> - <el-input size="small" placeholder="瑙掑害" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index)"></el-input> + <el-input size="small" placeholder="瑙掑害" v-model="item.value" :disabled="state>1" @blur="handleAngle(item.value,index,h.band)"></el-input> </td> <td> <el-input size="small" placeholder="鏈�宸��" v-model="n.value[index][0]" :disabled="state>1"></el-input> @@ -776,8 +776,8 @@ this.$delete(item, 'equipName') this.$set(item, 'equipName', item.equipOptions.find(m=>m.value==item.equipValue).label) }, - // 缁熶竴淇敼瑙掑害锛屽鏋滆搴︽病鏈夊甫掳锛屽垯鎷兼帴涓�涓� - handleAngle(e,index){ + // 缁熶竴淇敼鍚屼竴棰戞鐨勮搴︼紝濡傛灉瑙掑害娌℃湁甯β帮紝鍒欐嫾鎺ヤ竴涓� + handleAngle(e,index,band){ if(!e){ return } @@ -786,13 +786,15 @@ val = val + '掳' } this.allBandList.forEach(item=>{ - item.projectList.forEach(m=>{ - m.angleList.forEach((n,i)=>{ - if(index==i){ - n.value = val - } + if(item.band==band){ + item.projectList.forEach(m=>{ + m.angleList.forEach((n,i)=>{ + if(index==i){ + n.value = val + } + }) }) - }) + } }) }, handlePort(n){ -- Gitblit v1.9.3