codeMan před 2 roky
rodič
revize
c766184179

+ 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 () {