Commit Graph
51 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 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 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 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
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
zlwuandCursor 6c2121d7fc fix(bx): 发票夹多附件一次入账并优化查看列表展示
一次上传多个文件只创建一条发票与额度流水;管理端/我的发票夹查看列表改为缩略图附件,并调整弹窗与列宽。

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

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-25 15:47:10 +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 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 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 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 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 54b27a3f0e 提交 2026-07-05 10:07:24 +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 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
zlwu 86450f38a1 提交 2026-06-25 08:06:32 +08:00
zlwu 6b6c80f182 提交 2026-06-23 23:30:57 +08:00
zlwu e46c0480d4 提交 2026-06-21 12:41:39 +08:00
zlwu 299609706c 提交 2026-06-21 09:19:07 +08:00
zlwu c3be9d1dce 提交 2026-06-10 22:59:34 +08:00
zlwu 725774ef0c 提交 2026-06-07 00:40:01 +08:00
zlwu dacfdc9ff6 提交 2026-06-01 08:21:21 +08:00
zlwu 9b88581450 提交“ 2026-05-30 14:03:11 +08:00
zlwu 8e2dd8b9f0 提交 2026-05-17 08:36:37 +08:00
zlwu 058811ae77 提交 2026-05-12 22:07:53 +08:00