From c1a9d36199032d9eff5929f8738503748bd31661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=96=87=E6=98=8A?= <15984991+wwh2328692301@user.noreply.gitee.com> Date: Thu, 9 Jul 2026 14:41:39 +0800 Subject: [PATCH] =?UTF-8?q?refactor(wms,mes):=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E8=8A=82=E7=82=B9=E9=85=8D=E7=BD=AE=E4=B8=8E?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 移除生产流程中按工序绑定钢卷节点,调整流程走向 2. 重构检验流程节点与流程图,拆分检验类型与审批流程 3. 统一调整样式类定义与节点样式 --- klp-ui/src/views/wms/post/flow.vue | 53 +++++++++++++++++------------- 1 file changed, 31 insertions(+), 22 deletions(-) diff --git a/klp-ui/src/views/wms/post/flow.vue b/klp-ui/src/views/wms/post/flow.vue index 5bcb72160..1343ef01a 100644 --- a/klp-ui/src/views/wms/post/flow.vue +++ b/klp-ui/src/views/wms/post/flow.vue @@ -129,8 +129,7 @@ const NODE_EVENT_CONFIG = { { id: 'H', label: '选择工艺路线', handler: 'handleOpen', params: { componentPath: 'wms/post/aps/schedule' } }, { id: 'I', label: '自动生成排产项', handler: 'handleOpen', params: { componentPath: 'wms/post/aps/schedule' } }, { id: 'J', label: '已排产明细管理', handler: 'handleOpen', params: { componentPath: 'wms/post/aps/schedule' } }, - { id: 'K', label: '按工序绑定钢卷', handler: 'handleOpen', params: { componentPath: 'wms/post/aps/compare' } }, - { id: 'L', label: '执行生产', handler: 'handleOpen', params: { componentPath: 'wms/post/aps/schedule' } }, + { id: 'K', label: '执行生产', handler: 'handleOpen', params: { componentPath: 'wms/post/aps/schedule' } }, ], equipmentRepair: [ { id: 'A', label: '创建维修计划', handler: 'handleOpen', params: { componentPath: 'wms/post/eqp/index' } }, @@ -164,11 +163,14 @@ const NODE_EVENT_CONFIG = { inspection: [ { id: 'A', label: '维护检验方案模板', handler: 'handleOpen', params: { componentPath: 'mes/qc/template/index' } }, - { id: 'B', label: '取样/检验数据录入', handler: 'handleOpen', params: { componentPath: 'mes/qc/inspectionSample/index' } }, - { id: 'D', label: '常规检验录入', handler: 'handleOpen', params: { componentPath: 'mes/qc/inspectionSample/index' } }, + { id: 'B', label: '检验数据录入', handler: 'handleOpen', params: { componentPath: 'mes/qc/inspectionSample/index' } }, + { id: 'D', label: '化学检验数据', handler: 'handleOpen', params: { componentPath: 'mes/qc/inspectionSample/index' } }, { id: 'E', label: '拉伸检验(专项)', handler: 'handleOpen', params: { componentPath: 'mes/qc/inspectionTensile/index' } }, - { id: 'H', label: '生成质量证明书', handler: 'handleOpen', params: { componentPath: 'mes/qc/certificate/book' } }, - { id: 'I', label: '触发质量评审', handler: 'handleOpen', params: { componentPath: 'mes/qc/qualityReview/index' } }, + { id: 'F', label: '创建审批申请', handler: 'handleOpen', params: { componentPath: 'mes/qc/approval/index' } }, + { id: 'H', label: '审批中', handler: 'handleOpen', params: { componentPath: 'mes/qc/approval/index' } }, + { id: 'J', label: '填写检验数据', handler: 'handleOpen', params: { componentPath: 'mes/qc/approval/index' } }, + { id: 'M', label: '生成质量证明书', handler: 'handleOpen', params: { componentPath: 'mes/qc/certificate/book' } }, + { id: 'N', label: '触发质量评审', handler: 'handleOpen', params: { componentPath: 'mes/qc/qualityReview/index' } }, ], qualityReview: [ @@ -320,9 +322,8 @@ graph TD H --> I["自动生成排产项
按工序步骤分组"]:::p7 I --> J["已排产明细管理
按步骤查看/编辑
内联修改排产状态"]:::p7 - J --> K["按工序绑定钢卷
将现存钢卷绑定到
对应的排产明细"]:::p8 - K --> L["执行生产"]:::p9 - L --> M(["排产完结"]):::pend + J --> K["执行生产"]:::p8 + K --> L(["排产完结"]):::pend classDef p1 fill:#409eff,stroke:#337ecc,color:#fff,stroke-width:2px classDef p2 fill:#e6fffa,stroke:#13c2c2,color:#303133,stroke-width:2px @@ -332,7 +333,6 @@ graph TD classDef p6 fill:#fffbe6,stroke:#fadb14,color:#606266,stroke-width:2px classDef p7 fill:#fff0f6,stroke:#eb2f96,color:#303133,stroke-width:2px classDef p8 fill:#f6ffed,stroke:#52c41a,color:#303133,stroke-width:2px - classDef p9 fill:#f0f5ff,stroke:#597ef7,color:#303133,stroke-width:2px classDef dec fill:#f9f0ff,stroke:#722ed1,color:#303133,stroke-width:2px classDef pend fill:#dcf7e8,stroke:#52c41a,color:#303133,stroke-width:2px,rx:10,ry:10 linkStyle default stroke:#bfbfbf,stroke-width:2px @@ -427,25 +427,34 @@ graph TD inspection: ` graph TD - A["维护检验方案模板
定义检验项/单位/标准"]:::i1 - A --> B["取样/检验数据录入
选择方案模板
动态生成检验项表格"]:::i2 - B --> C{"检验项类型"}:::dec - C -->|常规项| D["常规检验录入
直接在模板表格
填写检测数据"]:::i3 - C -->|拉伸试验| E["拉伸检验(专项)
独立试验记录
管理明细数据"]:::i4 - D --> F["汇总检验结果"]:::i5 + A["维护检验方案模板
定义检验项目/单位/标准值"]:::i1 + A --> B["检验数据录入
选择方案模板
填写样品信息
录入检验结果"]:::i2 + B --> C{"检验类型"}:::dec + C -->|化学检验| D["化学检验数据
按模板动态生成
检验项表格并填值"]:::i3 + C -->|物理检验| E["拉伸检验(专项)
独立试验记录
管理明细数据"]:::i4 + D --> F["创建审批申请
关联检验记录
填写申请信息"]:::i5 E --> F - F --> G{"判定"}:::dec - G -->|合格| H["生成质量证明书
汇总全部检验数据"]:::i6 - G -->|不合格| I["触发质量评审
进入评审流程"]:::i7 - H --> J(["检验归档"]):::iend + F --> G{"审批流转"}:::dec + G -->|送审| H["审批中
待审批"]:::i6 + H --> I{"审批"}:::dec + I -->|通过| J["填写检验数据
录入详细检验结果
含判定"]:::i7 + I -->|驳回| K["退回修改
重新编辑后送审"]:::i8 + K --> F + J --> L{"判定"}:::dec + L -->|合格| M["生成质量证明书
管理/编辑/打印
支持化学/物理模板"]:::i9 + L -->|不合格| N["触发质量评审
进入评审流程"]:::i10 + M --> O(["检验归档"]):::iend classDef i1 fill:#409eff,stroke:#337ecc,color:#fff,stroke-width:2px classDef i2 fill:#e6fffa,stroke:#13c2c2,color:#303133,stroke-width:2px classDef i3 fill:#fff7e6,stroke:#fa8c16,color:#303133,stroke-width:2px classDef i4 fill:#f0f5ff,stroke:#597ef7,color:#303133,stroke-width:2px classDef i5 fill:#fffbe6,stroke:#fadb14,color:#303133,stroke-width:2px - classDef i6 fill:#f6ffed,stroke:#52c41a,color:#303133,stroke-width:2px - classDef i7 fill:#fff1f0,stroke:#f5222d,color:#303133,stroke-width:2px + classDef i6 fill:#e6f7ff,stroke:#1890ff,color:#303133,stroke-width:2px + classDef i7 fill:#f6ffed,stroke:#52c41a,color:#303133,stroke-width:2px + classDef i8 fill:#fff1f0,stroke:#f5222d,color:#303133,stroke-width:2px + classDef i9 fill:#f0f5ff,stroke:#597ef7,color:#303133,stroke-width:2px + classDef i10 fill:#fff1f0,stroke:#f5222d,color:#303133,stroke-width:2px classDef dec fill:#f9f0ff,stroke:#722ed1,color:#303133,stroke-width:2px classDef iend fill:#dcf7e8,stroke:#52c41a,color:#303133,stroke-width:2px,rx:10,ry:10 linkStyle default stroke:#bfbfbf,stroke-width:2px