新增多个控制器以支持密炼相关功能,包括报警记录、自动卸料日志、物料对应、称量校验日志、密炼机动作状态等,提供分页查询、通过ID查询及导出Excel功能,增强系统的可用性与数据管理能力。
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
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 } },
|
||||
];
|
||||
Reference in New Issue
Block a user