From 321370a82855d4b58d4eff2aee238672cdb8b865 Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期四, 14 十一月 2024 10:06:49 +0800 Subject: [PATCH] 修改检验下单 --- src/components/do/b1-inspect-order-plan/circuit-parameters1.vue | 19 +++++++++++-------- 1 files changed, 11 insertions(+), 8 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 eccd8f6..8c83ab2 100644 --- a/src/components/do/b1-inspect-order-plan/circuit-parameters1.vue +++ b/src/components/do/b1-inspect-order-plan/circuit-parameters1.vue @@ -803,25 +803,28 @@ // return obj.allBandList.forEach((item,index)=>{ if(!this.allBandList[index]){ - this.allBandList[index] = { - projectList:this.HaveJson(this.allBandList[0].projectList) - } + this.$set(this.allBandList, index, {projectList:this.HaveJson(this.allBandList[0].projectList)}) + // this.allBandList[index] = { + // projectList:this.HaveJson(this.allBandList[0].projectList) + // } } this.allBandList[index].band = item.band let arr = [] item.projectList.forEach((m,i)=>{ if(this.allBandList[index].projectList.find(n=>n.inspectionItemSubclass==m.inspectionItemSubclass)){ let obj0 = { - angleList:m.angleList, - portList:m.portList, - portNum:m.portNum, - value:m.value, + angleList:m.angleList, + portList:m.portList, + portNum:m.portNum, 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.$delete(this.allBandList[index],'projectList') + this.$set(this.allBandList[index],'projectList',arr) + // this.allBandList[index].projectList = arr }) this.angleList = obj.angleList this.intermodulationNum = obj.intermodulationNum -- Gitblit v1.9.3