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) this.multiIndex.splice(2, 1, 0)
break break
case 2:{ 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]); console.log(this.houseOptions[e.detail.value]);
} }
} }

3
pages/tabBar/sdPage/sfReport.vue

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

Loading…
Cancel
Save