页面截图
部分代码
CalculateRate: function() {
//计算利率
this.rateDetail = []
let basicRate //定义基准利率
if (this.selected_LoanMethod == '0') {
//如果贷款方式是商业贷款
if (this.selected_LoanYear <= 5) {
//如果贷款年限小于等于5
basicRate = SY_LT_5
} else {
basicRate = SY_GT_5
}
//设置利率
this.rateDe