mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 18:26:43 +08:00
本产品建议“保至70周岁”的方案20万保额起投;“保至终身”的方案10万保额起投;
This commit is contained in:
@@ -1050,11 +1050,41 @@
|
|||||||
},
|
},
|
||||||
//确认选择字段
|
//确认选择字段
|
||||||
async onConfirm(value) {
|
async onConfirm(value) {
|
||||||
|
console.log(value)
|
||||||
this.columns = []
|
this.columns = []
|
||||||
this.popupShow = false
|
this.popupShow = false
|
||||||
// let productCode = this.chooseProducts[this.productIndex].productCode
|
// let productCode = this.chooseProducts[this.productIndex].productCode
|
||||||
let currentFactor = this.chooseProducts[this.productIndex].calFactorLst
|
let currentFactor = this.chooseProducts[this.productIndex].calFactorLst
|
||||||
let currentEle = currentFactor[this.calFactorIndex]
|
let currentEle = currentFactor[this.calFactorIndex]
|
||||||
|
console.log(currentEle.code)
|
||||||
|
if(currentEle.code == 'insuYear'){
|
||||||
|
if(value.value == '70') {
|
||||||
|
console.log(this.chooseProducts)
|
||||||
|
this.chooseProducts.forEach((item, index) => {
|
||||||
|
if (item.mainRiskCode == 'GFRS_M0086') {
|
||||||
|
item.calFactorLst.forEach((i) => {
|
||||||
|
if (i.code == "inputAmt") {
|
||||||
|
console.log(i)
|
||||||
|
i.displayAmount = 20
|
||||||
|
i.defaultValue = 20
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
} else if(value.value == '106') {
|
||||||
|
this.chooseProducts.forEach((item, index) => {
|
||||||
|
if (item.mainRiskCode == 'GFRS_M0086') {
|
||||||
|
item.calFactorLst.forEach((i) => {
|
||||||
|
if (i.code == "inputAmt") {
|
||||||
|
console.log(i)
|
||||||
|
i.displayAmount = 10
|
||||||
|
i.defaultValue = 10
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
// let sex = this.saleInsuredPersonInfo.sex //0男 1女
|
// let sex = this.saleInsuredPersonInfo.sex //0男 1女
|
||||||
|
|
||||||
// //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1
|
// //特殊设置:如果需要填写的保费/保额校验规则跟缴费期间挂钩,当改变缴费期间时,将输入框的值恢复默认值1
|
||||||
|
|||||||
Reference in New Issue
Block a user