仓库-批量查看,出库记录根据批次号批量查看功能实现

This commit is contained in:
2024-04-26 15:19:57 +08:00
parent ebc4712da0
commit 9c77c90f5d
4 changed files with 100 additions and 21 deletions

View File

@@ -6,6 +6,7 @@ using ZR.Admin.WebApi.Filters;
using ZR.Model.MES.wms.Dto;
using ZR.Service.mes.wms.IService;
using ZR.Model.MES.wms;
using ZR.Model;
//创建时间2024-04-26
namespace ZR.Admin.WebApi.Controllers
@@ -39,12 +40,13 @@ namespace ZR.Admin.WebApi.Controllers
{
throw new ArgumentNullException(nameof(parm));
}
List<WmGoodsBatchTableDto> result = null;
// 父组件
PagedInfo<WmGoodsBatchTableDto> result = null;
// 树父列表
if (parm.Model == 1 && parm.Type == 1)
{
result = _wmGoodsBatchSearchService.GetBatchOutRecordByPackageCodeShort(parm);
}
// 树子列表
else if (parm.Model == 1 && parm.Type == 2)
{
result = _wmGoodsBatchSearchService.GetBatchOutRecordTreeLazyByPackageCodeShort(parm);