Commit bf26a0bc by guanzhenshan

解决管理成本付款额明细日期获取不对的问题

parent 27c09521
......@@ -4481,7 +4481,6 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
ms.Position = 0;
return File(ms, "text/csv", filename + ".csv");
}
......
......@@ -150,10 +150,10 @@
var now = new Date();
start_time = new Date(now.getFullYear() + '-' + arr[0].substr(0, 2) + '-' + arr[0].substr(2, 2));
end_time = new Date(now.getFullYear() + '-' + arr[1].substr(0, 2) + '-' + arr[0].substr(2, 2));
end_time = new Date(now.getFullYear() + '-' + arr[1].substr(0, 2) + '-' + arr[1].substr(2, 2));
if (end_time < start_time) {
end_time = new Date((now.getFullYear() + 1) + '-' + arr[1].substr(0, 2) + '-' + arr[0].substr(2, 2))
end_time = new Date((now.getFullYear() + 1) + '-' + arr[1].substr(0, 2) + '-' + arr[1].substr(2, 2))
}
}
else if (dateWay == 3) { //按月
......
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