修复bug
This commit is contained in:
@@ -191,6 +191,7 @@ namespace WMS.Web.Domain.Services
|
|||||||
{
|
{
|
||||||
var box = boxList.FirstOrDefault(f => f.Id == entity.BoxId);
|
var box = boxList.FirstOrDefault(f => f.Id == entity.BoxId);
|
||||||
var outstockDetail = outStock.Details.FirstOrDefault(f => f.MaterialId == entity.MaterialId);
|
var outstockDetail = outStock.Details.FirstOrDefault(f => f.MaterialId == entity.MaterialId);
|
||||||
|
if (outstockDetail == null) continue;
|
||||||
//修改序列号和箱绑定关系
|
//修改序列号和箱绑定关系
|
||||||
entity.OutStock(outStock.BillNo, outStock.Type);
|
entity.OutStock(outStock.BillNo, outStock.Type);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user