feature: new customized settle dialog

master
Yixian 3 years ago
parent e6e236839d
commit 83cf8f7f06

@ -225,7 +225,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
$scope.task = {} $scope.task = {}
$scope.refreshClient = function () { $scope.refreshClient = function () {
if ($scope.task.client_moniker) { if ($scope.task.client_moniker) {
$http.post('/sys/settle_tasks/merchants', {monikers: [$scope.task.client_moniker]}).then(function (resp) { $http.post('/sys/settle_tasks/merchants', {monikers: $scope.task.client_moniker}).then(function (resp) {
let merchantsInfo = resp.data let merchantsInfo = resp.data
if (merchantsInfo.length) { if (merchantsInfo.length) {
$scope.chosenClient = merchantsInfo[0] $scope.chosenClient = merchantsInfo[0]

Loading…
Cancel
Save