Commit 3dc9476f authored by youjie's avatar youjie

no message

parent a5b94bb0
......@@ -127,7 +127,7 @@ export default {
onClick(picker) {
const end = new Date();
const start = new Date();
start.setMonth(start.getMonth() - 5);
start.setMonth(start.getMonth() - 6);
picker.$emit('pick', [start, end]);
}
}]
......@@ -139,7 +139,7 @@ export default {
this.getCompanyMsg.RB_Group_Id = this.getLocalStorage().RB_Group_id
const end = new Date();
const start = new Date();
start.setMonth(start.getMonth() - 5);
start.setMonth(start.getMonth() - 6);
this.dateTime = [this.$commonUtils.getFormatDateM(start),this.$commonUtils.getFormatDateM(end)]
this.msg.startDate = this.dateTime[0]
this.msg.endDate = this.dateTime[1]
......@@ -177,7 +177,7 @@ export default {
}else{
const end = new Date();
const start = new Date();
start.setMonth(start.getMonth() - 5);
start.setMonth(start.getMonth() - 6);
this.dateTime = [this.$commonUtils.getFormatDateM(start),this.$commonUtils.getFormatDateM(end)]
this.msg.startDate = start
this.msg.endDate = end
......
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