Commit Graph
140 Commits
Author SHA1 Message Date
zlwuandCursor a73ee89f44 feat(crm): add settlement clause default text helper
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 15:01:47 +08:00
zlwu 34e5fcf0be 提交 2026-08-16 14:58:19 +08:00
zlwuandCursor 49cad98c84 feat(duty): add schemas and duty_schedule service with capacity tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:12:13 +08:00
zlwuandCursor 99e4d4c69a fix(bx): allow reimburse submit when invoice wallet balance is insufficient
Drop the hard balance check in debit_reimburse so occupancy can exceed uploaded invoices; balance may go negative until later top-ups.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 20:57:54 +08:00
zlwu 5fcdb03da1 提交 2026-08-11 07:54:28 +08:00
zlwuandCursor 7898d65437 feat: add menu favorites API under /web/admin/menu-favorites
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:01:28 +08:00
zlwuandCursor 659fc89179 feat: store and search customer name pinyin initials.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 17:24:28 +08:00
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
zlwuandCursor fa9b3429c7 feat: add pinyin initial abbr helper for CRM names.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 16:57:05 +08:00
zlwu f3693be913 提交 2026-08-06 09:58:20 +08:00
zlwu 5cf67f60d1 提交 2026-08-04 15:33:41 +08:00
zlwuandCursor 5f2a6f2338 feat: public vehicle plate options for H5 fill pages; select-only plates
Add GET /api/public/db/vehicle-plates for unauthenticated fill/plan pages and remove manual plate entry plus auto-create.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 22:44: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 272c68af4b 提交 2026-08-02 17:18:33 +08:00
zlwuandCursor 479851ba4c feat(pl): expose photoUrls on vehicle and personnel APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-02 10:30:14 +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 5a9abfdd5d fix(pl): keep multi-brand site feedback when plan product row is stale
Persist submitted brand qtys even if plan brand_mode lookup fails; resolve soft-deleted plan products for brand metadata instead of substituting another product; stop seeding all actual qty onto the first brand option.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 07:06:41 +08:00
zlwuandCursor 156e4b63e5 fix(pl): treat required brand as preference in brand qty validation
Allow multi-brand feedback/archive rows when plan brandMode is required; only enforce sum equals actual qty.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 06:52:49 +08:00
zlwuandCursor b0346e688d feat(pl): add feedback brand qty persist helpers and tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:14:54 +08:00
zlwuandCursor cc2edfc61f feat(pl): post brand-level inventory on plan archive
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:34:07 +08:00
zlwuandCursor 32533948e3 feat(pl): validate and persist archive quantities by brand
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:32:36 +08:00
zlwuandCursor 349e031790 feat(pl): persist create_date on plan create APIs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 16:29:35 +08:00
zlwu bede140d12 提交 2026-07-26 21:06:09 +08:00
zlwuandCursor 1567762ceb feat(bx): invoice ledger balance service with unit tests
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 19:11:53 +08:00
zlwuandCursor d92bd7940e fix(pl): 取消承运商审核与资质协议准入门禁
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 10:49:12 +08:00
zlwuandCursor b071687a71 fix(pl): 三方车辆与人员保存跳过必备证书校验
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 10:45:26 +08:00
zlwuandCursor 664acff1f3 feat(pl): 现场回执提交显式写入出入库单状态
删除首次提交自动改为已完成的隐式逻辑,改为由客户端传入 status。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:13:40 +08:00
zlwuandCursor 4f69a9b904 feat(pl): 出入库单读时 enrichment 取送货与产品扩展字段
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 16:39:20 +08:00
zlwu 87f7f6bf38 提交 2026-07-14 19:53:35 +08:00
zlwu ffc89d9b57 提交 2026-07-12 12:04:43 +08:00
zlwu d84f4b944c 提交 2026-06-29 11:15:39 +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 c3be9d1dce 提交 2026-06-10 22:59:34 +08:00
zlwu 9b88581450 提交“ 2026-05-30 14:03:11 +08:00
zlwu b6c63591ea 提交 2026-05-28 00:15:29 +08:00
zlwu 276299ff27 提交 2026-05-20 15:10:55 +08:00
zlwu 62cfb8fbbf 提交 2026-05-17 12:31:11 +08:00
zlwu 8e2dd8b9f0 提交 2026-05-17 08:36:37 +08:00
zlwu 2e9d020d50 提交 2026-05-12 16:35:07 +08:00