Commit 09bd1eb1 authored by Mac's avatar Mac

去掉日期范围的判断

parent 84ad1b67
......@@ -284,19 +284,19 @@
}
}
let diff = this.dateMinus(this.msg.StartMonth,this.msg.EndMonth)
if(diff >11){
this.$q.notify({
type: 'negative',
position: "top",
message: `月份不能超过12个月`
})
if(val==1){//如果超哥12过月的处理
this.msg.StartMonth = this.msg.EndMonth
}else{
this.msg.EndMonth = this.msg.StartMonth
}
return
}
// if(diff >11){
// this.$q.notify({
// type: 'negative',
// position: "top",
// message: `月份不能超过12个月`
// })
// if(val==1){//如果超哥12过月的处理
// this.msg.StartMonth = this.msg.EndMonth
// }else{
// this.msg.EndMonth = this.msg.StartMonth
// }
// return
// }
setTimeout(()=>{
this.handleCurrentChanges(1)
},10)
......
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