[FIX]国富人寿附加投保人豁免保险费定期寿险-保费试算

This commit is contained in:
yuweiqi
2020-01-09 15:36:02 +08:00
parent bc02b52801
commit 26e27f2ae1
3 changed files with 13 additions and 17 deletions

View File

@@ -141,10 +141,7 @@
label="预计转入保费"
placeholder="请输入"
/>
<div
class="flex justify-content-s pv10 border-bottom"
v-if="isRelated && isFrom != 'proposal'"
>
<div class="flex justify-content-s pv10 border-bottom" v-if="isRelated && isFrom != 'proposal'">
<van-field
v-model="policyNo"
clearable
@@ -263,7 +260,7 @@ export default {
}
if (item.mainRiskCode != 'GFRS_M0008') {
item.calFactorLst.map(i => {
this.defalutAmt = i.displayAmount
this.defalutAmt = i.displayAmount || 1
console.log(i.displayAmount)
console.log(i.defaultValue)
this.mult = Number(i.displayAmount) / Number(i.defaultValue)
@@ -546,7 +543,6 @@ export default {
}
}
//2、豁免险跟主险联动值减一
//2、豁免险跟主险联动豁免险缴费期间和保险期间同主险的缴费期间
let remitIndex = this.getRemitIndex()
if (!remitIndex) return
@@ -698,7 +694,12 @@ export default {
if (factor.code == 'inputPrem') {
trialInfo['prem'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
} else {
trialInfo['amt'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
if (item.isRemit == 0) {
trialInfo['amt'] = Number(factor.defaultValue) * Number(factor.moneyUnit)
} else {
trialInfo['amt'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
}
// trialInfo['amt'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
}
} else if (factor.type == 2) {
trialInfo.jobLevel = this.saleInsuredPersonInfo[factor.code]
@@ -717,7 +718,8 @@ export default {
trialInfo.duty = result
}
})
console.log("trialInfo == ",trialInfo)
//通用规则1交费方式为一次交情无交费期限
if (trialInfo['payIntv'] == '0') {
trialInfo['payEndYear'] = '1000'