From cb9f342a2cbba10a3e27f612dc883b10d1a5e054 Mon Sep 17 00:00:00 2001 From: mengxiaolong Date: Wed, 16 Dec 2020 15:55:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BD=BF=E7=94=A8=E5=AD=97?= =?UTF-8?q?=E7=AC=A6=E4=B8=B2=E6=AF=94=E8=BE=83=E5=9B=BD=E7=B1=8D=E7=BC=96?= =?UTF-8?q?=E7=A0=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/InsuredPerson.vue | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) 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,