2025-11-13 16:58:05 +08:00
|
|
|
import { BasicColumn } from '/@/components/Table';
|
2025-11-09 19:36:23 +08:00
|
|
|
//列表数据
|
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
|
|
{
|
|
|
|
|
title: '物料',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'itemId_dictText',
|
|
|
|
|
width: 120,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '库位',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'pointId_dictText',
|
|
|
|
|
width: 120,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '容器',
|
|
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'stockId_dictText',
|
|
|
|
|
width: 120,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '数量',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'quantity',
|
|
|
|
|
width: 100,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '占用数',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'queuedQty',
|
|
|
|
|
width: 100,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '库存状态',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'status_dictText',
|
|
|
|
|
width: 100,
|
|
|
|
|
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '批次号',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'propC1',
|
|
|
|
|
width: 100,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '外部仓库',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'whCode',
|
|
|
|
|
width: 100,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '外部库存状态',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'propC3',
|
|
|
|
|
width: 110,
|
2025-11-09 19:36:23 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '生产日期',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
2025-11-09 19:36:23 +08:00
|
|
|
dataIndex: 'propD1',
|
2025-11-13 16:58:05 +08:00
|
|
|
width: 100,
|
|
|
|
|
customRender: ({ text }) => {
|
|
|
|
|
text = !text ? '' : text.length > 10 ? text.substr(0, 10) : text;
|
2025-11-09 19:36:23 +08:00
|
|
|
return text;
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '描述',
|
2025-11-13 16:58:05 +08:00
|
|
|
align: 'center',
|
|
|
|
|
dataIndex: 'description',
|
|
|
|
|
},
|
2025-11-09 19:36:23 +08:00
|
|
|
];
|