Browse Source

时间筛选

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@1177 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
suntg 10 years ago
parent
commit
1c0556e2c8
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/webapp/resources/js/index/app.js

+ 2 - 2
src/main/webapp/resources/js/index/app.js

@@ -637,11 +637,11 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'service/Purc', 'ser
 		if(zone == 1) {
 			date.setMonth(date.getMonth() - 1);
 			condition.dateFrom = date;
-			condition.dateTo = null;
+			condition.dateTo = new Date();
 		} else if (zone == 6) {
 			date.setMonth(date.getMonth() - 6);
 			condition.dateFrom = date;
-			condition.dateTo = null;
+			condition.dateTo = new Date();
 		} else {
 			date.setMonth(date.getMonth() - 6)
 			condition.dateFrom = null;