Browse Source

Merge remote-tracking branch 'origin/master'

master
dimengzhe 2 years ago
parent
commit
ee96348b58
  1. 10
      anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue
  2. 10
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

10
anrui-buscenter/anrui-buscenter-ui/src/components/publicPage/financialscheme.vue

@ -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
//
this.finance.factoryDiscountUse = '抵利息'
this.finance.factoryDiscountUseKey = '02'
@ -623,11 +627,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') {

10
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/publicPage/financialscheme.vue

@ -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') {

Loading…
Cancel
Save