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