Commit f07c0ce5 authored by 吴春's avatar 吴春

1

parent 2c516a5a
...@@ -1514,7 +1514,7 @@ ...@@ -1514,7 +1514,7 @@
isValidPassport:function() { isValidPassport:function() {
var isCheck=true; var isCheck=true;
if(this.addMsg.Nationality===this.NationalityId){ if(this.addMsg.Nationality===2){
if (this.addMsg.PassportNo.length !== 9) { if (this.addMsg.PassportNo.length !== 9) {
this.$message.error("请输入9位护照号") this.$message.error("请输入9位护照号")
isCheck=false; isCheck=false;
...@@ -1536,7 +1536,7 @@ ...@@ -1536,7 +1536,7 @@
//中国护照验证逻辑 //中国护照验证逻辑
isValidPassport: function () { isValidPassport: function () {
var isCheck = true; var isCheck = true;
if(this.addMsg.Nationality===this.NationalityId){ if(this.addMsg.Nationality===2){
if (this.addMsg.PassportNo.length !== 9) { if (this.addMsg.PassportNo.length !== 9) {
this.$message.error("请输入9位护照号") this.$message.error("请输入9位护照号")
isCheck = false; isCheck = false;
......
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