Cpte-Vue3/src/views/base/stock/Stock.data.ts

31 lines
852 B
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: 'stockCode'
},
{
title: '描述',
align: "center",
dataIndex: 'description'
},
{
title: '创建日期',
align: "center",
dataIndex: 'createTime'
},
];
// 高级查询数据
export const superQuerySchema = {
stockCode: {title: '容器编码',order: 0,view: 'text', type: 'string',},
description: {title: '描述',order: 1,view: 'text', type: 'string',},
createTime: {title: '创建日期',order: 3,view: 'datetime', type: 'string',},
};