This commit is contained in:
2023-03-02 14:28:42 +08:00
47 changed files with 629 additions and 3858 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -12820,7 +12820,7 @@
<AutoAssignPort>True</AutoAssignPort>
<DevelopmentServerPort>0</DevelopmentServerPort>
<DevelopmentServerVPath>/</DevelopmentServerVPath>
<IISUrl>http://localhost:8899/</IISUrl>
<IISUrl>http://localhost:1783/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer>
<CustomServerUrl>
@@ -7,6 +7,12 @@
<head runat="server">
<title>管线信息</title>
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
<style>
.customlabel span {
color: red;
font-weight: bold;
}
</style>
</head>
<body>
<form id="form1" runat="server">
@@ -54,6 +60,8 @@
<Toolbars>
<f:Toolbar ID="Toolbar4" Position="Top" runat="server" ToolbarAlign="right">
<Items>
<f:Label ID="lbSinglePreRate" CssClass="customlabel" runat="server" Label="图纸预制率"></f:Label>
<f:ToolbarFill runat="server"></f:ToolbarFill>
<f:Button ID="btnSetShop" ToolTip="工厂预制" Text="工厂预制" Icon="ApplicationEdit"
EnablePostBack="true" OnClick="btnSetShop_Click" runat="server">
</f:Button>
@@ -212,6 +212,7 @@ namespace FineUIPro.Web.HJGL.PreDesign
var table = this.GetPagedDataTable(Grid1, list);
Grid1.DataSource = table;
Grid1.DataBind();
lbSinglePreRate.Text= GetSinglePreRateByUnitWork(this.tvControlItem.SelectedNodeID);
}
#endregion
@@ -394,7 +395,47 @@ namespace FineUIPro.Web.HJGL.PreDesign
}
return PipeAreaValue;
}
/// <summary>
/// 获取图纸预制率(工厂预制管线的预制达因/工厂预制管线的总达因)
/// </summary>
/// <param name="unitworkid"></param>
/// <returns></returns>
private string GetSinglePreRateByUnitWork(string unitworkid)
{
var db = Funs.DB;
var pipeline=from x in db.View_HJGL_Pipeline where x.UnitWorkId == unitworkid && x.PipeArea=="1" select x;
var q = from x in db.View_HJGL_WeldJoint where x.UnitWorkId == unitworkid select x;
string rate = "";
if (q != null && q.Count() > 0)
{
var proSum = (from x in q
join y in pipeline on x.PipelineId equals y.PipelineId into temp
from tt in temp.DefaultIfEmpty()
where x.JointAttribute == "预制口"
group x by x.UnitWorkId into g
select new
{
SizeSum = g.Sum(x => x.Size)
}).FirstOrDefault().SizeSum;
var AllSum = (from x in pipeline
group x by x.UnitWorkId into g
select new
{
SizeSum = g.Sum(x => x.TotalDin)
}).FirstOrDefault().SizeSum;
proSum = (proSum != null) ? proSum : 0;
if (AllSum > 0)
{
var a = (decimal)100 * proSum / AllSum;
rate = Math.Round((decimal)a, 1).ToString() + "%";
}
return rate;
}
return "0%";
}
}
}
@@ -131,6 +131,15 @@ namespace FineUIPro.Web.HJGL.PreDesign
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar4;
/// <summary>
/// lbSinglePreRate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbSinglePreRate;
/// <summary>
/// btnSetShop 控件。
/// </summary>
@@ -95,7 +95,7 @@
</f:Toolbar>
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Left">
<Items>
<f:Label ID="lbSinglePreRate" CssClass="customlabel" runat="server" Label="图纸预制率"></f:Label>
<f:Label ID="lbSinglePreRate" CssClass="customlabel" runat="server" Label="主项预制率"></f:Label>
<f:Label ID="lbShopSize" CssClass="customlabel" runat="server" Label="预制口达因"></f:Label>
<f:Label ID="lbFiledSize" CssClass="customlabel" runat="server" Label="安装口达因"></f:Label>
@@ -478,6 +478,8 @@ namespace FineUIPro.Web.HJGL.WeldingManage
}
return "0%";
}
#endregion
#region
@@ -70,7 +70,8 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="Approval_Construction" runat="server" EnableEdit="true" Label="施工管理部" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="Approval_Construction" runat="server" EnableEdit="true" Label="主办部门负责人" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
@@ -53,6 +53,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
ActionPlanReviewId = Request.Params["ActionPlanReviewId"];
#region
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
/// 绑定施工管理部正副主任
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(Approval_Construction, null, CurrUser.UnitId, Const.ConstructionMinister + "," + Const.ConstructionViceMinister, false);
@@ -91,6 +92,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
DropPreliminaryMan.SelectedValue = Convert.ToString(act.PreliminaryMan);
DropProjectManager.SelectedValue = Convert.ToString(act.ProjectManager);
DropDeputyGeneralManager.SelectedValue = Convert.ToString(act.DeputyGeneralManager);
DropDepart.SelectedValue = Convert.ToString(act.DepartId);
}
/// <summary>
/// 数据绑定
@@ -136,9 +138,15 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
ShowNotify("请选择合同", MessageBoxIcon.Warning);
return isOk;
}
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
if (Approval_Construction.SelectedValue == Const._Null)
{
ShowNotify("请选择施工管理部人员", MessageBoxIcon.Warning);
ShowNotify("请选择部门审批人员", MessageBoxIcon.Warning);
return isOk;
}
@@ -154,6 +162,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
newmodel.PreliminaryMan = DropPreliminaryMan.SelectedValue;
newmodel.ProjectManager = DropProjectManager.SelectedValue;
newmodel.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
newmodel.DepartId = DropDepart.SelectedValue;
BLL.PHTGL_ActionPlanReviewService.UpdatePHTGL_ActionPlanReview(newmodel);
isOk = true;
return isOk;
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.PHTGL.BiddingManagement {
public partial class ActionPlanReviewEdit {
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
public partial class ActionPlanReviewEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Form3 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form3;
/// <summary>
/// drpProjectId 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownBox drpProjectId;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// lblPageIndex 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPageIndex;
/// <summary>
/// DropConstructionManager 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropConstructionManager;
/// <summary>
/// DropPreliminaryMan 控件。
/// </summary>
@@ -101,7 +103,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropPreliminaryMan;
/// <summary>
/// DropDepart 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDepart;
/// <summary>
/// Approval_Construction 控件。
/// </summary>
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList Approval_Construction;
/// <summary>
/// DropProjectManager 控件。
/// </summary>
@@ -119,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropProjectManager;
/// <summary>
/// DropDeputyGeneralManager 控件。
/// </summary>
@@ -128,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDeputyGeneralManager;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -137,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -146,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -155,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -164,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -173,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// Window1 控件。
/// </summary>
@@ -93,7 +93,9 @@
</f:FormRow>--%>
<f:FormRow>
<Items>
<f:DropDownList ID="DropApproval_Construction" runat="server" AutoPostBack="true" EnableEdit="true" Label="施工管理部" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="DropApproval_Construction" runat="server" AutoPostBack="true" EnableEdit="true" Label="主办部门负责人" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
</Items>
</f:FormRow>
@@ -41,6 +41,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
ApproveUserReviewID = Request.Params["ApproveUserReviewID"];
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
BLL.PHTGL_BidDocumentsReviewService.InitGetBidCompleteDropDownList(drpBidDocumentCode, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropUser, null, Const.UnitId_SEDIN, null, false);
@@ -108,7 +109,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
// DropProjectManager.SelectedValue = Bid.ProjectManager;
DropApproval_Construction.SelectedValue = Bid.Approval_Construction;
//DropDeputyGeneralManager.SelectedValue = Bid.DeputyGeneralManager;
DropDepart.SelectedValue = Bid.DepartId;
}
}
@@ -172,9 +173,15 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
// return false;
//}
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
if (DropApproval_Construction.SelectedValue == Const._Null)
{
ShowNotify("请选择施工管理部人员!", MessageBoxIcon.Warning);
ShowNotify("请选择部门审批人员!", MessageBoxIcon.Warning);
return false;
}
@@ -198,6 +205,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
// newtable.ProjectManager = DropProjectManager.SelectedValue;
newtable.Approval_Construction = DropApproval_Construction.SelectedValue;
// newtable.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
newtable.DepartId = DropDepart.SelectedValue;
if (string.IsNullOrEmpty(ApproveUserReviewID))
{
newtable.ApproveUserReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_BidApproveUserReview));
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.PHTGL.BiddingManagement {
public partial class ApproveUserReviewEdit {
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
public partial class ApproveUserReviewEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// Label1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// drpBidDocumentCode 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList drpBidDocumentCode;
/// <summary>
/// txtBidProject 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidProject;
/// <summary>
/// Label7 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label7;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar2 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnNew 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// btnDelete 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnDelete;
/// <summary>
/// DropUser 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropUser;
/// <summary>
/// txtApproveUserSpecial 控件。
/// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApproveUserSpecial;
/// <summary>
/// txtApproveUserUnit 控件。
/// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtApproveUserUnit;
/// <summary>
/// txtRemarks 控件。
/// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtRemarks;
/// <summary>
/// DropConstructionManager 控件。
/// </summary>
@@ -173,7 +175,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropConstructionManager;
/// <summary>
/// DropDepart 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDepart;
/// <summary>
/// DropApproval_Construction 控件。
/// </summary>
@@ -182,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropApproval_Construction;
/// <summary>
/// label12 控件。
/// </summary>
@@ -191,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label label12;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -200,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -209,7 +220,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -218,7 +229,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -136,7 +136,9 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="Approval_Construction" runat="server" Label="施工管理部" AutoSelectFirstItem="false" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="Approval_Construction" runat="server" Label="主办部门负责人" AutoSelectFirstItem="false" Required="true" ShowRedStar="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
</Items>
</f:FormRow>
</Rows>
@@ -75,6 +75,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
//总承包合同编号
// BLL.ProjectService.InitAllProjectCodeDropDownList(this.DropProjectId, true);
//招标方式
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
BLL.PHTGL_BidDocumentsReviewService.InitGetBidTypeDropDownList(this.txtBidType, false);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropConstructionManager, null, Const.UnitId_SEDIN, null, false);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropControlManager, null, Const.UnitId_SEDIN, null, false);
@@ -137,6 +138,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
DropControlManager.SelectedValue = Bid.ControlManager;
DropProjectManager.SelectedValue = Bid.ProjectManager;
DropPreliminaryMan.SelectedValue = Bid.PreliminaryMan;
DropDepart.SelectedValue = Bid.DepartId;
}
}
}
@@ -212,6 +214,12 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
private bool Save()
{
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
//if (Approval_Construction.SelectedValue==Const._Null)
//{
// ShowNotify("请选择施工管理部审批人员!", MessageBoxIcon.Warning);
@@ -247,6 +255,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
pHTGL_Bid.ControlManager = DropControlManager.SelectedValue;
pHTGL_Bid.PreliminaryMan = DropPreliminaryMan.SelectedValue;
pHTGL_Bid.ProjectManager = DropProjectManager.SelectedValue;
pHTGL_Bid.DepartId = DropDepart.SelectedValue;
}
if (string.IsNullOrEmpty(BidDocumentsReviewId))
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.PHTGL.BiddingManagement {
public partial class BidDocumentsReviewEdit {
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
public partial class BidDocumentsReviewEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Form2 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// drpProjectId 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownBox drpProjectId;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// lblPageIndex 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblPageIndex;
/// <summary>
/// txtEPCCode 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtEPCCode;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtBidType 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList txtBidType;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// txtBidDocumentsCode 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidDocumentsCode;
/// <summary>
/// txtBidDocumentsName 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidDocumentsName;
/// <summary>
/// txtBidContent 控件。
/// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtBidContent;
/// <summary>
/// Bidding_SendTime 控件。
/// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker Bidding_SendTime;
/// <summary>
/// Bidding_StartTime 控件。
/// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker Bidding_StartTime;
/// <summary>
/// ContentPanel2 控件。
/// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel2;
/// <summary>
/// Form3 控件。
/// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form3;
/// <summary>
/// DropConstructionManager 控件。
/// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropConstructionManager;
/// <summary>
/// DropControlManager 控件。
/// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropControlManager;
/// <summary>
/// DropProjectManager 控件。
/// </summary>
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropProjectManager;
/// <summary>
/// DropPreliminaryMan 控件。
/// </summary>
@@ -218,7 +220,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropPreliminaryMan;
/// <summary>
/// DropDepart 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDepart;
/// <summary>
/// Approval_Construction 控件。
/// </summary>
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList Approval_Construction;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -236,7 +247,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@@ -245,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -254,7 +265,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -263,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -272,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -281,7 +292,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -141,7 +141,8 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="DropApproval_Construction" runat="server" AutoPostBack="true" EnableEdit="true" Label="施工管理部" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="DropApproval_Construction" runat="server" AutoPostBack="true" EnableEdit="true" Label="主办部门负责人" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
@@ -43,7 +43,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
SetSubReviewID = Request.Params["SetSubReviewID"];
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
PHTGL_BidApproveUserReviewService.InitGetBidCompleteDropDownList(DropBidCode, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.DropConstructionManager, null, Const.UnitId_SEDIN, null, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.DropProjectManager, null, Const.UnitId_SEDIN, null, true);
@@ -125,7 +125,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
StartTime.SelectedDate = BidDocument.Bidding_StartTime;
string[] a = { _SetSubReview.IsOwenerApprove.ToString() };
CBIsOwenerApprove.SelectedValueArray = a;
DropDepart.SelectedValue = _SetSubReview.DepartId;
this.DropConstructionManager.SelectedValue = _SetSubReview.ConstructionManager;
this.DropProjectManager.SelectedValue = _SetSubReview.ProjectManager;
this.DropApproval_Construction.SelectedValue = _SetSubReview.Approval_Construction;
@@ -208,10 +208,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
ShowNotify("请选择项目经理!", MessageBoxIcon.Warning);
return false;
}
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
if (DropApproval_Construction.SelectedValue == Const._Null)
{
ShowNotify("请选择施工管理部人员!", MessageBoxIcon.Warning);
ShowNotify("请选择部门审批人员!", MessageBoxIcon.Warning);
return false;
}
@@ -257,6 +263,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
_SetSubReview.ProjectManager = DropProjectManager.SelectedValue;
_SetSubReview.Approval_Construction = DropApproval_Construction.SelectedValue;
_SetSubReview.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
_SetSubReview.DepartId = DropDepart.SelectedValue;
_SetSubReview.IsOwenerApprove = Convert.ToInt32(CBIsOwenerApprove.SelectedValueArray[0]);
if (string.IsNullOrEmpty(SetSubReviewID))
{
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.PHTGL.BiddingManagement {
public partial class SetSubReviewEdit {
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
public partial class SetSubReviewEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Form2 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// txtSetSubReviewCode 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSetSubReviewCode;
/// <summary>
/// DropBidCode 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropBidCode;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtBidContent 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidContent;
/// <summary>
/// StartTime 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker StartTime;
/// <summary>
/// CBIsOwenerApprove 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBoxList CBIsOwenerApprove;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// lable22 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lable22;
/// <summary>
/// btnAttachUrl2 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl2;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar2 控件。
/// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// ToolbarFill2 控件。
/// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill2;
/// <summary>
/// btnNew 控件。
/// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// btnDelete 控件。
/// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnDelete;
/// <summary>
/// TextBox2 控件。
/// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox2;
/// <summary>
/// TextBox3 控件。
/// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox3;
/// <summary>
/// TextBox4 控件。
/// </summary>
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox4;
/// <summary>
/// TextBox5 控件。
/// </summary>
@@ -218,7 +220,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox5;
/// <summary>
/// TextBox6 控件。
/// </summary>
@@ -227,7 +229,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox6;
/// <summary>
/// TextBox7 控件。
/// </summary>
@@ -236,7 +238,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox7;
/// <summary>
/// DropConstructionManager 控件。
/// </summary>
@@ -245,7 +247,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropConstructionManager;
/// <summary>
/// DropDepart 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDepart;
/// <summary>
/// DropApproval_Construction 控件。
/// </summary>
@@ -254,7 +265,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropApproval_Construction;
/// <summary>
/// DropProjectManager 控件。
/// </summary>
@@ -263,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropProjectManager;
/// <summary>
/// DropDeputyGeneralManager 控件。
/// </summary>
@@ -272,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDeputyGeneralManager;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -281,7 +292,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@@ -290,7 +301,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -299,7 +310,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -308,7 +319,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -317,7 +328,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -326,7 +337,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -122,7 +122,9 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="DropApproval_Construction" runat="server" AutoPostBack="true" EnableEdit="true" Label="施工管理部" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="DropApproval_Construction" runat="server" AutoPostBack="true" EnableEdit="true" Label="主办部门负责人" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
@@ -42,7 +42,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
SetSubReviewID = Request.Params["SetSubReviewID"];
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
PHTGL_BidApproveUserReviewService.InitGetBidCompleteDropDownList(DropBidCode, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.DropConstructionManager, null, Const.UnitId_SEDIN, null, true);
Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(this.DropProjectManager, null, Const.UnitId_SEDIN, null, true);
@@ -124,6 +124,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
this.DropProjectManager.SelectedValue = _SetSubReview.ProjectManager;
this.DropApproval_Construction.SelectedValue = _SetSubReview.Approval_Construction;
this.DropDeputyGeneralManager.SelectedValue = _SetSubReview.DeputyGeneralManager;
DropDepart.SelectedValue = _SetSubReview.DepartId;
}
}
@@ -200,10 +201,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
ShowNotify("请选择项目经理!", MessageBoxIcon.Warning);
return false;
}
if (DropDepart.SelectedValue == Const._Null)
{
ShowNotify("请选择部门!", MessageBoxIcon.Warning);
return false;
}
if (DropApproval_Construction.SelectedValue == Const._Null)
{
ShowNotify("请选择施工管理部人员!", MessageBoxIcon.Warning);
ShowNotify("请选择部门审批人员!", MessageBoxIcon.Warning);
return false;
}
@@ -249,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement
_SetSubReview.Approval_Construction = DropApproval_Construction.SelectedValue;
_SetSubReview.DeputyGeneralManager = DropDeputyGeneralManager.SelectedValue;
_SetSubReview.IsOwenerApprove = Convert.ToInt32(CBIsOwenerApprove.SelectedValueArray[0]);
_SetSubReview.DepartId = DropDepart.SelectedValue;
if (string.IsNullOrEmpty(SetSubReviewID))
{
_SetSubReview.SetSubReviewID = SQLHelper.GetNewID(typeof(Model.PHTGL_SetSubReview));
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.PHTGL.BiddingManagement {
public partial class SetSubReviewEdit2 {
namespace FineUIPro.Web.PHTGL.BiddingManagement
{
public partial class SetSubReviewEdit2
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Form2 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form Form2;
/// <summary>
/// txtSetSubReviewCode 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtSetSubReviewCode;
/// <summary>
/// DropBidCode 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropBidCode;
/// <summary>
/// txtProjectName 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtBidContent 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtBidContent;
/// <summary>
/// StartTime 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker StartTime;
/// <summary>
/// CBIsOwenerApprove 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.CheckBoxList CBIsOwenerApprove;
/// <summary>
/// btnAttachUrl 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl;
/// <summary>
/// lable22 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lable22;
/// <summary>
/// btnAttachUrl2 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnAttachUrl2;
/// <summary>
/// Grid1 控件。
/// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Grid Grid1;
/// <summary>
/// Toolbar2 控件。
/// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar2;
/// <summary>
/// ToolbarFill2 控件。
/// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill2;
/// <summary>
/// btnNew 控件。
/// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnNew;
/// <summary>
/// btnDelete 控件。
/// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnDelete;
/// <summary>
/// TextBox2 控件。
/// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox2;
/// <summary>
/// TextBox3 控件。
/// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox3;
/// <summary>
/// TextBox4 控件。
/// </summary>
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox TextBox4;
/// <summary>
/// DropConstructionManager 控件。
/// </summary>
@@ -218,7 +220,16 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropConstructionManager;
/// <summary>
/// DropDepart 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDepart;
/// <summary>
/// DropApproval_Construction 控件。
/// </summary>
@@ -227,7 +238,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropApproval_Construction;
/// <summary>
/// DropProjectManager 控件。
/// </summary>
@@ -236,7 +247,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropProjectManager;
/// <summary>
/// DropDeputyGeneralManager 控件。
/// </summary>
@@ -245,7 +256,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDeputyGeneralManager;
/// <summary>
/// Toolbar1 控件。
/// </summary>
@@ -254,7 +265,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Toolbar Toolbar1;
/// <summary>
/// lbTemp 控件。
/// </summary>
@@ -263,7 +274,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label lbTemp;
/// <summary>
/// ToolbarFill1 控件。
/// </summary>
@@ -272,7 +283,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -281,7 +292,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnSubmit 控件。
/// </summary>
@@ -290,7 +301,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSubmit;
/// <summary>
/// btnClose 控件。
/// </summary>
@@ -299,7 +310,7 @@ namespace FineUIPro.Web.PHTGL.BiddingManagement {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnClose;
/// <summary>
/// WindowAtt 控件。
/// </summary>
@@ -101,7 +101,9 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="dropCountersign_Construction" runat="server" Label="施工管理部" Required="true" AutoSelectFirstItem="false" ShowRedStar="true" AutoPostBack="true" EnableEdit="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
<f:DropDownList ID="DropDepart" runat="server" EnableEdit="true" Label="主办部门" LabelAlign="Right" LabelWidth="120px"></f:DropDownList>
<f:DropDownList ID="dropCountersign_Construction" runat="server" Label="主办部门负责人" Required="true" AutoSelectFirstItem="false" ShowRedStar="true" AutoPostBack="true" EnableEdit="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
</Items>
</f:FormRow>
<f:FormRow>
@@ -140,7 +142,7 @@
</f:FormRow>
<f:FormRow>
<Items>
<f:DropDownList ID="dropApproval_Construction" runat="server" Label="施工管理部" Required="true" ShowRedStar="true" AutoSelectFirstItem="false" EnableEdit="true" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:DropDownList>
<f:DropDownList ID="dropApproval_Construction" runat="server" Label="部门审批人" Required="true" ShowRedStar="true" AutoSelectFirstItem="false" EnableEdit="true" LabelAlign="Right" AutoPostBack="true" LabelWidth="140px"></f:DropDownList>
<f:DropDownList ID="DropGeneralAccountant" runat="server" Label="总会计师" Required="true" Hidden="true" ShowRedStar="true" AutoSelectFirstItem="false" AutoPostBack="true" EnableEdit="true" LabelAlign="Right" LabelWidth="140px"></f:DropDownList>
</Items>
</f:FormRow>
@@ -33,6 +33,8 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
dropApproval_Construction.Label = "劳务管理组";
DropProjectManager2.Label = "运营管理部";
}
BLL.DepartService.InitDepartDropDownList(DropDepart, true);
#region
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropConstructionManager, null, Const.UnitId_SEDIN, null, true);//施工经理
BLL.Person_PersonsService.InitUserProjectIdUnitIdRoleIdDropDownList(DropPurchasingManager, null, Const.UnitId_SEDIN, null, true);//采购经理
@@ -151,6 +153,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
DropGeneralManager.SelectedValue = Convert.ToString(newmodel.Approval_GeneralManager);
DropGeneral_Law.SelectedValue = Convert.ToString(newmodel.Approval_GeneralLaw);
DropChairman.SelectedValue = Convert.ToString(newmodel.Approval_Chairman);
DropDepart.SelectedValue = Convert.ToString(newmodel.DepartId);
// DropProjectManager_SelectedIndexChanged(null, null);
Model.PHTGL_Contract table = BLL.ContractService.GetContractById(this.drpProjectId.Value);
txtContractNum.Text = BLL.ContractService.GetContractByProjectId(table.ProjectId).ContractNum;
@@ -215,6 +218,7 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
newmodel.Approval_GeneralLaw = DropGeneral_Law.SelectedValue;
newmodel.CreateUser = this.CurrUser.PersonId;
newmodel.Idea = txtIdea.Text;
newmodel.DepartId = DropDepart.SelectedValue;
if (ContractReviewId == null)
{
newmodel.ContractReviewId = SQLHelper.GetNewID(typeof(Model.PHTGL_ContractReview));
@@ -149,6 +149,15 @@ namespace FineUIPro.Web.PHTGL.ContractCompile
/// </remarks>
protected global::FineUIPro.DropDownList DropProjectManager;
/// <summary>
/// DropDepart 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DropDownList DropDepart;
/// <summary>
/// dropCountersign_Construction 控件。
/// </summary>
@@ -39,7 +39,7 @@ namespace FineUIPro.Web.Person
private void BindGrid()
{
var getData = Person_PersonsService.getListData(Const.UnitId_SEDIN, this.drpDepart.SelectedValue, this.drpProject.SelectedValue,
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue,this.drpPersonType.SelectedValue, Grid1);
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, null, Grid1);
Grid1.RecordCount = Person_PersonsService.count;
Grid1.DataSource = getData;
Grid1.DataBind();
@@ -90,7 +90,7 @@ namespace FineUIPro.Web.Person
private void BindGrid()
{
var getData = Person_PersonsService.getListData(Const.UnitId_SEDIN, Const.Depart_constructionId, this.drpProject.SelectedValue,
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, Grid1);
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, null, Grid1);
Grid1.RecordCount = Person_PersonsService.count;
Grid1.DataSource = getData;
Grid1.DataBind();
+1
View File
@@ -35,6 +35,7 @@
</f:DropDownList>
<f:TextBox runat="server" ID="txtPersonName" EmptyText="按姓名查询" ></f:TextBox>
<f:TextBox runat="server" ID="txtIdCard" EmptyText="按身份证查询" ></f:TextBox>
<f:TextBox runat="server" ID="txtAccount" EmptyText="按账号查询" ></f:TextBox>
<f:DropDownList runat="server" ID="drpIsPost" EnableEdit="true"
LabelAlign="Right" EmptyText="请选择人员状态" AutoPostBack="true" OnSelectedIndexChanged="btSearch_Click">
</f:DropDownList>
+1 -1
View File
@@ -43,7 +43,7 @@ namespace FineUIPro.Web.Person
private void BindGrid()
{
var getData = Person_PersonsService.getListData(this.drpUnit.SelectedValue, this.drpDepart.SelectedValue, this.drpProject.SelectedValue,
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, Grid1);
this.txtPersonName.Text.Trim(), this.txtIdCard.Text.Trim(), this.drpIsPost.SelectedValue, this.drpPersonType.SelectedValue, this.txtAccount.Text.Trim(), Grid1);
Grid1.RecordCount = Person_PersonsService.count;
Grid1.DataSource = getData;
Grid1.DataBind();
+9
View File
@@ -104,6 +104,15 @@ namespace FineUIPro.Web.Person
/// </remarks>
protected global::FineUIPro.TextBox txtIdCard;
/// <summary>
/// txtAccount 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtAccount;
/// <summary>
/// drpIsPost 控件。
/// </summary>
@@ -22,7 +22,7 @@
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="SimpleForm1" />
<f:Panel ID="Panel2" runat="server" ShowHeader="false" ShowBorder="false" ColumnWidth="100%" MarginRight="5px">
<Items>
<f:TabStrip ID="TabStrip1" CssClass="f-tabstrip-theme-simple" Height="550px" ShowBorder="true"
<f:TabStrip ID="TabStrip1" CssClass="f-tabstrip-theme-simple" ShowBorder="true" Height="650px"
TabPosition="Top" MarginBottom="5px" EnableTabCloseMenu="false" runat="server"
ActiveTabIndex="0">
<Tabs>