物料收发明细
This commit is contained in:
@@ -79,5 +79,33 @@ namespace WMS.Web.Domain.Services
|
||||
|
||||
return Result.ReSuccess();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 生成dto
|
||||
/// </summary>
|
||||
/// <param name="boxId"></param>
|
||||
/// <param name="materialId"></param>
|
||||
/// <param name="orgCode"></param>
|
||||
/// <param name="stockCode"></param>
|
||||
/// <param name="subStockId"></param>
|
||||
/// <param name="orderType"></param>
|
||||
/// <param name="billNo"></param>
|
||||
/// <param name="qty"></param>
|
||||
/// <param name="inventoryInOutType"></param>
|
||||
/// <returns></returns>
|
||||
public InventoryInOutDetailsGenerateDto GenerateDto(int boxId,int materialId,string orgCode,string stockCode,int subStockId, OrderType orderType,string billNo,decimal qty, InventoryInOutType inventoryInOutType)
|
||||
{
|
||||
var item = new InventoryInOutDetailsGenerateDto();
|
||||
item.BoxId = boxId;
|
||||
item.MaterialId = materialId;
|
||||
item.OrgCode = orgCode;
|
||||
item.StockCode = stockCode;
|
||||
item.SubStockId = subStockId;
|
||||
item.OrderType = (int)orderType;
|
||||
item.OrderBillNo = billNo;
|
||||
item.Qty = qty;
|
||||
item.InventoryInOutType = (int)inventoryInOutType;
|
||||
return item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user