装箱单报表(简单账表)双击行跳出动态表单装箱单明细,但是在BOS里面跳不出来,在系统里面跑可以
public override void CellDbClick(CellEventArgs Args)
{
#region 变量定义
string strFID = string.Empty,strBillNO=string.Empty;
DataRow[] drRowInfo = null;
DynamicFormShowParameter para = null;
#endregion
try
{
#region 获取选中行信息
drRowInfo = this.SysReportView.SelectedDataRows;
strFID = drRowInfo[0]["FID"].ToString();
strBillNO = drRowInfo[0]["FBILLNO"].ToString();
#endregion
#region 打开界面
para = new DynamicFormShowParameter();
para.ShowMaxButton = true;
para.CustomComplexParams.Add("MATERIALID", strFID);
para.CustomComplexParams.Add("BILLNO", strBillNO);
para.Resizable = true;
para.OpenStyle.ShowType = ShowType.MainNewTabPage;
para.FormId = "COZ_PACKINGDETAIL";
para.ParentPageId = View.PageId;
para.DefaultFormSizeStyle = DefaultFormSizeStyle.DspMax;
this.View.ShowForm(para);
#endregion
#region 显示数据
#endregion
}
catch (Exception ex)
{
throw ex;
}
}