| | |
| | | feeId:'', |
| | | builtUpArea:'', |
| | | squarePrice:'', |
| | | additionalAmount:'' |
| | | additionalAmount:'', |
| | | communityId:'' |
| | | } |
| | | }, |
| | | watch:{ |
| | | "propertyPayInfo.cycles":{//深度监听,可监听到对象、数组的变化 |
| | | handler(val, oldVal){ |
| | | vc.component.propertyPayInfo.receivableAmount = builtUpArea* squarePrice + additionalAmount; |
| | | vc.component.propertyPayInfo.receivedAmount = builtUpArea* squarePrice + additionalAmount; |
| | | vc.component.propertyPayInfo.receivableAmount = (parseFloat(vc.component.propertyPayInfo.builtUpArea) |
| | | * parseFloat(vc.component.propertyPayInfo.squarePrice) |
| | | + parseFloat(vc.component.propertyPayInfo.additionalAmount)) * parseFloat(val); |
| | | vc.component.propertyPayInfo.receivedAmount = vc.component.propertyPayInfo.receivableAmount; |
| | | }, |
| | | deep:true |
| | | } |
| | |
| | | |
| | | $('#propertyPayModel').modal('show'); |
| | | vc.component.propertyPayInfo.feeId = _params.feeId; |
| | | vc.component.addRoomInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | vc.component.propertyPayInfo.builtUpArea = _params.builtUpArea; |
| | | vc.component.propertyPayInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | }); |
| | | }, |
| | | methods:{ |
| | |
| | | builtUpArea:'', |
| | | feeId:'', |
| | | squarePrice:'', |
| | | additionalAmount:'' |
| | | additionalAmount:'', |
| | | communityId:'' |
| | | }; |
| | | vc.component.loadPropertyConfigFee(); |
| | | |