修复bug

This commit is contained in:
18942506660
2023-12-18 17:27:10 +08:00
parent 64841320a8
commit d6d8490154

View File

@@ -385,6 +385,7 @@ namespace WMS.Web.Domain.Services
var detail = backRecord.Details.FirstOrDefault(w => w.SerialNumbers.Contains(entity.SerialNumber));
if (detail == null) continue;
var box = boxList.FirstOrDefault(f => f.Id == detail.BoxId);
if (box == null) continue;
//if (backRecord.Type == BackRecordType.InstockOff)
// entity.UnBind();
if (backRecord.Type == BackRecordType.OutstockOn)