Explorar o código

应用调差工料至相同清单,清单下有锁定清单工料时,则不应用至

MaiXinRong %!s(int64=9) %!d(string=hai) anos
pai
achega
a51eb9d9bc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      DataModules/DetailGLDm.pas

+ 1 - 1
DataModules/DetailGLDm.pas

@@ -349,7 +349,7 @@ begin
     for iRec := iFirst to iLast do
     begin
       Rec := TDetailGLRecord(idx.Records[iRec]);
-      if Rec.LockedPhaseID > 0 then
+      if Rec.LockedPhaseID.AsInteger > 0 then
       begin
         Result := True;
         Break;