|
|
|
@ -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'});
|
|
|
|
|
})
|
|
|
|
|