统一单据类型

This commit is contained in:
tongfei
2023-11-24 14:05:19 +08:00
parent 7939a82557
commit 9ab4575f19
10 changed files with 115 additions and 34 deletions

View File

@@ -37,7 +37,7 @@ namespace WMS.Web.Domain.Entitys
/// <summary>
/// 明细
/// </summary>
public List<BackRecordDetails> Details = new List<BackRecordDetails>();
public List<BackRecordDetails> Details { get; set; } = new List<BackRecordDetails>();
/// <summary>
/// 创建

View File

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

View File

@@ -33,7 +33,7 @@ namespace WMS.Web.Domain.Entitys
/// <summary>
/// 入库类型
/// </summary>
public InstockType Type { get; set; }
public OrderType 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(InstockType type,string sourceBillNo, DateTime createTime)
public void Create(OrderType 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, InstockType type)
public void InStock(string inStockBillNo, OrderType type)
{
if (type == InstockType.Purchase)
if (type == OrderType.Purchase_In)
this.InStockBillNo = inStockBillNo;
}
}