liufumingren
|
110d0685ee
|
fix(order): 团购解绑车改为任务全波次复核/打印完成才触发
- 复核侧:_resolveTaskIdByWaveFallback 由单波次订单复核检查改为任务下
全部关联波次订单 recheck_status 均完成才返回 taskId,避免复核一个波次
即解绑 wms_pick_task_cart_binding 并误将任务置为已完成
- 打印侧:tryUnbindCartAfterPrintComplete 团购(pick_mode 1/5)改为按任务
全波次订单 print_status 检查,全部打印完成才解绑;散单保持任务订单维度检查
|
2026-08-19 00:00:23 +08:00 |
|
liufumingren
|
943a20f582
|
fix(print): express 打印组件解析支持系统平台编码回退
- 淘宝 TB/天猫 TM/1688/TGC 等系统平台编码未在 wms_print_platform 直接匹配时,
经 wms_platform.print_platform_id 回退解析 wms_print_platform.platform_name
- 移除 loadExpressPlatformComponents 调试 console.log,改走 ctx.logger.info
- 新增 TB 回退解析成功与无映射失败的单元测试
|
2026-08-18 23:59:11 +08:00 |
|
liufumingren
|
a8200a3a35
|
feat(order): 订单拦截全链路阻断与作业排除
- 新增 app/lib/intercept_guard 共享守卫:除 none 外所有拦截状态一律视为已拦截
- 分配波次(singleFetchByIds)/抓取波次(createWavePickTask) 排除拦截订单并回传清单
- 分配储位(allocatePicking)/分配快递(createWaybillCodePipeline、batchAllocateExpress) 跳过拦截订单并回报
- 打印组装(getWavePlatformPrintData/getOrderPrintData/getPrintDataByWaybillCodes) 剔除拦截订单,打印回写/波次反查/标记均排除
- 拣货完成(wavePickTaskComplete) 拦截报错;复核(assertOrderCanRecheck/批量快捷复核) 补全拦截状态
- 打包/称重(workbench、order.updateExpressWeighingWeight) 拦截阻断,波次批量操作排除拦截单
- 绑定包材(order_express) 拦截阻断,波次批量绑定排除拦截单
|
2026-08-17 21:58:43 +08:00 |
|
liufumingren
|
a9a015117f
|
feat(print): 新增打印完成后异步解绑拣货车逻辑
- tryUnbindCartAfterPrintComplete: 接收 waveId,按团购/散单检测任务下所有订单 print_status
- 团购仅小团购(pick_mode=1)触发,统一用订单 print_status != 'none' 判断
- send() express 成功分支异步 fire-and-forget 调用,不阻塞返回
- 解绑时写入 unbind_user_id,从 ctx 上下文提取操作人
- 含 extractUniqueWaveIds 去重 + 18 项单元测试全部通过
|
2026-08-03 21:03:21 +08:00 |
|
liufumingren
|
5378fcd137
|
refactor(print): 打印模块重构
- 新增 systems/order_print.js 订单打印业务层(getPrintDataByWaybillCodes 等)
- print.js 删除 retry 补偿相关代码(normalizeRetrySendPayload/getRetryEligibility)
- order/print.js 新增 getPrintDataByWaybillCodes 方法
- printer_data_builder.js 新增 appendExtraCustomLines + extraCustomLines 参数支持
- polo_api_client.js 添加调试缓存
- 删除 print_retry_compensation 定时任务测试
|
2026-08-01 03:44:53 +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
|
5ef99e3bed
|
1
|
2026-07-01 14:00:59 +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
|
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
|
dc4894cb6d
|
1
|
2026-05-25 17:08:56 +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
|
9845a239e2
|
1
|
2026-05-16 02:44:53 +08:00 |
|
liufumingren
|
736ad34351
|
打印台管理变更
|
2026-05-14 15:57:51 +08:00 |
|
liufumingren
|
61c530c0cc
|
1
|
2026-05-14 04:00:07 +08:00 |
|
liufumingren
|
0c3518e65d
|
1
|
2026-05-13 03:18:39 +08:00 |
|
liufumingren
|
3d824a3a1d
|
chore: sync lint and service fixes
|
2026-04-09 01:36:49 +08:00 |
|
liufumingren
|
2f838186de
|
chore: sync updates and daylog 2026-03-26
|
2026-03-25 23:26:10 +08:00 |
|
liufumingren
|
ab26e1e8e7
|
chore: 全量提交,包含脚本、文档与配置等最新更改
|
2026-03-24 23:59:59 +08:00 |
|
|
|
63b4536766
|
chore: initialize wms project
|
2026-03-16 14:01:22 +08:00 |
|