申请发票验证身份证号 #345

Merged
hansu merged 1 commits from zhy into master 2020-09-05 09:36:27 +00:00

View File

@ -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('发票抬头不可为空');