|
|
@ -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]
|
|
|
|