Cpte-Vue3/src/views/base/point/Point.data.ts

55 lines
1.4 KiB
TypeScript
Raw Normal View History

2025-10-28 18:13:55 +08:00
import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
{
title: '库位编码',
align: "center",
dataIndex: 'pointCode'
},
{
title: '排',
align: "center",
dataIndex: 'row'
},
{
title: '列',
align: "center",
dataIndex: 'col'
},
{
title: '层',
align: "center",
dataIndex: 'layer'
},
{
title: '描述',
align: "center",
dataIndex: 'description'
},
{
title: '库区ID',
align: "center",
dataIndex: 'areaId'
},
{
title: '创建日期',
align: "center",
dataIndex: 'createTime'
},
];
// 高级查询数据
export const superQuerySchema = {
pointCode: {title: '库位编码',order: 0,view: 'text', type: 'string',},
row: {title: '排',order: 1,view: 'text', type: 'string',},
col: {title: '列',order: 2,view: 'text', type: 'string',},
layer: {title: '层',order: 3,view: 'text', type: 'string',},
description: {title: '描述',order: 4,view: 'textarea', type: 'string',},
areaId: {title: '库区ID',order: 6,view: 'number', type: 'number',},
createTime: {title: '创建日期',order: 7,view: 'datetime', type: 'string',},
};