项目代码/WMS/WMSServices/WIDESEA_BasicService/Service/LocationInfoService_Common.cs
@@ -119,7 +119,7 @@ else { bool LayerLimit = false; if (stockInfo.MaterielThickness<=700) if (stockInfo.CheckThickness <=700) { LayerLimit = true; } @@ -128,7 +128,7 @@ Dt_LocationInfo locationInfo = new Dt_LocationInfo(); foreach (var item in locationInfosMedium) { if (item.Layer == 7 || item.Layer == 8) if (LayerLimit && (item.Layer == 7 || item.Layer == 8)) { locationInfo = item; break; @@ -151,7 +151,7 @@ else { bool LayerLimit = false; if (stockInfo.MaterielThickness > 1300) if (stockInfo.CheckThickness > 1300) { LayerLimit = true; }