This commit is contained in:
jiangyinzhi
2025-07-29 10:21:59 +08:00
parent 3523dcade7
commit 63dc3bcc89
35 changed files with 1017 additions and 443 deletions
+10 -2
View File
@@ -330,7 +330,7 @@ export default {
dataDetail: {},
active: 0,
list: [], // 企业具有的通用能源系统
listValue: [], //企业具有的通用能源系统value值
listValue: ['01'], //企业具有的通用能源系统value值
list2: [], // 一级计量(进出用能企业)
listValue2: ['01'],
listValue3: [],
@@ -380,6 +380,7 @@ export default {
},
watch: {
result: function(newVal, oldVal) {
console.log(newVal,'12344');
if (oldVal != newVal) {
if (this.listValue != []) {
this.listValue = []
@@ -784,9 +785,11 @@ export default {
let res1 = await getCode(info1)
if (res1.code === 0) {
res1.data.forEach(v => {
this.list.push({ name: v.name, value: v.value })
})
}
},
handleClick(){
this.doDebounce()
@@ -796,7 +799,12 @@ export default {
if(this.showForm) {
return
}
console.log(this.listValue2, 'this.listValue2');
if( this.listValue.indexOf("01") === -1){
this.$toast('通用能源系统必须有配电系统')
return
}
console.log(this.listValue2, 'this.listValue2', this.list);
return
if( this.listValue2.indexOf("01") === -1){
this.$toast('一级计量必须有勾选电')
return