Browse Source

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

MaiXinRong 6 years ago
parent
commit
1339d4e92a
1 changed files with 2 additions and 0 deletions
  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;