Commit 373313bf4b05dffc1c85c760aaceddaf77e18790

Authored by wuxw
1 parent 611ba4df

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

src/components/fee/simplifyMeterWaterLog.vue
@@ -62,7 +62,7 @@ export default { @@ -62,7 +62,7 @@ export default {
62 floorNum: '', 62 floorNum: '',
63 unitNum: '', 63 unitNum: '',
64 roomNum: '', 64 roomNum: '',
65 - meterType: "" 65 + meterType: "",
66 }, 66 },
67 currentPage: 1, 67 currentPage: 1,
68 pageSize: 10 68 pageSize: 10
@@ -72,6 +72,9 @@ export default { @@ -72,6 +72,9 @@ export default {
72 this.communityId = getCommunityId() 72 this.communityId = getCommunityId()
73 }, 73 },
74 methods: { 74 methods: {
  75 + open(params) {
  76 + this.switchData(params)
  77 + },
75 handleCurrentChange(val) { 78 handleCurrentChange(val) {
76 this.currentPage = val 79 this.currentPage = val
77 this._listSimplifyMeterWaterFee(val, this.pageSize) 80 this._listSimplifyMeterWaterFee(val, this.pageSize)
@@ -81,7 +84,7 @@ export default { @@ -81,7 +84,7 @@ export default {
81 page, 84 page,
82 row, 85 row,
83 communityId: this.communityId, 86 communityId: this.communityId,
84 - roomNum: `${this.simplifyMeterWaterFeeInfo.floorNum}-${this.simplifyMeterWaterFeeInfo.unitNum}-${this.simplifyMeterWaterFeeInfo.roomNum}`, 87 + roomNum: this.simplifyMeterWaterFeeInfo.roomName,
85 meterType: this.simplifyMeterWaterFeeInfo.meterType 88 meterType: this.simplifyMeterWaterFeeInfo.meterType
86 } 89 }
87 90
@@ -137,9 +140,7 @@ export default { @@ -137,9 +140,7 @@ export default {
137 this._listMeterTypes() 140 this._listMeterTypes()
138 this._listSimplifyMeterWaterFee(1, 10) 141 this._listSimplifyMeterWaterFee(1, 10)
139 }, 142 },
140 - open(params) {  
141 - this.switchData(params)  
142 - } 143 +
143 } 144 }
144 } 145 }
145 </script> 146 </script>