mirror of
https://gitee.com/java110/WechatOwnerService.git
synced 2026-06-11 06:07:24 +08:00
优化代码
This commit is contained in:
parent
435311c502
commit
e40e3fb4d7
@ -258,7 +258,14 @@
|
||||
this.payOnline = _fee.payOnline;
|
||||
if (this.feeFlag != '2006012') {
|
||||
this.paymentCycle = _fee.paymentCycle;
|
||||
for (let _index = 1; _index < 7; _index++) {
|
||||
let _maxCycle = 7;
|
||||
if(this.paymentCycle <= 6){
|
||||
_maxCycle = 18
|
||||
}
|
||||
if(this.paymentCycle < 12 && this.paymentCycle > 6){
|
||||
_maxCycle = 12
|
||||
}
|
||||
for (let _index = 1; _index < _maxCycle; _index++) {
|
||||
this.feeMonthList.push(_index * this.paymentCycle + '个月')
|
||||
}
|
||||
this.feeMonthName = this.paymentCycle + '个月';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user