|
|
@ -535,6 +535,10 @@ export default { |
|
|
|
this.finance.nominalPrice = choose[0].nominalPrice |
|
|
|
// 从金融产品政策中-- 获取代收意外险 |
|
|
|
this.finance.proxyAccidentPremium = choose[0].vehAccidentAmount |
|
|
|
// 从金融产品政策中-- 获取服务费类型 |
|
|
|
this.finance.serviceChargeTypeKey = choose[0].serviceChargeTypeKey |
|
|
|
// 从金融产品政策中-- 获取服务费 |
|
|
|
this.finance.serviceChargeTypeValue = choose[0].serviceChargeTypeValue |
|
|
|
// 当融资项目总额不为空且不为0时,如果更换产品政策(需要重新计算首付金额、产品贷款金额、贷款保证金等,重置其它融模块的内容) |
|
|
|
if (this.finance.loanTotal !== '' && this.finance.loanTotal !== '0') { |
|
|
|
// 重新计算 |
|
|
@ -620,11 +624,11 @@ export default { |
|
|
|
// 融资项目总额 * 融资项目总额比例(金融产品政策中服务费) |
|
|
|
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanTotal)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue))) |
|
|
|
} else if (this.finance.serviceChargeTypeKey === '02') { |
|
|
|
// 等于金融产品政策中服务费 |
|
|
|
this.finance.serviceAmount = this.finance.serviceChargeTypeValue |
|
|
|
} else if (this.finance.serviceChargeTypeKey === '03') { |
|
|
|
// 贷款金额 * 贷款金额比例(金融产品政策中服务费) |
|
|
|
this.finance.serviceAmount = Math.round(parseInt(this.arguments(this.finance.loanAmount)) * parseFloat(this.arguments(this.finance.serviceChargeTypeValue))) |
|
|
|
} else if (this.finance.serviceChargeTypeKey === '03') { |
|
|
|
// 等于金融产品政策中服务费 |
|
|
|
this.finance.serviceAmount = this.finance.serviceChargeTypeValue |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.finance.premiumCb && this.finance.dealWayKey === '02') { |
|
|
|