From c77b12be2cba9562c012565207607ba0ade811d7 Mon Sep 17 00:00:00 2001 From: liufumingren Date: Fri, 21 Aug 2026 23:34:10 +0800 Subject: [PATCH] =?UTF-8?q?docs(storage):=20=E7=A7=BB=E9=99=A4=20storage.e?= =?UTF-8?q?ntry=20=E8=A1=8C=E7=BA=A7=E6=95=B0=E9=87=8F=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=8E=E5=8F=98=E6=9B=B4=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - methods/system.json: 移除 storage.entry.list/listStore 的 list[].total_quantity / list[].received_quantity 字段说明 - methods/changes/system.json: 移除 storage.entry.list-row-quantity 变更记录 --- methods/changes/system.json | 17 ----------------- methods/system.json | 24 ------------------------ 2 files changed, 41 deletions(-) diff --git a/methods/changes/system.json b/methods/changes/system.json index 1c2b4a7..a550334 100644 --- a/methods/changes/system.json +++ b/methods/changes/system.json @@ -1,21 +1,4 @@ [ - { - "version": "2026.08.21-storage.entry.list-row-quantity", - "date": "2026-08-21", - "type": "enhanced", - "summary": "storage.entry.list / storage.entry.listStore 列表每行新增 total_quantity(该入库单商品总数量,计划数)与 received_quantity(已入库数量)字段:按当前页入库单批量聚合 wms_entry_items 明细(SUM(count)/SUM(received_quantity))注入,与 total_order_lines(单据总行数/品类数)区分,无明细行时补 0。", - "methods": [ - "storage.entry.list", - "storage.entry.listStore" - ], - "notes": [ - "app/service/systems/storage/entry.js list:receivingBindings 批量查询后新增按 order_id 分组的 EntryItems 聚合,注入 enrichedRows 每行的 total_quantity/received_quantity", - "聚合仅针对当前页入库单 ID,不影响筛选/分页/排序逻辑", - "向后兼容:仅新增行级字段,list/pagination/summary 既有结构不变", - "同步更新 methods/system.json 中 storage.entry.list 与 storage.entry.listStore 的 response(新增 list[].total_quantity / list[].received_quantity)" - ], - "module": "storage" - }, { "version": "2026.08.21-returnUnpack.orderLocationLane", "date": "2026-08-21", diff --git a/methods/system.json b/methods/system.json index 8b501c0..d174630 100644 --- a/methods/system.json +++ b/methods/system.json @@ -21809,18 +21809,6 @@ "required": true, "description": "入库单列表" }, - { - "name": "list[].total_quantity", - "type": "number", - "required": true, - "description": "该入库单商品总数量(计划数,明细 count 合计,区别于 total_order_lines 单据总行数/品类数)" - }, - { - "name": "list[].received_quantity", - "type": "number", - "required": true, - "description": "该入库单已入库数量(明细 received_quantity 合计)" - }, { "name": "pagination", "type": "object", @@ -21902,18 +21890,6 @@ "required": true, "description": "入库单列表" }, - { - "name": "list[].total_quantity", - "type": "number", - "required": true, - "description": "该入库单商品总数量(计划数,明细 count 合计,区别于 total_order_lines 单据总行数/品类数)" - }, - { - "name": "list[].received_quantity", - "type": "number", - "required": true, - "description": "该入库单已入库数量(明细 received_quantity 合计)" - }, { "name": "pagination", "type": "object",