whj 1 year ago
parent
commit
4e2943dd0a

+ 9 - 0
src/views/report/instorecount/InStoreCount.vue

@@ -189,6 +189,15 @@ export default {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
           }
         },
+        {
+          title: '备件类别',
+          dataIndex: 'typeId',
+          checked: true,
+          width: '150px',
+          customRender: (text, record, index) => {
+            return record.typeName
+          }
+        },
         {
           title: '备件规格',
           checked: true,

+ 17 - 0
src/views/report/sparepartinfo/SparePartInfo.vue

@@ -171,6 +171,14 @@ export default {
           width: '150px',
           checked: true,
           dataIndex: 'no'
+        }, {
+          title: '备件类别',
+          dataIndex: 'typeId',
+          checked: true,
+          width: '150px',
+          customRender: (text, record, index) => {
+            return record.typeName
+          }
         },
         {
           title: '备件名称',
@@ -243,6 +251,15 @@ export default {
             return this.BaseTool.Object.getField(this.unitMap, text)
           }
         },
+        {
+          title: '等级',
+          checked: true,
+          width: '150px',
+          dataIndex: 'level',
+          customRender: (text, record, index) => {
+            return this.BaseTool.Object.getField(this.levelMap, text)
+          }
+        },
         {
           title: '备注',
           width: '150px',

+ 9 - 0
src/views/store/instoreform/InStoreForm.vue

@@ -215,6 +215,15 @@ export default {
             return this.BaseTool.Object.getField(this.typeMap, text)
           }
         },
+        {
+          title: '备件类别',
+          dataIndex: 'typeId',
+          checked: true,
+          width: '150px',
+          customRender: (text, record, index) => {
+            return record.typeName
+          }
+        },
         {
           title: '备件编码',
           dataIndex: 'no',

+ 9 - 0
src/views/store/outstoreform/OutStoreForm.vue

@@ -211,6 +211,15 @@ export default {
             return this.BaseTool.Object.getField(this.typeMap, text)
           }
         },
+        {
+          title: '备件类别',
+          dataIndex: 'typeId',
+          checked: true,
+          width: '150px',
+          customRender: (text, record, index) => {
+            return record.typeName
+          }
+        },
         {
           title: '备件编码',
           dataIndex: 'no',

+ 9 - 0
src/views/store/sparestore/SpareStore.vue

@@ -197,6 +197,15 @@ export default {
             return `${(this.$refs.table.localPagination.current - 1) * this.$refs.table.localPagination.pageSize + index + 1}`
           }
         },
+        {
+          title: '备件类别',
+          dataIndex: 'typeId',
+          checked: true,
+          width: '150px',
+          customRender: (text, record, index) => {
+            return record.typeName
+          }
+        },
         {
           title: '备件名称',
           checked: true,

+ 27 - 0
src/views/store/sparestore/SpareStoreTotal.vue

@@ -161,6 +161,33 @@ export default {
           checked: true,
           dataIndex: 'maxStock'
         },
+        {
+          title: '等级',
+          checked: true,
+          width: '150px',
+          dataIndex: 'level',
+          customRender: (text, record, index) => {
+            return this.BaseTool.Object.getField(this.levelMap, text)
+          }
+        },
+        {
+          title: '生产商',
+          checked: true,
+          width: '150px',
+          dataIndex: 'producerId',
+          customRender: (text, record, index) => {
+            return record.producerName
+          }
+        },
+        {
+          title: '用途',
+          checked: true,
+          width: '150px',
+          dataIndex: 'yt',
+          customRender: (text, record, index) => {
+            return this.BaseTool.Object.getField(this.ytMap, text)
+          }
+        },
         {
           title: '实际库存',
           checked: true,