调整出库单查询
This commit is contained in:
@@ -73,10 +73,12 @@ namespace WMS.Web.Domain.Entitys
|
||||
/// 创建
|
||||
/// </summary>
|
||||
/// <param name="creatorId"></param>
|
||||
public void Create(int creatorId,int taskId, OutStockType type)
|
||||
public void Create(int creatorId, OutStockTask task)
|
||||
{
|
||||
this.TaskId = taskId;
|
||||
this.Type = type;
|
||||
this.TaskId = task.Id;
|
||||
this.Type = task.Type;
|
||||
this.DeliveryOrgId = task.DeliveryOrgId;
|
||||
this.ReceiptCustomerId = task.ReceiptCustomerId;
|
||||
this.CreatorId = creatorId;
|
||||
this.CreateTime = DateTime.Now;
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace WMS.Web.Domain.Services
|
||||
//OutStock entity = await _outStockRepositories.GetByTaskId(dto.TaskId);
|
||||
|
||||
OutStock entity = new OutStock();
|
||||
entity.Create(loginInfo.UserInfo.StaffId, outStockTask.Id, outStockTask.Type);
|
||||
entity.Create(loginInfo.UserInfo.StaffId, outStockTask);
|
||||
foreach (var d in dto.Details)
|
||||
{
|
||||
//任务单明细
|
||||
|
||||
Reference in New Issue
Block a user