From 7b7c0b4eacb2959a1a4fbb22fba1c4445e221d38 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期二, 22 十月 2024 18:10:50 +0800
Subject: [PATCH] 发动机物流报表总费用bug

---
 _Main/BL/Type_CCEngineLogisticsCostReport/Method_Generate.qbl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport/Method_Generate.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport/Method_Generate.qbl
index d2e883a..62befe8 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport/Method_Generate.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport/Method_Generate.qbl
@@ -57,6 +57,10 @@
         yearcell.AllCost( yearcell.EstimateTotalCost() * [Real]yearcell.CoefficientValue() );
       }
     }
+    Transaction::Transaction().Propagate( attribute( CCEngineLogisticsCostCell, EstimateTotalCost ) );
+    traverse( yearcolumn, Cell, cell ){
+      cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() );
+    }
     traverse( sumrow, Cell, cell ){
       cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() );
       if( exists( cell.Column(), Cell, acell, acell.IsUpdate() ) ){

--
Gitblit v1.9.3