问题:如何在ListSelBillShowParameter调用的列表选择界面中自定义要显示的字段啊,需要BOS配置,还是插件里定义参数呢,求指教啊插件代码如下:
[code]ListSelBillShowParameter lsbsp = new ListSelBillShowParameter()
{
FormId = "YLD_EAM_MaintainPlan",
ParentPageId = this.View.PageId,
IsLookUp = true,
MultiSelect = true,
IsShowApproved = true
};
lsbsp.ListFilterParameter.SelectFields = new List
{
"FBillNo",
"F_YL_PrenventTypeID",
"F_YL_PeriodicType",
"F_YL_EquipmentID",
"F_YLD_BaseProperty",
"F_YL_ScheduleStartDate",
"F_YL_LastRrpDate",
"F_YL_Source",
"F_YLD_SourceBillNo",
"F_YL_CalendarInterval",
"F_YL_DateUnit",
"F_YL_AverageRunTime"
};
if (!lsbsp.ListFilterParameter.Filter.IsNullOrEmptyOrWhiteSpace())
{
lsbsp.ListFilterParameter.Filter += " AND ";
}
lsbsp.ListFilterParameter.Filter +=
"F_YL_EXECUTED='1' AND F_YL_SYSCLOSESTATUS='B' AND F_YL_HUMANCLOSESTATUS='B'";
if (!plansourcebillno.IsNullOrEmptyOrWhiteSpace())
lsbsp.ListFilterParameter.Filter += string.Format(" AND F_YLD_SOURCEBILLNO<>'{0}'",
plansourcebillno);
this.View.ShowForm(lsbsp, (result =>
{[/code]
推荐阅读