You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chenchuchuan
1805bbdf94
fix(yqn): 入库批次区分计划/上架;退货回调补批次字段
入库查询(getInboundPlanInfo):
仓方分两段给批次——planBatchItems 是预报装箱、inboundBatchItems 是实际
上架。原来合并进同一个列表且不标来源,同一 SKU/箱会出现两条数量不同的
记录(计划 60 / 实收 58),宿主无法判断哪条是计划、短少核对失真。
InboundOrderBatch 增加 Phase 枚举(PLANNED / INBOUNDED)。
退货入库回调(API 142):
items[].batchParamNo(批次号)与 batchParam(批次属性)之前完全丢弃,
退回货品的批次/效期无法回填库存。ReturnLinePayload 增加 batchNo 与
batchParams。换标上架场景仓方不传 batchParam,为空列表属正常。
测试:入库批次阶段断言、退货回调批次字段断言。
全量 412 个测试通过。
Co-Authored-By: Claude <noreply@anthropic.com>
|
2 weeks ago |
| .. |
|
common/ecommerce/yqn
|
fix(yqn): 入库批次区分计划/上架;退货回调补批次字段
|
2 weeks ago |