Quintiq file version 2.0
|
#parent: #root
|
Response OnCreated () id:Response_FrmAuthorizeAndCountersign_Order_OnCreated
|
{
|
#keys: '[414724.0.117762728]'
|
CanBindMultiple: false
|
DefinitionID: 'Responsedef_WebComponent_OnCreated'
|
QuillAction
|
{
|
Body:
|
[*
|
// 需求日期,默认下一个星期五
|
ds_NeedDate.Date(H_FunctionClass::SM_GetNextFriday());
|
|
// 获取选择后的SKU
|
SelectItem := select( MacroPlan,H_MessagePassing,Obj,Obj.FKey()="FrmOrderForecast" and Obj.ItemKey()="ListSelect");
|
if(not isnull( SelectItem))
|
{
|
if(SelectItem.ValueJsonString().Length()>0)
|
{
|
// 得到选中的预测订单
|
SelForecast := JSON::Parse( SelectItem.ValueJsonString());
|
lb_SKUCode_FAAC.Text(SelForecast.Get( "SKU").GetString());
|
lb_SKUName_FAAC.Text("产品");
|
lb_Util_FAAC.Text(SelForecast.Get( "Util").GetString());
|
lb_SKUName_FAAC.Text(SelForecast.Get( "SKUName").GetString());
|
txt_CustomID_FAAC.Text(SelForecast.Get( "CustomCode").GetString());
|
txt_CustomName_FAAC.Text(SelForecast.Get( "CustomName").GetString());
|
lb_Operator_FAAC.Text(ApplicationMacroPlanner.GetUserName());
|
}
|
}
|
*]
|
GroupServerCalls: false
|
}
|
}
|