|
@@ -106,13 +106,15 @@ export default {
|
|
|
// landlady: '',//房东
|
|
|
residentId: '',//房东
|
|
|
residentName: '',
|
|
|
- billType: '1'
|
|
|
+ billType: '1',
|
|
|
+ strategyId: ""
|
|
|
// building: '',//楼栋
|
|
|
},
|
|
|
times: [],
|
|
|
selectData: [],
|
|
|
dateLandlady: [],
|
|
|
dateBuilding: [],
|
|
|
+ strategyId: '',
|
|
|
formRules: {
|
|
|
residentId: [this.$valid.selectRequired('房东')],
|
|
|
assetsId: [this.$valid.selectRequired('楼栋')],
|
|
@@ -197,9 +199,20 @@ export default {
|
|
|
name: data[i].communityName + '-' + data[i].buildingName,
|
|
|
id: data[i].id
|
|
|
})
|
|
|
+ this.strategyId = data[i].strategyId;
|
|
|
+ this.formData.strategyId = data[i].strategyId;
|
|
|
+ this.scChargeStrategy(i);
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
+ },
|
|
|
+ scChargeStrategy (id) {
|
|
|
+ this.$http.get(`/czc-charge/scChargeStrategy/find/${this.strategyId}`).then(({ data, status, msg }) => {
|
|
|
+ if (status == 0) {
|
|
|
+ this.dateBuilding[id].name = this.dateBuilding[id].name + '(' + data.chargeName + ')'
|
|
|
+ }
|
|
|
+
|
|
|
+ })
|
|
|
}
|
|
|
},
|
|
|
created () {
|