修改了序列号增加参数

This commit is contained in:
2025-05-08 15:23:53 +08:00
parent 6d0e2e0068
commit 8114b95a71
4 changed files with 35 additions and 2 deletions

View File

@@ -313,7 +313,9 @@ namespace WMS.Web.Repositories
response.Specifications = _erpBasicDataExtendService.GetMaterialSpecifications(materials, entity.serial.MaterialNumber);
if (entity.boxInventory != null)
response.IsBoxInventory = entity.boxInventory.Details.SelectMany(s => s.SerialNumbers).Where(w => serialNumber.Equals(w)).Count() >= 1 ? true : false;
response.IsTwo = entity.serial.IsTwo;
response.TwoSerialNumber=entity.serial.TwoSerialNumber.Replace(entity.serial.SerialNumber,"").Replace(",","");
response.IsNotCount=entity.serial.IsNotCount;
return response;
}