|
@@ -215,21 +215,18 @@ 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',
|
|
|
checked: true,
|
|
|
width: '150px'
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '品牌',
|
|
|
+ checked: true,
|
|
|
+ width: '150px',
|
|
|
+ dataIndex: 'brand'
|
|
|
+ },
|
|
|
{
|
|
|
title: '备件名称',
|
|
|
dataIndex: 'name',
|
|
@@ -243,31 +240,22 @@ export default {
|
|
|
dataIndex: 'ggxh'
|
|
|
},
|
|
|
{
|
|
|
- title: '品牌',
|
|
|
- checked: true,
|
|
|
- width: '150px',
|
|
|
- dataIndex: 'brand'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '备件价值',
|
|
|
- dataIndex: 'initialValue',
|
|
|
+ title: '计量单位',
|
|
|
checked: true,
|
|
|
width: '150px',
|
|
|
- customRender: (text, record, index) => {
|
|
|
- return this.BaseTool.Amount.formatter(text)
|
|
|
- }
|
|
|
+ dataIndex: 'unit'
|
|
|
},
|
|
|
{
|
|
|
+ title: '创建人',
|
|
|
checked: true,
|
|
|
width: '150px',
|
|
|
- title: '数量',
|
|
|
- dataIndex: 'inNum'
|
|
|
+ dataIndex: 'createdUserName'
|
|
|
},
|
|
|
{
|
|
|
- title: '计量单位',
|
|
|
+ title: '创建日期',
|
|
|
checked: true,
|
|
|
width: '150px',
|
|
|
- dataIndex: 'unit'
|
|
|
+ dataIndex: 'createdTime'
|
|
|
},
|
|
|
{
|
|
|
title: '当前库存',
|
|
@@ -296,6 +284,30 @@ export default {
|
|
|
return this.BaseTool.Object.getField(this.levelMap, text)
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ title: '备件类别',
|
|
|
+ dataIndex: 'typeId',
|
|
|
+ checked: true,
|
|
|
+ width: '150px',
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return record.typeName
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '备件价值',
|
|
|
+ dataIndex: 'initialValue',
|
|
|
+ checked: true,
|
|
|
+ width: '150px',
|
|
|
+ customRender: (text, record, index) => {
|
|
|
+ return this.BaseTool.Amount.formatter(text)
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ checked: true,
|
|
|
+ width: '150px',
|
|
|
+ title: '数量',
|
|
|
+ dataIndex: 'outNum'
|
|
|
+ },
|
|
|
{
|
|
|
title: '生产商',
|
|
|
checked: true,
|
|
@@ -322,22 +334,16 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
title: '状态',
|
|
|
- width: '150px',
|
|
|
- checked: true,
|
|
|
dataIndex: 'status',
|
|
|
- scopedSlots: { customRender: 'status' }
|
|
|
- },
|
|
|
- {
|
|
|
checked: true,
|
|
|
width: '150px',
|
|
|
- title: '创建日期',
|
|
|
- dataIndex: 'createdTime'
|
|
|
+ scopedSlots: { customRender: 'status' }
|
|
|
},
|
|
|
{
|
|
|
title: '仓库名称',
|
|
|
- width: '150px',
|
|
|
- checked: true,
|
|
|
dataIndex: 'storeId',
|
|
|
+ checked: true,
|
|
|
+ width: '150px',
|
|
|
customRender: (text, record, index) => {
|
|
|
return record.storeName
|
|
|
}
|