Commit Graph
169 Commits
Author SHA1 Message Date
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 6dcc279cc9 test(pl): verify feedback brand qty and refresh graphify
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:40:05 +08:00
zlwuandCursor 5c323f32c2 feat(web-admin): show brand qty on transport tab and highlight supplement actions
Expose driver per-product feedback on transport read, display site/driver
brand summaries in the transport tab, move supplement buttons to section
headers with primary highlight, and wire brand chips into IO/driver edit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:35:42 +08:00
zlwuandCursor b7236329c2 feat(web-admin): driver feedback dialog brand qty entry
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:31:22 +08:00
zlwuandCursor 2a215b2e1f feat(pl): driver public feedback by product and brand qty
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:29:21 +08:00
zlwuandCursor 006ed6586c feat(pl): site io-order feedback accepts and stores brand qtys
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:17:50 +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 79f87d39a7 feat(pl): add ORM models for feedback brand qty tables
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:11:51 +08:00
zlwuandCursor b658591818 chore(db): add feedback brand qty tables for site and driver
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-31 05:07:53 +08:00
zlwuandCursor dd4aa734ee chore: sync remaining local plan, form mapping and graphify cache
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 10:05:03 +08:00
zlwuandCursor 44a57b86ca chore: update graphify after brand/alias inventory work
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:38:07 +08:00
zlwuandCursor dd31fb53b6 chore(db): add optional script to split brand from product names
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:36:32 +08:00
zlwuandCursor 7aa995a9d6 feat(pl): show archive brand breakdown on inbound/outbound orders
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:36:15 +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 c35627d60a feat(pl): show brand constraint on plan product rows
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:31:51 +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
zlwuandCursor ea43150b8a feat(models): add product brand/alias and plan brand qty models
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:18:32 +08:00
zlwuandCursor 265a4ff4f7 chore(db): add product brand/alias and brand-level inventory schema
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 09:16:52 +08:00
zlwuandCursor b5c49e3fc8 chore: update graphify after pl_plan create_date
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 16:30:29 +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
zlwuandCursor bb7f05ffda feat(pl): add create_date to PlPlan model and schemas
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 16:29:35 +08:00
zlwuandCursor 5ebaec2e2e chore(pl): add pl_plan.create_date migration and DDL snapshot
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-27 16:27:32 +08:00
zlwu bede140d12 提交 2026-07-26 21:06:09 +08:00
zlwu 1e2e8ab0fc 提交 2026-07-25 23:29:48 +08:00
zlwuandCursor a46018a507 chore: track graphify AST cache and local worktrees metadata
Commit backend/graphify-out/cache and .worktrees so local graphify/worktree scaffolding is shared on this branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 23:28:55 +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
zlwuandCursor 6c2121d7fc fix(bx): 发票夹多附件一次入账并优化查看列表展示
一次上传多个文件只创建一条发票与额度流水;管理端/我的发票夹查看列表改为缩略图附件,并调整弹窗与列宽。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 21:42:30 +08:00
zlwuandCursor 074554ac4e docs(bx): document invoice wallet and refresh graphify
Update business inventory for invoice wallet tables/APIs/menus and mark
the design spec as implemented; refresh code knowledge graphs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 19:46:05 +08:00
zlwuandCursor 6092b685de feat(bx): debit invoice balance on submit; release on reject/withdraw
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 19:32:55 +08:00
zlwuandCursor 7a26e5cf58 feat(bx): invoice upload/delete APIs and wallet summary
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 19:13:23 +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 51668af872 feat(bx): add invoice wallet ORM models
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 18:58:26 +08:00
zlwuandCursor bb1b2b1375 feat(bx): add invoice wallet DDL, menu seeds, and design docs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 18:50:54 +08:00
zlwuandCursor 2380b01a4f chore: 补交 graphify AST 本地缓存文件
将此前未纳入版本库的 backend/web-admin graphify-out/cache/ast 缓存一并提交,便于知识图谱增量更新复用。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 15:49:24 +08:00
zlwuandCursor 87bd0d92b9 feat(pl): 承运商资质附件改为选填并支持拖拽粘贴上传
取消承运商营业执照/许可证/运输协议的必填校验,附件组件支持拖拽与区域粘贴上传,并同步知识图谱。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 15:47:10 +08:00
zlwuandCursor 55410191ec chore: 同步 PL 三方分册相关知识图谱
后端/前端 AST 图谱随证书门禁、粘贴识别与菜单分册改动更新。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 12:57:44 +08:00
zlwuandCursor c60ebfc082 feat(pl): 三方粘贴识别批量提交接口
新增 paste-recognize/commit,事务内处理车/人冲突策略与关联写入。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 12:52:09 +08:00
zlwuandCursor 8ba55dd6f6 feat(pl): 基础信息库四菜单分册(三方/山峡)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 10:54:48 +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
zlwu 68d96f87ff 提交 2026-07-22 21:26:33 +08:00
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 664acff1f3 feat(pl): 现场回执提交显式写入出入库单状态
删除首次提交自动改为已完成的隐式逻辑,改为由客户端传入 status。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-19 17:13:40 +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
zlwu c6eb4437d0 提交 2026-07-19 10:16:34 +08:00