master
yuan 7 years ago
parent db58007ee7
commit 4ebf2f25d6

@ -283,9 +283,9 @@
<div class="form-group col-xs-12"
ng-class="{'has-error':accountForm.contact_phone.$invalid && accountForm.contact_phone.$dirty || name_exist}">
<div class="input-group">
<span class="input-group-addon">+61</span>
<span class="input-group-addon">{{partner.nation_code}}</span>
<input type="text" name="contact_phone" required ng-model="partner.contact_phone"
class="form-control" style="display: inline" onKeypress="return (/[\d.]/.test(String.fromCharCode(event.keyCode)))"
class="form-control" style="display: inline" onkeyup="value=value.replace(/[^\d]/g,'')"
placeholder="Your Phone" maxlength="11" ng-mouseleave="checkParams()" ng-mousedown="name_exist =false">
<button type="button" class="btn btn-success button_width" style="display:inline;height: 34px;float: right;border-radius: 0px"
title="发送验证码" ng-click="sendVerificationCode()"
@ -303,7 +303,7 @@
<div class="form-group has-feedback"
ng-class="{'has-error':accountForm.code.$invalid && accountForm.code.$dirty}">
<input class="form-control" type="text" ng-model="partner.phoneCodeKey" placeholder="Verification Code"
onKeypress="return (/[\d.]/.test(String.fromCharCode(event.keyCode)))"
onkeyup="value=value.replace(/[^\d]/g,'')"
required maxlength="6" name="code" ng-click="checkParams()">
</div>
@ -422,25 +422,32 @@
</div>
</form>
<form novalidate name="bankForm" action="" method="post" ng-show="chooseArray[2]">
<div class="form-group has-feedback"
ng-class="{'has-error':bankForm.account_name.$invalid && bankForm.account_name.$dirty}">
<input class="form-control" ng-model="partner.bank_name" placeholder="Account Name"
maxlength="50"
required name="account_name">
</div>
<div class="form-group has-feedback"
ng-class="{'has-error':bankForm.account_no.$invalid && bankForm.account_no.$dirty}">
<input type="text" class="form-control" ng-model="partner.bank_no" placeholder="Account No"
required maxlength="20" onKeypress="return (/[\d.]/.test(String.fromCharCode(event.keyCode)))"
name="account_no">
maxlength="20" onkeyup="value=value.replace(/[^\d]/g,'')"
name="account_no" required>
</div>
<div class="form-group has-feedback"
ng-class="{'has-error':bankForm.account_name.$invalid && bankForm.account_name.$dirty}">
<input class="form-control" ng-model="partner.bank_name" placeholder="Account Name"
maxlength="50"
required name="account_name">
ng-class="{'has-error':(bankForm.re_account_no.$invalid && bankForm.re_account_no.$dirty) ||(partner.bank_no != partner.re_bank_no)}">
<input type="text" class="form-control" ng-model="partner.re_bank_no" placeholder="Confirm Account No"
required maxlength="20" onkeyup="value=value.replace(/[^\d]/g,'')"
name="re_account_no">
</div>
<div class="row">
<div class="form-group col-xs-12"
ng-class="{'has-error':bankForm.bsb_no.$invalid && bankForm.bsb_no.$dirty}">
<input class="form-control" ng-model="partner.bsb_no" placeholder="BSB No" required
name="bsb_no" style="width: 80%;display: inline">
name="bsb_no" style="width: 80%;display: inline" onkeyup="value=value.replace(/[^\d]/g,'')">
<button type="button" class="btn btn-success" style="width:20%;display:inline;height: 34px;float: right;border-radius: 0px"
title="Search" ng-click="searchBankInfo(partner.bsb_no)">Search</button>
</div>
@ -478,7 +485,7 @@
<div class="row">
<div class="col-xs-12 margin-bottom">
<button type="button" class="btn btn-success btn-block btn-flat"
ng-click="saveApplyInfo(bankForm,3)" ng-disabled="bankForm.$invalid">Next
ng-click="saveApplyInfo(bankForm,3)" ng-disabled="bankForm.$invalid || (partner.bank_no != partner.re_bank_no)">Next
</button>
<div>
<p ng-if="resError" style="padding: 6px 12px;font-size: 14px;"

