scorpio 2 years ago
parent
commit
78e3429757
1 changed files with 9 additions and 2 deletions
  1. 9 2
      src/views/project/componens/info1.vue

+ 9 - 2
src/views/project/componens/info1.vue

@@ -96,7 +96,14 @@
         <el-form-item class="full-width flex-child-average">
           <div class="flex flex-center full-width item">
             <span class="title">所属行业:</span>
-            <industry-picker placeholde="行业" @change="changeIndustry" />
+            <industry-picker
+              :placeholder="
+                form.dict_key
+                  ? form.dict_key.map(ele => ele.title).join('/')
+                  : ''
+              "
+              @change="changeIndustry"
+            />
           </div>
         </el-form-item>
         <el-form-item class="full-width flex-child-average">
@@ -358,7 +365,7 @@ export default {
       this.photoList = list
     },
     changeIndustry(tmps) {
-      this.form.dict_value = tmps
+      this.form.dict_key = tmps
     }
   }
 }