Browse Source

楼单元房间三级联动

wyx
fp 1 month ago
parent
commit
2143c3bb4c
  1. 2
      pages/tabBar/sdPage/dfReport.vue
  2. 3
      pages/tabBar/sdPage/sfReport.vue

2
pages/tabBar/sdPage/dfReport.vue

@ -225,7 +225,7 @@ export default {
this.multiIndex.splice(2, 1, 0)
break
case 2:{
this.currentHouse = this.houseOptions[e.detail.value]
this.form.houseId = this.houseOptions[e.detail.value].id
console.log(this.houseOptions[e.detail.value]);
}
}

3
pages/tabBar/sdPage/sfReport.vue

@ -102,7 +102,6 @@ export default {
buildingOptions: [],
unitOptions: [],
houseOptions: [],
currentHouse: {},
multiArray: [[],[],[]],
multiIndex: [0, 0, 0],
form:{
@ -225,7 +224,7 @@ export default {
this.multiIndex.splice(2, 1, 0)
break
case 2:{
this.currentHouse = this.houseOptions[e.detail.value]
this.form.houseId = this.houseOptions[e.detail.value].id
console.log(this.houseOptions[e.detail.value]);
}
}

Loading…
Cancel
Save