浏览代码

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

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