mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-13 02:15:05 +08:00
优化费用标识
This commit is contained in:
parent
909db8576d
commit
82dcafd6ec
@ -40,14 +40,7 @@
|
||||
<div class="col-sm-6">
|
||||
<select class="custom-select" v-model="payFeeOrderInfo.cycles" @change="_changeMonth(payFeeOrderInfo.cycles)">
|
||||
<option disabled value="">必填,请选择缴费周期</option>
|
||||
<option value="1">1个月</option>
|
||||
<option value="2">2个月</option>
|
||||
<option value="3">3个月</option>
|
||||
<option value="4">4个月</option>
|
||||
<option value="5">5个月</option>
|
||||
<option value="6">6个月</option>
|
||||
<option value="12">一年</option>
|
||||
<option value="24">两年</option>
|
||||
<option v-for="item in payFeeOrderInfo.paymentCycles" :value="item">{{item}}个月</option>
|
||||
<option value="-101">自定义</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
@ -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(){
|
||||
|
||||
Loading…
Reference in New Issue
Block a user