|
|
@ -599,7 +599,7 @@ namespace QMAPP.FJC.TRACING.StateActions |
|
|
|
PbomDAL pbidal = new PbomDAL(); |
|
|
|
var bomlocations = pbidal.LocateBom(materials); |
|
|
|
//确定物料组成数量一致
|
|
|
|
var bomlocation = bomlocations.FirstOrDefault(p => p.SubCount == materials.Length); |
|
|
|
//var bomlocation = bomlocations.FirstOrDefault(p => p.SubCount == materials.Length);
|
|
|
|
if (bomlocations.Count > 0) |
|
|
|
return bomlocations[0]; |
|
|
|
else |
|
|
|