Browse Source

更新新增对账时的时间过滤条件

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

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

@@ -8359,7 +8359,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
             $scope.condition.dateFrom = ($scope.sdateFrom || 0);
             $scope.condition.dateFrom = ($scope.sdateFrom || 0);
             $scope.thisdatato = ($scope.sdateTo || 0);
             $scope.thisdatato = ($scope.sdateTo || 0);
             if ($scope.thisdatato != 0) {
             if ($scope.thisdatato != 0) {
-                $scope.condition.dateTo = (new Date($scope.thisdatato.valueOf() + 3600 * 12 * 1000) || 0);
+                $scope.condition.dateTo = (new Date($scope.thisdatato.valueOf() + 3600 * 12 * 1000 - 1) || 0);
             } else {
             } else {
                 $scope.condition.dateTo = ($scope.sdateTo || 0);
                 $scope.condition.dateTo = ($scope.sdateTo || 0);
             }
             }