From dc07d4ddadb3acfbeda76f521638dcfff28d7a21 Mon Sep 17 00:00:00 2001 From: limj <limj@taizhitech.com> Date: 星期五, 22 九月 2023 14:58:27 +0800 Subject: [PATCH] Merge branch 'dev' of http://47.101.211.7:10101/r/TIANMA_JITUAN into dev_lmj --- _Main/UI/MacroPlannerWebApp/Component_FrmAuthorizeAndCountersign_Material/Response_OnCreated.def | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/_Main/UI/MacroPlannerWebApp/Component_FrmAuthorizeAndCountersign_Material/Response_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FrmAuthorizeAndCountersign_Material/Response_OnCreated.def index c03f661..a76472b 100644 --- a/_Main/UI/MacroPlannerWebApp/Component_FrmAuthorizeAndCountersign_Material/Response_OnCreated.def +++ b/_Main/UI/MacroPlannerWebApp/Component_FrmAuthorizeAndCountersign_Material/Response_OnCreated.def @@ -15,13 +15,16 @@ [* // 鑾峰彇閫夋嫨鍚庣殑SKU SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmMaterial" and Obj.ItemKey()="ListSelect"); - if(not isnull( SelectItem) and SelectItem.Value().Length()>0) + if(not isnull( SelectItem)) { - StrValue := SelectItem.Value().Tokenize( ";"); - lb_SUK_FAACM.Text(StrValue.Element( 0)); - lb_MaterialCode_FAACM.Text(StrValue.Element( 1)); - lb_Unit_FAACM.Text(StrValue.Element( 2)); - lb_Operator_FAACM.Text(ApplicationMacroPlanner.GetUserName()); + if(SelectItem.Value().Length()>0) + { + StrValue := SelectItem.Value().Tokenize( ";"); + lb_SUK_FAACM.Text(StrValue.Element( 0)); + lb_MaterialCode_FAACM.Text(StrValue.Element( 1)); + lb_Unit_FAACM.Text(StrValue.Element( 2)); + lb_Operator_FAACM.Text(ApplicationMacroPlanner.GetUserName()); + } } // 鑾峰彇閫夋嫨鍚庣殑SKU SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect"); -- Gitblit v1.9.3