修复bug

This commit is contained in:
18942506660
2023-11-14 16:11:59 +08:00
parent e27c4ae5de
commit d02668a871
3 changed files with 14 additions and 11 deletions

View File

@@ -188,7 +188,7 @@ namespace WMS.Web.Domain.Services
{
var box = boxList.FirstOrDefault(f => f.Id == entity.BoxId);
//修改序列号和箱绑定关系
entity.OutStock(outStock.BillNo);
entity.OutStock(outStock.BillNo, outStock.Type);
//记录序列号操作日志
SerialNumberOperate op = new SerialNumberOperate()
@@ -316,7 +316,7 @@ namespace WMS.Web.Domain.Services
var instockDetail = inStock.Details.FirstOrDefault(f => f.MaterialId == entity.MaterialId);
var subStock = _singleDataService.GetSingleData(SingleAction.SubStocks, loginInfo.UserInfo.CompanyId, instockDetail.SubStockId);
//修改序列号和箱绑定关系
entity.InStock(inStock.BillNo);
entity.InStock(inStock.BillNo, inStock.Type);
//记录序列号操作日志
SerialNumberOperate op = new SerialNumberOperate()