浏览代码

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

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;