@ -0,0 +1,308 @@
[
{
"children": [
{
"children": [],
"label": "机票",
"mccCode": "10001"
},
{
"children": [],
"label": "旅游行业",
"mccCode": "10002"
},
{
"children": [],
"label": "私人定制旅游",
"mccCode": "10003"
},
{
"children": [],
"label": "租车",
"mccCode": "10004"
},
{
"children": [],
"label": "巴士",
"mccCode": "10005"
}
],
"label": "旅游出行",
"mccCode": "1"
},
{
"children": [
{
"children": [],
"label": "饭店",
"mccCode": "20001"
},
{
"children": [],
"label": "奶茶店",
"mccCode": "20002"
},
{
"children": [],
"label": "烧烤",
"mccCode": "20003"
},
{
"children": [],
"label": "火锅",
"mccCode": "20004"
},
{
"children": [],
"label": "Coffee",
"mccCode": "20005"
},
{
"children": [],
"label": "酒吧",
"mccCode": "20006"
}
],
"label": "餐饮",
"mccCode": "2"
},
{
"children": [
{
"children": [],
"label": "培训类",
"mccCode": "30001"
},
{
"children": [],
"label": "移民留学",
"mccCode": "30002"
},
{
"children": [],
"label": "私人幼儿园",
"mccCode": "30003"
}
],
"label": "教育",
"mccCode": "3"
},
{
"children": [
{
"children": [],
"label": "换汇",
"mccCode": "40001"
},
{
"children": [],
"label": "房产",
"mccCode": "40002"
}
],
"label": "商务咨询",
"mccCode": "4"
},
{
"children": [
{
"children": [],
"label": "公众号服务商",
"mccCode": "50001"
},
{
"children": [],
"label": "各种媒体类宣传",
"mccCode": "50002"
}
],
"label": "传媒",
"mccCode": "5",
"value": "{\"category\":\"SERVICE\",\"code\":\"7542\",\"description\":\"Car Washes\",\"parentCode\":\"S10\"}"
},
{
"children": [
{
"children": [],
"label": "美容院",
"mccCode": "60001"
},
{
"children": [],
"label": "医疗美容",
"mccCode": "60002"
}
],
"label": "医美",
"mccCode": "6"
},
{
"children": [
{
"label": "超市",
"mccCode": "70001"
},
{
"children": [],
"label": "服装店",
"mccCode": "70002"
},
{
"children": [],
"label": "鞋店",
"mccCode": "70003"
},
{
"children": [],
"label": "珠宝店",
"mccCode": "70004"
},{
"children": [],
"label": "箱包",
"mccCode": "70005"
}
],
"label": "零售",
"mccCode": "7"
},
{
"children": [
{
"children": [],
"label": "桌游吧",
"mccCode": "80001"
},
{
"children": [],
"label": "演唱会",
"mccCode": "80002"
},
{
"children": [],
"label": "马术训练",
"mccCode": "80003"
},
{
"children": [],
"label": "瑜伽",
"mccCode": "80004"
},
{
"children": [],
"label": "健身",
"mccCode": "80005"
},
{
"children": [],
"label": "社团",
"mccCode": "80006"
},
{
"children": [],
"label": "网吧",
"mccCode": "80007"
},
{
"children": [],
"label": "KTV",
"mccCode": "80008"
},
{
"children": [],
"label": "电影",
"mccCode": "80009"
}
],
"label": "休闲娱乐",
"mccCode": "8"
},
{
"children": [
{
"children": [],
"label": "摄影",
"mccCode": "90001"
},
{
"children": [],
"label": "massage",
"mccCode": "90002"
},
{
"children": [],
"label": "通讯运营商",
"mccCode": "90003"
},
{
"children": [],
"label": "车行",
"mccCode": "90004"
},
{
"children:":[],
"label":"软件服务",
"mccCode":"90005"
}
],
"label": "其他服务类",
"mccCode": "9"
},
{
"children": [
{
"children": [],
"label": "Hotel",
"mccCode": "100001"
},
{
"children": [],
"label": "Motel",
"mccCode": "100002"
}
],
"label": "酒店",
"mccCode": "10"
},
{
"children": [
{
"children": [],
"label": "代购",
"mccCode": "110001"
},
{
"children": [],
"label": "物流(大宗出口贸易)",
"mccCode": "110002"
},
{
"children": [],
"label": "红酒出口",
"mccCode": "110003"
},
{
"children": [],
"label": "综合电商",
"mccCode": "110004"
}
],
"label": "出口贸易",
"mccCode": "11"
},
{
"children": [
{
"children": [],
"label": "建材",
"mccCode": "120001"
},
{
"children": [],
"label": "家居",
"mccCode": "120002"
}
],
"label": "家居建材",
"mccCode": "12"
}
]

@ -58,13 +58,13 @@ angular.module('applyPartnerApp', ['ngMessages']).controller('applyPartnerCtrl',
$scope.seconds = 6;
$scope.canClick=false;
$scope.description = "Send Code";
$scope.partner = {nation_code:"+86"};
$scope.partner = {nation_code:"+61"};
$scope.bankaccount = {};
$scope.rate = {};
$scope.phone_code_timer=$interval(function () {}, 1000);
$scope.loadRoyalpayindustry = function () {
$http.get('/static/data/royalpayindustry.json').then(function (resp) {
$http.get('/static/data/rp_industry_apply.json').then(function (resp) {
$scope.royalpayindustry = resp.data;
})
};

Loading…
Cancel
Save