@@ -119,7 +119,7 @@ export default window.$crudCommon({
},
methods: {
validCustom() {
- if (!this.form.number && !this.form.identityCard) {
+ if (!this.form.number && !this.form.idCard) {
this.$message.warning("工号和身份证号必须填写一项!");
return false;
} else if (this.form.number && !isAlphanumericCombination(this.form.number)) {