|
@@ -43,6 +43,11 @@ var validateForm = function() { |
|
@@ -43,6 +43,11 @@ var validateForm = function() { |
43
|
return ret;
|
43
|
return ret;
|
44
|
};
|
44
|
};
|
45
|
|
45
|
|
|
|
46
|
+const clearVerifyCode = function() {
|
|
|
47
|
+ formModel.snsCheckCode = '';
|
|
|
48
|
+ $('#sns-check-code').val('');
|
|
|
49
|
+};
|
|
|
50
|
+
|
46
|
var debounceFn = debounce(function(cardNo) {
|
51
|
var debounceFn = debounce(function(cardNo) {
|
47
|
// 获取银行信息
|
52
|
// 获取银行信息
|
48
|
$.get('/home/installment/bank-info', {cardNo: cardNo}).then(function(result) {
|
53
|
$.get('/home/installment/bank-info', {cardNo: cardNo}).then(function(result) {
|
|
@@ -183,6 +188,7 @@ setInterval(function() { |
|
@@ -183,6 +188,7 @@ setInterval(function() { |
183
|
validateForm();
|
188
|
validateForm();
|
184
|
}, 500);
|
189
|
}, 500);
|
185
|
|
190
|
|
|
|
191
|
+
|
186
|
/**
|
192
|
/**
|
187
|
* 表单提交
|
193
|
* 表单提交
|
188
|
*/
|
194
|
*/
|
|
@@ -208,9 +214,13 @@ $('#apply-button').click(function() { |
|
@@ -208,9 +214,13 @@ $('#apply-button').click(function() { |
208
|
if (result.data.resultMsgType === '1') {
|
214
|
if (result.data.resultMsgType === '1') {
|
209
|
tip.show(result.data.resultMsg);
|
215
|
tip.show(result.data.resultMsg);
|
210
|
}
|
216
|
}
|
|
|
217
|
+
|
|
|
218
|
+ clearVerifyCode();
|
211
|
}
|
219
|
}
|
|
|
220
|
+
|
212
|
} else {
|
221
|
} else {
|
213
|
tip.show(result.message);
|
222
|
tip.show(result.message);
|
|
|
223
|
+ clearVerifyCode();
|
214
|
}
|
224
|
}
|
215
|
});
|
225
|
});
|
216
|
|
226
|
|