| | |
| | | align: 'center', |
| | | dataIndex: 'parts', |
| | | }, |
| | | { |
| | | title: '干燥方法', |
| | | align: 'center', |
| | | dataIndex: 'dryMethod', |
| | | }, |
| | | { |
| | | title: '干燥时间', |
| | | align: 'center', |
| | | dataIndex: 'dryTime', |
| | | }, |
| | | { |
| | | title: '干燥温度', |
| | | align: 'center', |
| | | dataIndex: 'dryTemp', |
| | | }, |
| | | { |
| | | title: '注意事项', |
| | | align: 'center', |
| | | dataIndex: 'notice', |
| | | }, |
| | | { |
| | | title: '特性标签', |
| | | align: 'center', |
| | | dataIndex: 'tag', |
| | | }, |
| | | |
| | | { |
| | | title: '初始含水率', |
| | | align: 'center', |
| | |
| | | title: '目标含水率', |
| | | align: 'center', |
| | | dataIndex: 'target', |
| | | }, |
| | | { |
| | | title: '投料量(筐)', |
| | | align: 'center', |
| | | dataIndex: 'feed', |
| | | }, |
| | | { |
| | | title: '预计干燥时间', |
| | | align: 'center', |
| | | dataIndex: 'et', |
| | | }, |
| | | { |
| | | title: '热风温度', |
| | | align: 'center', |
| | | dataIndex: 'windTemp', |
| | | }, |
| | | { |
| | | title: '环境温度', |
| | | align: 'center', |
| | | dataIndex: 'envTemp', |
| | | }, |
| | | { |
| | | title: '环境湿度', |
| | | align: 'center', |
| | | dataIndex: 'envHum', |
| | | }, |
| | | { |
| | | title: '荡料延时(ms)', |
| | | align: 'center', |
| | | dataIndex: 'delay', |
| | | }, |
| | | { |
| | | title: '翻料次数', |
| | | align: 'center', |
| | | dataIndex: 'turn', |
| | | }, |
| | | { |
| | | title: '干燥方法', |
| | | align: 'center', |
| | | dataIndex: 'dryMethod', |
| | | }, |
| | | |
| | | { |
| | | title: '注意事项', |
| | | align: 'center', |
| | | dataIndex: 'notice', |
| | | }, |
| | | { |
| | | title: '特性标签', |
| | | align: 'center', |
| | | dataIndex: 'tag', |
| | | }, |
| | | ] |
| | | //查询数据 |
| | |
| | | field: 'parts', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '干燥方法', |
| | | field: 'dryMethod', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '干燥时间', |
| | | field: 'dryTime', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '干燥温度', |
| | | field: 'dryTemp', |
| | | component: 'Input', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '注意事项', |
| | | field: 'notice', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '特性标签', |
| | | field: 'tag', |
| | | component: 'Input', |
| | | }, |
| | | |
| | | { |
| | | label: '初始含水率', |
| | | field: 'initial', |
| | |
| | | field: 'target', |
| | | component: 'InputNumber', |
| | | }, |
| | | { |
| | | label: '投料量', |
| | | field: 'feed', |
| | | component: 'InputNumber', |
| | | }, |
| | | { |
| | | label: '预计干燥时间', |
| | | field: 'et', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '热风温度', |
| | | field: 'windTemp', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '环境温度', |
| | | field: 'envTemp', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '环境湿度', |
| | | field: 'envHum', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '荡料延时', |
| | | field: 'delay', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '翻料次数', |
| | | field: 'turn', |
| | | component: 'InputNumber', |
| | | dynamicRules: ({ model, schema }) => { |
| | | return [{ required: false }, { pattern: /^-?\d+\.?\d*$/, message: '请输入数字!' }] |
| | | }, |
| | | }, |
| | | { |
| | | label: '干燥方法', |
| | | field: 'dryMethod', |
| | | component: 'Input', |
| | | }, |
| | | |
| | | { |
| | | label: '注意事项', |
| | | field: 'notice', |
| | | component: 'Input', |
| | | }, |
| | | { |
| | | label: '特性标签', |
| | | field: 'tag', |
| | | component: 'Input', |
| | | }, |
| | | // TODO 主键隐藏字段,目前写死为ID |
| | | { |
| | | label: '', |