mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 13:06:43 +08:00
[FIX]国富人寿附加投保人豁免保险费定期寿险-保费试算
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,3 +19,4 @@ yarn-error.log*
|
|||||||
*.njsproj
|
*.njsproj
|
||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
.history/
|
||||||
|
|||||||
@@ -63,14 +63,7 @@ export default {
|
|||||||
this.$toast('请选择产品')
|
this.$toast('请选择产品')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
//930折中方案,豁免险选择
|
|
||||||
let chooseProducts = JSON.parse(localStorage.chooseProducts)
|
|
||||||
for (let i = 0; i < chooseProducts.length; i++) {
|
|
||||||
if (chooseProducts[i].productCode == 'DCRS_A0001' && this.result.productCode == 'DCRS_A0001') {
|
|
||||||
this.$toast('豁免险已选!')
|
|
||||||
return
|
|
||||||
}
|
|
||||||
}
|
|
||||||
//添加附加险
|
//添加附加险
|
||||||
this.addAddtionRisk()
|
this.addAddtionRisk()
|
||||||
},
|
},
|
||||||
@@ -178,7 +171,7 @@ export default {
|
|||||||
},
|
},
|
||||||
//豁免险影响
|
//豁免险影响
|
||||||
remitLimit(resultData) {
|
remitLimit(resultData) {
|
||||||
//isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人
|
//isRemit 0是豁免险 1非豁免险 remitType 0投保人 1被保人 relationToAppnt 投被关系
|
||||||
let isRemit = resultData.productTrialInfoDTO.isRemit
|
let isRemit = resultData.productTrialInfoDTO.isRemit
|
||||||
if (isRemit == 1) return false
|
if (isRemit == 1) return false
|
||||||
let remitType = resultData.productTrialInfoDTO.remitType
|
let remitType = resultData.productTrialInfoDTO.remitType
|
||||||
|
|||||||
@@ -141,10 +141,7 @@
|
|||||||
label="预计转入保费"
|
label="预计转入保费"
|
||||||
placeholder="请输入"
|
placeholder="请输入"
|
||||||
/>
|
/>
|
||||||
<div
|
<div class="flex justify-content-s pv10 border-bottom" v-if="isRelated && isFrom != 'proposal'">
|
||||||
class="flex justify-content-s pv10 border-bottom"
|
|
||||||
v-if="isRelated && isFrom != 'proposal'"
|
|
||||||
>
|
|
||||||
<van-field
|
<van-field
|
||||||
v-model="policyNo"
|
v-model="policyNo"
|
||||||
clearable
|
clearable
|
||||||
@@ -263,7 +260,7 @@ export default {
|
|||||||
}
|
}
|
||||||
if (item.mainRiskCode != 'GFRS_M0008') {
|
if (item.mainRiskCode != 'GFRS_M0008') {
|
||||||
item.calFactorLst.map(i => {
|
item.calFactorLst.map(i => {
|
||||||
this.defalutAmt = i.displayAmount
|
this.defalutAmt = i.displayAmount || 1
|
||||||
console.log(i.displayAmount)
|
console.log(i.displayAmount)
|
||||||
console.log(i.defaultValue)
|
console.log(i.defaultValue)
|
||||||
this.mult = Number(i.displayAmount) / Number(i.defaultValue)
|
this.mult = Number(i.displayAmount) / Number(i.defaultValue)
|
||||||
@@ -546,7 +543,6 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//2、豁免险跟主险联动,值减一
|
|
||||||
//2、豁免险跟主险联动,豁免险缴费期间和保险期间同主险的缴费期间
|
//2、豁免险跟主险联动,豁免险缴费期间和保险期间同主险的缴费期间
|
||||||
let remitIndex = this.getRemitIndex()
|
let remitIndex = this.getRemitIndex()
|
||||||
if (!remitIndex) return
|
if (!remitIndex) return
|
||||||
@@ -698,7 +694,12 @@ export default {
|
|||||||
if (factor.code == 'inputPrem') {
|
if (factor.code == 'inputPrem') {
|
||||||
trialInfo['prem'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
|
trialInfo['prem'] = Number(this.defalutAmt) * Number(factor.moneyUnit)
|
||||||
} else {
|
} 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) {
|
} else if (factor.type == 2) {
|
||||||
trialInfo.jobLevel = this.saleInsuredPersonInfo[factor.code]
|
trialInfo.jobLevel = this.saleInsuredPersonInfo[factor.code]
|
||||||
@@ -717,7 +718,8 @@ export default {
|
|||||||
trialInfo.duty = result
|
trialInfo.duty = result
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
console.log("trialInfo == ",trialInfo)
|
||||||
//通用规则1:交费方式为一次交情,无交费期限
|
//通用规则1:交费方式为一次交情,无交费期限
|
||||||
if (trialInfo['payIntv'] == '0') {
|
if (trialInfo['payIntv'] == '0') {
|
||||||
trialInfo['payEndYear'] = '1000'
|
trialInfo['payEndYear'] = '1000'
|
||||||
|
|||||||
Reference in New Issue
Block a user