Commit 422b2673 by caoyanzhi

update: 礼品兑换、优惠券兑换列表导出添加3个月时长限制

parent 05928635
......@@ -474,6 +474,10 @@ export default {
this.$message.error('时间不能为空');
return;
}
if (new Date(this.endTime).getTime() - new Date(this.beginTime).getTime() > 90 * 24 * 3600 * 1000) {
this.$message.error('导出订单不支持导出超过3个月时长的数据,请重新选择时间');
return;
}
this.paramsAll = {
orderStatus: this.orderStatus,
changeType: -1,
......
......@@ -847,6 +847,10 @@ export default {
this.$message.error('时间不能为空');
return;
}
if (new Date(this.endTime).getTime() - new Date(this.beginTime).getTime() > 90 * 24 * 3600 * 1000) {
this.$message.error('导出订单不支持导出超过3个月时长的数据,请重新选择时间');
return;
}
this.params = {
orderStatus: this.orderStatus,
changeType: this.changeType ? this.changeType : -1,
......
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