Browse Source

补充

master
songnan.zhang 2 years ago
parent
commit
8776904d6d
  1. 2
      APPQ5/QMAPP.FJC.TRACING/StateActions/SubmitData276PA.cs

2
APPQ5/QMAPP.FJC.TRACING/StateActions/SubmitData276PA.cs

@ -599,7 +599,7 @@ namespace QMAPP.FJC.TRACING.StateActions
PbomDAL pbidal = new PbomDAL(); PbomDAL pbidal = new PbomDAL();
var bomlocations = pbidal.LocateBom(materials); 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) if (bomlocations.Count > 0)
return bomlocations[0]; return bomlocations[0];
else else

Loading…
Cancel
Save