学平险卡单,当与被保人关系为父母时,投保人人婚姻状况默认为已婚,支持修改。

This commit is contained in:
li.yuetong
2022-06-10 16:01:25 +08:00
parent b55e0212ed
commit 3b89402539

View File

@@ -452,7 +452,11 @@
style='border-bottom: 1px solid #ebedf0' />
</van-cell-group>
<p style='background: white; border-bottom: 1px solid #ebedf0' class='fs15 fwb pl10 pv12'>产品信息</p>
<!-- 保障方案为1款时进入投保页面时保障方案直接回显至前端页面
保障方案多于1款时进入投保页面保障方案默认为空需要选择保障方案 -->
<van-field v-if="this.itemProductDTOS.productCode === 'GFRS_M0062'||this.itemProductDTOS.productCode === 'GFRS_M0063'||this.itemProductDTOS.productCode === 'GFRS_M0064'" v-model='proScheme' readonly label='保障方案' name='生效日期' placeholder='请输入' />
<van-field
v-else
:value='proScheme'
readonly
required
@@ -887,6 +891,8 @@ export default {
}else{
this.now = afterDate.getAfterDays(1)
}
this.proScheme = this.trialList[0].proScheme
this.proSchemeCode = this.trialList[0].proSchemeCode
}else {
// this.proScheme = this.trialList[0].proScheme
// this.proSchemeCode = this.trialList[0].proSchemeCode
@@ -1233,6 +1239,13 @@ export default {
this.userInfo.salarySource = value.id
} else if (this.pickerType == '9') {
this.userInfo.relationToInsured = value.id
// 学平险卡单,当与被保人关系为父母时,投保人人婚姻状况默认为已婚,支持修改。
if (this.itemProductDTOS.productCode === 'GFRS_M0062' || this.itemProductDTOS.productCode === 'GFRS_M0064' || this.itemProductDTOS.productCode === 'GFRS_M0063') {
if(this.userInfo.relationToInsured == '3'){
this.userInfo.marriage = '1'
this.userInfo.marriageStatus = '已婚'
}
}
} else if (this.pickerType == '66') {
this.insuredInfo.marriage = value.id
this.insuredInfo.marriageStatus = value.text