申请发票验证身份证号 #345
@ -108,6 +108,10 @@ export default {
|
||||
this.$u.toast('身份证号不可为空');
|
||||
return false;
|
||||
}
|
||||
if(!this.$u.test.idCard(this.idCard)) {
|
||||
this.$u.toast('请正确填写身份证号');
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
if(this.$u.test.isEmpty(this.title)) {
|
||||
this.$u.toast('发票抬头不可为空');
|
||||
|
Loading…
x
Reference in New Issue
Block a user