转库单接口增加是否要子表字段
This commit is contained in:
@@ -4,5 +4,9 @@ namespace Tnb.WarehouseMgr.Entities.Dto
|
||||
{
|
||||
public class CarryStockInput : PageInputBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 0 不显示 1 显示
|
||||
/// </summary>
|
||||
public int showDetails { get; set; } = 1;
|
||||
}
|
||||
}
|
||||
@@ -165,7 +165,10 @@ namespace Tnb.WarehouseMgr
|
||||
wmsCarryStockReportCodes.Add(wmsCarryStockReportCode);
|
||||
});
|
||||
|
||||
stockReport.Details = wmsCarryStockReportCodes;
|
||||
if (input.showDetails == 1)
|
||||
{
|
||||
stockReport.Details = wmsCarryStockReportCodes;
|
||||
}
|
||||
}
|
||||
|
||||
return stockReport;
|
||||
|
||||
Reference in New Issue
Block a user