32 lines
1.1 KiB
Vue
32 lines
1.1 KiB
Vue
import { BasicColumn, FormSchema } from '/@/components/Table';
|
|
|
|
export const columns: BasicColumn[] = [
|
|
{ title: '条码', align: 'center', dataIndex: 'barcode', width: 240 },
|
|
{ title: '批次', align: 'center', dataIndex: 'batchNo', width: 220 },
|
|
{ title: '创建人', align: 'center', dataIndex: 'createBy', width: 120 },
|
|
{
|
|
title: '创建时间',
|
|
align: 'center',
|
|
dataIndex: 'createTime',
|
|
width: 170,
|
|
},
|
|
{ title: '物料名称', align: 'center', dataIndex: 'materialName', width: 320 },
|
|
];
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
{ label: '条码', field: 'barcode', component: 'JInput', colProps: { span: 6 } },
|
|
{ label: '批次', field: 'batchNo', component: 'JInput', colProps: { span: 6 } },
|
|
{ label: '物料名称', field: 'materialName', component: 'Input', colProps: { span: 6 } },
|
|
{ label: '创建人', field: 'createBy', component: 'Input', colProps: { span: 6 } },
|
|
{
|
|
label: '创建时间',
|
|
field: 'createTime',
|
|
component: 'RangePicker',
|
|
colProps: { span: 8 },
|
|
componentProps: {
|
|
showTime: true,
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
},
|
|
},
|
|
];
|