Files
qhmes/jeecgboot-vue3/src/views/xslmesMcs/mesToMcsMaterial/MesToMcsMaterial.data.ts

38 lines
2.8 KiB
Vue

import { BasicColumn, FormSchema } from '/@/components/Table';
export const columns: BasicColumn[] = [
{ title: '机台号', align: 'center', dataIndex: 'equipId' },
{ title: '机台类型', align: 'center', dataIndex: 'equipType' },
{ title: '物料代码', align: 'center', dataIndex: 'matCode' },
{ title: '物料名称', align: 'center', dataIndex: 'matName' },
{ title: '物料类别', align: 'center', dataIndex: 'matType' },
{ title: '胶料类别', align: 'center', dataIndex: 'matRubType' },
{ title: '秤名称', align: 'center', dataIndex: 'scaleName' },
{ title: '写入时间', align: 'center', dataIndex: 'writeTime' },
{ title: '交互标识', align: 'center', dataIndex: 'mesFlag' },
];
export const searchFormSchema: FormSchema[] = [
{ label: '机台号', field: 'equipId', component: 'JInput', colProps: { span: 6 } },
{ label: '物料代码', field: 'matCode', component: 'JInput', colProps: { span: 6 } },
{ label: '物料类别', field: 'matType', component: 'JInput', colProps: { span: 6 } },
{ label: '物料名称', field: 'matName', component: 'JInput', 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: 'matCode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '物料名称', field: 'matName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '物料条码', field: 'matBarcode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '物料类别', field: 'matType', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '胶料类别', field: 'matRubType', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '秤ID', field: 'scaleId', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '秤名称', field: 'scaleName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
{ label: '小料设备号', field: 'cwsId', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
{ 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 } },
];