Commit 09bd1eb1 authored by Mac's avatar Mac

去掉日期范围的判断

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