This commit is contained in:
jiangyinzhi
2025-12-25 09:28:02 +08:00
parent 63dc3bcc89
commit d883b51b0d
24 changed files with 167 additions and 62 deletions
+8 -2
View File
@@ -387,6 +387,7 @@ export default {
newVal.forEach(v => {
if (v) {
this.listValue.push(v.value)
this.listValue = [...new Set(this.listValue)]
}
})
}
@@ -691,6 +692,7 @@ export default {
let aaa = commonEnergySystemArr[i].replace('0', '') - 1;
this.result.push(this.list[aaa])
}
this.result = [...new Set(this.result)]
}
//能源计量见着数据处理
if(res.data.primaryEnergyMeterType.indexOf('0')>-1){
@@ -788,6 +790,11 @@ export default {
this.list.push({ name: v.name, value: v.value })
})
if(this.ifEnterpriseId === ''){
this.result=[]
this.result.push(this.list[0])
}
}
},
@@ -803,8 +810,7 @@ export default {
this.$toast('通用能源系统必须有配电系统')
return
}
console.log(this.listValue2, 'this.listValue2', this.list);
return
console.log(this.listValue2, 'this.listValue2', this.listValue);
if( this.listValue2.indexOf("01") === -1){
this.$toast('一级计量必须有勾选电')
return