Browse Source

bug修复

chenrui 3 years ago
parent
commit
c85eb22d24
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/productManagement/productInfo/edit.vue

+ 3 - 0
src/views/productManagement/productInfo/edit.vue

@@ -218,6 +218,9 @@ export default {
           const productTypeSn2 = res.data.productTypeSn2 ? res.data.productTypeSn2 : ''
           const productTypeSn3 = res.data.productTypeSn3 ? res.data.productTypeSn3 : ''
           this.form.productType = [productTypeSn1, productTypeSn2, productTypeSn3]
+          if (res.data.productBrandName) {
+            this.fetchUser(res.data.productBrandName)
+          }
         } else {
           this.$refs.ruleForm.resetFields()
         }