diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo index 387ff006..24678d80 100644 Binary files a/.vs/SGGL_SeDin/v17/.wsuo and b/.vs/SGGL_SeDin/v17/.wsuo differ diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index a125f1a6..df105fe2 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -1193,6 +1193,7 @@ + @@ -12017,6 +12018,13 @@ BidDocumentsStandingBookEdit.aspx + + BidDocumentsStandingBookEditProject.aspx + ASPXCodeBehind + + + BidDocumentsStandingBookEditProject.aspx + BidDocumentsStandingBookIn.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx index c8b969dc..cef17be0 100644 --- a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx @@ -8,7 +8,7 @@ .f-grid-row .f-grid-cell-inner { white-space: normal; word-break: break-all; - } + } .f-grid-colheader-text { white-space: normal; @@ -34,8 +34,12 @@ - - + + + + + --%> - - - + --%> <%-- --%> diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs index 2470fc3e..471ffc55 100644 --- a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.cs @@ -56,7 +56,7 @@ namespace FineUIPro.Web.PHTGL.Filing GetButtonPower(); if (Type=="1") { - btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEdit.aspx?Type=1", "基本信息") + "return false;"; + btnNew.OnClientClick = Window1.GetShowReference("BidDocumentsStandingBookEditProject.aspx", "基本信息") + "return false;"; this.ProjectId = this.CurrUser.LoginProjectId; if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.CurrUser.LoginProjectId) { @@ -94,17 +94,21 @@ namespace FineUIPro.Web.PHTGL.Filing } - if (!string.IsNullOrEmpty(txtProjectCode.Text)) + if (dropState.SelectedValue!=Const._Null) { - _BidDocumentsStandingBook.ProjectCode= txtProjectCode.Text; + _BidDocumentsStandingBook.State = Funs.GetNewInt(dropState.SelectedValue) ; + } + if (!string.IsNullOrEmpty(txtEPCCode.Text)) + { + _BidDocumentsStandingBook.EPCCode= txtEPCCode.Text; } if (!string.IsNullOrEmpty(txtShortName.Text)) { _BidDocumentsStandingBook.ProjectShortName= txtShortName.Text; } - if (!string.IsNullOrEmpty(txtContractNum.Text)) + if (!string.IsNullOrEmpty(txtProjectCode.Text)) { - _BidDocumentsStandingBook.EPCCode= txtContractNum.Text; + _BidDocumentsStandingBook.ProjectCode= txtProjectCode.Text; } var q= BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookByModle(_BidDocumentsStandingBook); @@ -175,8 +179,7 @@ namespace FineUIPro.Web.PHTGL.Filing { txtProjectCode.Text = string.Empty; txtShortName.Text = string.Empty; - txtContractNum.Text = string.Empty; - txtContractName.Text = string.Empty; + txtEPCCode.Text = string.Empty; //txtSubConstruction.Text = string.Empty; } @@ -217,7 +220,7 @@ namespace FineUIPro.Web.PHTGL.Filing { if (Type=="1") { - PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEdit.aspx?BidDocumentsStandingBookId={0}?Type=1", id, "编辑 - "))); + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("BidDocumentsStandingBookEditProject.aspx?BidDocumentsStandingBookId={0}", id, "编辑 - "))); } else diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs index 571d9907..abe6413c 100644 --- a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBook.aspx.designer.cs @@ -69,13 +69,22 @@ namespace FineUIPro.Web.PHTGL.Filing protected global::FineUIPro.DropDownList drpDepartId; /// - /// txtProjectCode 控件。 + /// dropState 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtProjectCode; + protected global::FineUIPro.DropDownList dropState; + + /// + /// txtEPCCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtEPCCode; /// /// txtShortName 控件。 @@ -87,22 +96,13 @@ namespace FineUIPro.Web.PHTGL.Filing protected global::FineUIPro.TextBox txtShortName; /// - /// txtContractNum 控件。 + /// txtProjectCode 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.TextBox txtContractNum; - - /// - /// txtContractName 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::FineUIPro.TextBox txtContractName; + protected global::FineUIPro.TextBox txtProjectCode; /// /// btnSearch 控件。 diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEdit.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEdit.aspx.cs index 4df73fc7..7f3de96a 100644 --- a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEdit.aspx.cs @@ -44,7 +44,7 @@ namespace FineUIPro.Web.PHTGL.Filing { if (!IsPostBack) { - this.btnClose.OnClientClick = ActiveWindow.GetHideReference(); + this.btnClose.OnClientClick = ActiveWindow.GetHideRefreshReference(); //BLL.PHTGL_SetSubReviewService.InitGetSetSubCompleteDropDownList(DropSetSubReviewCode, this.CurrUser.PersonId, this.CurrUser.LoginProjectId, false); ////权限按钮方法 this.BidDocumentsStandingBookId = Request.Params["BidDocumentsStandingBookId"]; @@ -114,6 +114,8 @@ namespace FineUIPro.Web.PHTGL.Filing if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) { table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook)); + BidDocumentsStandingBookId = table.BidDocumentsStandingBookId; + BLL.BidDocStandingBookService.AddPHTGL_BidDocumentsStandingBook(table); } @@ -132,6 +134,8 @@ namespace FineUIPro.Web.PHTGL.Filing } } + ShowNotify("保存成功!", MessageBoxIcon.Success); + // PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); } diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx new file mode 100644 index 00000000..82134f8b --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx @@ -0,0 +1,145 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BidDocumentsStandingBookEditProject.aspx.cs" Inherits="FineUIPro.Web.PHTGL.Filing.BidDocumentsStandingBookEditProject" %> + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.cs new file mode 100644 index 00000000..d34a7f0e --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.cs @@ -0,0 +1,361 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Web; +using System.Web.UI; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.PHTGL.Filing +{ + public partial class BidDocumentsStandingBookEditProject : PageBase + { + #region + /// + /// 主键 + /// + public string BidDocumentsStandingBookId + { + get + { + return (string)ViewState["BidDocumentsStandingBookId"]; + } + set + { + ViewState["BidDocumentsStandingBookId"] = value; + } + } + #endregion + + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + this.btnClose.OnClientClick = ActiveWindow.GetHideRefreshReference(); + BLL.PHTGL_SetSubReviewService.InitGetSetSubCompleteDropDownList(DropSetSubReviewCode, this.CurrUser.PersonId, this.CurrUser.LoginProjectId, false); + ////权限按钮方法 + this.BidDocumentsStandingBookId = Request.Params["BidDocumentsStandingBookId"]; + this.GetButtonPower(); + + if (!string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) + { + Model.PHTGL_BidDocumentsStandingBook model = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(this.BidDocumentsStandingBookId); + if (model != null) + { + this.txtEPCCode.Text = model.EPCCode; + this.txtProjectShortName.Text = model.ProjectShortName; + this.txtProjectCode.Text = model.ProjectCode; + this.txtIsOnLine.Text = model.IsOnLine; + this.txtBidType.Text = model.BidType; + this.txtActionPlanCode.Text = model.ActionPlanCode; + this.txtBidDocumentsCode.Text = model.BidDocumentsCode; + this.txtBidProject.Text = model.BidProject; + this.txtShortListApprovalCode.Text = model.ShortListApprovalCode; + this.txtProposedInviter.Text = model.ProposedInviter; + this.txtBidding_SendTime.Text = model.Bidding_SendTime; + this.txtBidding_StartTime.Text = model.Bidding_StartTime; + this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode; + this.txtBidWinner.Text = model.BidWinner; + this.DropSetSubReviewCode.SelectedValue = model.SetSubReviewCode; + this.txtBidNoticeCode.Text = model.BidNoticeCode; + this.txtBidUnitFileCode.Text = model.BidUnitFileCode; + } + } + } + } + + #region 保存提交 + /// + /// 保存按钮 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook(); + table.EPCCode = this.txtEPCCode.Text; + table.ProjectShortName = this.txtProjectShortName.Text; + table.ProjectCode = this.txtProjectCode.Text; + table.IsOnLine = this.txtIsOnLine.Text; + table.BidType = this.txtBidType.Text; + table.ActionPlanCode = this.txtActionPlanCode.Text; + table.BidDocumentsCode = this.txtBidDocumentsCode.Text; + table.BidProject = this.txtBidProject.Text; + table.ShortListApprovalCode = this.txtShortListApprovalCode.Text; + table.ProposedInviter = this.txtProposedInviter.Text; + table.Bidding_SendTime = this.txtBidding_SendTime.Text; + table.Bidding_StartTime = this.txtBidding_StartTime.Text; + table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text; + table.BidWinner = this.txtBidWinner.Text; + table.SetSubReviewCode = DropSetSubReviewCode.SelectedValue; + table.State = 0; + table.BidNoticeCode = this.txtBidNoticeCode.Text; + table.BidUnitFileCode = this.txtBidUnitFileCode.Text; + table.ProjectId = this.CurrUser.LoginProjectId; + + if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) + { + table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook)); + BidDocumentsStandingBookId = table.BidDocumentsStandingBookId; + BLL.BidDocStandingBookService.AddPHTGL_BidDocumentsStandingBook(table); + + } + else + { + table.BidDocumentsStandingBookId = this.BidDocumentsStandingBookId; + var q = BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(table.BidDocumentsStandingBookId); + if (q != null) + { + BLL.BidDocStandingBookService.UpdatePHTGL_BidDocumentsStandingBook(table); + + } + else + { + BLL.BidDocStandingBookService.AddPHTGL_BidDocumentsStandingBook(table); + + } + } + ShowNotify("保存成功!", MessageBoxIcon.Success); + + // PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + protected void btnSubmit_Click(object sender, EventArgs e) + { + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidUnit", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传中标单位投标文件,无法提交!", MessageBoxIcon.Warning); + return; + } + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidNotice", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传中标通知书,无法提交!", MessageBoxIcon.Warning); + return; + } + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ActionPlan", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传实施计划文件,无法提交!", MessageBoxIcon.Warning); + return; + } + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-BidDocuments", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传招标文件,无法提交!", MessageBoxIcon.Warning); + return; + } + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ApprovePersonForm", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传评委名单审批表文件,无法提交!", MessageBoxIcon.Warning); + return; + } + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-SetSubReview", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传确定中标人审批表文件,无法提交!", MessageBoxIcon.Warning); + return; + } + if (!BLL.AttachFileService.Getfile(BidDocumentsStandingBookId + "-ShortListApproval", BLL.Const.ProjectBidDocumentsStandingBookMenuId)) + { + ShowNotify("未上传短名单审批表文件,无法提交!", MessageBoxIcon.Warning); + return; + } + Model.PHTGL_BidDocumentsStandingBook table = new Model.PHTGL_BidDocumentsStandingBook(); + table.EPCCode = this.txtEPCCode.Text; + table.ProjectShortName = this.txtProjectShortName.Text; + table.ProjectCode = this.txtProjectCode.Text; + table.IsOnLine = this.txtIsOnLine.Text; + table.BidType = this.txtBidType.Text; + table.ActionPlanCode = this.txtActionPlanCode.Text; + table.BidDocumentsCode = this.txtBidDocumentsCode.Text; + table.BidProject = this.txtBidProject.Text; + table.ShortListApprovalCode = this.txtShortListApprovalCode.Text; + table.ProposedInviter = this.txtProposedInviter.Text; + table.Bidding_SendTime = this.txtBidding_SendTime.Text; + table.Bidding_StartTime = this.txtBidding_StartTime.Text; + table.ApprovePersonFormCode = this.txtApprovePersonFormCode.Text; + table.BidWinner = this.txtBidWinner.Text; + table.SetSubReviewCode = DropSetSubReviewCode.SelectedValue; + table.State = 1; + table.BidNoticeCode = this.txtBidNoticeCode.Text; + table.BidUnitFileCode = this.txtBidUnitFileCode.Text; + table.ProjectId = this.CurrUser.LoginProjectId; + + if (string.IsNullOrEmpty(this.BidDocumentsStandingBookId)) + { + table.BidDocumentsStandingBookId = SQLHelper.GetNewID(typeof(Model.PHTGL_BidDocumentsStandingBook)); + BLL.BidDocStandingBookService.AddPHTGL_BidDocumentsStandingBook(table); + + } + else + { + table.BidDocumentsStandingBookId = this.BidDocumentsStandingBookId; + var q = BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(table.BidDocumentsStandingBookId); + if (q != null) + { + BLL.BidDocStandingBookService.UpdatePHTGL_BidDocumentsStandingBook(table); + + } + else + { + BLL.BidDocStandingBookService.AddPHTGL_BidDocumentsStandingBook(table); + + } + } + PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference()); + } + + #endregion + + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private void GetButtonPower() + { + if (!string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + var q = BLL.BidDocStandingBookService.GetPHTGL_BidDocumentsStandingBookById(BidDocumentsStandingBookId); + if (q != null && q.State == 1) + { + btnSave.Hidden = true; + btnSubmit.Hidden = true; + } + } + } + #endregion + + #region 附件上传 + /// + /// 中标单位投标文件 + /// + /// + /// + protected void btnAttachUrl_BidUnit_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + } + /// + /// 中标通知书 + /// + /// + /// + protected void btnAttachUrl_BidNotice_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + } + /// + /// 实施计划文件 + /// + /// + /// + protected void btnAttachUrl_ActionPlanCode_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + + } + /// + /// 招标文件 + /// + /// + /// + + protected void btnAttachUrl_BidDocumentsCode_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + } + /// + /// 评委名单审批表文件 + /// + /// + /// + + protected void btnAttachUrl_ApprovePersonFormCode_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + } + /// + /// 确定中标人审批表文件 + /// + /// + /// + + protected void btnAttachUrl_SetSubReviewCode_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + } + /// + /// 短名单审批表文件 + /// + /// + /// + protected void btnAttachUrl_ShortListApprovalCode_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(BidDocumentsStandingBookId)) + { + 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.ProjectBidDocumentsStandingBookMenuId))); + } + #endregion + + protected void DropSetSubReviewCode_SelectedIndexChanged(object sender, EventArgs e) + { + var _SetSub = BLL.PHTGL_SetSubReviewService.GetPHTGL_SetSubReviewBySetSubReviewCode(DropSetSubReviewCode.SelectedValue); + var _BidApprove = PHTGL_BidApproveUserReviewService.GetPHTGL_BidApproveUserReviewById(_SetSub.ApproveUserReviewID); + var _BidDoc = BLL.PHTGL_BidDocumentsReviewService.GetPHTGL_BidDocumentsReviewById(_BidApprove.BidDocumentsReviewId); + var _ActPlan = BLL.PHTGL_ActionPlanFormationService.GetPHTGL_ActionPlanFormationById(_BidDoc.ActionPlanID); + var _Project = BLL.ProjectService.GetProjectByProjectId(_BidDoc.ProjectId); + + + this.txtEPCCode.Text = _ActPlan.EPCCode; + this.txtProjectShortName.Text = _Project.ShortName; + this.txtProjectCode.Text = _Project.ProjectCode; + this.txtBidType.Text = _BidDoc.BidType; + this.txtBidProject.Text = _ActPlan.BidProject; + this.txtActionPlanCode.Text = _ActPlan.ActionPlanCode; + this.txtBidDocumentsCode.Text = _BidDoc.BidDocumentsCode; + if (_BidDoc.Bidding_SendTime != null) + { + this.txtBidding_SendTime.Text = string.Format("{0:yyyy-MM-dd}", _BidDoc.Bidding_SendTime); + } + if (_BidDoc.Bidding_StartTime != null) + { + this.txtBidding_StartTime.Text = string.Format("{0:yyyy-MM-dd}", _BidDoc.Bidding_StartTime); + } + //this.txtApprovePersonFormCode.Text = model.ApprovePersonFormCode; + } + + + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.designer.cs b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.designer.cs new file mode 100644 index 00000000..aa1d4942 --- /dev/null +++ b/SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.designer.cs @@ -0,0 +1,305 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.PHTGL.Filing +{ + + + public partial class BidDocumentsStandingBookEditProject + { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// DropSetSubReviewCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList DropSetSubReviewCode; + + /// + /// btnAttachUrl_SetSubReviewCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_SetSubReviewCode; + + /// + /// txtEPCCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtEPCCode; + + /// + /// txtProjectShortName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtProjectShortName; + + /// + /// txtProjectCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtProjectCode; + + /// + /// txtIsOnLine 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIsOnLine; + + /// + /// txtBidType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidType; + + /// + /// txtBidProject 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidProject; + + /// + /// txtActionPlanCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtActionPlanCode; + + /// + /// btnAttachUrl_ActionPlanCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_ActionPlanCode; + + /// + /// txtBidDocumentsCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidDocumentsCode; + + /// + /// btnAttachUrl_BidDocumentsCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_BidDocumentsCode; + + /// + /// txtBidding_SendTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidding_SendTime; + + /// + /// txtBidding_StartTime 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidding_StartTime; + + /// + /// txtProposedInviter 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextArea txtProposedInviter; + + /// + /// txtBidWinner 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidWinner; + + /// + /// txtApprovePersonFormCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtApprovePersonFormCode; + + /// + /// btnAttachUrl_ApprovePersonFormCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_ApprovePersonFormCode; + + /// + /// txtShortListApprovalCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtShortListApprovalCode; + + /// + /// btnAttachUrl_ShortListApprovalCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_ShortListApprovalCode; + + /// + /// txtBidNoticeCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidNoticeCode; + + /// + /// btnAttachUrl_BidNotice 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_BidNotice; + + /// + /// txtBidUnitFileCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtBidUnitFileCode; + + /// + /// btnAttachUrl_BidUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttachUrl_BidUnit; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// btnSave 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnSubmit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSubmit; + + /// + /// btnClose 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnClose; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + } +}