From 44331af13bba6e80cc3489d1263e08b4b8ea025b Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期五, 15 十一月 2024 10:22:26 +0800 Subject: [PATCH] 修改下单 --- src/components/do/b1-inspect-order-plan/circuit-parameters2.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/components/do/b1-inspect-order-plan/circuit-parameters2.vue b/src/components/do/b1-inspect-order-plan/circuit-parameters2.vue index 4a506c4..ecd3ef7 100644 --- a/src/components/do/b1-inspect-order-plan/circuit-parameters2.vue +++ b/src/components/do/b1-inspect-order-plan/circuit-parameters2.vue @@ -679,10 +679,11 @@ // return obj.allBandList.forEach((item,index)=>{ if(!this.allBandList[index]){ - this.allBandList[index] = { - projectList:this.HaveJson(this.allBandList[0].projectList), - band:item.band - } + this.$set(this.allBandList, index, {projectList:this.HaveJson(this.allBandList[0].projectList)}) + // this.allBandList[index] = { + // projectList:this.HaveJson(this.allBandList[0].projectList), + // band:item.band + // } } let arr = [] item.projectList.forEach((m,i)=>{ @@ -691,13 +692,16 @@ angleList:m.angleList, portList:m.portList, portNum:m.portNum, - value:m.value, + // value:m.value, valueType:m.valueType } + this.$set(obj0,'value',m.value) arr.push({...this.allBandList[index].projectList.find(n=>n.inspectionItemSubclass==m.inspectionItemSubclass),...obj0}) } }) - this.allBandList[index].projectList = arr + // this.allBandList[index].projectList = arr + this.$delete(this.allBandList[index],'projectList') + this.$set(this.allBandList[index],'projectList',arr) }) this.angleList = obj.angleList this.intermodulationNum = obj.intermodulationNum -- Gitblit v1.9.3