修改了

This commit is contained in:
2025-05-09 13:52:14 +08:00
parent 8114b95a71
commit bdfbd1468e
2 changed files with 11 additions and 2 deletions

View File

@@ -314,8 +314,17 @@ namespace WMS.Web.Repositories
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;
if(entity.serial.TwoSerialNumber!=null)
{
response.TwoSerialNumber=entity.serial.TwoSerialNumber.Replace(entity.serial.SerialNumber,"").Replace(",","");
response.IsNotCount=entity.serial.IsNotCount;
response.IsNotCount = entity.serial.IsNotCount;
}
else
{
response.TwoSerialNumber = "";
response.IsNotCount = "0";
}
response.IsNotCount = entity.serial.IsNotCount;
return response;
}