修改了

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

@@ -45,7 +45,7 @@
"ZhangTaoId": "6723b1acf19987"//金蝶账套Id
},
"OpsOptions": {
"Url": "https://api.opsscm.test.f2b211.com/", //https://api.opsscm.test.f2b211.com/ //OPS供应链系统
"Url": "https://api.opsscm.test.f2b211.com/", //https://api.opsscm.test.f2b211.com/ //OPS供应链系统 测试http://127.0.0.1:8035
"UserName": "admin", //账户名 这是之前链接老ops 需要的用户名密码 现在链接 OPS供应链系统是不需要了
"PassWord": "888888" //密码 这是之前链接老ops 需要的用户名密码 现在链接 OPS供应链系统是不需要了
},

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;
}
else
{
response.TwoSerialNumber = "";
response.IsNotCount = "0";
}
response.IsNotCount = entity.serial.IsNotCount;
return response;
}