|
|
@@ -3903,7 +3903,12 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
$scope.totalMoney = 0;
|
|
|
$scope.condition.uuorname = $scope.suuorname;
|
|
|
$scope.condition.dateFrom = ($scope.sdateFrom || 0);
|
|
|
- $scope.condition.dateTo = ($scope.sdateTo || 0);
|
|
|
+ $scope.thisdatato = ($scope.sdateTo || 0);
|
|
|
+ if($scope.thisdatato != 0) {
|
|
|
+ $scope.condition.dateTo = (new Date($scope.thisdatato.valueOf() + 3600 * 24 * 1000) || 0);
|
|
|
+ } else {
|
|
|
+ $scope.condition.dateTo = ($scope.sdateTo || 0);
|
|
|
+ }
|
|
|
$scope.condition.venduuorname = $scope.vuuorname;
|
|
|
}
|
|
|
|