Browse Source

fix: 新增对账界面数据导出异常的处理

hejq 7 years ago
parent
commit
0ad6f8d68b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/webapp/resources/js/vendor/controllers/b2b/apCheck.js

+ 1 - 1
src/main/webapp/resources/js/vendor/controllers/b2b/apCheck.js

@@ -385,7 +385,7 @@ define(['app/app'], function (app) {
 
       $scope.exportApcheckList = function() {
           var url = 'sale/apCheck/xls?1=1';
-          if (angular.isDefined($scope.fromDate) && angular.isDefined($scope.endDate)) {
+          if (null !== $scope.fromDate && null !== $scope.endDate) {
               url = url + '&fromDate=' + $scope.fromDate + '&endDate=' + $scope.endDate;
           }
           if (angular.isDefined($scope.thisMouth)) {