From 6d9968b5e3de0f425bef89103b9d4eec06a897f6 Mon Sep 17 00:00:00 2001 From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com> Date: 星期五, 18 十月 2024 12:00:58 +0800 Subject: [PATCH] 修复产量对比报表日期筛选导出不生效的bug --- _Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Response_MatrixEditorTable_OnUpdateValue.def | 31 +++++++++++++++++++------------ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Response_MatrixEditorTable_OnUpdateValue.def b/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Response_MatrixEditorTable_OnUpdateValue.def index b8d56ce..d14c74f 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Response_MatrixEditorTable_OnUpdateValue.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FormDLEngineLogisticsCostReport/Response_MatrixEditorTable_OnUpdateValue.def @@ -1,11 +1,11 @@ Quintiq file version 2.0 #parent: MatrixEditorTable Response OnUpdateValue ( - CCEngineLogisticsCostRow row, - CCEngineLogisticsCostColumn column, - CCEngineLogisticsCostCell cell, - Number value, - Number oldvalue + DLEngineLogisticsCostRow row, + DLEngineLogisticsCostColumn column, + DLEngineLogisticsCostCell cell, + String value, + String oldvalue ) id:Response_MatrixEditorTable_OnUpdateValue { #keys: '[415136.0.992750480]' @@ -15,15 +15,22 @@ { Body: [* - table := selectobject( MacroPlan, CCEngineLogisticsCostReport, report, not report.IsShow() ); - cell.Coefficient( value ); + table := selectobject( MacroPlan, DLEngineLogisticsCostReport, report, not report.IsShow() ); + //info( focusedattribute ); + 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.CCRentInCost( cell.CCRentInCost() ); + tcel.CCRentOutOfCost( cell.CCRentOutOfCost() ); + tcel.CCLongTransCost( cell.CCLongTransCost() ); + tcel.CCRentStorCost( cell.CCRentStorCost() ); + tcel.CCShorTransCost( cell.CCShorTransCost() ); + tcel.DLRentInCost( cell.DLRentInCost() ); + tcel.DLRentOutOfCost( cell.DLRentOutOfCost() ); + tcel.DLRentOtherCost( cell.DLRentOtherCost() ); + tcel.DLRentStorCost( cell.DLRentStorCost() ); + tcel.WerkToDLRentTransCost( cell.WerkToDLRentTransCost() ); + tcel.CoefficientValue( cell.CoefficientValue() ); } } *] -- Gitblit v1.9.3