优化家佛诶页面

This commit is contained in:
java110 2020-10-15 14:28:12 +08:00
parent 84efef7428
commit 92e1580473

View File

@ -217,12 +217,12 @@
let _feeMonth = _feeMonthName.replace("个月",""); let _feeMonth = _feeMonthName.replace("个月","");
let _receivableAmount = _feeMonth * this.amount; let _receivableAmount = _feeMonth * this.amount;
let _lastDate = new Date(this.ordEndTime); let _lastDate = new Date(this.ordEndTime);
let _newDate = util.date.addMonth(_lastDate, _feeMonth); let _newDate = addMonth(_lastDate, _feeMonth);
this.showFeeMonth = false; this.showFeeMonth = false;
this.feeMonthName = _feeMonthName; this.feeMonthName = _feeMonthName;
this.receivableAmount = _receivableAmount; this.receivableAmount = _receivableAmount;
this.feeMonth = _feeMonth; this.feeMonth = _feeMonth;
this.endTime = util.date.formatDate(_newDate); this.endTime = formatDate(_newDate);
}, },
onFeeMonthChange: function(e) { onFeeMonthChange: function(e) {
console.log(e); console.log(e);