From 76c7b6120bb5a3076a31f3c3eb7e068f290f68d3 Mon Sep 17 00:00:00 2001 From: limj <limj@taizhitech.com> Date: 星期一, 25 九月 2023 20:47:39 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lmj --- _Main/UI/MacroPlannerWebApp/Component_FrmMaterial/Response_OnCreated.def | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FrmMaterial/Response_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FrmMaterial/Response_OnCreated.def index 04a54ea..c3a42c1 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FrmMaterial/Response_OnCreated.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FrmMaterial/Response_OnCreated.def @@ -9,6 +9,7 @@ { Body: [* + ds_Month_FM.Date(Date::ActualDate()); txtSaveForecastData_FM.Text(""); // 鑾峰彇閫夋嫨鍚庣殑SKU SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); @@ -19,7 +20,9 @@ txtSaveForecastData_FM.Text( SelectItem.ValueJsonString()); JSelect := JSON::Parse( SelectItem.ValueJsonString()); lb_SUK_FM.Text(JSelect.Get( "SKU").GetString()); - de_dh_FM_ProductMP.FixedFilter( "object.ID() = " + JSelect.Get( "SKU").GetString().AsQUILL()); + de_dh_FM_ProductMP.FixedFilter( "object.ParentSKU() = " + JSelect.Get( "SKU").GetString().AsQUILL() + + " and object.ForecastID() = " + JSelect.Get( "OrderCode").GetString().AsQUILL() + ); } } *] -- Gitblit v1.9.3