修改了
This commit is contained in:
@@ -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供应链系统是不需要了
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user