出库修复
This commit is contained in:
@@ -32,6 +32,11 @@ namespace WMS.Web.Domain.Entitys
|
||||
[Column("BillNo")]
|
||||
public string BillNo { get; set; }
|
||||
/// <summary>
|
||||
/// 出货方式
|
||||
/// </summary>
|
||||
[Column("Method")]
|
||||
public InventoryInOutMethod Method { get; set; } = InventoryInOutMethod.Box;
|
||||
/// <summary>
|
||||
/// 单据类型
|
||||
/// </summary>
|
||||
[Column("Type")]
|
||||
@@ -99,10 +104,11 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// 创建(需要在明细都生成后最后调用)
|
||||
/// </summary>
|
||||
/// <param name="creatorId"></param>
|
||||
public void Create(int creatorId, OutStockTask task)
|
||||
public void Create(int creatorId, OutStockTask task,int method)
|
||||
{
|
||||
this.TaskId = task.Id;
|
||||
this.Type = task.Type;
|
||||
this.Method = (InventoryInOutMethod)method;
|
||||
this.DeliveryOrgId = task.DeliveryOrgId;
|
||||
this.ReceiptCustomerId = task.ReceiptCustomerId;
|
||||
this.CreatorId = creatorId;
|
||||
|
||||
Reference in New Issue
Block a user