Commit 373313bf4b05dffc1c85c760aaceddaf77e18790
1 parent
611ba4df
v1.9 解决房屋收费页面抄表记录传参不对bug
Showing
1 changed file
with
6 additions
and
5 deletions
src/components/fee/simplifyMeterWaterLog.vue
| ... | ... | @@ -62,7 +62,7 @@ export default { |
| 62 | 62 | floorNum: '', |
| 63 | 63 | unitNum: '', |
| 64 | 64 | roomNum: '', |
| 65 | - meterType: "" | |
| 65 | + meterType: "", | |
| 66 | 66 | }, |
| 67 | 67 | currentPage: 1, |
| 68 | 68 | pageSize: 10 |
| ... | ... | @@ -72,6 +72,9 @@ export default { |
| 72 | 72 | this.communityId = getCommunityId() |
| 73 | 73 | }, |
| 74 | 74 | methods: { |
| 75 | + open(params) { | |
| 76 | + this.switchData(params) | |
| 77 | + }, | |
| 75 | 78 | handleCurrentChange(val) { |
| 76 | 79 | this.currentPage = val |
| 77 | 80 | this._listSimplifyMeterWaterFee(val, this.pageSize) |
| ... | ... | @@ -81,7 +84,7 @@ export default { |
| 81 | 84 | page, |
| 82 | 85 | row, |
| 83 | 86 | communityId: this.communityId, |
| 84 | - roomNum: `${this.simplifyMeterWaterFeeInfo.floorNum}-${this.simplifyMeterWaterFeeInfo.unitNum}-${this.simplifyMeterWaterFeeInfo.roomNum}`, | |
| 87 | + roomNum: this.simplifyMeterWaterFeeInfo.roomName, | |
| 85 | 88 | meterType: this.simplifyMeterWaterFeeInfo.meterType |
| 86 | 89 | } |
| 87 | 90 | |
| ... | ... | @@ -137,9 +140,7 @@ export default { |
| 137 | 140 | this._listMeterTypes() |
| 138 | 141 | this._listSimplifyMeterWaterFee(1, 10) |
| 139 | 142 | }, |
| 140 | - open(params) { | |
| 141 | - this.switchData(params) | |
| 142 | - } | |
| 143 | + | |
| 143 | 144 | } |
| 144 | 145 | } |
| 145 | 146 | </script> | ... | ... |