PDA库存查询修改

This commit is contained in:
秦鸿展
2026-03-13 20:57:59 +08:00
parent 6db8a47b4c
commit 5bf7533353
@@ -462,8 +462,11 @@ public class MaterialInventoryApplicationService {
List<MaterialInventoryQueryListPO> list = materialInventoryDomainService.materialQueryList(materialInventoryQueryListDO);
// 批次属性填充,与按单移位一致
fillMaterialMoreDetailForInventoryQueryList(list);
// 主项子项结构,与移位详情 getInfoByApp 一致,每条主项下含一条 parent_copy 子项
buildParentChildForInventoryQueryList(list);
// 主项子项结构仅用于 0-全部、6-按容器,供移位表单复用;1-5 按货主/物料/批次/库位/物料库位 为合并汇总展示,不转主项子项
Integer queryType = materialInventoryQueryListDO.getQueryType();
if (queryType == null || queryType == 0 || queryType == 6) {
buildParentChildForInventoryQueryList(list);
}
return list;
}