From 70c141556af06351cfb8551635f52be4016fdf5f Mon Sep 17 00:00:00 2001 From: zch Date: Thu, 27 Feb 2025 17:29:53 +0800 Subject: [PATCH] =?UTF-8?q?add(mes):=20=E6=B7=BB=E5=8A=A0=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E7=9B=91=E6=8E=A7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增计划监控页面组件 monitorPlan.vue - 实现生产工单信息列表查询功能 - 添加班次和机台的动态列生成 - 实现计划数、实际数和进度条的展示 - 增加日期范围选择功能 - 优化数据处理和展示逻辑 --- src/api/mes/planInfo/index.ts | 14 + src/api/mes/planInfo/types.ts | 40 ++ src/views/mes/planInfo/monitorPlan.vue | 663 +++++++++++++++++++++++++ 3 files changed, 717 insertions(+) create mode 100644 src/views/mes/planInfo/monitorPlan.vue diff --git a/src/api/mes/planInfo/index.ts b/src/api/mes/planInfo/index.ts index a7079a1..d93acbf 100644 --- a/src/api/mes/planInfo/index.ts +++ b/src/api/mes/planInfo/index.ts @@ -120,3 +120,17 @@ export const issuePlanInfo = (workshopId: string | number, planId: string | numb method: 'get' }); }; + +/** + * 查询生产工单信息列表 + * @param query + * @returns {*} + */ + +export const queryMoritorPageList = (query?: PlanInfoQuery): AxiosPromise => { + return request({ + url: '/mes/planInfo/queryMoritorPageList', + method: 'get', + params: query + }); +}; diff --git a/src/api/mes/planInfo/types.ts b/src/api/mes/planInfo/types.ts index cf034cd..fb14e68 100644 --- a/src/api/mes/planInfo/types.ts +++ b/src/api/mes/planInfo/types.ts @@ -158,6 +158,18 @@ export interface PlanInfoVO { * 车间ID */ workshopId: number; + + /** + * 班次名称 + */ + shiftName: string; + + /** + * 班次id + */ + shifitId?: string | number; + + materialName?: string; } export interface PlanInfoForm extends BaseEntity { @@ -332,6 +344,18 @@ export interface PlanInfoForm extends BaseEntity { materialBoMIdR?: string | number; materialBoMNameR?: string | number; + /** + * 班次id + */ + shifitId?: string | number; + + /** + * 班次名称 + */ + shiftName: string; + + materialName?: string; + } export interface PlanInfoQuery extends PageQuery { @@ -495,6 +519,22 @@ export interface PlanInfoQuery extends PageQuery { * 日期范围参数 */ params?: any; + + + /** + * 班次名称 + */ + shiftName: string; + + /** + * 班次id + */ + shifitId?: string | number; + + /** + * 物料名称 + */ + materialName?: string; } diff --git a/src/views/mes/planInfo/monitorPlan.vue b/src/views/mes/planInfo/monitorPlan.vue new file mode 100644 index 0000000..c0e63b3 --- /dev/null +++ b/src/views/mes/planInfo/monitorPlan.vue @@ -0,0 +1,663 @@ + + + +