2023-04-24

This commit is contained in:
2023-04-24 09:59:56 +08:00
parent e078e9e399
commit 712e52a614
5 changed files with 23 additions and 10 deletions
@@ -153,7 +153,14 @@ namespace FineUIPro.Web.PHTGL.Filing
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ContractStandingBook&menuId={1}", this.ContractId, BLL.Const.ContractStandingBookMenuId)));
}
protected void btnAttachUrl_1_Click(object sender, EventArgs e)
{
if (string.IsNullOrEmpty(ContractId))
{
ContractId = Guid.NewGuid().ToString();
}
PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?toKeyId={0}&path=FileUpload/ContractStandingBook&menuId={1}", this.ContractId+"-1", BLL.Const.ContractStandingBookMenuId)));
}
#endregion
protected void btnSave_Click(object sender, EventArgs e)
@@ -254,7 +261,12 @@ namespace FineUIPro.Web.PHTGL.Filing
{
if (!BLL.AttachFileService.Getfile(ContractId , BLL.Const.ContractStandingBookMenuId))
{
ShowNotify("未上传合同文件,无法提交!", MessageBoxIcon.Warning);
ShowNotify("未上传合同签字盖章扫描版文件,无法提交!", MessageBoxIcon.Warning);
return;
}
if (!BLL.AttachFileService.Getfile(this.ContractId + "-1", BLL.Const.ContractStandingBookMenuId))
{
ShowNotify("未上传合同评审及审批表,无法提交!", MessageBoxIcon.Warning);
return;
}
Save(Const.BtnSubmit);