Merge branch 'hotfix/【20210120】婚姻状况未保存问题' into release/20210120

This commit is contained in:
mengxiaolong
2021-01-20 18:24:06 +08:00
2 changed files with 14 additions and 0 deletions

View File

@@ -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() {

View File

@@ -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
}
}
}
}
}