From 08a266cee0fd0a4a188e7a0357d692db26738e2a Mon Sep 17 00:00:00 2001 From: "na.guo" Date: Mon, 10 Aug 2020 15:03:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=AA=8C=E8=AF=81=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/InsuredInfo.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/ebiz/sale/InsuredInfo.vue b/src/views/ebiz/sale/InsuredInfo.vue index bbb4b799d..a65ec5510 100644 --- a/src/views/ebiz/sale/InsuredInfo.vue +++ b/src/views/ebiz/sale/InsuredInfo.vue @@ -1039,6 +1039,15 @@ export default { if (this.userInfo.nativeplace == '1') { return this.$toast('“证件类型”为“外国人护照”,“国籍”不能选择为“中国”哦~') } + } else if (this.userInfo.idType == '5') { + console.log(this.userInfo.nativeplace, 'nativeplace') + if (this.userInfo.nativeplace != 2 && this.userInfo.nativeplace != 3) { + return this.$toast('“证件类型”为“港澳居民来往内地通行证”,“国籍”请选择“中国香港”或“中国澳门”哦~') + } + } else if (this.userInfo.idType == '6') { + if (this.userInfo.nativeplace != 4) { + return this.$toast('“证件类型”为“台湾居民来往大陆通行证”,“国籍”请选择“中国台湾”~') + } } // else if (this.userInfo.idType == '4' && this.userInfo.idNo.length < 3) { // console.log('证件类型是护照') @@ -1414,6 +1423,7 @@ export default { } } }, + computed: { isShowOthenSalarySource() { if (this.userInfo.salarySource == '4') {