diff --git a/src/views/ebiz/sale/InsuredPerson.vue b/src/views/ebiz/sale/InsuredPerson.vue index 7a06f32a5..d24555c84 100644 --- a/src/views/ebiz/sale/InsuredPerson.vue +++ b/src/views/ebiz/sale/InsuredPerson.vue @@ -711,7 +711,10 @@ export default { }, setMarriageStatus() { this.isMarriageStatusShow = true - this.columns = [{ id: 1, text: '已婚' }, { id: 2, text: '单身' }] + this.columns = [ + { id: 1, text: '已婚' }, + { id: 2, text: '单身' } + ] }, //监听名字变化 nameChange(name) { @@ -772,7 +775,10 @@ export default { } /*else if (pickerType == '3') { this.columns = DataDictionary.degree } */ else if (pickerType == '4') { - this.columns = [{ id: 0, text: '有' }, { id: 1, text: '无' }] + this.columns = [ + { id: 0, text: '有' }, + { id: 1, text: '无' } + ] } else if (pickerType == '5') { this.columns = DataDictionary.taxIdentity } /* else if (pickerType == '6') { @@ -1392,7 +1398,7 @@ export default { // 通过国籍判断 证件是否符合要求 // 如果是国籍选择中国大陆 - if (this.userInfo.nativeplace <= '4') { + if (Number(this.userInfo.nativeplace) <= 4) { // “身份证”或“台湾居民来往大陆通行证”或“港澳居民来往内地通行证” let obj = { '1': true,