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