45 lines
3.6 KiB
Vue
45 lines
3.6 KiB
Vue
|
|
import { BasicColumn, FormSchema } from '/@/components/Table';
|
||
|
|
|
||
|
|
export const columns: BasicColumn[] = [
|
||
|
|
{ title: '机台编号', align: 'center', dataIndex: 'equipId' },
|
||
|
|
{ title: '配方代码', align: 'center', dataIndex: 'recipCode' },
|
||
|
|
{ title: '秤编号', align: 'center', dataIndex: 'scaleId' },
|
||
|
|
{ title: '序号', align: 'center', dataIndex: 'serial' },
|
||
|
|
{ title: '动作', align: 'center', dataIndex: 'action' },
|
||
|
|
{ title: '料仓编号', align: 'center', dataIndex: 'binNo' },
|
||
|
|
{ title: '物料代码', align: 'center', dataIndex: 'matCode' },
|
||
|
|
{ title: '物料名称', align: 'center', dataIndex: 'matName' },
|
||
|
|
{ title: '设定重量', align: 'center', dataIndex: 'setWeight' },
|
||
|
|
{ title: '误差重量', align: 'center', dataIndex: 'tolerance' },
|
||
|
|
{ title: '交互标识', align: 'center', dataIndex: 'mesFlag' },
|
||
|
|
];
|
||
|
|
|
||
|
|
export const searchFormSchema: FormSchema[] = [
|
||
|
|
{ label: '机台编号', field: 'equipId', component: 'JInput', colProps: { span: 6 } },
|
||
|
|
{ label: '配方代码', field: 'recipCode', component: 'JInput', colProps: { span: 6 } },
|
||
|
|
{ label: '物料代码', field: 'matCode', component: 'JInput', colProps: { span: 6 } },
|
||
|
|
{ label: '秤编号', field: 'scaleId', component: 'InputNumber', colProps: { span: 6 } },
|
||
|
|
];
|
||
|
|
|
||
|
|
export const formSchema: FormSchema[] = [
|
||
|
|
{ label: '', field: 'id', component: 'Input', show: false },
|
||
|
|
{ label: '机台编号', field: 'equipId', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '机台类型', field: 'equipType', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '配方代码', field: 'recipCode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '秤类型', field: 'scaleType', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '秤编号', field: 'scaleId', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '序号', field: 'serial', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '动作', field: 'action', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '料仓编号', field: 'binNo', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '物料代码', field: 'matCode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '物料名称', field: 'matName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '物料类型', field: 'matType', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '设定重量', field: 'setWeight', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '误差重量', field: 'tolerance', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '导切机编号', field: 'sfNum', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '备注', field: 'remark', component: 'Input', componentProps: { disabled: true }, colProps: { span: 24 } },
|
||
|
|
{ label: '写入时间', field: 'writeTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '读取时间', field: 'readTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
{ label: '交互标识', field: 'mesFlag', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||
|
|
];
|