小料需求计划
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { BasicColumn, FormSchema } from '/@/components/Table';
|
||||
|
||||
export const baseColumns: BasicColumn[] = [
|
||||
{ title: '计划日期', align: 'center', dataIndex: 'planDate', width: 130 },
|
||||
{ title: 'ERP编号', align: 'center', dataIndex: 'erpCode', width: 180 },
|
||||
{ title: '原材料名称', align: 'center', dataIndex: 'rawMaterialName', width: 220, ellipsis: true },
|
||||
{ title: '需求重量', align: 'center', dataIndex: 'demandWeight', width: 140 },
|
||||
@@ -14,15 +15,17 @@ export const machineColumns: BasicColumn[] = [
|
||||
];
|
||||
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
{ label: '计划日期', field: 'planDate', component: 'DatePicker', colProps: { span: 6 } },
|
||||
{ label: 'ERP编号', field: 'erpCode', component: 'JInput', colProps: { span: 6 } },
|
||||
{ label: '原材料名称', field: 'rawMaterialName', component: 'JInput', colProps: { span: 6 } },
|
||||
];
|
||||
|
||||
export const superQuerySchema = {
|
||||
machineName: { title: '机台', order: 0, view: 'text' },
|
||||
erpCode: { title: 'ERP编号', order: 1, view: 'text' },
|
||||
rawMaterialName: { title: '原材料名称', order: 2, view: 'text' },
|
||||
demandWeight: { title: '需求重量', order: 3, view: 'number' },
|
||||
standardWeight: { title: '标准重量', order: 4, view: 'number' },
|
||||
actualWeight: { title: '实际重量', order: 5, view: 'number' },
|
||||
planDate: { title: '计划日期', order: 0, view: 'date' },
|
||||
machineName: { title: '机台', order: 1, view: 'text' },
|
||||
erpCode: { title: 'ERP编号', order: 2, view: 'text' },
|
||||
rawMaterialName: { title: '原材料名称', order: 3, view: 'text' },
|
||||
demandWeight: { title: '需求重量', order: 4, view: 'number' },
|
||||
standardWeight: { title: '标准重量', order: 5, view: 'number' },
|
||||
actualWeight: { title: '实际重量', order: 6, view: 'number' },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user