Commit Graph

10 Commits (4e964e2eeafb0f4e61a24849dff538217a3603c3)

Author SHA1 Message Date
YunaiV 4e964e2eea feat(mes): 新增质检方案编码生成与详情模式支持 2026-04-04 22:37:49 +08:00
YunaiV 76f47a476b 🎨 style(mes): 统一代码格式,优化可读性 2026-03-30 23:23:23 +08:00
YunaiV 4d151e0d5b feat(mes): 移除生成编码按钮的禁用状态 2026-03-29 00:06:20 +08:00
YunaiV 5ddc53bce9 feat(mes): qc 添加安灯处置状态和级别枚举,更新相关错误码和接口定义 2026-02-21 00:19:09 +08:00
YunaiV 545887ed38 refactor(mes): 将 enableFlag/enabled/areaEnabled 重构为 status/areaStatus(CommonStatus)
QC Template: enableFlag(Boolean) -> status(Integer),使用 CommonStatusEnum
Warehouse Area: enabled(Boolean) -> status(Integer),使用 CommonStatusEnum
Warehouse Location: areaEnabled(Boolean) -> areaStatus(Integer),使用 CommonStatusEnum

涉及前端 API 定义、列表页、表单页的字段名和字典类型切换(INFRA_BOOLEAN_STRING -> COMMON_STATUS),
以及后端 DO、RespVO、SaveReqVO、PageReqVO、Mapper 的同步修改。

注意:语义反转,原 true(启用) 对应新 status=0(开启),原 false(禁用) 对应新 status=1(关闭)。
2026-02-19 17:15:20 +08:00
YunaiV e95d613965 feat(mes): 新增工艺路线模块,支持路线、工序链、产品及 BOM 管理
从 ktg-mes 迁移工艺路线(pro-route)模块,包含:
- 4 个 DO:MesProRoute / RouteProcess / RouteProduct / RouteProductBom
- 4 个 Mapper 及 9 个 VO(含工序链 findPre/findNext 查询)
- 4 对 Service 接口+实现(链表重建、启用校验、级联删除)
- 4 个 Controller(路线 CRUD+导出,子资源复用父权限)
2026-02-19 16:39:43 +08:00
YunaiV 20c6876f2c feat(mes): 清理 qc-template TODO,补全注释风格与表单布局
- TemplateForm/TemplateIndicatorForm/TemplateItemForm/TemplateIndicatorList/TemplateItemList:注释风格对齐(ref 行内注释、函数步骤注释、defineExpose/defineEmits 说明)
- TemplateIndicatorForm:表单布局调整为多行 el-row/el-col(质检指标+标准值 / 计量单位+误差上下限 / 检测方法 / 说明图 / 备注)
- TemplateItemForm:表单布局调整为多行(产品物料 / 最低检测数+最大不合格数 / 致命+严重+轻微缺陷率 / 备注),补充缺失的备注字段
- index.vue:搜索项检测种类改为单值 Integer 查询
2026-02-19 12:57:00 +08:00
YunaiV e7a066d9c5 feat(mes): 重构质检方案页面,子表维护移入编辑弹窗
- api/mes/qc/template/ 拆分为 index.ts / indicator.ts / item.ts 三个文件
- TemplateForm.vue:Dialog 宽度改为 900px,编辑模式下新增 el-tabs,
  内嵌检测指标项(TemplateIndicatorList)和产品关联(TemplateItemList)子表
- index.vue:移除底部子表区域及 currentRow/activeTab 逻辑,简化为纯列表页;
  检测种类搜索字段由 types 改为 type(单选)
- TemplateIndicatorList/Form、TemplateItemList/Form:更新 import 路径至拆分后的 API 文件
- 清理所有 TODO @AI 注释
2026-02-19 12:41:57 +08:00
YunaiV 416778c8e5 review(mes):qc-template 的代码实现,功能测试 2026-02-17 20:43:40 +08:00
YunaiV 721449d834 feat(mes):qc-template 初始化 2026-02-17 18:57:14 +08:00