소스 검색

清单汇总,合计行,计算规则调整

MaiXinRong 6 년 전
부모
커밋
1339d4e92a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      Units/GclBillsGatherModel.pas

+ 2 - 0
Units/GclBillsGatherModel.pas

@@ -568,6 +568,8 @@ begin
   for i := 0 to FGcls.Count - 1 do
   begin
     vGcl := TGclNode(FGcls.Items[i]);
+    if (PriceRoundTo(vGcl.Price) = 0) then Continue;
+
     FGather.TotalPrice := FGather.TotalPrice + vGcl.TotalPrice;
 
     FGather.OrgTotalPrice := FGather.OrgTotalPrice + vGcl.OrgTotalPrice;