codeMan 2 년 전
부모
커밋
c766184179
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 () {