2023-03-29 001 合同招标文件台账修改
This commit is contained in:
@@ -27,6 +27,17 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
ViewState["BidDocumentsStandingBookId"] = value;
|
||||
}
|
||||
}
|
||||
public string Type
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["Type"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["Type"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
@@ -37,6 +48,8 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
//BLL.PHTGL_SetSubReviewService.InitGetSetSubCompleteDropDownList(DropSetSubReviewCode, this.CurrUser.PersonId, this.CurrUser.LoginProjectId, false);
|
||||
////权限按钮方法
|
||||
this.BidDocumentsStandingBookId = Request.Params["BidDocumentsStandingBookId"];
|
||||
Type = Request.Params["Type"];
|
||||
|
||||
this.GetButtonPower();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
|
||||
@@ -59,6 +72,8 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode;
|
||||
this.txtBidWinner.Text = model.BidWinner;
|
||||
this.txtSetSubReviewCode.Text = model.SetSubReviewCode;
|
||||
this.txtBidNoticeCode.Text=model.BidNoticeCode;
|
||||
this.txtBidUnitFileCode.Text = model.BidUnitFileCode;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -87,9 +102,15 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
table.Bidding_StartTime = this.txtBidding_StartTime.Text;
|
||||
table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text;
|
||||
table.BidWinner = this.txtBidWinner.Text;
|
||||
table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
|
||||
table.State = 0;
|
||||
table.BidNoticeCode=this.txtBidNoticeCode.Text;
|
||||
table.BidUnitFileCode=this.txtBidUnitFileCode.Text;
|
||||
if (Type == "1")
|
||||
{
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
|
||||
}
|
||||
if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
|
||||
{
|
||||
table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook));
|
||||
@@ -116,37 +137,37 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
|
||||
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidUnit", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传中标单位投标文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidNotice", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传中标通知书,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传实施计划文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传招标文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传评委名单审批表文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传确定中标人审批表文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.BidDocumentsStandingBookMenuId))
|
||||
if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.ProjectBidDocumentsStandingBookMenuId))
|
||||
{
|
||||
ShowNotify("未上传短名单审批表文件,无法提交!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
@@ -167,8 +188,14 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text;
|
||||
table.BidWinner = this.txtBidWinner.Text;
|
||||
table.SetSubReviewCode = this.txtSetSubReviewCode.Text;
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
table.State = 1;
|
||||
table.BidNoticeCode = this.txtBidNoticeCode.Text;
|
||||
table.BidUnitFileCode = this.txtBidUnitFileCode.Text;
|
||||
if (Type == "1")
|
||||
{
|
||||
table.ProjectId = this.CurrUser.LoginProjectId;
|
||||
|
||||
}
|
||||
if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId))
|
||||
{
|
||||
table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook));
|
||||
@@ -228,7 +255,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId+ "-BidUnit", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId+ "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
}
|
||||
/// <summary>
|
||||
/// 中标通知书
|
||||
@@ -242,7 +269,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId+ "-BidNotice", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId+ "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
}
|
||||
/// <summary>
|
||||
/// 实施计划文件
|
||||
@@ -256,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
|
||||
}
|
||||
/// <summary>
|
||||
@@ -272,7 +299,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
}
|
||||
/// <summary>
|
||||
/// 评委名单审批表文件
|
||||
@@ -287,7 +314,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
}
|
||||
/// <summary>
|
||||
/// 确定中标人审批表文件
|
||||
@@ -302,7 +329,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
}
|
||||
/// <summary>
|
||||
/// 短名单审批表文件
|
||||
@@ -316,7 +343,7 @@ namespace FineUIPro.Web.PHTGL.Filing
|
||||
BidDocumentsStandingBookId = Guid.NewGuid().ToString();
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("~/AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/BidDocumentsStandingBook&menuId={1}",
|
||||
this.BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.BidDocumentsStandingBookMenuId)));
|
||||
this.BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.ProjectBidDocumentsStandingBookMenuId)));
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user