手机端缴费月份太少问题

Signed-off-by: java110 <928255095@qq.com>
This commit is contained in:
java110 2024-12-05 08:01:38 +00:00 committed by Gitee
parent 97a82f9977
commit 92f158e3f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -262,8 +262,16 @@
this.amountCount = this.receivableAmount;
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 + '个月';