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(){