From 3ac3c7460d03fad7a6bc9d5609f491545f26ceba Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 7 Mar 2019 09:39:28 +0800 Subject: [PATCH 1/3] fix getBalance --- src/main/ui/static/payment/partner/partner-manage.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index ffffd502f..082fbc03b 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -1982,6 +1982,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter $http.put('/sys/partners/' + $scope.partner.client_moniker + '/surcharge_mode', {surcharge_mode:'distributed'}).then(function () { commonDialog.alert({title: 'Success', content: '已切换为收支分离模式', type: 'success'}); $scope.partner.surcharge_mode = 'distributed'; + $scope.getBalance(); }, function (resp) { commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'}); }) From f9d24c23c10731f4bbff8fc2acb9ba5f3fd818ae Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 7 Mar 2019 10:10:42 +0800 Subject: [PATCH 2/3] fix ui --- src/main/ui/static/menu/templates/main_menu.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/ui/static/menu/templates/main_menu.html b/src/main/ui/static/menu/templates/main_menu.html index 18391f57e..ae2eb3c27 100644 --- a/src/main/ui/static/menu/templates/main_menu.html +++ b/src/main/ui/static/menu/templates/main_menu.html @@ -334,6 +334,17 @@ + +