diff --git a/src/views/modules/workSys/resiCate.vue b/src/views/modules/workSys/resiCate.vue
index a25ca42cd..6da2debf4 100644
--- a/src/views/modules/workSys/resiCate.vue
+++ b/src/views/modules/workSys/resiCate.vue
@@ -191,7 +191,7 @@
-
年龄:
0 || this.ageMin === 0) && (this.ageMax > 0 || this.ageMax === 0)) {
- this.form.ylfnValue = this.ageMin + ',' + this.ageMax
- } else {
- return this.$message.error('年龄范围不能为空')
- }
+ if (this.autoMatching) {
+ if ((this.ageMin > 0 || this.ageMin === 0) && (this.ageMax > 0 || this.ageMax === 0)) {
+ this.form.ylfnValue = this.ageMin + ',' + this.ageMax
+ } else {
+ return this.$message.error('年龄范围不能为空')
}
+ }
- } else {
+ } else {
- }
}
this.btnLoading = true
const _form = {