82 lines
1.4 KiB
TypeScript
82 lines
1.4 KiB
TypeScript
|
|
import { BasicColumn } from '/@/components/Table';
|
||
|
|
import { JVxeTypes, JVxeColumn } from '/@/components/jeecg/JVxeTable/types';
|
||
|
|
//列表数据
|
||
|
|
export const columns: BasicColumn[] = [
|
||
|
|
{
|
||
|
|
title: '盘点单号',
|
||
|
|
align: 'center',
|
||
|
|
dataIndex: 'orderNo',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '盘点类型',
|
||
|
|
align: 'center',
|
||
|
|
dataIndex: 'countType_dictText',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '状态',
|
||
|
|
align: 'center',
|
||
|
|
dataIndex: 'status_dictText',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '审核人',
|
||
|
|
align: 'center',
|
||
|
|
dataIndex: 'auditor',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '创建时间',
|
||
|
|
align: 'center',
|
||
|
|
dataIndex: 'createTime',
|
||
|
|
},
|
||
|
|
];
|
||
|
|
|
||
|
|
//子表表格配置
|
||
|
|
export const countDetailColumns: JVxeColumn[] = [
|
||
|
|
{
|
||
|
|
title: '盘点明细ID',
|
||
|
|
key: 'id',
|
||
|
|
type: JVxeTypes.hidden,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '物料',
|
||
|
|
key: 'itemCode',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '库位',
|
||
|
|
key: 'pointCode',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '容器',
|
||
|
|
key: 'stockCode',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '库存数量',
|
||
|
|
key: 'invQty',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '盘点数量',
|
||
|
|
key: 'countQty',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '盘点人',
|
||
|
|
key: 'countBy',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '盘点日期',
|
||
|
|
key: 'planDate',
|
||
|
|
type: JVxeTypes.normal,
|
||
|
|
width: '200px',
|
||
|
|
},
|
||
|
|
];
|