From 20680ab30a4a06f437f51a932a9e2327fbc924ea Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期二, 29 十月 2024 16:01:08 +0800
Subject: [PATCH] 大连外租库优化
---
_Main/UI/MacroPlannerWebApp/Component_FormCCEngineLogisticsCostReport/Response_MatrixEditorTable_358_OnUpdateValue.def | 10 ++++++----
1 files changed, 6 insertions(+), 4 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 39a10dd..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,14 +16,16 @@
Body:
[*
table := selectobject( MacroPlan, CCEngineLogisticsCostReport, report, not report.IsShow() );
- cell.Coefficient( value );
+ cell.CoefficientValue( value );
traverse( table, Row, trow, trow.Name() = row.Name() ){
traverse( trow, Cell, tcel, tcel.Column().Name() = column.Name() ){
tcel.RentInCost( cell.RentInCost() );
tcel.RentOutOfCost( cell.RentOutOfCost() );
tcel.WerkToRentTransCost( cell.WerkToRentTransCost() );
tcel.RentStorCost( cell.RentStorCost() );
- tcel.Coefficient( cell.Coefficient() );
+ tcel.CoefficientValue( cell.CoefficientValue() );
+ estimatetotalcost := tcel.RentInCost() + tcel.RentOutOfCost() + tcel.WerkToRentTransCost() + tcel.RentStorCost();
+ tcel.AllCost( estimatetotalcost * [Real]tcel.CoefficientValue() );
}
}
*]
--
Gitblit v1.9.3