65 lines
1.1 KiB
TypeScript
65 lines
1.1 KiB
TypeScript
|
|
import {BasicColumn} from '/@/components/Table';
|
||
|
|
//列表数据
|
||
|
|
export const columns: BasicColumn[] = [
|
||
|
|
{
|
||
|
|
title: '容器',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'stockId_dictText'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '物料',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'itemId_dictText'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '库位',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'pointId_dictText'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '数量',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'quantity'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '占用数',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'queuedQty'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '库存状态',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'status_dictText'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '批次号',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'propC1'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '外部仓库',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'whCode'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '外部库存状态',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'propC3'
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '生产日期',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'propD1',
|
||
|
|
customRender:({text}) =>{
|
||
|
|
text = !text ? "" : (text.length > 10 ? text.substr(0,10) : text);
|
||
|
|
return text;
|
||
|
|
},
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '描述',
|
||
|
|
align: "center",
|
||
|
|
dataIndex: 'description'
|
||
|
|
}
|
||
|
|
];
|
||
|
|
|