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

新增验证

parent 2f693c96
...@@ -962,10 +962,12 @@ ...@@ -962,10 +962,12 @@
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 () {
this.guoqi = this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr) if (this.addMsg.PassportExpiry && this.addMsg.PassportExpiry != '') {
if (this.guoqi) { this.guoqi = this.CompareDate(this.addMsg.PassportExpiry, this.EndDateStr)
this.$message.error("客人护照过期时间小于团队出发日期后六个月") if (this.guoqi) {
return this.$message.error("客人护照过期时间小于团队出发日期后六个月")
return
}
} }
}, },
getAccessToken() { getAccessToken() {
...@@ -2200,4 +2202,5 @@ ...@@ -2200,4 +2202,5 @@
this.getJingDIan(); this.getJingDIan();
} }
}; };
</script>
\ No newline at end of file </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