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('“证件类型”为“港澳台居民居住证”,“国籍”请选择“中国香港”、“中国澳门”或“中国台湾”~') + } } // 通过国籍判断 证件是否符合要求