From 09c8a305b2d8bbc66a6479a0fe374e38ae98dc1e Mon Sep 17 00:00:00 2001 From: chenshuichuan <1154693969@qq.com> Date: Tue, 16 Jul 2024 23:46:40 +0800 Subject: [PATCH] fix plan --- src/api/mes/task/index.ts | 23 ++++++ .../mes/machine/MachineComponentForm.vue | 44 +++++++++- src/views/mes/plan/PlanForm.vue | 82 +++++++++++++++---- 3 files changed, 130 insertions(+), 19 deletions(-) diff --git a/src/api/mes/task/index.ts b/src/api/mes/task/index.ts index 4bfef8dc..6ea315de 100644 --- a/src/api/mes/task/index.ts +++ b/src/api/mes/task/index.ts @@ -21,6 +21,29 @@ export interface ItemRequisitionAndStockVO { stockNumber: number // 编码 stockWorkshopNumber: number // 编码 } + +// 生产任务单明细 VO +export interface TaskDetailVO { + id: number // ID + productId: number // 产品ID + productName: number // 产品ID + unitId: number // 单位ID + unitName: number // 单位ID + taskId: number // task ID + number: number // 数量 + planNumber: number //已经计划的数量 + packageSize: number // 打包要求(每包/个) + projectName: string // 项目名称 + techRequirements: string // 技术要求 + remark: string // 备注 + isEnable: boolean // 是否启用 + packageNumber: number // 打包数量 + finishDate: Date // 工厂完成 + boxingDate: Date // 装柜时间 + arriveDate: Date // 到达时间 + barCode: string // 条码 + attachment: string // 附件 +} // 生产任务单 API export const TaskApi = { // 查询生产任务单分页 diff --git a/src/views/mes/machine/MachineComponentForm.vue b/src/views/mes/machine/MachineComponentForm.vue index e4221187..62168207 100644 --- a/src/views/mes/machine/MachineComponentForm.vue +++ b/src/views/mes/machine/MachineComponentForm.vue @@ -121,7 +121,46 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +