|
|
|
@ -225,7 +225,7 @@ define(['angular', 'uiBootstrap', 'uiRouter'], function (angular) {
|
|
|
|
|
$scope.task = {}
|
|
|
|
|
$scope.refreshClient = function () {
|
|
|
|
|
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
|
|
|
|
|
if (merchantsInfo.length) {
|
|
|
|
|
$scope.chosenClient = merchantsInfo[0]
|
|
|
|
|