You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
776 B
49 lines
776 B
3 weeks ago
|
import { BasicColumn } from '@/components/Table';
|
||
|
import { FormSchema } from '@/components/Form';
|
||
|
|
||
|
export const formSchemas: FormSchema[] = [
|
||
|
{
|
||
|
field: 'name',
|
||
|
label: '名称',
|
||
|
component: 'Input',
|
||
|
componentProps: {
|
||
|
placeholder: '请输入',
|
||
|
},
|
||
|
},
|
||
|
];
|
||
|
|
||
|
export const columns: BasicColumn[] = [
|
||
|
{
|
||
|
title: '名称',
|
||
|
dataIndex: 'name',
|
||
|
},
|
||
|
{
|
||
|
title: '规格',
|
||
|
dataIndex: 'standards',
|
||
|
},
|
||
|
{
|
||
|
title: '单价(元)',
|
||
|
dataIndex: 'price',
|
||
|
},
|
||
|
{
|
||
|
title: '数量',
|
||
|
dataIndex: 'amount',
|
||
|
},
|
||
|
{
|
||
|
title: '单位',
|
||
|
dataIndex: 'unit',
|
||
|
},
|
||
|
{
|
||
|
title: '状态',
|
||
|
dataIndex: 'status',
|
||
|
},
|
||
|
{
|
||
|
title: '创建日期',
|
||
|
dataIndex: 'createTime',
|
||
|
},
|
||
|
{
|
||
|
title: '备注',
|
||
|
dataIndex: 'remark',
|
||
|
},
|
||
|
];
|