|
@@ -58,14 +58,6 @@
|
|
|
:show-cancel-button="false">
|
|
|
<view class="slot-content">
|
|
|
<view class="pay-way-new">
|
|
|
- <!-- <view class="pay-way-item pay-way-item-hy" @click="gyBankPay">
|
|
|
- <image src="../../static/img/guiyang-bank-icon.png" mode=""></image>
|
|
|
- <view class="title">贵州银行</view>
|
|
|
- </view>
|
|
|
- <view class="pay-way-item pay-way-item-jh" @click="juhePay">
|
|
|
- <image src="../../static/img/juhe-icon.png" mode=""></image>
|
|
|
- <view class="title">聚合支付</view>
|
|
|
- </view> -->
|
|
|
<view class="pay-way-item pay-way-item-hy"
|
|
|
@click="$u.debounce(gyBankPay, 1000, (immediate = true))">
|
|
|
<image src="/static/img/gyyh-icon.svg" mode=""></image>
|
|
@@ -226,7 +218,7 @@
|
|
|
reduceMonthNum() {
|
|
|
if (this.form.month > 1) {
|
|
|
this.form.month -= 1;
|
|
|
- this.form.dateRange = this.getMonthRange(new Date(), this.form.month);
|
|
|
+ this.form.dateRange = this.getMonthRange(new Date(), this.form.month + this.freeMonthNum);
|
|
|
}
|
|
|
},
|
|
|
/**
|
|
@@ -241,7 +233,7 @@
|
|
|
return;
|
|
|
}
|
|
|
this.form.month += 1;
|
|
|
- this.form.dateRange = this.getMonthRange(new Date(), this.form.month);
|
|
|
+ this.form.dateRange = this.getMonthRange(new Date(), (this.form.month + this.freeMonthNum));
|
|
|
},
|
|
|
carLicenseListConfirm(item) {
|
|
|
this.form.carLicense = item[0];
|
|
@@ -318,6 +310,8 @@
|
|
|
let timesNum = parseInt(Number(val) / Number(this.monthlyRuleObj.minMonth));
|
|
|
if (timesNum > 0) {
|
|
|
this.freeMonthNum = Number(timesNum) * Number(this.monthlyRuleObj.giveMonth);
|
|
|
+ } else {
|
|
|
+ this.freeMonthNum = 0
|
|
|
}
|
|
|
}
|
|
|
},
|
|
@@ -503,7 +497,7 @@
|
|
|
},
|
|
|
computed: {
|
|
|
dateRange: function() {
|
|
|
- return this.getMonthRange(this.lastActiveDate, this.form.month);
|
|
|
+ return this.getMonthRange(this.lastActiveDate, this.form.month + this.freeMonthNum);
|
|
|
}
|
|
|
},
|
|
|
filters: {
|