diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index c26e975c3..b87eb2ea2 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -1454,6 +1454,13 @@ export default { if (!nVal) { this.userInfo.otherSalarySource = '' } + }, + 'userInfo.marriageStatus'(nv) { + for (let status of DataDictionary.marriage) { + if (status.text === nv) { + this.userInfo.marriage = status.id + } + } } }, beforeDestroy() { diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index e92df14ad..295ace1c6 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -1771,6 +1771,13 @@ export default { } else { this.homeName = this.userInfo.homeAddress = '' } + }, + 'userInfo.marriageStatus'(nv) { + for (let status of DataDictionary.marriage) { + if (status.text === nv) { + this.userInfo.marriage = status.id + } + } } } }