优化接口
This commit is contained in:
@@ -216,9 +216,6 @@ namespace WMS.Web.Domain.Services
|
|||||||
x.SerialNumbers.AddRange(current_box_mat_serNums);
|
x.SerialNumbers.AddRange(current_box_mat_serNums);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
//需要填写序列号
|
|
||||||
//需要修改库存
|
|
||||||
//需要同步金蝶
|
|
||||||
|
|
||||||
entity = await _inStockRepositories.Add(entity, isTransaction);
|
entity = await _inStockRepositories.Add(entity, isTransaction);
|
||||||
if (entity == null)
|
if (entity == null)
|
||||||
@@ -231,9 +228,7 @@ namespace WMS.Web.Domain.Services
|
|||||||
{
|
{
|
||||||
task.Details.ForEach(x =>
|
task.Details.ForEach(x =>
|
||||||
{
|
{
|
||||||
var current_dto_det = dto.Details.Where(x => x.MaterialId == x.MaterialId).FirstOrDefault();
|
x.DeliveredQty = x.ReceiveQty;
|
||||||
if (current_dto_det != null)
|
|
||||||
x.DeliveredQty = current_dto_det.Qty;
|
|
||||||
});
|
});
|
||||||
task.Shelf(loginInfo.UserInfo.StaffId);
|
task.Shelf(loginInfo.UserInfo.StaffId);
|
||||||
task =await _inStockTaskRepositories.Update(task,isTransaction);
|
task =await _inStockTaskRepositories.Update(task,isTransaction);
|
||||||
|
|||||||
Reference in New Issue
Block a user