Commit 554c3ff7 authored by Mac's avatar Mac

1

parent b2dd001b
...@@ -396,20 +396,20 @@ export default { ...@@ -396,20 +396,20 @@ export default {
} }
} }
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) { // if (val == 1) {
//如果超哥12过月的处理 // //如果超哥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