Commit b84b3f70 authored by 吴春's avatar 吴春

日期范围控制

parent 39c300d8
...@@ -764,6 +764,13 @@ ...@@ -764,6 +764,13 @@
this.loading = false; this.loading = false;
return return
} }
if(new Date(this.DownLoad.EndDate)-new Date(this.DownLoad.StartDate)>1*24*60*60 *1000 *30)
{
this.Error("选择出团时间范围不能超过一个月")
this.loading = false;
return
}
this.DownLoad.EmployeeID=this.getLocalStorage().EmployeeId; this.DownLoad.EmployeeID=this.getLocalStorage().EmployeeId;
var fileName = "团预计用款下载.xls"; var fileName = "团预计用款下载.xls";
......
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