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