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

新增验证

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