From 70bde21f2a3e5ae0ec35d0cfd0942babf9ac4550 Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Thu, 30 Mar 2023 14:04:56 +0800 Subject: [PATCH] =?UTF-8?q?2023-03-30-001=20=E6=8B=9B=E6=A0=87=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E8=B4=A6=E4=BF=AE=E6=94=B9=20=E2=80=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/SGGL_SeDin/v17/.wsuo | Bin 29184 -> 28672 bytes SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 8 + .../Filing/BidDocumentsStandingBook.aspx | 16 +- .../Filing/BidDocumentsStandingBook.aspx.cs | 19 +- .../BidDocumentsStandingBook.aspx.designer.cs | 26 +- .../BidDocumentsStandingBookEdit.aspx.cs | 6 +- .../BidDocumentsStandingBookEditProject.aspx | 145 +++++++ ...idDocumentsStandingBookEditProject.aspx.cs | 361 ++++++++++++++++++ ...tsStandingBookEditProject.aspx.designer.cs | 305 +++++++++++++++ 9 files changed, 858 insertions(+), 28 deletions(-) create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.cs create mode 100644 SGGL/FineUIPro.Web/PHTGL/Filing/BidDocumentsStandingBookEditProject.aspx.designer.cs diff --git a/.vs/SGGL_SeDin/v17/.wsuo b/.vs/SGGL_SeDin/v17/.wsuo index 387ff00629b73cb3bab09f58f10ad3db53076556..24678d80cde0b61033224c15d9dc442abfada4cf 100644 GIT binary patch delta 1166 zcmbtTO-vI(6yBNEw!#)7w1Bp@28%7&g>Jj_PfQwW3`DV@JrE&Sw?9$9z@a1rG^~j? zy}0k92R$q|Ptv`4g%IOKuU-rXFJ8P@4ss~Ik=87U8lsc^GT(di=I#6D%_yIVvO`|a z)0WiN-0Um)BWdS2PVwq1bcK)yuxs)T+0e6JA3X9C2HTF@gE)(*)nmGlA4hl*5VASe z+(;S;+Uooy&fNxo3-WUY+mF1@V4p`GGT4oLBKpFJ2x73l9>uw}&M|Id@-$KDd<%E| zw+gL(2UFODV9J^iOwrQ`hux^82BNL~NK$%mcS8z0m;aUGz#MhCOiHEc4slMQZyIqM zF@v~;$iY~X3!XKP+gH)Lk6<0C!EW;!DddV^L&Hk07-19^YUV^Pe2+F~X zonx(b83Kq5yTJ@>QCt_s`BS*mxW=pq%N2B(IoR{RJ8FS3EHFy7KB`LTgCmn3ksbZJ zWF=aPR)*5#&j-nm;qS5tHnd?gY>ag3og-gNnwx4@&Du4ymNjcPZIx-oJi3E1tP8$` z9FpT=AuiQ%H^sw;P25NKVz059ic{ms2?@&lS^l{5eV delta 1318 zcmbVLO-vI}5Z?E;NQEuoPoNT@=&B`Bv4zr>#PSLrL$L?xmQ zQI5z>b7-4hpVci{DWkLtLjPYu4QOo4I#4nP{+~iLA&PSB#zCGOTQUAW4ceH><3-o{ zcBGqsqL}C&L=ZJIVkuY-A(Ls5sO?6}piignM(YUXqEcmP?VD8<#$ehS%Kc~UL@QMg zV=z)6$)gx?6%j%h4`Rp(v_%o{pzs3QSPE9EQj&%BS?N3f|JXY$RnaY47+sG_L=u9v zG9;}7kmk<3el!lkTFDI-f!WecHUhI{iwDNhn#$AHt$}~U>X{metFaDs(hjlMka_j> z^^$Lo{6FDM%nQn-q9$x$i--31&=s4)AXKlYt~8`AXVm6iGqvZ|Wt;D6dp%)~BkFUz94)QU(~gL1!s&4P z!p@1YaKzK<#yMg5G2x*&cWYRl>ma?W>C#}E)8&QrXhR|0N<`p-XQ58;hhJiW%|q{K zEYa3G<)uz|5~~6wW{0mN_t^xxEq;^1>daYKo?h0KxFW*igdO^(TyQUO9PUq_gY--z N1ZLX7op_tO_X}=)5<36@ 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; + } +}