采购单详情界面

This commit is contained in:
陈淳
2023-01-06 18:39:54 +08:00
parent fd018555fa
commit 4ff771b8a6
11 changed files with 480 additions and 188 deletions

View File

@@ -26,8 +26,20 @@ namespace Yi.Framework.ApiMicroservice.Controllers.ERP
{
var result = await _purchaseDetailsService.PageListAsync(input, page);
return Result.Success().SetData(result);
}
[HttpGet]
[Route("{id}")]
public async Task<Result> GetListByPurchaseId(long id)
{
var result = await _purchaseDetailsService.GetListByPurchaseIdAsync(id);
return Result.Success().SetData(result);
}
/// <summary>
/// 单查
/// </summary>