新增多个控制器以支持密炼相关功能,包括报警记录、自动卸料日志、物料对应、称量校验日志、密炼机动作状态等,提供分页查询、通过ID查询及导出Excel功能,增强系统的可用性与数据管理能力。
This commit is contained in:
@@ -0,0 +1,60 @@
|
||||
import { BasicColumn, FormSchema } from '/@/components/Table';
|
||||
|
||||
export const columns: BasicColumn[] = [
|
||||
{ title: '机台编号', align: 'center', dataIndex: 'equipId' },
|
||||
{ title: '计划编号+车次', align: 'center', dataIndex: 'barcode' },
|
||||
{ title: '配方代码', align: 'center', dataIndex: 'recipCode' },
|
||||
{ title: '配方名称', align: 'center', dataIndex: 'recipName' },
|
||||
{ title: '计划编号', align: 'center', dataIndex: 'planId' },
|
||||
{ title: '班次', align: 'center', dataIndex: 'shiftId' },
|
||||
{ title: '当前车次', align: 'center', dataIndex: 'batchNum' },
|
||||
{ title: '密炼模式', align: 'center', dataIndex: 'mixMode' },
|
||||
{ title: '排胶温度', align: 'center', dataIndex: 'discTemp' },
|
||||
{ title: '保存时间', align: 'center', dataIndex: 'saveDateTime' },
|
||||
{ title: '写入时间', align: 'center', dataIndex: 'writeTime' },
|
||||
];
|
||||
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
{ label: '机台编号', field: 'equipId', component: 'JInput', colProps: { span: 6 } },
|
||||
{ label: 'Barcode', field: 'barcode', component: 'JInput', colProps: { span: 6 } },
|
||||
{ label: '计划编号', field: 'planId', component: 'JInput', colProps: { span: 6 } },
|
||||
{ label: '配方代码', field: 'recipCode', component: 'JInput', colProps: { span: 6 } },
|
||||
{
|
||||
label: '写入时间', field: 'writeTime', component: 'RangePicker',
|
||||
componentProps: { valueType: 'Date', placeholder: ['开始时间', '结束时间'] },
|
||||
colProps: { span: 8 },
|
||||
},
|
||||
];
|
||||
|
||||
export const formSchema: FormSchema[] = [
|
||||
{ label: '', field: 'id', component: 'Input', show: false },
|
||||
{ label: '机台编号', field: 'equipId', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '机台名称', field: 'equipName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '计划编号+车次', field: 'barcode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '配方代码', field: 'recipCode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '配方名称', field: 'recipName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '计划编号', field: 'planId', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '工单号', field: 'moCode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '物料代码', field: 'materCode', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '物料名称', field: 'materName', component: 'Input', componentProps: { disabled: true }, colProps: { span: 24 } },
|
||||
{ label: '保存日期', field: 'saveDate', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '保存时间', field: 'saveDateTime', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '班次', field: 'shiftId', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '班组', field: 'shiftClass', component: 'Input', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '设定车次', field: 'setNum', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '当前车次', field: 'batchNum', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '密炼模式', field: 'mixMode', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '密炼时间', field: 'curTim', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '有效时间', field: 'usefulMixTim', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '间隔时间', field: 'intervalTime', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '排胶温度', field: 'discTemp', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '排胶能量', field: 'discEnergy', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '排胶时间', field: 'discTime', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '排胶功率', field: 'discPower', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '排胶方式', field: 'emgyDiscFlag', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '批次重量', field: 'batchWei', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '重量', field: 'weight', component: 'InputNumber', componentProps: { disabled: true }, colProps: { span: 12 } },
|
||||
{ label: '操作员', field: 'oper', component: 'Input', 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 } },
|
||||
];
|
||||
Reference in New Issue
Block a user