master
chenzhi 5 years ago
parent ec8b8b2573
commit d73ff68984

@ -588,7 +588,7 @@
},
bankcardCheck(bankcard){
bankcard = Check.trim(bankcard);
if(!(/^([1-9]{1})(\d{15}|\d{18})$/.test(mobile))){
if(!(/^([1-9]{1})(\d{15}|\d{18})$/.test(bankcard))){
Tip.msgShow("银行卡格式错误,请重新填写");
return false;
}
@ -604,7 +604,7 @@
},
codeCheck(code){
code = Check.trim(code);
if(!(/^[0-9]{6}$)/.test(idcard))){
if(!(/^[0-9]{6}$)/.test(code))){
Tip.msgShow("验证码格式错误应为6位数字");
return false;
}

Loading…
Cancel
Save