Merge pull request '申请发票验证身份证号' (#345) from zhy into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/345
This commit is contained in:
hansu 2020-09-05 17:36:26 +08:00
commit 80461f7345

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