...
|
...
|
@@ -183,10 +183,12 @@ $('#send-sms').click(function() { |
|
|
*/
|
|
|
$('#cardNo').keyup(function() {
|
|
|
var value = $(this).val();
|
|
|
var cardNo = $(this).val().replace(/\s/g, '');
|
|
|
|
|
|
$(this).val(value.replace(/[^\d]/g, '').replace(/(\d{4})(?=\d)/g, '$1 ')).trigger('change');
|
|
|
|
|
|
}).change(function() {
|
|
|
var cardNo = $(this).val().replace(/\s/g, '');
|
|
|
|
|
|
if (cardNo && cardNo.length >= 16) {
|
|
|
debounceFn(cardNo);
|
|
|
} else {
|
...
|
...
|
@@ -321,3 +323,5 @@ $('#agreements').click(function() { |
|
|
|
|
|
$(this).attr('href', location.pathname + '?openby:yohobuy=' + encodeURIComponent(JSON.stringify(params)));
|
|
|
});
|
|
|
|
|
|
require('./overdue-notice'); |
...
|
...
|
|