Commit Graph
601 Commits
Author SHA1 Message Date
wuzilongandCursor 5a8a9048d4 fix(pl): 新规则归档超额按客户选证,并修正用证提示与启用口径。
安排/归档失败改为可执行原因;证件保存后自动启用、只读不再假启用;
customer_category 归档超额改为客户+品类证件池,避免误查合同绑证。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 16:46:09 +08:00
wuzilongandCursor ba62ec7b36 fix(pl): 证书齐备待完善列表将多选列置于首列。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 15:13:14 +08:00
wuzilongandCursor f41e47601d fix(pl): 归档再次打开时按实际数量回填运费运输量。
resetFreightCalc 在产品已加载后会清空运输量且不再触发 watch,导致再次归档误报运输量须大于0。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 15:03:44 +08:00
wuzilongandCursor e0598ed07b fix(pl): 证件建档后自动启用,取消期初确认门槛。
保存即写入期初已用0并置为active;Web/H5仅保留复核入口,存量未确认证在读取或选证时自动补期初。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:53:43 +08:00
wuzilongandCursor 02d576abfe fix(pl): 证书齐备待完善归档不再误出齐备按钮。
归档结转无用量行时保留待完善错误文案,前端按计划齐备状态只提醒完善证件。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:51:45 +08:00
wuzilongandCursor 95ecb7236e fix(pl): 计划详情用关联证件附件替换危化品证书区。
Web 与 H5 详情将关联购买证/运输证移到装送货后并以附件卡片展示;用证接口回填证件附件 URL。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:46:46 +08:00
wuzilongandCursor ea46761f40 feat(pl): 合同用证改为客户用证并修复列表筛选。
证件额度按客户展示;Web 客户列表改用 toQueryParams,修复 buildQuery is not a function。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 14:46:46 +08:00
wuzilong d5f3a79ea5 fix(pl): 新规则安排不再被本地合同绑证缺口误拦。
H5 运输计划验收发现 customer_category 在服务端自动选证已通过时,前端仍用合同绑证空缺拦截安排;同步用证面板从占用回填证号并补专项单测。
2026-11-15 08:22:46 +08:00
wuzilong c5ae2d957c fix(pl): 对齐移动 H5 证书齐备 2.0 与合同用证提示。
H5 齐备页补齐待完善/完善并关闭,修正会误导归档可跳过额度的文案;合同用证增加新规则只读说明,并补相关单测。
2026-11-15 08:04:38 +08:00
wuzilong 9f855423d8 fix(pl): 客户品类规则预占不再依赖合同绑证 scope。
新规则自动选证后账本仍按合同绑证判定适用,导致预占报人工分配不适用;改为客户品类路径跳过 scope,明细合同绑证字段可空,并统一关联购买证文案。
2026-11-15 08:01:14 +08:00
wuzilongandCursor a6fc0aa0f3 fix(pl): 运输证解析回填客户,并将证面引用改名为关联购买证。
运输证按收货单位精确匹配系统客户;Web 与移动 H5 同步改名与回填逻辑。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 07:44:08 +08:00
wuzilongandCursor c460386583 fix(pl): 证件解析后回填系统客户与证用品类。
解析结果不再只写旧合同绑定器;按证面名称精确匹配并填入客户与品类下拉。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 07:38:55 +08:00
wuzilongandCursor e8cda33a3c fix(pl): 修复客户品类证件额度选证与回显问题。
优先消耗有到期日的证件,补齐品类产品选择与运输证适用品类回显,避免新规则安排与建档展示失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-15 07:13:42 +08:00
wuzilongandCursor b0c1bca683 fix(pl): 补齐客户品类证件额度三期收口项。
完善 H5 建档、归档待完善引导、齐备上传入口与新规则只读提示,并同步计划验收状态与单测。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:57:36 +08:00
wuzilongandCursor 208c93d192 fix(pl): 证件建档表单改为客户与品类绑定。
新增系统客户、证用品类字段并写入保存载荷;合同产品绑定收进旧规则折叠区,避免新规则仍被合同绑定挡住。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:38:48 +08:00
wuzilongandCursor 168e909914 fix(web-admin): 恢复 Excel 查看中 Ctrl/Cmd+C 复制选区
filterOnly 默认关闭 WorksheetCopy;打开复制权限并增加选区 TSV 快捷键兜底。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:34:37 +08:00
wuzilongandCursor a327ccf69a fix(web-admin): 修复 Excel 查看因工作表权限未 protect 误报加载失败
工作表 setPoint 须先 protect;表格已渲染成功后权限步骤抛错不再判定为整体加载失败。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-14 23:31:26 +08:00
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 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 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 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 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 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 eae5654f01 fix(pl): 证件建档按客户查询可添加合同,避免列表为空。
改用 CRM listContract 按 customerId 拉取,不再只取最近合同再前端过滤。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:48:17 +08:00
wuzilongandCursor 0baa6880f7 feat(doclib): 文档库支持多选文档后批量设置分享。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 17:43:16 +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 522b4be705 feat(pl): 装送货段增加同市标记,并同步额度证件与计划表单。
同市易制毒段只校验购买证;同步 Web/H5 表单、额度统计展示与相关回归测试。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-12 16:34:58 +08:00
wuzilongandCursor d58f6ea5bd feat(pl): 将证件建档列表的上传时间前移,并把证件类型改为标签展示。
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 22:33:10 +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 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
wuzilongandCursor e7f942b399 feat(bx): 报销支付按未结清余额分次冲抵和发放。
冲抵后的余额不再自动记成发放,发放和冲抵分开提交,未结清单据继续留在待处理。

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