422 Commits

Author SHA1 Message Date
yin
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
yin
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
yin
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
yin
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
yin
e8b3eda895 1 2026-10-23 18:00:35 +08:00
yin
7a8a087b17 1 2026-10-22 18:00:49 +08:00
yin
0d57e2d04a 1 2026-10-21 18:00:05 +08:00
yin
52536bb9e3 1 2026-10-20 18:00:51 +08:00
yin
06cb62fad1 1 2026-10-19 18:01:46 +08:00
yin
f9cc3b73e8 1 2026-10-18 17:57:06 +08:00
yin
697e50c51e 1 2026-10-17 18:08:29 +08:00
yin
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
yin
a344ba9544 2 2026-10-15 18:16:35 +08:00
yin
993b73fc9d 1 2026-10-15 17:57:29 +08:00
yin
931410c36d 1 2026-10-14 18:00:07 +08:00
liufumingren
a38529fa29 feat(dashboard): 首页应用下载新增数据大屏(Android TV)直接下载入口 2026-10-13 22:44:10 +08:00
yin
ac66dce6cf 1 2026-10-13 17:59:29 +08:00
yin
1925741ada 1 2026-10-12 18:01:25 +08:00
yin
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
yin
743f714246 1 2026-10-09 17:59:55 +08:00
yin
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
yin
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
yin
bf5471bd1b 1 2026-10-04 17:59:56 +08:00
yin
43cafbba83 1 2026-10-03 18:00:19 +08:00
yin
ef732ca2c6 1 2026-10-02 18:09:50 +08:00
yin
9913eba441 1 2026-10-02 18:04:11 +08:00
yin
72127ac45e 1 2026-10-02 18:03:43 +08:00
liufumingren
eb305306eb feat(库存盘点): 明细平铺/批量删除、库位级联选择器与 addDetail 新契约
- 明细面板:库位行内商品平铺成行、新增「明细类型」列、批量删除明细(stock.check.detailDelete,按明细ID去重,上限 200)

- 新增 LocationPicker(仓库→库区→货架→库位逐层下拉,v-model 为库位ID数组),「添加盘点库位」接入该组件

- addDetail 改走 location_ids(优先于 locations),补 invalid_location_ids 提示

- 删除调试用临时文件 temp_stockcheck_tail.txt
2026-10-02 03:22:21 +08:00
yin
4d89cd31d0 1 2026-10-01 18:02:41 +08:00
liufumingren
4dc90ac539 1 2026-10-01 09:07:35 +08:00
yin
48dbe020ff 1 2026-09-30 18:13:53 +08:00