Commit 0ca23fe8 authored by 黄奎's avatar 黄奎

新增验证

parent 2f693c96
...@@ -962,11 +962,13 @@ ...@@ -962,11 +962,13 @@
return ((new Date(d1.replace(/-/g, "\/"))) < (new Date(d2.replace(/-/g, "\/")))); return ((new Date(d1.replace(/-/g, "\/"))) < (new Date(d2.replace(/-/g, "\/"))));
}, },
timeOver: function () { timeOver: function () {
if (this.addMsg.PassportExpiry && this.addMsg.PassportExpiry != '') {
this.guoqi = this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr) this.guoqi = this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr)
if (this.guoqi) { if (this.guoqi) {
this.$message.error("客人护照过期时间小于团队出发日期后六个月") this.$message.error("客人护照过期时间小于团队出发日期后六个月")
return return
} }
}
}, },
getAccessToken() { getAccessToken() {
let url = let url =
...@@ -2200,4 +2202,5 @@ ...@@ -2200,4 +2202,5 @@
this.getJingDIan(); this.getJingDIan();
} }
}; };
</script> </script>
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