Commit 4b99a10c authored by huangjie's avatar huangjie

*

parent 82aa484c
......@@ -395,6 +395,11 @@
});
this.form.startTime = this.form.dateRange[0]
this.form.expireTime = this.form.dateRange[1]
let thistime = new Date(this.form.expireTime).getTime()
if(thistime < new Date().getTime()){
this.$message.error('不能选择过去时间!')
return false
}
if (this.form.id != undefined) {
editTenant(this.form).then(response => {
if (response.code == 200) {
......
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