仓库-出库单,出库记录,批量查看,成品库等功能优化调整,出库逻辑调整

This commit is contained in:
2024-04-29 17:00:38 +08:00
parent c99118ea02
commit cffe4b138f
10 changed files with 352 additions and 17 deletions

View File

@@ -88,6 +88,15 @@ namespace ZR.Admin.WebApi.Controllers
{
result = _wmGoodsBatchSearchService.GetBatchOutRecordTreeLazyByPartnumber(parm);
}
// 按出库单号
else if (parm.Model == 3 && parm.Type == 1)
{
result = _wmGoodsBatchSearchService.GetBatchOutRecordByShipmentNum(parm);
}
else if (parm.Model == 3 && parm.Type == 2)
{
result = _wmGoodsBatchSearchService.GetBatchOutRecordTreeLazyByShipmentNum(parm);
}
}
if (result is null)
{

View File

@@ -39,6 +39,18 @@ namespace ZR.Admin.WebApi.Controllers
return SUCCESS(response);
}
/// <summary>
/// 查询成品库当前货物表列表(下拉菜单展示)
/// </summary>
/// <param name="parm"></param>
/// <returns></returns>
[HttpGet("dict")]
public IActionResult QueryWmGoodsNowProductionDict([FromQuery] WmGoodsNowProductionDictDto parm)
{
var response = _WmGoodsNowProductionService.GetDictData(parm);
return SUCCESS(response);
}
/// <summary>
/// 批量查询 父子节点