415 Commits

Author SHA1 Message Date
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
liufumingren
1836500043 feat(订单列表): 筛选新增商品重量区间与重量类型 2026-09-30 02:23:04 +08:00
liufumingren
e21a19cc85 feat(商品管理): 新增作业要求(拣货/复核/打包/合并)与列表筛选(是否有作业要求、毛重) 2026-09-30 02:23:04 +08:00
yin
2cf3806edf 1 2026-09-29 18:15:06 +08:00
yin
cf119f7ff3 1 2026-09-28 18:00:22 +08:00
yin
afe4298997 1 2026-09-26 18:00:37 +08:00
yin
835eede083 1 2026-09-25 17:59:55 +08:00
liufumingren
a01f1371db feat(待处理订单): 建单弹窗导入预览支持异常筛选、勾选批量删除与导出选中
筛选:预览表格新增「全部 / 有异常 / 正常」下拉(含计数),切换时同步异常口径、回到第 1 页并恢复勾选。

批量操作:新增「删除选中(N)」「导出选中(N)」;单行/批量删除后保持当前筛选与页码,并在当前筛选结果内选中下一行。

导出选中:列名与列序取自「下载模板」的模板表头(解析失败回退内置表头),一条明细含多商品拆多行,导出文件可直接再次导入;本地 XLSX 生成并下载。

重构:表头别名抽为 IMPORT_FIELD_ALIASES,导入解析(buildPreviewRow)与导出共用;重置弹窗时异常筛选还原为「全部」。
2026-09-25 03:14:43 +08:00