浏览代码

修改点检项中单位统一使用字典

ooo 1 年之前
父节点
当前提交
170f7ebe54
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/base/defectCheck/index.vue

+ 3 - 0
src/views/base/defectCheck/index.vue

@@ -145,6 +145,9 @@ option.value = Object.assign(option.value, {
       prop: "unit",
       span: 12,
       search: false,
+      type: "select",
+      dicData: dicts.danwei_type,
+      props: { label: "dictLabel", value: "dictValue" },
     },
   ],
 });