11
This commit is contained in:
@@ -681,6 +681,37 @@ namespace FineUIPro.Web.HJGL.TrustManage
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
protected void btnPrint3_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
Model.HJGL_CH_Trust trust = BLL.HJGL_TrustManageEditService.GetCH_TrustByID(this.CH_TrustID);
|
||||
trust.CH_PrintDate = DateTime.Now.Date;
|
||||
trust.CH_Printer = this.CurrUser.UserName;
|
||||
BLL.HJGL_TrustManageEditService.PrintCH_Trust(trust);
|
||||
this.SetTextTemp();
|
||||
this.PageInfoLoad();
|
||||
|
||||
string projectId = string.Empty;
|
||||
string project = tvControlItem.SelectedNode.ParentNode.NodeID;
|
||||
if (!string.IsNullOrEmpty(project))
|
||||
{
|
||||
string[] ps = project.Split('|');
|
||||
if (ps.Count() > 1)
|
||||
{
|
||||
projectId = ps[1];
|
||||
}
|
||||
}
|
||||
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("../../Common/ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId=0", BLL.Const.HJGL_TrustReport3Id, this.tvControlItem.SelectedNodeID, null, "打印 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择委托单", MessageBoxIcon.Information);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user