From cef3c90276c74e89c7fd73421c5236e1f3dd9369 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期二, 07 一月 2025 16:31:02 +0800
Subject: [PATCH] 机加管线报表测试环境报错
---
_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Response_MatrixEditorTable_358_OnUpdateValue.def | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Response_MatrixEditorTable_358_OnUpdateValue.def b/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Response_MatrixEditorTable_358_OnUpdateValue.def
index def875e..56c7966 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Response_MatrixEditorTable_358_OnUpdateValue.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Response_MatrixEditorTable_358_OnUpdateValue.def
@@ -4,8 +4,8 @@
CCEngineLogisticsCostRow row,
CCEngineLogisticsCostColumn column,
CCEngineLogisticsCostCell cell,
- Number value,
- Number oldvalue
+ String value,
+ String oldvalue
) id:Response_MatrixEditorTable_358_OnUpdateValue
{
#keys: '[415136.0.989501207]'
@@ -16,13 +16,16 @@
Body:
[*
table := selectobject( MacroPlan, CCEngineLogisticsCostReport, report, not report.IsShow() );
+ cell.CoefficientValue( value );
traverse( table, Row, trow, trow.Name() = row.Name() ){
traverse( trow, Cell, tcel, tcel.Column().Name() = column.Name() ){
- tcel.RentEnterCost( cell.RentEnterCost() );
- tcel.RentOutCost( cell.RentOutCost() );
- tcel.FactoryToRentTransCost( cell.FactoryToRentTransCost() );
- tcel.RentStorageCost( cell.RentStorageCost() );
- tcel.Coefficient( cell.Coefficient() );
+ tcel.RentInCost( cell.RentInCost() );
+ tcel.RentOutOfCost( cell.RentOutOfCost() );
+ tcel.WerkToRentTransCost( cell.WerkToRentTransCost() );
+ tcel.RentStorCost( cell.RentStorCost() );
+ tcel.CoefficientValue( cell.CoefficientValue() );
+ estimatetotalcost := tcel.RentInCost() + tcel.RentOutOfCost() + tcel.WerkToRentTransCost() + tcel.RentStorCost();
+ tcel.AllCost( estimatetotalcost * [Real]tcel.CoefficientValue() );
}
}
*]
--
Gitblit v1.9.3