v1.9 解决房屋收费页面抄表记录传参不对bug

This commit is contained in:
wuxw 2025-07-29 10:37:40 +08:00
parent 611ba4df0e
commit 373313bf4b

View File

@ -62,7 +62,7 @@ export default {
floorNum: '', floorNum: '',
unitNum: '', unitNum: '',
roomNum: '', roomNum: '',
meterType: "" meterType: "",
}, },
currentPage: 1, currentPage: 1,
pageSize: 10 pageSize: 10
@ -72,6 +72,9 @@ export default {
this.communityId = getCommunityId() this.communityId = getCommunityId()
}, },
methods: { methods: {
open(params) {
this.switchData(params)
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.currentPage = val this.currentPage = val
this._listSimplifyMeterWaterFee(val, this.pageSize) this._listSimplifyMeterWaterFee(val, this.pageSize)
@ -81,7 +84,7 @@ export default {
page, page,
row, row,
communityId: this.communityId, communityId: this.communityId,
roomNum: `${this.simplifyMeterWaterFeeInfo.floorNum}-${this.simplifyMeterWaterFeeInfo.unitNum}-${this.simplifyMeterWaterFeeInfo.roomNum}`, roomNum: this.simplifyMeterWaterFeeInfo.roomName,
meterType: this.simplifyMeterWaterFeeInfo.meterType meterType: this.simplifyMeterWaterFeeInfo.meterType
} }
@ -137,9 +140,7 @@ export default {
this._listMeterTypes() this._listMeterTypes()
this._listSimplifyMeterWaterFee(1, 10) this._listSimplifyMeterWaterFee(1, 10)
}, },
open(params) {
this.switchData(params)
}
} }
} }
</script> </script>