1 tahun lalu
induk
melakukan
cb1efab843
1 mengubah file dengan 29 tambahan dan 0 penghapusan
  1. 29 0
      src/views/purchase/inventory-list/InventoryList.vue

+ 29 - 0
src/views/purchase/inventory-list/InventoryList.vue

@@ -139,6 +139,33 @@ export default {
             return this.unitMap[text]
           }
         },
+        {
+          title: '成本默认计量单位编码',
+          checked: true,
+          width: '100px',
+          dataIndex: 'caComUnitCode',
+          customRender: (text) => {
+            return this.unitMap[text]
+          }
+        },
+        {
+          title: '计划方法',
+          checked: true,
+          width: '100px',
+          dataIndex: 'planMethod',
+          customRender: (text) => {
+            return this.planMap[text]
+          }
+        },
+        {
+          title: '供需政策',
+          checked: true,
+          width: '100px',
+          dataIndex: 'srpolicy',
+          customRender: (text) => {
+            return this.policyMap[text]
+          }
+        },
         {
           title: '备注',
           checked: true,
@@ -205,6 +232,8 @@ export default {
     // 下拉框map
     this.statusMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.ADD_SPARE_STATUS)
     this.unitMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.SPARE_ADD_UNIT)
+    this.policyMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.CSR_POLICY)
+    this.planMap = this.DictCache.getLabelByValueMapByType(this.DictCache.TYPE.PLAN_METHOD)
     // this.tableOption()
   },
   methods: {