From b657c5fd801862617d956d37bed963cc039ef831 Mon Sep 17 00:00:00 2001 From: yunchai <yunying.chai@capgemini.com> Date: 星期一, 25 九月 2023 23:19:40 +0800 Subject: [PATCH] 20230925Mapping数据换数据源 --- _Main/UI/MacroPlannerWebApp/Component_FrmOrderForecast/Response_liH_Forecast_OnDoubleClick.def | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FrmOrderForecast/Response_liH_Forecast_OnDoubleClick.def b/_Main/UI/MacroPlannerWebApp/Component_FrmOrderForecast/Response_liH_Forecast_OnDoubleClick.def index c178467..ac7e8b0 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FrmOrderForecast/Response_liH_Forecast_OnDoubleClick.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FrmOrderForecast/Response_liH_Forecast_OnDoubleClick.def @@ -16,6 +16,7 @@ { MacroPlan.H_MessagePassing(relnew,FKey :="FrmOrderForecast",ItemKey := "ListSelect", ValueJsonString := JSON::Object().Add( "SKU",selection.SKU()) + .Add( "SKUName",selection.SKUName()) .Add( "Util",selection.Unit()) .Add( "CustomCode",selection.CustomCode()) .Add( "CustomName",selection.CustomName()) @@ -26,6 +27,7 @@ else { SelectItem.ValueJsonString(JSON::Object().Add( "SKU",selection.SKU()) + .Add( "SKUName",selection.SKUName()) .Add( "Util",selection.Unit()) .Add( "CustomCode",selection.CustomCode()) .Add( "CustomName",selection.CustomName()) @@ -34,7 +36,7 @@ .Add( "NeedTime",selection.Month().AsQUILL()).Build().AsString()); } - jResult := H_FunctionClass::SM_GetMaterialData( MacroPlan,selection.SKU(),selection.ForecastQty(),selection.ID(),"-",selection.Month()); + jResult := H_FunctionClass::SM_GetMaterialData( MacroPlan,selection.SKU(),selection.ForecastQty(),selection.ID(),"-",selection.Month(),GlobalOTDTable ); if(jResult.Get( "Status").GetBoolean()) { Application.OpenForm( "FrmMaterial","popout"); -- Gitblit v1.9.3