From 3cba6a83cf98d1077f7fbaacf0d265fc9b55393c Mon Sep 17 00:00:00 2001 From: "li.jieyu@ebiz-digits.com" Date: Tue, 25 May 2021 14:59:52 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=B9=E5=AE=9A=E7=96=BE=E7=97=85=E8=8D=AF?= =?UTF-8?q?=E5=93=81=E8=B4=B9=E7=94=A8=E5=8C=BB=E7=96=97=E5=BC=80=E5=8F=91?= =?UTF-8?q?=E4=B9=8B=E5=9B=BD=E7=B1=8D=E8=AF=81=E4=BB=B6=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E6=A0=A1=E9=AA=8C=20=20--=E6=9D=8E=E5=A9=95=E7=85=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/AddBeneficiaryInfo.vue | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/views/ebiz/sale/AddBeneficiaryInfo.vue b/src/views/ebiz/sale/AddBeneficiaryInfo.vue index 260685d12..44f4226e9 100644 --- a/src/views/ebiz/sale/AddBeneficiaryInfo.vue +++ b/src/views/ebiz/sale/AddBeneficiaryInfo.vue @@ -857,6 +857,19 @@ 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 == '9') { + if (this.userInfo.nativeplace != '2' && this.userInfo.nativeplace != '3' && this.userInfo.nativeplace != '4') { + return this.$toast('“证件类型”为“港澳台居民居住证”,“国籍”请选择“中国香港”、“中国澳门”或“中国台湾”~') + } } // 通过国籍判断 证件是否符合要求