24 Commits

Author SHA1 Message Date
panchengyong
fcff3903df Merge branch 'main' of http://49.235.131.69:3000/scottpan/my-mom-system 2026-03-14 15:00:28 +08:00
panchengyong
dcb77279a0 feat: 采购到货单、库区标签打印、EBOM表格优化
- 采购到货单: 新建 arrivalnotice API,重构 Checkin 页面对齐到货通知功能
- 库区标签打印: 新增 LocationLabelPrint 组件,支持单个/批量打印(4列排版)
- EBOM: 表格表头和内容不换行,过长截断显示

Made-with: Cursor
2026-03-14 14:58:17 +08:00
panchengyong
7aee39d98e Merge branch 'claude/sharp-rubin' into claude/gallant-shamir 2026-03-14 14:27:21 +08:00
panchengyong
b11bf5e631 feat: 采购订单自动生成到货通知单功能
在采购订单查看页面新增"生成到货通知单"按钮,已审核的采购订单可一键生成到货通知单,
自动携带供应商信息和未到货物料明细行。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 14:26:56 +08:00
panchengyong
e73ba25a8f feat: 仓库简易打印、工作站标签打印、生产订单打印工序修复
- 仓库管理(mom-frontend-vue2): 新增简易标签打印,不依赖MinIO,使用前端qrcode+window.print
- 工作站(erp-frontend-vue): 新增WorkstationLabelPrint组件,支持批量打印工作站标签
- 生产订单: handlePrint改用getProcessTasksByWorkorder,从工艺路线获取工序数据,解决无pro_task时打印无数据问题

Made-with: Cursor
2026-03-14 12:53:47 +08:00
panchengyong
0961b9e407 fix: 修复BOM新增时自动生成编码未校验重复的问题
自动生成 bom_code 时跳过了唯一性校验,导致重复数据直接触发数据库
uk_bom_code 约束异常。将重复校验移出 else 分支,对自动生成和手动
传入两种情况统一校验,并返回友好提示信息。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-14 10:09:15 +08:00
apple
c738b68d34 feat: 添加 OpenClaw MOM 多 Agent 配置
- 新增 .openclaw/ 网关配置 (openclaw.json, .env.example)
- 7 个专业 Agent 独立 workspace:生产总控、模具管理、注塑管理、质量管理、仓储物流、设备管理、数据分析
- 每个 Agent 含 SOUL.md / AGENTS.md / USER.md / TOOLS.md / IDENTITY.md
- 适配铭奕精密科技模具组与注塑组生产管理场景

Made-with: Cursor
2026-03-14 09:48:06 +08:00
panchengyong
d8255c355f chore: 添加 deploy.conf、PRD 文档和需求截图
Made-with: Cursor
2026-03-14 09:14:50 +08:00
panchengyong
951f49cb17 feat: 添加部署脚本、Maven Wrapper 和 mom-frontend-vue2 项目
- deploy/: 后端、ERP前端、MOM前端部署脚本
- mom-backend: Maven Wrapper 支持无全局 Maven 构建
- mom-frontend-vue2: MES 管理前端 Vue2 项目

Made-with: Cursor
2026-03-14 09:02:20 +08:00
panchengyong
c317f836a3 Merge remote-tracking branch 'origin/main' into claude/gallant-shamir 2026-03-13 11:20:18 +08:00
panchengyong
099e01e518 更新生产计划、销售订单、工作订单和仓库发料功能 2026-03-13 11:11:37 +08:00
panchengyong
34cbf08144 feat: EBOM选择物料弹窗增加左侧分类树(issues-0311-3)
- form.vue: 选择物料弹窗从el-select远程搜索改为左右布局
  左侧el-tree加载物料分类树(getItemTypeTreeselect)
  右侧el-table展示物料列表,支持编码/名称搜索
  点击树节点按分类过滤物料,参考Item管理页实现
- form.vue: 表格和输入框去掉size=small,恢复默认高度
- list.vue: 列表列宽从固定width改为min-width,增加show-overflow-tooltip

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-13 00:42:06 +08:00
panchengyong
c1110d6b08 fix: 修复销售订单页面Bug(issues-0311-2)
- salesOrder.ts: 列表API添加normalizeOrderRow字段别名映射
  (salesUserName→salesmanName, salesUserId→salesmanId, saleType→salesType)
- salesOrder.ts: 详情API添加审核信息字段别名映射
  (checkUserName→auditorName, checkDate→auditDate等)
- form.vue: 销售人员下拉及保存优先使用nickName昵称
- form.vue: 主表数量/单价/质量要求/备注输入框去掉size=small,高度恢复默认
- form.vue: 主表物料编码列宽从130增至min-width=260
- view.vue: 详情页基础信息区域样式美化(卡片式布局、label加重、min-height)
- Progress.vue: 新建生产进度页面,展示订单信息及关联生产工单
- router/index.ts: 修复生产进度路由指向Progress.vue(原误指向index.vue)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-11 14:04:32 +08:00
panchengyong
7bdad2daca Merge branch 'claude/gallant-shamir': fix 销售订单新增页面3个Bug 2026-03-11 12:59:54 +08:00
panchengyong
80ce9ad8e2 fix: 修复销售订单新增页面3个Bug
- 销售部门选择改为 el-tree-select 树形组件,展示组织架构层级
- 物料选择弹窗过滤停用产品(enableFlag: 'Y')
- 物料弹窗单行选择模式改用 el-radio 单选框,选中状态更明显
- 物料编码列宽度由 120px 改为 min-width 160px,显示完整编码

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-11 12:57:40 +08:00
panchengyong
442bc4f028 readd mom-backend dir 2026-03-06 02:12:34 +08:00
panchengyong
2e34c74cf4 delete mom-backend ir 2026-03-06 02:11:35 +08:00
panchengyong
3952a5c359 readd mom-backend 2026-03-06 02:09:51 +08:00
panchengyong
8607a01168 delete mom-backend ir 2026-03-06 02:09:05 +08:00
panchengyong
c28ada5050 commit content 2026-03-06 02:02:59 +08:00
panchengyong
99b07682e7 first commit mom-backend 2026-03-06 02:00:07 +08:00
panchengyong
283f727857 feat(erp-frontend-vue): add Playwright E2E tests and update layout
Add Playwright configuration and E2E specs for key production, purchasing, and warehouse flows, and update layout/login to align with the new testing setup.

Made-with: Cursor
2026-03-02 21:44:03 +08:00
panchengyong
e45616a09b fix(erp-frontend-vue): resolve TypeScript build errors (duplicate ids, unused vars, null guards, type mismatches)
Made-with: Cursor
2026-03-01 16:40:38 +08:00
panchengyong
10b6d0099a 潘的第一次 commit 2026-02-27 23:50:25 +08:00