...
|
...
|
@@ -12,6 +12,8 @@ var FormModel = function() { |
|
|
userName: '',
|
|
|
identityCardNo: '',
|
|
|
cardNo: '',
|
|
|
bankName: '',
|
|
|
bankCode: '',
|
|
|
mobile: '',
|
|
|
snsCheckCode: '',
|
|
|
agreements: ''
|
...
|
...
|
@@ -53,6 +55,9 @@ var debounceFn = debounce(function(cardNo) { |
|
|
$.get('/home/installment/bank-info', {cardNo: cardNo}).then(function(result) {
|
|
|
if (result.code === 200) {
|
|
|
if (result.data.bankCode) {
|
|
|
formModel.bankCode = result.data.bankCode;
|
|
|
formModel.bankName = result.data.bankName;
|
|
|
|
|
|
// 设置银行名称
|
|
|
$('#bank-name').text(result.data.bankName);
|
|
|
|
...
|
...
|
|