瀏覽代碼

设备位号功能

hfxc226 2 年之前
父節點
當前提交
64856ea034
共有 3 個文件被更改,包括 9 次插入6 次删除
  1. 5 2
      src/utils/dict.js
  2. 2 2
      src/views/sb/position/SbPosition.vue
  3. 2 2
      src/views/sb/position/modules/BaseForm.vue

+ 5 - 2
src/utils/dict.js

@@ -476,8 +476,11 @@ DictCache.VALUE = {
    * 位置类型
    */
   SBPOSITION_TYPE: {
-    YUANQU: 1, // 园区
-    SHENGCHANXIAN: 2 // 生产线
+    YUANQU: 1, // 厂区
+    SHENGCHANXIAN: 2, // 车间
+    LOUCENG: 3, // 楼层
+    LINE: 4, // 生产线
+    FANGWEN: 5 // 位号
   },
   /**
    * 折旧方式

+ 2 - 2
src/views/sb/position/SbPosition.vue

@@ -127,10 +127,10 @@ export default {
             return this.BaseTool.Object.getField(this.positionTypeMap, text)
           }
         },
-        {
+        /*      {
           title: '父子关联编码',
           dataIndex: 'code'
-        },
+        }, */
         {
           title: '排序',
           dataIndex: 'sort'

+ 2 - 2
src/views/sb/position/modules/BaseForm.vue

@@ -58,14 +58,14 @@
         >
         </a-tree-select>
       </a-form-item>
-      <a-form-item
+<!--      <a-form-item
         label="父子关联编码"
         :labelCol="BaseTool.Constant.labelCol"
         :wrapperCol="BaseTool.Constant.wrapperCol"
       >
         <a-input
           v-decorator="['code', {rules: [{required: true, message: '父子关联编码不能为空'}]}]" />
-      </a-form-item>
+      </a-form-item>-->
       <a-form-item
         label="区域维修负责人"
         :labelCol="BaseTool.Constant.labelCol"