| | |
| | | { field: 'expand', type: 'expand', width: 60, align: 'center', slots: { content: 'expandContent' } }, |
| | | { type: 'checkbox', width: 60, align:"center"}, |
| | | { type: 'seq', title: '序号', width: 60 }, |
| | | { |
| | | title: '主计划员', |
| | | field: 'masterPlanner', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '周日', |
| | | field: 'weekDay', |
| | | width: 100, |
| | | formatter: (({ cellValue, row, column }) => { |
| | | if (cellValue) { |
| | | const weekDay = new Date(cellValue); |
| | | const year = weekDay.getFullYear(); |
| | | const month = String(weekDay.getMonth() + 1).padStart(2, '0'); |
| | | const day = String(weekDay.getDate()).padStart(2, '0'); |
| | | return `${month}-${day}`; |
| | | } |
| | | return ''; |
| | | }) |
| | | }, |
| | | { |
| | | title: '周度', |
| | | field: 'weekCycle', |
| | | width: 80, |
| | | }, |
| | | // { |
| | | // title: '主计划员', |
| | | // field: 'masterPlanner', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '周日', |
| | | // field: 'weekDay', |
| | | // width: 100, |
| | | // formatter: (({ cellValue, row, column }) => { |
| | | // if (cellValue) { |
| | | // const weekDay = new Date(cellValue); |
| | | // const year = weekDay.getFullYear(); |
| | | // const month = String(weekDay.getMonth() + 1).padStart(2, '0'); |
| | | // const day = String(weekDay.getDate()).padStart(2, '0'); |
| | | // return `${month}-${day}`; |
| | | // } |
| | | // return ''; |
| | | // }) |
| | | // }, |
| | | // { |
| | | // title: '周度', |
| | | // field: 'weekCycle', |
| | | // width: 80, |
| | | // }, |
| | | { |
| | | title: '主件料号', |
| | | field: 'mainPartNumber', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '主件图号', |
| | | field: 'mainPartDrawingNumber', |
| | | width: 150, |
| | | }, |
| | | { |
| | | title: '客户名称', |
| | | field: 'customer', |
| | | width: 200, |
| | | }, |
| | | // { |
| | | // title: '主件图号', |
| | | // field: 'mainPartDrawingNumber', |
| | | // width: 150, |
| | | // }, |
| | | // { |
| | | // title: '客户名称', |
| | | // field: 'customer', |
| | | // width: 200, |
| | | // }, |
| | | { |
| | | title: '业务类型', |
| | | field: 'businessType', |
| | |
| | | field: 'drawingNo', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '版本号', |
| | | field: 'versionNumber', |
| | | width: 100, |
| | | }, |
| | | // { |
| | | // title: '版本号', |
| | | // field: 'versionNumber', |
| | | // width: 100, |
| | | // }, |
| | | { |
| | | title: '生产数量', |
| | | field: 'productionQuantity', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '良品数量', |
| | | field: 'goodProductsQuantity', |
| | | width: 100, |
| | | }, |
| | | // { |
| | | // title: '良品数量', |
| | | // field: 'goodProductsQuantity', |
| | | // width: 100, |
| | | // }, |
| | | { |
| | | title: '工序号', |
| | | field: 'processNumber', |
| | |
| | | field: 'workCenter', |
| | | width: 180, |
| | | }, |
| | | { |
| | | title: '所属部门', |
| | | field: 'department', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '计划开工日', |
| | | field: 'planStartDay', |
| | | width: 100, |
| | | }, |
| | | // { |
| | | // title: '所属部门', |
| | | // field: 'department', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '计划开工日', |
| | | // field: 'planStartDay', |
| | | // width: 100, |
| | | // }, |
| | | { |
| | | title: '计划完工日', |
| | | field: 'planEndDay', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '备料料号', |
| | | field: 'standbyNumber', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '备料名称', |
| | | field: 'standbyName', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '备料库存', |
| | | field: 'standbyStock', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '下道工序所属部门', |
| | | field: 'nextProcessDeparment', |
| | | width: 160, |
| | | }, |
| | | { |
| | | title: '是否挂起', |
| | | field: 'isSuspended', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '外协标识', |
| | | field: 'isOutsourcing', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '账套', |
| | | field: 'account', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '上阶物料', |
| | | field: 'advancedMaterials', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '上阶单据号', |
| | | field: 'advancedDocumentNumber', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '上阶需求日期', |
| | | field: 'advancedRequirementDay', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '计划齐套', |
| | | field: 'isPlanComplete', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '库存齐套', |
| | | field: 'isStockComplete', |
| | | width: 100, |
| | | }, |
| | | { |
| | | title: '是否有折返工序', |
| | | field: 'hasTurnback', |
| | | width: 120, |
| | | }, |
| | | { |
| | | title: '风险标识', |
| | | field: 'hasRisk', |
| | | width: 100, |
| | | }, |
| | | // { |
| | | // title: '备料料号', |
| | | // field: 'standbyNumber', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '备料名称', |
| | | // field: 'standbyName', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '备料库存', |
| | | // field: 'standbyStock', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '下道工序所属部门', |
| | | // field: 'nextProcessDeparment', |
| | | // width: 160, |
| | | // }, |
| | | // { |
| | | // title: '是否挂起', |
| | | // field: 'isSuspended', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '外协标识', |
| | | // field: 'isOutsourcing', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '账套', |
| | | // field: 'account', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '上阶物料', |
| | | // field: 'advancedMaterials', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '上阶单据号', |
| | | // field: 'advancedDocumentNumber', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '上阶需求日期', |
| | | // field: 'advancedRequirementDay', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '计划齐套', |
| | | // field: 'isPlanComplete', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '库存齐套', |
| | | // field: 'isStockComplete', |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // title: '是否有折返工序', |
| | | // field: 'hasTurnback', |
| | | // width: 120, |
| | | // }, |
| | | // { |
| | | // title: '风险标识', |
| | | // field: 'hasRisk', |
| | | // width: 100, |
| | | // }, |
| | | ]); |
| | | |
| | | |
| | |
| | | width: 200, |
| | | align:"center", |
| | | }, |
| | | { |
| | | title: '未开工数量', |
| | | field: 'notStartWorkCount', |
| | | width: 90, |
| | | align:"center", |
| | | }, |
| | | { |
| | | title: '已完成数量', |
| | | field: 'completedCount', |
| | | width: 90, |
| | | align:"center", |
| | | }, |
| | | { |
| | | title: '废弃数量', |
| | | field: 'discardCount', |
| | | width: 90, |
| | | align:"center", |
| | | }, |
| | | // { |
| | | // title: '未开工数量', |
| | | // field: 'notStartWorkCount', |
| | | // width: 90, |
| | | // align:"center", |
| | | // }, |
| | | // { |
| | | // title: '已完成数量', |
| | | // field: 'completedCount', |
| | | // width: 90, |
| | | // align:"center", |
| | | // }, |
| | | // { |
| | | // title: '废弃数量', |
| | | // field: 'discardCount', |
| | | // width: 90, |
| | | // align:"center", |
| | | // }, |
| | | { |
| | | title: '标准工时', |
| | | field: 'standardTime', |