fix 二级商户查询三级商户

master
luoyang 6 years ago
parent 3b37fbe4fc
commit b3e7055917

@ -41,7 +41,10 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
}
});
$scope.params.client_ids = angular.copy($scope.clientIds);
$scope.chooseLast7Days();
})
}else {
$scope.chooseLast7Days();
}
$scope.today = new Date();
$scope.chooseToday = function () {
@ -59,7 +62,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
var day = new Date();
day.setDate(day.getDate() - 7);
$scope.params.datefrom = day;
$scope.chooseClient('all');
$scope.loadTradeLogs(1);
};
$scope.thisMonth = function () {
$scope.params.dateto = new Date();
@ -208,7 +211,6 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
return url;
}
$scope.chooseLast7Days()
}]);

Loading…
Cancel
Save