From 82dcafd6ec17063df1dcf206c790be6ec284e56b Mon Sep 17 00:00:00 2001 From: java110 <928255095@qq.com> Date: Fri, 5 Jun 2020 17:26:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=B9=E7=94=A8=E6=A0=87?= =?UTF-8?q?=E8=AF=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/pages/property/payFeeOrder/payFeeOrder.html | 9 +-------- public/pages/property/payFeeOrder/payFeeOrder.js | 6 ++++++ 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/public/pages/property/payFeeOrder/payFeeOrder.html b/public/pages/property/payFeeOrder/payFeeOrder.html index 3ba3ddadf..1dd7f5545 100644 --- a/public/pages/property/payFeeOrder/payFeeOrder.html +++ b/public/pages/property/payFeeOrder/payFeeOrder.html @@ -40,14 +40,7 @@
diff --git a/public/pages/property/payFeeOrder/payFeeOrder.js b/public/pages/property/payFeeOrder/payFeeOrder.js index 856f35a17..3b41a0a16 100644 --- a/public/pages/property/payFeeOrder/payFeeOrder.js +++ b/public/pages/property/payFeeOrder/payFeeOrder.js @@ -10,6 +10,7 @@ endTime: '', feePrice:0.00, cycles:'1', + paymentCycles:[], totalFeePrice:0.00, receivedAmount:'', communityId:vc.getCurrentCommunity().communityId @@ -22,11 +23,16 @@ vc.component.payFeeOrderInfo.feeTypeCdName = vc.getParam('feeTypeCdName'); vc.component.payFeeOrderInfo.endTime = vc.getParam('endTime').replace(/%3A/g,':'); vc.component.payFeeOrderInfo.feePrice = vc.getParam('feePrice'); + $that.payFeeOrderInfo.paymentCycles = []; + for(let _index=1 ; _index < 7; _index ++){ + $that.payFeeOrderInfo.paymentCycles.push(_index * vc.getParam('paymentCycle')) + } }; vc.component.payFeeOrderInfo.totalFeePrice = vc.component.payFeeOrderInfo.feePrice; vc.component.payFeeOrderInfo.receivedAmount = vc.component.payFeeOrderInfo.totalFeePrice ; + }, _initEvent:function(){