mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 11:36:45 +08:00
附加豁免定寿B+民鑫年金、瑞利年金、鑫享年金、稳赢两全保险: 附加险保额取主险保费
This commit is contained in:
@@ -606,7 +606,9 @@ export default {
|
||||
const orderNo = localStorage.getItem('orderNo')
|
||||
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
|
||||
this.chooseProducts.map(item => {
|
||||
if (!(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005')) {
|
||||
if (
|
||||
!(item.mainRiskCode === 'GFRS_M0016' || item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0008' || item.productCode === 'GFRS_A0005')
|
||||
) {
|
||||
//其他产品删掉两个字段
|
||||
let calFactorLst = item.calFactorLst
|
||||
for (let i = calFactorLst.length - 1; i >= 0; i--) {
|
||||
@@ -1631,6 +1633,21 @@ export default {
|
||||
return
|
||||
}
|
||||
|
||||
// 附加豁免定寿B+民鑫年金、瑞利年金、鑫享年金、稳赢两全保险: 附加险保额取主险保费
|
||||
let mainPrd = riskDTOLst[0]
|
||||
let prdCodes = ['GFRS_M0002', 'GFRS_M0004', 'GFRS_M0011', 'GFRS_M0033']
|
||||
const exist = prdCodes.find(code => {
|
||||
return code === mainPrd.productCode
|
||||
})
|
||||
if (exist) {
|
||||
const addPrd = riskDTOLst.find(item => {
|
||||
return item.productCode === 'GFRS_A0007'
|
||||
})
|
||||
if (addPrd) {
|
||||
addPrd.amt = mainPrd.prem
|
||||
}
|
||||
}
|
||||
|
||||
//国富人寿桂企保重大疾病保险产品专写
|
||||
this.trialInfos.map((v, i) => {
|
||||
if (v.productCode == 'GFRS_M0024') {
|
||||
|
||||
Reference in New Issue
Block a user