|
|
@@ -3950,7 +3950,6 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
} else {
|
|
|
$scope.condition.dateTo = ($scope.sdateTo || 0);
|
|
|
}
|
|
|
- console.log($scope.condition.dateTo);
|
|
|
$scope.condition.venduuorname = $scope.vuuorname;
|
|
|
$scope.keywordXls = angular.copy(($scope.condition.uuorname == null ? "" : $scope.condition.uuorname) + "-" + ($scope.condition.venduuorname == null ? "" : $scope.condition.venduuorname));//保存当前取值的关键词
|
|
|
$scope.fromDateXls = angular.copy($scope.condition.dateFrom ? $scope.condition.dateFrom.getTime() : null);//保存当前取值的起始日期
|
|
|
@@ -3975,6 +3974,7 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
var dateTo = $scope.condition.dateTo;
|
|
|
angular.forEach($scope.filteredData, function(item) {
|
|
|
if((item.piDate >= dateFrom || dateFrom == '') && (item.piDate < dateTo || dateTo == '')){
|
|
|
+ item.$selected = $scope.checkboxes.checked;
|
|
|
}
|
|
|
});
|
|
|
$scope.getTotalMoney();
|