|
|
@ -203,7 +203,7 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|
app.controller('clientClearingConfigCtrl', ['$scope', '$http','commonDialog', function ($scope, $http,commonDialog) {
|
|
|
|
app.controller('clientClearingConfigCtrl', ['$scope', '$http','$state','commonDialog', function ($scope, $http,$state,commonDialog) {
|
|
|
|
$scope.bankCtrl = {rate_name:'Wechat'};
|
|
|
|
$scope.bankCtrl = {rate_name:'Wechat'};
|
|
|
|
$scope.init = {manual:false};
|
|
|
|
$scope.init = {manual:false};
|
|
|
|
$scope.getBankAccount = function () {
|
|
|
|
$scope.getBankAccount = function () {
|
|
|
@ -240,7 +240,10 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload'], funct
|
|
|
|
},function (resp) {
|
|
|
|
},function (resp) {
|
|
|
|
commonDialog.alert({title: 'Error!', content: resp.data.message, type: 'error'})
|
|
|
|
commonDialog.alert({title: 'Error!', content: resp.data.message, type: 'error'})
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
},function () {
|
|
|
|
|
|
|
|
$state.reload();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$scope.getRates();
|
|
|
|
$scope.getRates();
|
|
|
|
}]);
|
|
|
|
}]);
|
|
|
|