Commit Graph
92 Commits
Author SHA1 Message Date
zlwuandCursor ba3f2c19bb feat: store and search product name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:18:59 +08:00
zlwu f3693be913 提交 2026-08-06 09:58:20 +08:00
zlwu 5cf67f60d1 提交 2026-08-04 15:33:41 +08:00
zlwu 5fe53c5481 提交 2026-08-04 14:02:01 +08:00
zlwuandCursor 594e4ce38e feat(crm): sync contract number date segment with sign date
Align standard contract nos on create/update (keep seq, bump on collision),
preview the change in contract forms, and sync name parentheses.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:46:11 +08:00
zlwu a56b170976 提交 2026-08-02 09:28:47 +08:00
zlwuandCursor 06956b742b feat(crm): add tenant-level contract approver setting with submit prefill
Mirror the quote approver setting so contract submit dialogs can prefill ordered approvers from a tenant config page while remaining editable.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 13:37:23 +08:00
zlwuandCursor ffbb5e36b3 feat(crm): implement quote approver setting model and upsert CRUD
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 13:03:35 +08:00
zlwuandCursor 3aafae6a9d feat(crm): add quote approver setting id helpers and unit tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 12:54:29 +08:00
zlwuandCursor 10c3c5470c chore: sync local PL/CRM/BX and migration work to new Gogs host
Bundle pending backend/web-admin feature updates, data-migration scripts,
and related docs so the V1.5 branch on the Tencent Cloud Gogs matches the
current workspace (excluding local secrets).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 09:19:21 +08:00
zlwuandCursor ba98108659 feat(crm): snapshot brand mode on quote and contract lines
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:23:50 +08:00
zlwuandCursor bfa0d50597 feat(crm): persist product brands and aliases on create/update
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:21:31 +08:00
zlwu bede140d12 提交 2026-07-26 21:06:09 +08:00
zlwuandCursor 31b0db6840 feat(bx): 报销可代选申请人,并放宽主数据选项的数据权限过滤
支持具备 changeApplicant 权限时代填申请人及发票/余额联动;系统/CRM/BX/PL 主数据与下拉选项改为仅租户隔离,避免「仅本人」导致空选项。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 23:27:23 +08:00
zlwu 8be55c08e9 提交 2026-07-16 08:13:05 +08:00
zlwu 3520f9ce90 提交 2026-07-12 18:23:02 +08:00
zlwu ffc89d9b57 提交 2026-07-12 12:04:43 +08:00
zlwu 54b27a3f0e 提交 2026-07-05 10:07:24 +08:00
zlwu 8e70047f4c 提交 2026-07-01 18:52:26 +08:00
zlwu d84f4b944c 提交 2026-06-29 11:15:39 +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 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 299609706c 提交 2026-06-21 09:19:07 +08:00
zlwu f9676f8759 提交 2026-06-06 19:44:18 +08:00
zlwu dacfdc9ff6 提交 2026-06-01 08:21:21 +08:00
zlwu 9b88581450 提交“ 2026-05-30 14:03:11 +08:00
zlwu 239d0a03d7 提交 2026-05-28 20:04:27 +08:00
zlwu 912ada02eb 提交 2026-05-28 19:11:31 +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 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 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 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