26 lines
1.3 KiB
Vue
26 lines
1.3 KiB
Vue
import { BasicColumn, FormSchema } from '/@/components/Table';
|
|
|
|
export const columns: BasicColumn[] = [
|
|
{ title: '业务表', dataIndex: 'bizTable', width: 200, align: 'left', ellipsis: true },
|
|
{ title: '单据ID', dataIndex: 'bizDataId', width: 200, align: 'left', ellipsis: true },
|
|
{ title: '校对人', dataIndex: 'proofreadBy', width: 100 },
|
|
{ title: '校对时间', dataIndex: 'proofreadTime', width: 165 },
|
|
{ title: '审核人', dataIndex: 'auditBy', width: 100 },
|
|
{ title: '审核时间', dataIndex: 'auditTime', width: 165 },
|
|
{ title: '批准人', dataIndex: 'approveBy', width: 100 },
|
|
{ title: '批准时间', dataIndex: 'approveTime', width: 165 },
|
|
{ title: '更新时间', dataIndex: 'updateTime', width: 165 },
|
|
];
|
|
|
|
export const searchFormSchema: FormSchema[] = [
|
|
{ label: '业务表', field: 'bizTable', component: 'JInput', colProps: { span: 8 } },
|
|
{ label: '单据ID', field: 'bizDataId', component: 'JInput', colProps: { span: 8 } },
|
|
];
|
|
|
|
/** 注册中心抽屉内明细列表(已按业务表过滤,不重复展示业务表列) */
|
|
export const drawerColumns: BasicColumn[] = columns.filter((col) => col.dataIndex !== 'bizTable');
|
|
|
|
export const drawerSearchFormSchema: FormSchema[] = [
|
|
{ label: '单据ID', field: 'bizDataId', component: 'JInput', colProps: { span: 12 } },
|
|
];
|