mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 07:06:44 +08:00
fix: 修复保费试算属性缺少的问题
This commit is contained in:
@@ -699,12 +699,7 @@ export default {
|
||||
item[item.code] = factor[item.code]
|
||||
}
|
||||
}
|
||||
let itemColumns = {
|
||||
text: factor.showContent,
|
||||
value: factor[item.code],
|
||||
flag: factor[item.code + 'Flag'],
|
||||
sex: factor.sex
|
||||
}
|
||||
let itemColumns = { text: factor.showContent, value: factor[item.code], flag: factor[item.code + 'Flag'], sex: factor.sex }
|
||||
if (factor.medical !== undefined) {
|
||||
itemColumns.medical = factor.medical
|
||||
}
|
||||
@@ -713,8 +708,9 @@ export default {
|
||||
} else if (item.type == 1) {
|
||||
//按年龄选择
|
||||
if (productTrialInfoDTO[item.code] != null) {
|
||||
// productTrialInfoDTO[item.code].forEach((factor) => {
|
||||
// item = Object.assign(item, factor)
|
||||
productTrialInfoDTO[item.code].forEach(factor => {
|
||||
item = Object.assign(item, factor)
|
||||
// todo: 流程缩减
|
||||
// if (
|
||||
// JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).insuredAge >= Number(factor.minAge) &&
|
||||
// JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).insuredAge <= Number(factor.maxAge)
|
||||
@@ -722,7 +718,7 @@ export default {
|
||||
// // if(JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age >= Number(factor.minAge) && JSON.parse(this.$CacheUtils.getLocItem('saleInsuredPersonInfo')).age <= Number(factor.maxAge)){
|
||||
// item = Object.assign(item, factor)
|
||||
// }
|
||||
// })
|
||||
})
|
||||
if (item.code == 'inputPrem') {
|
||||
item['inputPrem'] = Number(item.minPrem) * Number(item.moneyUnit)
|
||||
} else {
|
||||
@@ -2870,7 +2866,7 @@ export default {
|
||||
)
|
||||
this.nextStepFlag = true
|
||||
} else {
|
||||
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) !== 0) {
|
||||
if ((Number(defalutValue) * 10000) % (Number(currentEle.limit) * 10000) != 0) {
|
||||
// this.defalutAmt = currentEle.rules[productIndex].displayAmount
|
||||
this.$toast(
|
||||
'0周岁-55周岁最低基本保险金额为' +
|
||||
@@ -3597,9 +3593,9 @@ export default {
|
||||
})
|
||||
},
|
||||
handleChoosedProductsChange() {
|
||||
this.chooseProducts = JSON.parse(localStorage.getItem("chooseProducts"))
|
||||
this.chooseProducts = JSON.parse(localStorage.getItem('chooseProducts'))
|
||||
this.selectAddtionRisk()
|
||||
},
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
saleInsuredPersonInfo: {
|
||||
|
||||
Reference in New Issue
Block a user