Jelajahi Sumber

企业基本信息管理新增企业结构

lcmxs 1 tahun lalu
induk
melakukan
e8e7a1634e
1 mengubah file dengan 27 tambahan dan 0 penghapusan
  1. 27 0
      src/views/GARDENBASEDATA/index.vue

+ 27 - 0
src/views/GARDENBASEDATA/index.vue

@@ -140,6 +140,11 @@
       </el-table-column>
       <el-table-column label="企业信用 " align="center" prop="grade">
       </el-table-column>
+      <el-table-column label="企业结构 " align="center" prop="enterpriseStructure">
+        <template slot-scope="scope">
+          <span>{{ selectDictLabel(dict.type.enterprise_structure, scope.row.enterpriseStructure) }}</span>
+        </template>
+      </el-table-column>
       <el-table-column label="企业资质 " align="center" prop="qyzz">
       </el-table-column>
       <el-table-column label="主要市场 " align="center" prop="zysc">
@@ -283,6 +288,7 @@
                 <el-form-item label="成立日期 " prop="clrq">
                   <!-- <el-input  v-model="form.clrq" placeholder="请输入成立日期 "></el-input> -->
                   <el-date-picker
+                    style="width: 100%"
                     value-format="yyyy-MM-dd"
                     @change="setUpTimeSelect"
                     v-model="form.clrq"
@@ -324,6 +330,23 @@
                 </el-form-item>
               </el-col>
             </el-row>
+
+            <el-row>
+              <el-col :span="12">
+                <el-form-item label="企业结构  " prop="enterpriseStructure">
+                  <el-select v-model="form.enterpriseStructure" placeholder="请选择" style="width: 100%">
+                    <el-option
+                      v-for="dict in dict.type.enterprise_structure"
+                      :key="dict.value"
+                      :label="dict.label"
+                      :value="dict.value"
+                    />
+                  </el-select>
+                </el-form-item>
+              </el-col>
+              <el-col :span="12">
+              </el-col>
+            </el-row>
           </el-form>
         </el-tab-pane>
 
@@ -503,6 +526,7 @@ import selectTree from '@/components/selectTree'
 export default {
   name: "GARDENBASEDATA",
   components: { selectTree },
+  dicts: ['enterprise_structure'],
   data() {
     return {
       // 新增标签索引
@@ -688,6 +712,9 @@ export default {
         grade: [
           { required: true, message: "信用等级 不能为空", trigger: "blur" },
         ],
+        enterpriseStructure: [
+          { required: true, message: "企业结构 不能为空", trigger: "blur" },
+        ],
       },
       options: [{
         value: '1',