mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 20:42:52 +08:00
[FIX] 修改勾选同投保人时与被保人的关系反显
This commit is contained in:
@@ -902,6 +902,11 @@ export default {
|
||||
//勾选投保人
|
||||
asAppntAddress(val) {
|
||||
if (val) {
|
||||
if (JSON.parse(localStorage.saleInsuredPersonInfo).relationToAppnt == '2') {
|
||||
;[this.userInfo.relationToInsured, this.relationToAppnt] = ['2', '配偶']
|
||||
} else if (JSON.parse(localStorage.saleInsuredPersonInfo).relationToAppnt == '4') {
|
||||
;[this.userInfo.relationToInsured, this.relationToAppnt] = ['3', '父母']
|
||||
}
|
||||
this.isInsured = true
|
||||
let insuredDetail = JSON.parse(localStorage.insuredDetail)
|
||||
this.userInfo.name = insuredDetail.name //姓名
|
||||
|
||||
Reference in New Issue
Block a user