Commit 554c3ff7 authored by Mac's avatar Mac

1

parent b2dd001b
......@@ -396,20 +396,20 @@ export default {
}
}
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