fix 自助进件

master
luoyang 6 years ago
parent 8969f32615
commit 9d89140d69

@ -60,6 +60,8 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
$scope.partner = {nation_code:"+61"};
$scope.bankaccount = {};
$scope.rate = {};
$scope.partner.client_pay_type = [];
$scope.partner.client_pay_desc = [];
$scope.phone_code_timer=$interval(function () {}, 1000);
$scope.loadRoyalpayindustry = function () {
@ -229,8 +231,6 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
}
};
$scope.partner.client_pay_type = [];
$scope.partner.client_pay_desc = [];
var resetClientPayDescByTpey = function (type) {
type = parseInt(type);
if (type == 1) {
@ -257,6 +257,10 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
}
}
$scope.toggleClientPayType = function (type) {
if ($scope.partner.client_pay_type == null) {
$scope.partner.client_pay_type = [];
$scope.partner.client_pay_desc = [];
}
var $idx = $scope.partner.client_pay_type.indexOf(type);
if ($idx >= 0) {
$scope.partner.client_pay_type.splice($idx, 1);

Loading…
Cancel
Save