From cebc50ae8295dd24e2fd5ba0d4d236459a5190a3 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期日, 02 六月 2019 22:59:35 +0800
Subject: [PATCH] 修改物业收费js
---
WebService/src/main/resources/components/property-pay/propertyPay.js | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/WebService/src/main/resources/components/property-pay/propertyPay.js b/WebService/src/main/resources/components/property-pay/propertyPay.js
index 9c77c90..e7329a8 100644
--- a/WebService/src/main/resources/components/property-pay/propertyPay.js
+++ b/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
}
--
Gitblit v1.8.0