...
|
...
|
@@ -324,7 +324,7 @@ $('#bank-card').keyup(function() { |
|
|
var $this = $(this),
|
|
|
v = $this.val();
|
|
|
|
|
|
/(\S{5}|\D)/.test(v) && $this.val($.trim(v.replace(/\D/g,'').replace(/(.{4})/g, '$1 ')));
|
|
|
/(\S{5}|\D)/.test(v) && $this.val($.trim(v.replace(/\D/g, '').replace(/(.{4})/g, '$1 ')));
|
|
|
});
|
|
|
|
|
|
|
...
|
...
|
@@ -432,7 +432,7 @@ function packRefundInfo(returnMode) { |
|
|
verifyTip = '请填写收款人姓名';
|
|
|
}
|
|
|
|
|
|
res.payment.bank_card = $refundInfo.find('input[name="bank-card"]').val().replace(/\s/g,'');
|
|
|
res.payment.bank_card = $refundInfo.find('input[name="bank-card"]').val().replace(/\s/g, '');
|
|
|
if (!verifyTip && !res.payment.bank_card) {
|
|
|
verifyTip = '请填写收款账户';
|
|
|
}
|
...
|
...
|
|