Commit Graph
154 Commits
Author SHA1 Message Date
zlwu aff71d296b 提交 2026-07-20 10:50:26 +08:00
zlwuandCursor 6d9354a194 chore: 更新 PL 相关知识图谱并修复 update-graph.sh 探测逻辑
使用本机 graphify CLI 强制重建 backend/web-admin 图谱;脚本改为优先走 PATH 中的 graphify。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:22:31 +08:00
zlwuandCursor aa5fbe7780 docs(pl): 出入库现场状态可选设计、实现计划与 D5 旁注
记录显式 status 提交流程,并标注旧出入库设计中现场自动完成规则已被覆盖。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:16:39 +08:00
zlwuandCursor dee85f182e feat(web-admin): 出入库现场页支持选择单据状态并作废只读
提交携带 status;作废需确认;作废后整页只读可查看。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:14:23 +08:00
zlwuandCursor 1df9bbe22a feat(web-admin): 出入库现场回执 API 增加 status 字段
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:14:22 +08:00
zlwuandCursor 664acff1f3 feat(pl): 现场回执提交显式写入出入库单状态
删除首次提交自动改为已完成的隐式逻辑,改为由客户端传入 status。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:13:40 +08:00
zlwuandCursor 2474449448 feat(web-admin): 补齐出入库单页面入口与公共路由
登记库存管理入库/出库菜单路由,以及免登录现场链接静态路由与薄包装页。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:47:32 +08:00
zlwuandCursor 3f23feba59 feat(web-admin): 计划查看出入库回传补齐取送货与产品列
查看 KV、只读子表与快捷编辑弹窗与入库/出库单编辑弹窗字段对齐。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:47:03 +08:00
zlwuandCursor 4d88ceb65e feat(web-admin): 出入库列表与编辑弹窗展示取送货及完整产品列
列表增加取送货地址;编辑弹窗主信息与产品八列对齐设计。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:47:02 +08:00
zlwuandCursor 8b2ebe28e6 feat(web-admin): 出入库现场链接页对齐 Demo 信息密度与样式
补回取送货与导航,产品区卡片展示包装规格,单位使用后端已转义标签。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:47:01 +08:00
zlwuandCursor 8b7f6d99c8 feat(web-admin): 扩展出入库单与公共页 TypeScript 类型
为 enrichment 返回的取送货、产品编号、包装规格与单位标签补齐前端类型。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:47:00 +08:00
zlwuandCursor f5a0931471 feat(pl): 出入库 API 接入 enrichment 并扩展 schema
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:43:42 +08:00
zlwuandCursor 4f69a9b904 feat(pl): 出入库单读时 enrichment 取送货与产品扩展字段
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:39:20 +08:00
zlwuandCursor dbd0d9f205 docs: 出入库单现场链接与信息完善实现计划
按已确认 design 拆分为 enrichment、公共页、列表弹窗与计划回传共 7 个可勾选任务。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:37:55 +08:00
zlwuandCursor 9a1e43e371 docs: 入库/出库单现场链接与信息完善设计说明
记录公共页对齐 Demo、管理端列表/弹窗/计划回传补取送货与产品字段的方案 A,供实现引用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:35:37 +08:00
zlwu c6eb4437d0 提交 2026-07-19 10:16:34 +08:00
zlwu 259c55cc23 提交 2026-07-18 09:14:02 +08:00
zlwu a903fcf6d4 提交 2026-07-17 21:59:47 +08:00
zlwu 8be55c08e9 提交 2026-07-16 08:13:05 +08:00
zlwu 5c6ace1dd3 提交 2026-07-15 08:05:38 +08:00
zlwu 87f7f6bf38 提交 2026-07-14 19:53:35 +08:00
zlwu 0e60b88cba 提交 2026-07-13 20:26:43 +08:00
zlwu 3520f9ce90 提交 2026-07-12 18:23:02 +08:00
zlwu 2142b33cfa 提交 2026-07-12 17:55:11 +08:00
zlwu c2cba3e668 提交 2026-07-12 17:14:53 +08:00
zlwu ffc89d9b57 提交 2026-07-12 12:04:43 +08:00
zlwu 7b1d4c8729 提交 2026-07-11 17:15:17 +08:00
zlwu 843e13bce3 提交 2026-07-05 21:31:07 +08:00
zlwu 31be9bfd95 提交 2026-07-05 14:01:19 +08:00
zlwu 54b27a3f0e 提交 2026-07-05 10:07:24 +08:00
zlwu 33c038b8d9 提交 2026-07-04 08:21:49 +08:00
zlwu b4a49183db 提交 2026-07-04 08:21:06 +08:00
zlwu 8e70047f4c 提交 2026-07-01 18:52:26 +08:00
zlwu 7c838cfb2d 提交 2026-06-30 23:44:22 +08:00
zlwu d84f4b944c 提交 2026-06-29 11:15:39 +08:00
zlwuandCursor 493f8d6756 docs: 补充数据权限分批实施计划并更新知识图谱
记录 Phase 0–6 改造范围与 PR 切分建议,同步 backend/web-admin graphify 输出。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:35 +08:00
zlwuandCursor 98aec80d71 feat(pl): 运费结算审批分流与车辆挂车号等 PL 能力完善
拆分运费审批/出款页面,补充结算发票附件与菜单 SQL,并同步前后端模型与车辆相关展示。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:31 +08:00
zlwuandCursor 66d5a8714b feat(db): 地磅、操作日志与工作流补全数据权限过滤
DB 列表/仪表盘 scoped 聚合,操作日志按 user_id 过滤,工作流实例详情与审批前校验 scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:19 +08:00
zlwuandCursor 2905dc3d5f feat(bx): 报销模块接入数据权限过滤
新增 bx_data_scope 与 BxUserContext.to_user_info,列表/我的单据 AND scope,待办审批不加 scope,审批操作 skip_scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:18 +08:00
zlwuandCursor eff99edeea feat(pl): 运输计划模块接入数据权限过滤
新增 pl_data_scope 辅助,PL 列表/统计 apply_pl_scope,详情与改删 assert_pl_row_in_scope;运费结算待办审批 skip_scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:15 +08:00
zlwuandCursor bf73b6b2d8 feat(crm): 联系人、产品、报价与合同域接入数据权限过滤
补全 PR3 Phase 2.4–2.7,列表 apply_data_scope、详情/CUD assert_row_in_data_scope,合同/报价主表支持 owner_user_id。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 21:00:12 +08:00
zlwuandCursor ee531e9cfe feat(crm): 商机域接入数据权限过滤(PR3 Task 2.3)
主表列表/统计/看板/漏斗按 owner_user_id 过滤,CUD 与跟进/产品子表校验父商机 scope。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 20:33:05 +08:00
zlwuandCursor 3107d537f6 feat(crm): 客户与线索模块接入数据权限过滤
列表按 owner_user_id/create_by 过滤,详情与 CUD 校验 scope;公海客户列表保持租户内全员可见。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 20:30:41 +08:00
zlwuandCursor f5ab023ab5 feat(auth): 扩展数据权限核心能力并接入系统管理辅助接口
为 apply_data_scope 增加 owner_field 与行级校验,补充 DbUserContext.to_user_info() 及单元测试,并在用户/角色/字典下拉与用户详情接口生效。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-28 20:30:36 +08:00
zlwu 86450f38a1 提交 2026-06-25 08:06:32 +08:00
zlwu 6b6c80f182 提交 2026-06-23 23:30:57 +08:00
zlwu c90f72fd34 提交 2026-06-21 22:20:03 +08:00
zlwu cedb7ee681 提交 2026-06-21 12:56:33 +08:00
zlwu e46c0480d4 提交 2026-06-21 12:41:39 +08:00
zlwu 299609706c 提交 2026-06-21 09:19:07 +08:00