This commit is contained in:
tongfei
2023-11-24 14:29:57 +08:00
parent 9ab4575f19
commit 5f71e20802
9 changed files with 90 additions and 32 deletions

View File

@@ -25,7 +25,7 @@ namespace WMS.Web.Domain.Entitys
/// <summary>
/// 入库类型
/// </summary>
public OrderType Type { get; set; }
public InstockType Type { get; set; }
/// <summary>
/// 入库方式1按箱2按产品
/// </summary>

View File

@@ -33,7 +33,7 @@ namespace WMS.Web.Domain.Entitys
/// <summary>
/// 入库类型
/// </summary>
public OrderType Type { get; set; }
public InstockType Type { get; set; }
/// <summary>
/// 收货人
/// </summary>
@@ -72,7 +72,7 @@ namespace WMS.Web.Domain.Entitys
/// <param name="type"></param>
/// <param name="sourceBillNo"></param>
/// <param name="createTime"></param>
public void Create(OrderType type,string sourceBillNo, DateTime createTime)
public void Create(InstockType type,string sourceBillNo, DateTime createTime)
{
this.Status = InstockStatus.Wait;
this.Type = type;

View File

@@ -99,9 +99,9 @@ namespace WMS.Web.Domain.Entitys
/// 入库
/// </summary>
/// <param name="inStockBillNo">出库单号</param>
public void InStock(string inStockBillNo, OrderType type)
public void InStock(string inStockBillNo, InstockType type)
{
if (type == OrderType.Purchase_In)
if (type == InstockType.Purchase)
this.InStockBillNo = inStockBillNo;
}
}