Commit Graph
1107 Commits
Author SHA1 Message Date
wuzilongandCursor cd94ebc56d feat(pl): 购买证运输证改为客户品类额度并支持齐备完善。
按客户与证用品类自动选证,未配置生效时间拦住安排;齐备仅放行安排,归档前须完善挂证,并补充迁移与测试造数脚本。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:31:01 +08:00
wuzilongandCursor aad74505c0 feat(web-admin): 列表 Excel 查看改为 Univer 只读在线表格
点击工具栏打开可筛选、复制的只读弹层,替换原行列点选复制模式,且不写回业务数据。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:25:18 +08:00
wuzilongandCursor 43e240ad6a feat(web-admin): add copy-to-clipboard for attachment images
Let users copy images next to download on shared attachment cards, preview toolbars, and list cells so they can paste into chat or docs without saving files first.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:18:34 +08:00
wuzilongandCursor 53987bdf22 fix(web-admin): keep cancelled plan stop feedback and refresh plan detail from API
作废/取消计划仍展示已有分段回传;打开计划详情始终回源,避免列表 seed 滞后。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 21:16:44 +08:00
wuzilongandCursor 85f5f29895 fix(pl): clear plan-cert conversion queue after saved ratio or waiver
证书齐备豁免或已填写完整人工换算的计划不再标「需单位换算」,避免已归档豁免单长期挂在待办列表。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 21:10:34 +08:00
wuzilongandCursor 8bffb1cbf5 fix(web-admin): restore fold icon in production and toggle archive planNo.
Remove Tailwind inline from el-icon so production CSS no longer collapses the header fold control, and expose 计划编号 in the plan-archive column picker.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 21:10:15 +08:00
wuzilongandCursor a4d213231c feat(web-admin): split recharge summary by fuel/ETC and fix pnpm workspace
Show fuel-only cards on fuel routes and ETC-only cards on ETC routes with a 5-column layout, and declare packages in pnpm-workspace.yaml so pnpm 9+ can build.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 20:39:48 +08:00
wuzilongandCursor 7ebbaa2784 docs: add recharge 发放中 status design and plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:48:55 +08:00
wuzilongandCursor 553c1ef316 feat(web-admin): show recharge pending status as 发放中
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:48:04 +08:00
wuzilongandCursor f75d36e1ff fix(pl): revert disbursed recharge apply to pending and rename label
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:46:57 +08:00
wuzilongandCursor a86ded9ea6 fix(pl): include pending recharge applies in approval menu badge
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:45:51 +08:00
wuzilongandCursor c8174ab3f2 feat(pl): set recharge apply to pending when entering disburse node
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:43:57 +08:00
wuzilongandCursor 01d607d766 feat(web-admin): open cert maintain dialog on reminder page
Keep users on the document reminder list by reusing vehicle/personnel
form dialogs instead of navigating away to base-info pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:29:37 +08:00
wuzilongandCursor fba478dcca docs: add document reminder edit-jump design and plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:24:37 +08:00
wuzilongandCursor c4852bd488 feat(web-admin): open personnel edit dialog from editId query
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:24:27 +08:00
wuzilongandCursor 64f14814bd feat(web-admin): open vehicle edit dialog from editId query
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:24:24 +08:00
wuzilongandCursor 7f54923acf feat(web-admin): add maintain-cert action on document reminder list
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:23:25 +08:00
wuzilongandCursor 0f1446b5d7 feat(web-admin): add useRouteEditIdOpen for deep-link edit dialogs
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:23:23 +08:00
wuzilongandCursor c0fa3ccfd9 feat(web-admin): add document reminder jump path resolver
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:22:49 +08:00
wuzilongandCursor ed5784d1f7 docs: add ETC/fuel recharge split design and implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:15:14 +08:00
wuzilongandCursor a4a8c2de58 chore(sql): split ETC and fuel recharge menus with role sync
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:11:49 +08:00
wuzilongandCursor 0a7eb97d14 fix(web-admin): redirect legacy etc-recharge recharge paths to fuel
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:06:08 +08:00
wuzilongandCursor efd7462e35 feat(web-admin): split etc and fuel recharge router groups
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:05:43 +08:00
wuzilongandCursor 345149dd6b feat(web-admin): add dedicated ETC vehicle recharge pages
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 19:03:00 +08:00
wuzilongandCursor 95a9c04fa6 fix(web-admin): restrict legacy recharge pages to non-ETC types
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 18:56:19 +08:00
wuzilongandCursor a7938a3b80 fix(web-admin): show recharge summary only on fuel-recharge routes
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 18:53:29 +08:00
wuzilongandCursor 738f76c486 feat(pl): add rechargeTypeNe filter for vehicle recharge lists
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 18:50:41 +08:00
wuzilong 9f65cd447f merge: 合入证件建档按客户查询合同修复(#24)。 2026-11-12 17:48:18 +08:00
wuzilongandCursor eae5654f01 fix(pl): 证件建档按客户查询可添加合同,避免列表为空。
改用 CRM listContract 按 customerId 拉取,不再只取最近合同再前端过滤。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:48:17 +08:00
wuzilong 71927bedef merge: 合入文档库多选批量设置分享(#25)。 2026-11-12 17:44:52 +08:00
wuzilongandCursor 0baa6880f7 feat(doclib): 文档库支持多选文档后批量设置分享。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:43:16 +08:00
wuzilongandCursor dd4fdf1e6e feat(doclib): 增加批量设置分享接口并复用单文档写入逻辑。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:42:34 +08:00
wuzilongandCursor 92a8b3f6da feat(doclib): 增加批量设置分享 API 客户端。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:42:06 +08:00
wuzilongandCursor 522ef36e7a feat(doclib): 允许多选可管理文档分享并计算分享人交集。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:41:48 +08:00
wuzilongandCursor bb75f98582 docs: 增加文档库多选批量分享实现计划(#25)。
按 TDD 拆分前后端任务,覆盖交集预选、batch-shares 事务与页面接入。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:39:49 +08:00
wuzilongandCursor bf89a1f301 docs: 记录文档库多选批量分享设计(#25)。
明确整份覆盖、交集预选、batch-shares 事务与 Web 弹窗扩展范围,供实现对照。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:36:51 +08:00
wuzilong 391e5f66f5 merge: 合入合同改号同步运输计划快照修复(#23)。 2026-11-12 16:34:58 +08:00
wuzilongandCursor 522b4be705 feat(pl): 装送货段增加同市标记,并同步额度证件与计划表单。
同市易制毒段只校验购买证;同步 Web/H5 表单、额度统计展示与相关回归测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:34:58 +08:00
wuzilong bfb611b2e1 fix(crm): 合同改号后同步运输计划合同号快照。
归档列表读 pl_plan_contract 快照,改 CRM 合同编号时同事务回写,避免列表与详情不一致。
2026-11-12 16:34:37 +08:00
wuzilongandCursor d58f6ea5bd feat(pl): 将证件建档列表的上传时间前移,并把证件类型改为标签展示。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 22:33:10 +08:00
wuzilongandCursor 36010c604a chore(miniprogram): 将小程序环境切回本机以便本地联调。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 18:09:09 +08:00
wuzilongandCursor cc5cf78bcd feat(pl): 增加百链充值类型,并保留计划产品与证件上传时间。
充值单号按类型使用 ETC、YK、SX、BL 前缀;更换装货客户清空产品时不抹掉已有计划产品;运输证件列表展示上传时间。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 17:55:21 +08:00
wuzilongandCursor af8d4d90fa feat(pl): 调整加油登记列表排序、必填项和顶部汇总区。
按登记日期倒序列表并增加列统计,期初公里数改为必填,车辆统计卡片改为待开发。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 17:51:57 +08:00
wuzilongandCursor 574e2d9b31 feat(pl): 运输证件五个页签支持按销售单位和购买单位模糊检索。
小程序检索沿用原有关键字,在编号和品名之外匹配证件主体以及计划供方、需方。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:44:58 +08:00
wuzilongandCursor 8e679da8e3 feat(pl): 在现场日历复制文本中统计入库和出库车次。
便于按产品一眼看出入出数量,并把入库明细排在出库前面。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:41:07 +08:00
wuzilongandCursor 66bad6b219 fix(pl): 拆分小程序运输证件页签权限,并让证书齐备列表避开证件类型路由。
页签按独立菜单显示,销售办证员默认不含证书齐备;证书齐备接口先于通配证件路径注册,避免 plans 被当成证件类型。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-07 12:19:28 +08:00
wuzilongandCursor af79aa50a2 fix(pl): 司机回执缺品牌数量时仍保存单据,并按业务结果提示成败。
未填写品牌数量不再拦截照片和备注;已填写的品牌数量仍校验。小程序在 HTTP 200 的业务失败下不再弹出保存成功。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-06 23:57:34 +08:00
wuzilongandCursor 13ed7f5be0 fix(pl): 将证书齐备改为独立菜单权限,避免取消授权后仍随计划段次用证显示。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-06 17:39:18 +08:00
wuzilongandCursor 421332cad4 feat(pl): 证书齐备默认只看待安排前的跟进状态。
Web 列筛选和移动端跟进状态下拉默认勾选草稿中、等通知、待安排。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-05 21:14:18 +08:00
wuzilongandCursor da3ec62719 feat(pl): 吨千克克和升毫升按固定比例折算用证量。
同质量或体积单位不再要求手填系数,普通 http 页面也能生成幂等操作号。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-05 21:14:15 +08:00