|
|
@@ -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)) {
|