codeMan 2 years ago
parent
commit
c766184179
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/SDrpManagement/ProductGroup/modules/Select.vue

+ 2 - 0
src/SDrpManagement/ProductGroup/modules/Select.vue

@@ -64,8 +64,10 @@ export default {
       this.fields = res1.data
       if (this.fields.length) {
         this.field_act = res1.data[0].sys_enterprise_tradefieldid
+        this.clickField({sys_enterprise_tradefieldid:this.field_act})
       } else {
         this.field_act = 0
+        this.clickField(false)
       }
     },
     async queryBrands () {