wuxw
2019-06-02 cebc50ae8295dd24e2fd5ba0d4d236459a5190a3
修改物业收费js
1个文件已修改
10 ■■■■■ 已修改文件
WebService/src/main/resources/components/property-pay/propertyPay.js 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebService/src/main/resources/components/property-pay/propertyPay.js
@@ -17,12 +17,10 @@
        watch:{
            "propertyPayInfo.cycles":{//深度监听,可监听到对象、数组的变化
                handler(val, oldVal){
                    vc.component.propertyPayInfo.receivableAmount = vc.component.propertyPayInfo.builtUpArea
                                                                    * vc.component.propertyPayInfo.squarePrice
                                                                    + vc.component.propertyPayInfo.additionalAmount;
                    vc.component.propertyPayInfo.receivedAmount = vc.component.propertyPayInfo.builtUpArea
                                                                  * vc.component.propertyPayInfo.squarePrice
                                                                  + vc.component.propertyPayInfo.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
            }