|
|
|
@ -1495,6 +1495,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
};
|
|
|
|
|
$scope.getRates();
|
|
|
|
|
$scope.saveBankAccount = function () {
|
|
|
|
|
if(isNaN($scope.bankaccount.account_no)){
|
|
|
|
|
alert("Account No应输入数字!");
|
|
|
|
|
return;
|
|
|
|
|
};
|
|
|
|
|
$http.put('/sys/partners/' + $scope.partner.client_moniker + '/bank_account', $scope.bankaccount).then(function () {
|
|
|
|
|
$scope.getBankAccount();
|
|
|
|
|
}, function (resp) {
|
|
|
|
|