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_CCEngineLogisticsCostReport0/Method_Generate.qbl | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport0/Method_Generate.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport0/Method_Generate.qbl index c3051ae..108b822 100644 --- a/_Main/BL/Type_CCEngineLogisticsCostReport0/Method_Generate.qbl +++ b/_Main/BL/Type_CCEngineLogisticsCostReport0/Method_Generate.qbl @@ -82,7 +82,10 @@ yearcell.AllCost( yearcell.EstimateTotalCost() * [Real]yearcell.CoefficientValue() ); } } - + Transaction::Transaction().Propagate( attribute( DLEngineLogisticsCostCell, 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