liufumingren
0c5170faac
fix(order): 修复视频号浏览器打印报缺少 orders.contents 的问题
...
视频号(微信小店)订单为平台原生 taskList 任务结构(taskID/printInfo/printNum/splitControl/showDeliveryLogo/customInfo/extendData),不含 contents。按 WMS printer_data_template/sph.json 与 express_print_payload_builder 的 sph 分支组装 { command:'print', version:'2.0', requestID, taskList, printType, size, printer } 下发;同时为通用分支补齐 contents/预构建载荷的 JSON 字符串兼容与失败诊断日志。
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-04 11:01:21 +08:00
liufumingren
093053391a
fix(order): 修复分配子单号始终提交数量 1 的问题
...
提交时改为由表单组件通过 submit 事件回传实际输入的子单号数量,待处理/异常/配送订单三个入口统一以该数量调用接口;移除从不更新的冗余表单状态并补充整数校验。
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-04 10:18:34 +08:00
5b3528b601
feat(stock): add stock management dialogs and fix combo quantity handling
...
新增库存表单、批量编辑和回收处理弹窗,完善库存管理流程
调整库存首页及相关组件交互,统一任务面板样式与操作体验
修复组合商品在创建待处理订单时的数量展开逻辑,确保库存选择与计划数量一致
更新订单称重和订单复核页面及配置,优化业务操作流程
调整收货商品相关展示逻辑,适配最新库存数据流
2026-11-03 18:21:39 +08:00
267b97330d
feat(setting): 权限/角色/自动回复左侧树面板统一,小程序配置表单改版
...
左侧树面板统一(对齐 setting/role)
- 新增 permission/components/PermissionTreePanel.vue:220px 白底面板 + 右侧分隔线 +
顶部搜索(仅过滤树节点,不影响右侧列表),「全部类型」根节点默认展开
- 权限页改用该组件,移除页内树与冗余样式,容器改为整页贴边卡片
- RoleTreePanel 增加默认展开根节点,并在树数据重建后保持展开状态
- 自动回复页左侧同步该样式:220px、隐藏滚动条、搜索框置顶;
「新增类型 / 刷新」按钮暂时注释
- 自动回复「系统预设」类型/子类型改为只读摘要卡片(替代整张禁用表单),
自定义类型/子类型仍为可编辑表单
基础管理 / 小程序配置(MiniProgramConfigForm)
- 「代注册企业小程序」「发起微信认证」两个弹窗改为 task-panel 风格:
自定义头部 + 关闭按钮、min(px, 94vw) 宽度、字段栅格化
- 表单项 label 宽度统一为 110px,顶部 alert 说明改为底部提示文案
- 信息表单类名改为 mp-form--rows,与弹窗字段行样式保持一致
工具栏按钮与配置
- basicManagement/newview、role 页面补上 category 透传,避免按钮样式全部落到
默认灰边分支
- basicManagement 模板配置 category 语义改为 refresh / setting / action / cancel,
与 OrderToolbarButtonGroup 对齐
订单导出
- ORDER_EXPORT_ALL_COLUMNS 新增「拦截状态」(流程状态组),总数 53 → 54;
注释标注:接口文档枚举暂未收录,需后端同步支持该表头
其他
- 配送计划复制 / 编辑弹窗、店铺快递绑定策略的多选下拉统一开启
collapse-tags + collapse-tags-tooltip,避免标签横向溢出
- RolePermissionDialog 宽度收窄为 min(880px, 96vw)
2026-11-02 18:08:16 +08:00
7958f0fd12
feat(inbox): 自动回复/会话页面改版,权限管理迁移 UpperTable,统一状态文本样式
...
自动回复(inbox/autoReply)
- 页面改为「左侧类型/子类型树 + 右侧配置区」两栏布局,树支持按类型名/子类型搜索
- 右侧类型信息与子类型列表重排:子类型改用 UpperTable,操作收敛为「配置 / 编辑 / 删除」链接按钮
- FunctionPanel / GroupPanel / NumberRulePanel 改用 UpperTable(统一 table-id、行 key 与列定义)
- KeywordPanel 关键词编辑改为 task-panel 弹窗,补充字段说明文案
- panel.scss 增补共享面板样式,减少各面板重复定义
会话消息(inbox/message)
- 会话链路由行内展开改为 task-panel 弹窗,时间线重做(收发方向标签、时间右对齐、
消息卡片悬停态),支持直接「回复」并在弹窗内展示收发条数统计
品牌 Logo(frontBrand / Navbar / login)
- 新增 DEFAULT_BRAND_LOGO 常量与 isBrandExemptHost 计算属性
- 品牌豁免域名(主域名)恒用前端默认 Logo,不再消费后端 logo_url
- 登录页与顶栏统一改用该常量,修正兜底路径 '../../../public/logo/1.png'
权限管理(setting/permission)
- 列表迁移到 UpperTable(permissionColumns 抽到 permission-config)
- 新增「路径 / 名称 / 标题」关键字过滤、客户端分页、工具栏按钮组与批量删除(按勾选态置灰)
通用组件
- UpperTable 新增 selectionMode='native':树形表格使用原生勾选列,展开箭头不再挤占勾选列,
并统一勾选框尺寸与行高
- 消息模块 DocSearchPicker 改为「单行筛选 + 表格填满高度 + 底部内嵌分页」,
新增重置、已选提示(多选时提示只取第一条)
样式与交互统一
- 售后类型列表/详情、账号角色列的状态标签改为 ut-status-text 彩色文本(去掉 el-tag 色块)
- 售后列表、拣货车、打印电脑/工作台模板配置的工具栏按钮统一为
refresh / setting / action / cancel 四类,批量操作按 noSelection 置灰
- ExpressWaybillPanel 表格内容居中;绑定包材弹窗成功后直接关闭并移除结果展示区
- 隐藏拣货车「详情」入口与角色树面板头部
2026-11-01 18:07:39 +08:00
6053b8916f
feat(stock): 新增拣货缺货补货页面并统一弹窗样式
...
新增「拣货缺货(缺货补货)」页面
- 基于 views/mode 模板 v2:ScanBox 筛选 + 工具栏(刷新/导出选中/字段设置)+ 汇总指标
(SKU 总数 / 缺货 SKU / 建议补货 / 真实缺货)
- 表格展开行展示「补货库位明细」(存货区与分拣区库存),替代原侧栏「缺货明细」面板
- 路由 stock/pickingShortage/index 改为指向新页面,原补货需求页保留在
storage/management/replenishmentDemand
- UpperTable 新增 showExpand 属性与 expand 插槽,支持通用展开行
perf(order): 订单模块参照数据复用缓存并降低切页开销
- 新增 utils/order-meta-cache.ts:快递公司 / 平台 / 店铺列表 60s 缓存,key 带
当前 token(切账号自动失效),请求失败不落缓存
- 订单管理 8 个页签、待处理建单、储位分配、同步订单号等改为复用该缓存
- 角标查询增加 3s 节流(手动刷新强制)、tab→角标字段改反查表、
选中订单 ID 改 computed,避免切页签重复请求与重复计算
- 状态文本 class 改为查表 + 结果缓存,减少大列表单元格渲染开销
feat(task-progress): 进度弹窗成功后统一 1.5 秒自动关闭
- 新增 components/task-progress/useAutoCloseOnSuccess.ts:成功延时关闭、失败保持
打开、手动关闭/组件卸载清理定时器
- 波次抓取 / 波次批量 / 快速扫描、同步订单号、批量异步任务、储位分配等接入
- 同步更新《进度条弹窗-使用清单》
style(ui): 继续统一弹窗与详情面板为 task-panel 风格
- 店铺策略配置 / 一键开户、快递接口配置、收货详情面板、待处理订单详情、
订单商品明细等页面重排为自定义头部 + 关闭按钮、min(px, 96vw) 宽度、
双列栅格与静态信息行
- 收货详情面板拆为「表单区可独立滚动 + 图片区固定」
- ScanBox 多选折叠标签气泡固定向下弹出、限宽换行,方便逐个移除标签
- 异常单 / 待处理单批量处理的订单 ID 改为胶囊换行展示
- 带远程搜索的下拉补充 remote-show-suffix,面单数量输入占满右侧剩余宽度
2026-10-31 18:10:51 +08:00
c2b8a9fe5e
refactor(ui): 统一各模块弹窗为 task-panel 风格并完善交互细节
...
将 20+ 处 el-dialog 统一为自定义头部(标题 + 说明 + 关闭按钮)的 task-panel
布局,宽度改为 min(px, vw) 自适应,表单单列/双列栅格化,补齐底部提示与
滚动区域,移除冗余的 title/footer 默认样式;并顺带移除部分弹窗中已失效的
提示文案。
包含范围:
- 系统设置:角色/权限/账号/工作台/打印电脑/拣货车、基础管理(报表定义、
应用、配送计划、详情面板)
- 订单:波次策略、绑定包材、面单面板、售后退货相关弹窗
- 仓储:收货建单、出库转单、盘点(表单/记录)、库存明细、组合商品
- 消息/售后/物料/装箱流水/自动回复等模块的表单与详情弹窗
feat(video): 新增录像播放失败原因诊断
- 新增 utils/videoDiagnose.ts:结合 <video> error.code 与源地址探测
(HEAD,失败回退 Range GET)区分证书失效 / 断网 / CORS / 404 / 超时 /
编码不支持,给出可读原因与排查建议
- packingflow、returnUnpack 的 VideoPlayerDialog 与 VideoListDialog 接入,
错误态展示原因、建议与录像地址,异步结果按序号丢弃过期响应
feat(stock-check): 支持静态盘点拣货完成标记
- stock.check.ts 补充 picking_completed / locked_quantity / detail_id /
location_id / snapshot_quantity 等字段类型与口径注释
- 盘点记录面板对 picking_completed=0 的商品展示「拣货中」标签(仅提示,
不拦截上报)
feat(wave): 波次策略快速扫描成功后 1.5 秒自动关闭弹窗
- 失败保持打开以便查看错误;同步更新《进度条弹窗-使用清单》
2026-10-29 18:02:23 +08:00
60e7b4d132
1
2026-10-28 18:00:13 +08:00
liufumingren
b12420e5a9
feat(stock-check): 添加盘点商品支持多行商品查询
...
- 商品查询框改为多行文本域,支持换行一行一个(去空行、去重)并展示已识别数量
- 查询条件统一为 where.stock_query = { operator: 'contains', value: [...], type: 'text' } 数组下发
- 支持 Ctrl+Enter 快捷查询,Enter 保留换行
- 补充 storage.inventory.list 的 stock_query 数组用法注释
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-28 07:44:28 +08:00
liufumingren
d76d3c6746
feat(stock-check): 新建盘点支持静态盘点并在审核时提示锁定
...
- 新建盘点新增 isStatic 参数(0 关闭 / 1 开启),仅商品盘点显示并传递,库位盘点不传
- 盘点任务回包新增 is_static,列表与详情展示静态盘点标记
- 审核通过确认框对静态盘点任务额外提示:锁定移库、分配储位(拣货不受影响),盘点完成后自动解锁
- 操作列按钮配置支持 confirmMessageWhen 动态确认文案与 HTML 渲染
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-28 07:37:11 +08:00
41a3563bce
1
2026-10-27 19:10:53 +08:00
liufumingren
b7d302d65a
fix(svg):修正退出全屏的svg图标
2026-10-27 00:34:15 +08:00
liufumingren
0601dca37d
fix(express-interface):面单余量不属于表单内容,移除
2026-10-27 00:27:27 +08:00
liufumingren
e2e1aeaa95
feat(express-interface): pick 产品编码 from the express product type list
...
- read product_types from index.getShopExpressList and keep it keyed by both
wp_code and sys_express_code, mirroring the existing site option mapping
- render 产品编码 as a filterable select labelled "名称(编码)" and keep storing
the code; hide the field entirely when the express returns no product_types
- clear a stale product_type when the express / platform / shop changes
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-27 00:21:21 +08:00
liufumingren
9aa6e4ca0d
fix(login): surface business failures and localize the login panel art
...
- request interceptor: treat flag=failure / success=false as a business error
even when code is 0 (the gateway returns code 0 for login failures), so the
backend message is shown instead of being swallowed
- tag already-notified errors so callers do not toast twice
- user store: throw a readable error when the login response has no token
(previously crashed on null.token and the login page silently ignored it)
- login page: show an error message for errors the interceptor did not report
- replace the remote gw.alipayobjects.com decoration with a local svg
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-27 00:20:48 +08:00
liufumingren
e9c73ecd79
feat(nav): collapse top menu into a local-only "More" menu and fix navbar icons
...
- top menu: compute available width via flex layout (fixed logo / right-menu),
collapse the overflow into a "更多" sub menu with one item per line and
right-side flyout for nested menus
- align menu item heights (remove el-sub-menu 2px border causing 3px offset),
rotate the "更多" caret when opened
- add local svg icons: fullscreen / exit-fullscreen / time / message / email
(were referenced but never added, so the toolbar icons rendered empty)
- navbar icons follow the light text color instead of inheriting dark gray
- replace the empty chat button image with the ChatDotRound icon
- drop the external IM redirect in AiChat: the panel now stays in-app
- localize the avatar fallback (was wpimg.wallstcn.com)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-27 00:20:15 +08:00
bb92c720fd
refactor: update dialog components for consistent styling and button sizes
...
- Adjusted button sizes in CameraPreviewDialog and OperationCellRenderer for uniformity.
- Enhanced the layout and structure of ServerFormDialog and sign dialog to improve user experience.
- Implemented a new task panel design for better alignment and readability in various dialogs.
- Added computed properties for dynamic subtitles and footers in the sign dialog.
- Replaced ElMessageBox.prompt with a custom rename remark dialog for better styling consistency.
2026-10-26 17:59:21 +08:00
liufumingren
ad15972f20
feat: enhance user profile management and security features
...
- Added new API functions for account information retrieval and username/password updates.
- Updated AccountSecurity component to reflect password status and provide password management options.
- Removed BasicInfoForm and OperationLogs components, streamlining the profile interface.
- Enhanced UserInfoCard to allow username editing directly within the card.
- Improved overall user experience with loading states and error handling during API calls.
- Updated profile configuration to remove unused mock data and components.
2026-10-26 09:34:07 +08:00
e8b3eda895
1
2026-10-23 18:00:35 +08:00
7a8a087b17
1
2026-10-22 18:00:49 +08:00
0d57e2d04a
1
2026-10-21 18:00:05 +08:00
52536bb9e3
1
2026-10-20 18:00:51 +08:00
06cb62fad1
1
2026-10-19 18:01:46 +08:00
f9cc3b73e8
1
2026-10-18 17:57:06 +08:00
697e50c51e
1
2026-10-17 18:08:29 +08:00
b92f40734a
1
2026-10-16 18:00:04 +08:00
liufumingren
cf674d9fd0
feat(setting.warehouse): 自动出库规则改为数组结构并新增顶层开关
...
- 新增 auto_outbound_enabled 顶层开关,auto_outbound_rules 改为规则数组(多条为「或」,规则内条件为「与」)
- 移除 auto_outbound_rules 旧的 normalize 逻辑:不再按旧对象结构补齐子项,否则数组会被改写为对象并被 schema 回退成 [],导致用户配置保存时被静默清空
- 表单字段定义同步为 array 类型,更新各项 label/描述与默认值
2026-10-16 05:18:47 +08:00
a344ba9544
2
2026-10-15 18:16:35 +08:00
993b73fc9d
1
2026-10-15 17:57:29 +08:00
931410c36d
1
2026-10-14 18:00:07 +08:00
liufumingren
a38529fa29
feat(dashboard): 首页应用下载新增数据大屏(Android TV)直接下载入口
2026-10-13 22:44:10 +08:00
ac66dce6cf
1
2026-10-13 17:59:29 +08:00
1925741ada
1
2026-10-12 18:01:25 +08:00
714a300a10
1
2026-10-10 18:04:26 +08:00
liufumingren
66a40bbec4
refactor(库存盘点): 明细面板统一走 stock.check.result(detail 已不再返回明细列表)
2026-10-10 04:33:39 +08:00
liufumingren
460c8984b9
feat(库存盘点): 已完成任务新增导出盘点明细(stock.check.exportDetail 异步导出)
2026-10-10 04:24:50 +08:00
liufumingren
dbf7654c0b
feat(库存盘点): 添加盘点商品时按任务货主限定只显示该货主的商品
2026-10-09 20:51:56 +08:00
743f714246
1
2026-10-09 17:59:55 +08:00
0cea3df5d5
1
2026-10-08 18:01:10 +08:00
liufumingren
bb80fd7130
perf(构建): 拆分 vendor chunk,入口 3.9MB -> 204kB
...
vite.config 增加 manualChunks 按库拆分与 chunkSizeWarningLimit;china-division 换用不含街道级的 pca-code.json(省 1.75MB);CreatePendingOrderDialog 改为异步组件,xlsx/china-division 不再进首屏。构建告警清零。
2026-10-08 01:10:16 +08:00
liufumingren
457d4d23d6
feat(订单管理): 订单列表新增复核时间(recheck_time)筛选、字段列与导出字段
...
待处理(含待出库)/配送/待处理异常/归档 4 个页签新增「复核时间」ScanBox 区间筛选与列表列;order.export 白名单「时间信息」组新增「复核时间」。
2026-10-08 01:10:13 +08:00
liufumingren
ec153b2267
fix(订单导出): 导出字段表头对齐后端新枚举(商品种数→订单商品总类数,商品件数→订单商品总数)
2026-10-07 23:50:43 +08:00
liufumingren
674f159780
feat(订单导出): 导出下拉四项统一先选字段,「导出全部」也挂上字段设置
2026-10-07 23:40:49 +08:00
897d95f046
1
2026-10-07 18:16:55 +08:00
liufumingren
b31eef97c2
fix(仪表盘): PDA 版本信息字段对齐 latest.json
...
- PdaVersionInfo 改为 { version, file, url, sha256, publishedAtUtc }
- 模板取 publishedAtUtc / url(原 publishedAt / downloadUrl 已不存在)
2026-10-07 05:04:30 +08:00
liufumingren
2cdedda6f2
fix(商品): 统一列表查询 where 为 operator/value/type 结构
...
外仓商品页(stock/external_stock):
- 筛选条件改用 buildStockQuery;原来把 ScanBox 的 {value,operator,type} 拍平成裸值,后端解析失败(搜索条件格式错误)
- 筛选字段对齐系统商品页:修复「货物编码」被标成条码、重复两个「条码」;库存数量改 number;Y/N 开关改 boolean;分组/操作符统一
- 筛选不再重置工具栏选择的仓库
其余页面统一:
- 收回/组合商品选择弹窗、商品回收站:where 统一改用 buildStockQuery
- 合计 5 处调用 stock.warehouse.list 的页面全部为嵌套规范
2026-10-06 20:05:21 +08:00
liufumingren
0b00014427
feat(退回记录): 新增退回记录多标签页(退回收件任务/退回收件登记/退回拆包单/未退登记/收件/退回拆包作业)
...
新增:
- data/returnrecord tab 合并页 + router/map 映射(支持 ?tab= 刷新回到该页签)
- api/returnreceivedtask(list/create/delete-ids)
退回收件任务:
- 列表/筛选(关键词移至工具栏、是否有登记)/分页;新建(仅标题,批次号服务端生成);多选批量删除;登记数列(el-tag)
收件 tab:
- 左=锁定任务+扫码登记表单(无左侧label),右=该任务登记列表(语义化列+'-')
- 备注可复用下拉(localStorage)且常驻;扫码枪焦点无关自动登记(防双提交)
- 仅从任务列表「登记收件」进入,切走即移除页签
其它:
- 退回拆包单内嵌「拆包作业」入口;作业页键盘监听随激活态收放;进行中任务离开拦截
- 退回收件登记移除内置扫码表单/扫描人员工号;点 tab 清筛选;运单退回登记更名未退登记
- ScanBox/弹窗/单位换算等若干交互修复
2026-10-05 20:13:35 +08:00
bf5471bd1b
1
2026-10-04 17:59:56 +08:00
43cafbba83
1
2026-10-03 18:00:19 +08:00
ef732ca2c6
1
2026-10-02 18:09:50 +08:00