Commit e248f18f by huaying

fix: 导出订单时间

parent 54941362
......@@ -584,8 +584,8 @@ export default {
return;
}
const data = this.natureMonth(this.beginTime, 3);
this.endTime = this.endTime.split(' ')[0];
if (new Date(data).getTime() - 1 * 24 * 1000 < new Date(this.endTime).getTime()) {
const endTimes = this.endTime.split(' ')[0];
if (new Date(data).getTime() - 1 * 24 * 1000 < new Date(endTimes).getTime()) {
this.$message.error('导出订单不支持导出超过3个月时长的数据,请重新选择时间');
return;
}
......
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