소스 검색

合同支付,直接输入金额时,不考虑起扣金额等限制

MaiXinRong 9 년 전
부모
커밋
afd53fcb25
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      DataModules/DealPaymentDm.pas

+ 2 - 2
DataModules/DealPaymentDm.pas

@@ -440,12 +440,12 @@ procedure TDealPaymentData.sdvDealPaymentSetText(var Text: string;
     begin
       Rec.ValueByName('Formula').AsString := '';
       AValue.Owner.ValueByName(sFField).AsString := '';
-      AID := ARecord.ValueByName('ID').AsInteger;
+      {AID := ARecord.ValueByName('ID').AsInteger;
       fTotalPrice := StrToFloatDef(Text, 0) - AValue.AsFloat;
       if CheckStartedPrice(AID) then
         Text := FloatToStr(AValue.AsFloat + GetAllowTotalPrice(AID, fTotalPrice))
       else
-        Text := '';
+        Text := '';}
     end
     else
     begin