增加客户

This commit is contained in:
18942506660
2023-12-06 11:23:46 +08:00
parent b511ef08fb
commit 8c8d5788cc
2 changed files with 11 additions and 3 deletions

View File

@@ -69,6 +69,11 @@ namespace WMS.Web.Domain.Entitys
///</summary>
[Column("InStockBillNo")]
public string InStockBillNo { get; set; }
/// <summary>
/// 收货客户
///</summary>
[Column("CustomerId")]
public int CustomerId { get; set; } = 0;
/// <summary>
/// 操作(绑定箱信息)
@@ -89,11 +94,14 @@ namespace WMS.Web.Domain.Entitys
/// 出库
/// </summary>
/// <param name="outStockBillNo">出库单号</param>
public void OutStock(string outStockBillNo, OutStockType type)
public void OutStock(string outStockBillNo, OutStockType type,int customerId)
{
this.BoxId = 0;
if (type == OutStockType.Sal)
{
this.OutStockBillNo = outStockBillNo;
this.CustomerId = customerId;
}
}
/// <summary>
/// 入库