Commit 2c516a5a authored by 吴春's avatar 吴春

1

parent f1bf7e10
...@@ -1536,6 +1536,7 @@ ...@@ -1536,6 +1536,7 @@
//中国护照验证逻辑 //中国护照验证逻辑
isValidPassport: function () { isValidPassport: function () {
var isCheck = true; var isCheck = true;
if(this.addMsg.Nationality===this.NationalityId){
if (this.addMsg.PassportNo.length !== 9) { if (this.addMsg.PassportNo.length !== 9) {
this.$message.error("请输入9位护照号") this.$message.error("请输入9位护照号")
isCheck = false; isCheck = false;
...@@ -1553,6 +1554,7 @@ ...@@ -1553,6 +1554,7 @@
return; return;
} }
} }
}
return isCheck; return isCheck;
}, },
getVisaApplyForTypeEnum() { getVisaApplyForTypeEnum() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment