Commit Graph
101 Commits
Author SHA1 Message Date
zlwuandCursor 82bb06c9ef feat(market): 新增市场模块 API 路由
新增 /web/admin/my-material-usages 接口,获取当前用户的物料领用记录。
路由前缀 /web/admin,标签为"市场"。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 14:01:09 +08:00
zlwuandCursor cc8f6d3b9f feat(market): 新增 get_my_usages CRUD 方法
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 13:58:41 +08:00
zlwuandCursor c4a6ecfd7d feat(market): 新增 MyMaterialUsageQuery schema
- 新增 MyMaterialUsageQuery 查询参数 schema
- 新增 MaterialUsageResponse 响应 schema(含 requisitionStatus 字段)
- 新增 MyMaterialUsageListResponse 列表响应 schema

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 13:56:53 +08:00
zlwu 31b04575e2 提交 2026-06-15 11:43:16 +08:00
zlwu 427bcb1551 提交 2026-06-14 17:20:52 +08:00
zlwu a79aee2614 提交 2026-06-14 09:14:11 +08:00
zlwu 5ad07c8cac 提交 2026-06-13 19:47:22 +08:00
zlwu e1d6de45a3 UI样式第一次优化 2026-06-12 20:40:31 +08:00
zlwuandCursor 7f7979679f fix(menu): 修复两级菜单结构和嵌套问题
1. 菜单类型默认值改为 TOP_LEFT(顶部一级+左侧二级)
2. 二级菜单 component 设为空字符串避免嵌套布局
3. 前端和后端菜单数据同步更新

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 20:02:47 +08:00
zlwuandCursor 22a5c79585 feat(auth): 添加一级菜单权限码常量和注释
- 新增 TOP_MENU_PERMS frozenset,包含 menu:market、menu:production、menu:quality、menu:operations、menu:system-manage
- 为 iter_user_menu_perm_codes 函数添加注释,说明一级菜单的 menuCode 会自动被返回

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 19:44:05 +08:00
zlwuandCursor c03c624b1a refactor: 将后端菜单从14个一级菜单重组为5个一级菜单分组
- 新增5个一级菜单:市场、生产、质检、运营支撑、系统管理
- 每个一级菜单添加 isTopMenu: true 和 menuCode 标识
- 二级菜单路径调整为完整路径(如 /market/cell-storage)
- 更新文件注释从"13个一级菜单"改为"5个一级菜单分组"
- 保留所有子菜单内容,仅修改 id、path 和 meta 信息

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-12 19:42:25 +08:00
zlwu 3abe69c1cc 提交 2026-06-12 15:17:54 +08:00
zlwu 4ea71a1bae 提交 2026-06-12 12:32:49 +08:00
zlwu 9a73e87ce8 提交 2026-06-12 10:37:56 +08:00
zlwu 64219a68c7 提交 2026-06-11 15:42:58 +08:00
zlwu 195c4c0a34 提交 2026-06-04 15:08:11 +08:00
zlwu eec61cb5dd 提交 2026-06-04 12:57:59 +08:00
zlwu afd517ce10 提交 2026-06-03 17:53:48 +08:00
zlwu 09afdb1d65 提交 2026-06-02 09:39:50 +08:00
zlwu 2e66e03792 提交 2026-06-01 11:22:07 +08:00
zlwu 69ee0f505c 提交 2026-05-28 20:10:34 +08:00
zlwu 239d0a03d7 提交 2026-05-28 20:04:27 +08:00
zlwu 912ada02eb 提交 2026-05-28 19:11:31 +08:00
zlwu 5e91791ebf 提交 2026-05-28 14:19:18 +08:00
zlwu 3c7a47981a 提交 2026-05-28 13:05:46 +08:00
zlwu f1f5d24eff 提交 2026-05-28 08:37:37 +08:00
zlwu 4ff289a8cf 提交 2026-05-28 07:37:16 +08:00
zlwu b6c63591ea 提交 2026-05-28 00:15:29 +08:00
zlwu c137b46939 提交 2026-05-27 16:52:46 +08:00
zlwu 7145c6c683 提交 2026-05-27 06:22:08 +08:00
zlwu 41aa90aa05 提交 2026-05-27 05:23:28 +08:00
zlwu ad8f8d696f 提交 2026-05-26 22:31:48 +08:00
zlwu 3f122da803 提交 2026-05-26 21:27:48 +08:00
zlwu edf88dc016 提交 2026-05-26 19:04:27 +08:00
zlwu c9f369a276 feat(qc): extend outbound work order list API with application/infusion fields and bizType filter 2026-05-26 18:29:56 +08:00
zlwu fa60330752 feat(qc): add biz_type column to qc_work_order table for outbound business type 2026-05-26 18:24:50 +08:00
zlwu 11f8d2973b feat(pilot): auto-create outbound production work order on schedule creation and auto-void on deletion 2026-05-26 18:06:26 +08:00
zlwu d84f5056f2 feat(production): extend CRUD for outbound work orders — biz_type, yzf status, list/detail enrichment 2026-05-26 18:04:03 +08:00
zlwu d93b16ab0c feat(production): add biz_type field to BizProductionWorkOrder model 2026-05-26 17:58:07 +08:00
zlwu 065e6c34b4 提交 2026-05-26 12:32:19 +08:00
zlwu bb8c981afd 提交 2026-05-25 20:54:11 +08:00
zlwu c4cc7009e3 提交 2026-05-25 19:27:30 +08:00
zlwu ee4abd361e 提交 2026-05-25 17:43:49 +08:00
zlwu 771f010a39 提交 2026-05-25 15:14:06 +08:00
zlwu 575e63e7e8 提交 2026-05-24 23:04:33 +08:00
zlwu 13e4c9530a 提交 2026-05-24 17:57:28 +08:00
zlwu 7cec1f2190 提交 2026-05-24 16:58:51 +08:00
zlwu 9dd7eb56ba 提交 2026-05-24 11:03:15 +08:00
zlwu 93f5801aa9 提交 2026-05-24 10:42:11 +08:00
zlwu 9a93140391 提交 2026-05-24 10:03:00 +08:00