|
@@ -62,7 +62,8 @@ define(['app/app'], function(app) {
|
|
|
$scope.startFormatDate = _formatDate($scope.startDate, 'yyyy-MM-dd');
|
|
$scope.startFormatDate = _formatDate($scope.startDate, 'yyyy-MM-dd');
|
|
|
$scope.endFormatDate = _formatDate($scope.endDate, 'yyyy-MM-dd');
|
|
$scope.endFormatDate = _formatDate($scope.endDate, 'yyyy-MM-dd');
|
|
|
if (val != 'autoMonth') {
|
|
if (val != 'autoMonth') {
|
|
|
- initTitleInfo();
|
|
|
|
|
|
|
+ $scope.manageTableParams.page(1);
|
|
|
|
|
+ $scope.manageTableParams.reload();
|
|
|
} else {
|
|
} else {
|
|
|
// $scope.startDate = '';
|
|
// $scope.startDate = '';
|
|
|
// $scope.endDate = '';
|
|
// $scope.endDate = '';
|
|
@@ -107,7 +108,8 @@ define(['app/app'], function(app) {
|
|
|
$scope.endDate = new Date($scope.endDate.getFullYear(), $scope.endDate.getMonth(), $scope.endDate.getDate())
|
|
$scope.endDate = new Date($scope.endDate.getFullYear(), $scope.endDate.getMonth(), $scope.endDate.getDate())
|
|
|
$scope.endDate = new Date($scope.endDate.getTime() + 23 * 60 * 60 * 1000 + 59 * 60 * 1000 + 59 * 1000);
|
|
$scope.endDate = new Date($scope.endDate.getTime() + 23 * 60 * 60 * 1000 + 59 * 60 * 1000 + 59 * 1000);
|
|
|
}
|
|
}
|
|
|
- initTitleInfo();
|
|
|
|
|
|
|
+ $scope.manageTableParams.page(1);
|
|
|
|
|
+ $scope.manageTableParams.reload();
|
|
|
};
|
|
};
|
|
|
$scope.goodsFilter = {};
|
|
$scope.goodsFilter = {};
|
|
|
$scope.kindPojo = {};
|
|
$scope.kindPojo = {};
|