2023-03-30-001 招标工作台账修改

This commit is contained in:
2023-03-30 14:04:56 +08:00
parent a9adb783f3
commit 70bde21f2a
9 changed files with 858 additions and 28 deletions
@@ -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 @@
<Items>
<f:DropDownList ID="drpDepartId" runat="server" Label="主办部门" Hidden="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
<f:TextBox runat="server" Label="总承包合同编号" ID="txtProjectCode" EmptyText="输入查询条件" Width="250px" LabelWidth="120px"
<f:DropDownList ID="dropState" runat="server" Label="状态" LabelWidth="100px">
<f:ListItem Text="-请选择-" Value="null" />
<f:ListItem Text="未提交" Value="0" />
<f:ListItem Text="已提交" Value="1" />
</f:DropDownList>
<f:TextBox runat="server" Label="总承包合同编号" ID="txtEPCCode" EmptyText="输入查询条件" Width="250px" LabelWidth="120px"
LabelAlign="left">
</f:TextBox>
<f:TextBox runat="server" Label="项目简称" ID="txtShortName" EmptyText="输入查询条件" Width="250px" LabelWidth="90px"
@@ -44,12 +48,12 @@
<%-- <f:TextBox runat="server" Label="项目代码" ID="txtProjectCode2" EmptyText="输入查询条件" Width="300px" LabelWidth="90px"
LabelAlign="right">
</f:TextBox>--%>
<f:TextBox runat="server" Label="合同编号" ID="txtContractNum" EmptyText="输入查询条件" Width="250px" LabelWidth="90px"
<f:TextBox runat="server" Label="项目代码" ID="txtProjectCode" EmptyText="输入查询条件" Width="250px" LabelWidth="90px"
LabelAlign="left">
</f:TextBox>
<f:TextBox runat="server" Label="施工合同名称" ID="txtContractName" EmptyText="输入查询条件" Width="250px" LabelWidth="110px"
<%-- <f:TextBox runat="server" Label="施工合同名称" ID="txtContractName" EmptyText="输入查询条件" Width="250px" LabelWidth="110px"
LabelAlign="left">
</f:TextBox>
</f:TextBox>--%>
<%-- <f:TextBox runat="server" Label="施工分包商" ID="txtSubConstruction" EmptyText="输入查询条件" Width="300px" LabelWidth="90px"
LabelAlign="left">
</f:TextBox>--%>
@@ -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
@@ -69,13 +69,22 @@ namespace FineUIPro.Web.PHTGL.Filing
protected global::FineUIPro.DropDownList drpDepartId;
/// <summary>
/// txtProjectCode 控件。
/// dropState 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectCode;
protected global::FineUIPro.DropDownList dropState;
/// <summary>
/// txtEPCCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEPCCode;
/// <summary>
/// txtShortName 控件。
@@ -87,22 +96,13 @@ namespace FineUIPro.Web.PHTGL.Filing
protected global::FineUIPro.TextBox txtShortName;
/// <summary>
/// txtContractNum 控件。
/// txtProjectCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtContractNum;
/// <summary>
/// txtContractName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtContractName;
protected global::FineUIPro.TextBox txtProjectCode;
/// <summary>
/// btnSearch 控件。
@@ -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());
}
@@ -0,0 +1,145 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="BidDocumentsStandingBookEditProject.aspx.cs" Inherits="FineUIPro.Web.PHTGL.Filing.BidDocumentsStandingBookEditProject" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../res/css/common.css" rel="stylesheet" type="text/css" />
</head>
<body>
<form id="form1" runat="server">
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
BodyPadding="10px" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:DropDownList ID="DropSetSubReviewCode" runat="server" Label="确定中标人审批表编号" ShowRedStar="true"
Required="true" AutoSelectFirstItem="false" OnSelectedIndexChanged="DropSetSubReviewCode_SelectedIndexChanged" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px">
</f:DropDownList>
<f:Button ID="btnAttachUrl_SetSubReviewCode" Text="确定中标人审批文件及评标报告" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_SetSubReviewCode_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtEPCCode" runat="server" Label="总承包合同编号" Required="true" Enabled="false" >
</f:TextBox>
<f:TextBox ID="txtProjectShortName" runat="server" Label="项目名称" Required="true" Enabled="false">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtProjectCode" runat="server" Label="项目代码" Required="true" Enabled="false">
</f:TextBox>
<f:TextBox ID="txtIsOnLine" runat="server" Label="线上或线下" Required="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtBidType" runat="server" Label="招标方式" Required="true" Enabled="false">
</f:TextBox>
<f:TextBox ID="txtBidProject" runat="server" Label="招标工程" Required="true" Enabled="false">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtActionPlanCode" runat="server" Label="实施计划编号" Required="true" Enabled="false">
</f:TextBox>
<f:Button ID="btnAttachUrl_ActionPlanCode" Text="实施计划文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_ActionPlanCode_Click" ValidateForms="SimpleForm1">
</f:Button>
<f:TextBox ID="txtBidDocumentsCode" runat="server" Label="招标文件编号" Required="true" Enabled="false">
</f:TextBox>
<f:Button ID="btnAttachUrl_BidDocumentsCode" Text="招标文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidDocumentsCode_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox runat="server" Label="发标时间" ID="txtBidding_SendTime" Required="true"></f:TextBox>
</Items>
<Items>
<f:TextBox runat="server" Label="开标时间" ID="txtBidding_StartTime" Required="true"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtProposedInviter" runat="server" Label="拟邀请单位" Required="true"
AutoGrowHeight="true" AutoGrowHeightMin="100" AutoGrowHeightMax="600">
</f:TextArea>
<f:TextBox ID="txtBidWinner" runat="server" Label="中标单位" Required="true">
</f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtApprovePersonFormCode" runat="server" Label="评委名单审批表编号" Required="true">
</f:TextBox>
<f:Button ID="btnAttachUrl_ApprovePersonFormCode" Text="评委名单审批表文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_ApprovePersonFormCode_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtShortListApprovalCode" runat="server" Label="短名单审批表" Required="true">
</f:TextBox>
<f:Button ID="btnAttachUrl_ShortListApprovalCode" Text="短名单审批表文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_ShortListApprovalCode_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtBidNoticeCode" runat="server" Label="中标通知书编号" Required="true">
</f:TextBox>
<f:Button ID="btnAttachUrl_BidNotice" Text="中标通知书" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidNotice_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtBidUnitFileCode" runat="server" Label="投标文件编号" Required="true">
</f:TextBox>
<f:Button ID="btnAttachUrl_BidUnit" Text="中标单位投标及澄清文件" ToolTip="附件" Icon="TableCell" runat="server"
OnClick="btnAttachUrl_BidUnit_Click" ValidateForms="SimpleForm1">
</f:Button>
</Items>
</f:FormRow>
</Rows>
<Toolbars>
<f:Toolbar ID="Toolbar1" Position="Bottom" ToolbarAlign="Right" runat="server">
<Items>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Text="提交" ValidateForms="SimpleForm1"
OnClick="btnSubmit_Click">
</f:Button>
<f:Button ID="btnClose" EnablePostBack="false" ToolTip="关闭" Text="关闭" runat="server" Icon="SystemClose">
</f:Button>
</Items>
</f:Toolbar>
</Toolbars>
</f:Form>
<f:Window ID="Window1" Title="弹出窗体" Hidden="true" EnableIFrame="true" EnableMaximize="true"
Target="Parent" EnableResize="false" runat="server" IsModal="true" Width="700px"
Height="500px">
</f:Window>
</form>
</body>
</html>
@@ -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
/// <summary>
/// 主键
/// </summary>
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
/// <summary>
/// 保存按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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
/// <summary>
/// 获取按钮权限
/// </summary>
/// <param name="button"></param>
/// <returns></returns>
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
/// <summary>
/// 中标单位投标文件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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)));
}
/// <summary>
/// 中标通知书
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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)));
}
/// <summary>
/// 实施计划文件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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)));
}
/// <summary>
/// 招标文件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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)));
}
/// <summary>
/// 评委名单审批表文件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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)));
}
/// <summary>
/// 确定中标人审批表文件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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)));
}
/// <summary>
/// 短名单审批表文件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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;
}
}
}
@@ -0,0 +1,305 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.PHTGL.Filing
{
public partial class BidDocumentsStandingBookEditProject
{
/// <summary>
/// form1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// DropSetSubReviewCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropSetSubReviewCode;
/// <summary>
/// btnAttachUrl_SetSubReviewCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_SetSubReviewCode;
/// <summary>
/// txtEPCCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEPCCode;
/// <summary>
/// txtProjectShortName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectShortName;
/// <summary>
/// txtProjectCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectCode;
/// <summary>
/// txtIsOnLine 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtIsOnLine;
/// <summary>
/// txtBidType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidType;
/// <summary>
/// txtBidProject 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidProject;
/// <summary>
/// txtActionPlanCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtActionPlanCode;
/// <summary>
/// btnAttachUrl_ActionPlanCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_ActionPlanCode;
/// <summary>
/// txtBidDocumentsCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidDocumentsCode;
/// <summary>
/// btnAttachUrl_BidDocumentsCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_BidDocumentsCode;
/// <summary>
/// txtBidding_SendTime 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidding_SendTime;
/// <summary>
/// txtBidding_StartTime 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidding_StartTime;
/// <summary>
/// txtProposedInviter 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtProposedInviter;
/// <summary>
/// txtBidWinner 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidWinner;
/// <summary>
/// txtApprovePersonFormCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApprovePersonFormCode;
/// <summary>
/// btnAttachUrl_ApprovePersonFormCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_ApprovePersonFormCode;
/// <summary>
/// txtShortListApprovalCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtShortListApprovalCode;
/// <summary>
/// btnAttachUrl_ShortListApprovalCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_ShortListApprovalCode;
/// <summary>
/// txtBidNoticeCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidNoticeCode;
/// <summary>
/// btnAttachUrl_BidNotice 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_BidNotice;
/// <summary>
/// txtBidUnitFileCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidUnitFileCode;
/// <summary>
/// btnAttachUrl_BidUnit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl_BidUnit;
/// <summary>
/// Toolbar1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// btnSave 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// Window1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window Window1;
}
}