liufumingren
|
f40370baca
|
feat(print): 打印电脑管理增强(录制、软删除、独立接口)
- print_computer: 新增录制字段(is_recording/recording_size/remote_play_url/recording_directory/deleted_at)
- print_stations: 新增 deleted_at 软删除
- 新增 printComputer service (systemMethods + systems)
- order_print 重构: 商品信息从 picking 表直读,不再依赖 order_items
- 8 条迁移: 录制→软删除→权限→目录
|
2026-07-27 03:47:09 +08:00 |
|
liufumingren
|
b485f8e9f1
|
feat(camera): 新增摄像头/录制模块 (camera/camera_server/pack_task_video)
- 新增 model: camera, camera_server
- 新增 services: camera, cameraServer (systemMethods + systems)
- 新增 pack_task_video 表及录制状态管理
- 7 条迁移: 建表→设备字段→端口拆分→状态枚举
|
2026-07-27 03:46:51 +08:00 |
|
liufumingren
|
5b3180ff34
|
feat(workbench): 新增工作台/打包台模块 (workbench/pack_task)
- 新增 model: workbench, pack_task, pack_task_packer
- 新增 systemMethods: workbench (finishPack/sendWeight/操作日志)
- systems/workbench 扩展: 波次订单ID获取、打包操作日志白名单
- 10 条迁移: 建表→扩展→权限→重构
|
2026-07-27 03:46:37 +08:00 |
|
liufumingren
|
aedd815e17
|
feat(order.packing): 新增打包任务模块 list/get/setEndTime/forceRecord 方法及视频 CDN URL 拼接
- 新增 order.packing.list: 打包任务列表查询,支持分页/筛选/排序,关联工作台/视频/运单
- 新增 order.packing.get: 打包任务详情查询
- 新增 order.packing.setEndTime: 设置结束时间,未完成任务自动标记为已完成
- 新增 order.packing.forceRecord: 强制重新录制,推送打印服务
- pack_task_video Model status 从 TINYINT 改为 STRING(20) 匹配 DB ENUM
- 视频 URL 拼接 CDN 前缀: http://w{warehouseId}-c{computerId}.o.gztbyc.com{videoPath}
- 录制电脑从 wms_print_computer(is_recording=true) + Redis 在线校验获取
- 更新 methods/system.json 与 methods/changes/system.json 文档
|
2026-07-27 03:41:24 +08:00 |
|
liufumingren
|
52aa76af60
|
fix: OrderExpress 查询添加仓库隔离 + workbench 业务增强
- _queryOrder: OrderExpress 查询增加 warehouse_id 过滤,避免跨仓库数据泄露
- _queryOrder: 新增订单商品明细查询,关联 stock 详情(带缓存)
- _packOrder: 同一工作台新任务进入时自动关闭上一个未结束任务
- order_packing.js: quickWhere 运单号查询增加 warehouse_id 过滤
- recheckOrder.js: getWaveOrdersBasic 运单查询增加 warehouse_id 过滤
- order_print.js: queryOrderExpressByOrderIds 增加 warehouseId 参数
- waybill.js: toOrder 运单查询在用户已登录时增加 warehouse_id 过滤
|
2026-07-21 20:53:53 +08:00 |
|
liufumingren
|
04305fffd6
|
feat: stock.transaction 新增 where.ids 精确筛选,支持导出选中记录
之前 where.ids 传入完全被忽略,导致导出内容与用户选中的记录不符。
queryList/exportList 现已支持 ids 数组精确筛选 wms_stock_transaction.id。
|
2026-07-17 02:26:10 +08:00 |
|
liufumingren
|
df8173cecd
|
feat: 新增 stock.transaction 商品流水导出 + keyword 商品搜索
- systems/stock_transaction.js: 新增 exportList() 异步导出 Excel(上限50000条)
- 新增 _resolveKeywordToStockIds() 关键词→stock_id 解析
- queryList/exportList 支持 keyword 模糊搜索(按 item_code/item_name/goods_code/barcode/SKU ID)
- systemMethods/stock/transaction.js:
- 新增 export/exportStore/exportTaskProgress 异步导出方法
- list/storeList/export/exportStore 全部透传 keyword
- storeList 新增 warehouse_id/stock_id 单数兼容
- methods/system.json + changes/system.json: 新增3个method文档
|
2026-07-17 01:48:12 +08:00 |
|
liufumingren
|
3e813c4975
|
fix: 将 storage.report 模块迁移至 stock.report,修正语义错误
库存报表属于 stock(商品库存)域而非 storage(库位存储)域。
变更:
- systemMethods/storage/report.js → systemMethods/stock/report.js
- 类名 StorageReportMethodService → StockReportMethodService
- 缓存键 storage_report_export_ → stock_report_export_
- 日志前缀 [storage.report] → [stock.report]
- methods/system.json: module + 5 method 名同步更新
- methods/changes/system.json: 追加迁移记录
- systems/storage/entry.js: 注释引用修正
旧文件直接删除,不保留兼容(旧 method 名为语义错误)。
|
2026-07-17 00:30:54 +08:00 |
|
liufumingren
|
fddd142427
|
fix: custom_barcode 唯一约束改为仓库级别,修复 batchUpdateSpaceInfo 等条码检查跨仓库问题
|
2026-07-10 18:10:11 +08:00 |
|
liufumingren
|
6d58d7ff1f
|
docs: 仓储报表微调 + methods 接口文档同步更新
- storage/report: 报表逻辑微调
- methods/system.json: storeWarehouse 系列接口文档更新
- methods/changes/system.json: 新增 2026.07.08/07.09 变更记录
|
2026-07-09 03:36:19 +08:00 |
|
liufumingren
|
ca5c8a269e
|
feat: 推单二级校验 + 快递分配异步化 + 打印 stock_id 直读
- delivery_order: 新增 auth_status=2 + warehouse_use_status=1 二级签约校验
- express: createWaybillCodePipeline 支持 awaitTasks/onBatchComplete 选项
- pendingOrder: allocateExpressCode 异步进度缓存 + cancelAllocateStorage 拣货完成前置校验
- order_print: 新增 wms_picking.stock_id→wms_stock_warehouse 直读路径,消除 order_items 强依赖
|
2026-07-09 03:36:15 +08:00 |
|
liufumingren
|
b9ead1fba2
|
refactor(storeWarehouse): 签约体系重构 — 统一主体维度、移除角色校验、list 拆分
- sign: 统一当前主体→store_id(货主方/消费方),对方→warehouse_id(仓库方/提供方)
- getCounterparty: 移除 expectedRole 角色校验,仓库可签仓库、货主可签货主
- list: 拆分为 listForStore/listForWarehouse,warehouse 侧支持查询外部合作仓库
- 新增 buildListWhereByStoreId 统一按 store_id 维度构建查询条件
- 响应新增 counterparty_role / needs_my_confirm / has_qimen_config 字段
|
2026-07-09 03:36:09 +08:00 |
|
liufumingren
|
19f0449992
|
fix: 手工运单号防误删三层防护 + 操作日志businessId修正
1. hardDeleteWaybillAsyncOrderExpressRows 加 status:0 过滤,保护手工录入 status=1 记录
2. createWaybillCodePipeline 入口跳过 business_key=1 且已分配运单的订单
3. manualWaybill 操作日志 businessId 从仓库ID 修正为订单ID String(orderId)
4. 新增 14 个单元测试,全部通过
|
2026-07-07 17:06:43 +08:00 |
|
liufumingren
|
76c52fa268
|
use_status 重命名为 warehouse_use_status,新增 store_use_status;仓库/货主侧独立控制签约使用状态,unbind 按身份分派字段
|
2026-07-06 22:12:23 +08:00 |
|
liufumingren
|
41ef9b40de
|
新增 storeWarehouse.warehouse.list API:仓库侧查询签约货主列表
|
2026-07-06 22:07:10 +08:00 |
|
liufumingren
|
4e20831386
|
dashboard 货主端自适应分支:storeStats/express_ratio/platform_distribution 按 store_type 区分仓库/货主查询,货主端跨仓汇总
|
2026-07-06 22:07:06 +08:00 |
|
liufumingren
|
9c6d984ebc
|
新增 stock.transaction.list API:商品出入库流水查询(仓库/货主侧自适应),含 system.json 文档注册
|
2026-07-06 22:07:02 +08:00 |
|
liufumingren
|
276d76f65d
|
新增拣货状态字段输出
|
2026-07-06 17:15:29 +08:00 |
|
liufumingren
|
2817d17fc7
|
1
|
2026-07-06 00:33:12 +08:00 |
|
liufumingren
|
7f05b26db2
|
1
|
2026-07-04 21:40:31 +08:00 |
|
liufumingren
|
5d7964132e
|
1
|
2026-07-03 16:56:39 +08:00 |
|
liufumingren
|
478ad2ab0d
|
1
|
2026-07-03 16:10:46 +08:00 |
|
liufumingren
|
34273c166b
|
1
|
2026-07-02 22:08:47 +08:00 |
|
liufumingren
|
5ef99e3bed
|
1
|
2026-07-01 14:00:59 +08:00 |
|
liufumingren
|
e7fcd2549e
|
20260625
|
2026-06-25 02:01:59 +08:00 |
|
liufumingren
|
569a25390f
|
1
|
2026-06-24 07:36:43 +08:00 |
|
liufumingren
|
77435aeb79
|
1
|
2026-06-23 18:48:33 +08:00 |
|
liufumingren
|
d743e67b9d
|
1
|
2026-06-17 01:18:55 +08:00 |
|
liufumingren
|
025184904a
|
1
|
2026-06-14 19:03:58 +08:00 |
|
liufumingren
|
0b207a1c9c
|
1
|
2026-06-10 09:14:05 +08:00 |
|
liufumingren
|
43c60dd934
|
1
|
2026-06-09 14:12:02 +08:00 |
|
liufumingren
|
0e50ff6671
|
1
|
2026-06-08 08:58:13 +08:00 |
|
liufumingren
|
c2b5ffc319
|
1
|
2026-06-07 20:42:24 +08:00 |
|
liufumingren
|
eb100b056d
|
1
|
2026-06-07 01:52:06 +08:00 |
|
liufumingren
|
99367e5043
|
1
|
2026-06-06 05:15:46 +08:00 |
|
liufumingren
|
4beefcd22c
|
feat(print,docs,migrations): add notifyLock, order export, express fields and related docs
notifyLock method + logs
print.send logs
order export methods + docs
express model fields SPH/XHS/DW/JD + migration
platform_shop_id migration
notifyLock docs
order export docs
|
2026-05-30 17:30:17 +08:00 |
|
liufumingren
|
abf2c4d94a
|
1
|
2026-05-29 16:47:38 +08:00 |
|
liufumingren
|
dc4894cb6d
|
1
|
2026-05-25 17:08:56 +08:00 |
|
liufumingren
|
150e2977d4
|
修改快递接口配置,拼多多取号,未完成
|
2026-05-22 08:39:07 +08:00 |
|
liufumingren
|
8cf2c5befa
|
1
|
2026-05-20 16:31:29 +08:00 |
|
liufumingren
|
b629b59d4b
|
fix(print): callback sync order print_status by order_ids
|
2026-05-20 04:55:16 +08:00 |
|
liufumingren
|
cd01be6fbd
|
收货部分更改
|
2026-05-17 21:51:46 +08:00 |
|
liufumingren
|
adb1a16599
|
1
|
2026-05-16 23:00:49 +08:00 |
|
liufumingren
|
9845a239e2
|
1
|
2026-05-16 02:44:53 +08:00 |
|
liufumingren
|
736ad34351
|
打印台管理变更
|
2026-05-14 15:57:51 +08:00 |
|
liufumingren
|
e980512db7
|
回退wavePickTaskList方法
|
2026-05-14 12:02:02 +08:00 |
|
liufumingren
|
61c530c0cc
|
1
|
2026-05-14 04:00:07 +08:00 |
|
liufumingren
|
81785081a2
|
团购打印面单
|
2026-05-13 17:23:24 +08:00 |
|
liufumingren
|
0c3518e65d
|
1
|
2026-05-13 03:18:39 +08:00 |
|
liufumingren
|
9c2b254206
|
1
Co-authored-by: Copilot <copilot@github.com>
|
2026-05-11 08:44:27 +08:00 |
|