fix 商户端transaction查询记录

master
luoyang 5 years ago
parent 7457684dc5
commit 5819cdc15b

@ -265,16 +265,18 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
}
if ($scope.currentUser.client.has_children && !$scope.currentUser.client.hide_sub_mch) {
$scope.searchSubClients('',1);
$scope.params.dateto = new Date();
var day = new Date();
day.setDate(day.getDate() - 7);
$scope.params.datefrom = day;
// $scope.params.dateto = new Date();
// var day = new Date();
// day.setDate(day.getDate() - 7);
// $scope.params.datefrom = day;
$scope.params.datefrom = $scope.params.dateto = new Date();
$scope.chooseClient('all');
}else {
$scope.params.dateto = new Date();
var day = new Date();
day.setDate(day.getDate() - 7);
$scope.params.datefrom = day;
// $scope.params.dateto = new Date();
// var day = new Date();
// day.setDate(day.getDate() - 7);
// $scope.params.datefrom = day;
$scope.params.datefrom = $scope.params.dateto = new Date();
$scope.chooseClient('all');
}

Loading…
Cancel
Save