From 5d0958795f11401d4f55774c0cab31ef71f30c75 Mon Sep 17 00:00:00 2001 From: luoyang Date: Tue, 7 Apr 2020 10:28:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=20transaction=20=E6=97=B6=E9=97=B4=E9=80=89?= =?UTF-8?q?=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/ui/static/payment/tradelog/transflow.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/ui/static/payment/tradelog/transflow.js b/src/main/ui/static/payment/tradelog/transflow.js index 07e9d43e2..f58a24060 100644 --- a/src/main/ui/static/payment/tradelog/transflow.js +++ b/src/main/ui/static/payment/tradelog/transflow.js @@ -34,7 +34,8 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { $scope.today = new Date(); $scope.chooseToday = function () { - $scope.params.datefrom = $scope.params.dateto = new Date(); + $scope.params.datefrom = new Date(); + $scope.params.dateto = new Date(); $scope.loadTradeLogs(1); }; $scope.chooseYesterday = function () { @@ -269,14 +270,16 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) { // var day = new Date(); // day.setDate(day.getDate() - 7); // $scope.params.datefrom = day; - $scope.params.datefrom = $scope.params.dateto = new Date(); + $scope.params.datefrom = new Date(); + $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.datefrom = $scope.params.dateto = new Date(); + $scope.params.datefrom = new Date(); + $scope.params.dateto = new Date(); $scope.chooseClient('all'); }