diff --git a/CreateModel.bat b/CreateModel.bat
index 7f29540..2b82dc5 100644
--- a/CreateModel.bat
+++ b/CreateModel.bat
@@ -27,7 +27,7 @@ REM --------------
@echo.
@call "%VS100COMNTOOLS%"vsvars32.bat
-SqlMetal /views /server:.\SQL2016 /database:EProjectDB /code:%Model_ROOT%\Model.cs /namespace:Model
+SqlMetal /views /server:.\SQL2022 /database:EProjectDB /code:%Model_ROOT%\Model.cs /namespace:Model
@ECHO
pause
diff --git a/EProject/BLL/BLL.csproj b/EProject/BLL/BLL.csproj
index e9c8cdf..5c92bb8 100644
--- a/EProject/BLL/BLL.csproj
+++ b/EProject/BLL/BLL.csproj
@@ -158,6 +158,7 @@
+
@@ -165,6 +166,7 @@
+
diff --git a/EProject/BLL/BaseInfo/QuantityDesctiptionService.cs b/EProject/BLL/BaseInfo/QuantityDesctiptionService.cs
new file mode 100644
index 0000000..4ad0a3d
--- /dev/null
+++ b/EProject/BLL/BaseInfo/QuantityDesctiptionService.cs
@@ -0,0 +1,178 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Security.Cryptography;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace BLL
+{
+ public class QuantityDesctiptionService
+ {
+ public static Model.Base_QuantityDesctiption GetQuantityDesctiptionById(string keyId)
+ {
+ return Funs.DB.Base_QuantityDesctiption.FirstOrDefault(e => e.KeyId == keyId);
+ }
+
+ ///
+ /// 增加
+ ///
+ ///
+ public static void AddQuantityDesctiption(Model.Base_QuantityDesctiption des)
+ {
+ Model.Base_QuantityDesctiption newDes = new Model.Base_QuantityDesctiption();
+ newDes.KeyId = des.KeyId;
+ newDes.DepartId = des.DepartId;
+ newDes.DisciplinesWBSId = des.DisciplinesWBSId;
+ newDes.QuantityDesctiption = des.QuantityDesctiption;
+ newDes.PlanMHRsUnit = des.PlanMHRsUnit;
+ Funs.DB.Base_QuantityDesctiption.InsertOnSubmit(newDes);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改
+ ///
+ ///
+ public static void UpdateQuantityDesctiption(Model.Base_QuantityDesctiption des)
+ {
+ Model.Base_QuantityDesctiption newDes = Funs.DB.Base_QuantityDesctiption.FirstOrDefault(e => e.KeyId == des.KeyId);
+ if (newDes != null)
+ {
+ newDes.DepartId = des.DepartId;
+ newDes.DisciplinesWBSId = des.DisciplinesWBSId;
+ newDes.QuantityDesctiption = des.QuantityDesctiption;
+ newDes.PlanMHRsUnit = des.PlanMHRsUnit;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 删除
+ ///
+ ///
+ public static void DeleteQuantityDesctiptionById(string keyId)
+ {
+ Model.Base_QuantityDesctiption newDes = Funs.DB.Base_QuantityDesctiption.FirstOrDefault(e => e.KeyId == keyId);
+ if (newDes != null)
+ {
+ Funs.DB.Base_QuantityDesctiption.DeleteOnSubmit(newDes);
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 验证是否存在
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ public static bool IsExitQuantityDesctiption(string departId, string DisciplinesWBSId, string quantityDesctiption, string id)
+ {
+ var q = Funs.DB.Base_QuantityDesctiption.FirstOrDefault(x => x.DepartId == departId && x.DisciplinesWBSId == DisciplinesWBSId && x.QuantityDesctiption == quantityDesctiption && x.KeyId != id);
+ if (q != null)
+ {
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ }
+
+ #region Identifier下拉值加载
+ public static void InitIdentifierDropDownList(FineUIPro.DropDownList dropName,string type, bool isShowPlease)
+ {
+ dropName.DataValueField = "DisciplinesWBSCode";
+ dropName.DataTextField = "DisciplinesWBSCode";
+ dropName.DataSource = GetDisciplinesWBSCodeList(type);
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName,"-请选择-");
+ }
+ }
+
+ public static List GetDisciplinesWBSCodeList(string type)
+ {
+ return (from x in Funs.DB.Base_QuantityDesctiption
+ join y in Funs.DB.Base_DisciplinesWBS on x.DisciplinesWBSId equals y.DisciplinesWBSId
+ where x.DepartId == type
+ orderby y.DisciplinesWBSCode
+ select y.DisciplinesWBSCode).Distinct().ToList();
+ }
+ #endregion
+
+ #region Descipline下拉值加载
+ public static void InitDesciplineDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease,string type, string disciplinesWBSCode)
+ {
+ dropName.DataValueField = "DisciplinesWBSName";
+ dropName.DataTextField = "DisciplinesWBSName";
+ dropName.DataSource = GetDesciplineList(type,disciplinesWBSCode);
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName, "-请选择-");
+ }
+ }
+
+ public static List GetDesciplineList(string type,string disciplinesWBSCode)
+ {
+ return (from x in Funs.DB.Base_QuantityDesctiption
+ join y in Funs.DB.Base_DisciplinesWBS on x.DisciplinesWBSId equals y.DisciplinesWBSId
+ where y.DisciplinesWBSCode == disciplinesWBSCode && x.DepartId == type
+ orderby y.DisciplinesWBSName
+ select y.DisciplinesWBSName).Distinct().ToList();
+ }
+ #endregion
+
+ #region Quantity Desctiption 下拉值加载
+ public static void InitQuantityDesctiptionDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease,string type, string disciplinesWBSCode, string disciplinesWBSName)
+ {
+ dropName.DataValueField = "QuantityDesctiption";
+ dropName.DataTextField = "QuantityDesctiption";
+ dropName.DataSource = GetQuantityDesctiptionList(type,disciplinesWBSCode, disciplinesWBSName);
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName, "-请选择-");
+ }
+ }
+
+ public static List GetQuantityDesctiptionList(string type, string disciplinesWBSCode, string disciplinesWBSName)
+ {
+ return (from x in Funs.DB.Base_QuantityDesctiption
+ join y in Funs.DB.Base_DisciplinesWBS on x.DisciplinesWBSId equals y.DisciplinesWBSId
+ where x.DepartId == type && y.DisciplinesWBSCode == disciplinesWBSCode && y.DisciplinesWBSName == disciplinesWBSName
+ orderby x.QuantityDesctiption
+ select x.QuantityDesctiption).Distinct().ToList();
+ }
+ #endregion
+
+ #region PlanMHRsUnit 下拉值加载
+ public static void InitPlanMHRsUnitDropDownList(FineUIPro.DropDownList dropName, bool isShowPlease,string type, string disciplinesWBSCode, string disciplinesWBSName, string quantityDesctiption)
+ {
+ dropName.DataValueField = "PlanMHRsUnit";
+ dropName.DataTextField = "PlanMHRsUnit";
+ dropName.DataSource = GetPlanMHRsUnitList(type,disciplinesWBSCode, disciplinesWBSName, quantityDesctiption);
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName, "-请选择-");
+ }
+ }
+
+ public static List GetPlanMHRsUnitList(string type, string disciplinesWBSCode, string disciplinesWBSName, string quantityDesctiption)
+ {
+ return (from x in Funs.DB.Base_QuantityDesctiption
+ join y in Funs.DB.Base_DisciplinesWBS on x.DisciplinesWBSId equals y.DisciplinesWBSId
+ where x.DepartId == type && y.DisciplinesWBSCode == disciplinesWBSCode && y.DisciplinesWBSName == disciplinesWBSName
+ && x.QuantityDesctiption == quantityDesctiption
+ orderby x.PlanMHRsUnit
+ select x.PlanMHRsUnit.ToString()).Distinct().ToList();
+ }
+ #endregion
+ }
+}
diff --git a/EProject/BLL/Common/CommonService.cs b/EProject/BLL/Common/CommonService.cs
index 1270efa..149bd2c 100644
--- a/EProject/BLL/Common/CommonService.cs
+++ b/EProject/BLL/Common/CommonService.cs
@@ -293,7 +293,10 @@ namespace BLL
if (user.UserId == Const.GlyId) //// 如果是管理员或者本部人员返回所有菜单
{
var sysMenu = from x in Funs.DB.Sys_Menu orderby x.SortIndex select x;
- reMenuList = sysMenu.ToList();
+ if (sysMenu.Count() > 0)
+ {
+ reMenuList = sysMenu.ToList();
+ }
}
else
{
@@ -302,7 +305,10 @@ namespace BLL
where y.RoleId == user.RoleId
orderby x.SortIndex
select x;
- reMenuList = sysMenuRole.ToList();
+ if (sysMenuRole.Count() > 0)
+ {
+ reMenuList = sysMenuRole.ToList();
+ }
// PM,EM,CM权限特殊处理
List pm = (from x in Funs.DB.Editor_EProject select x.ProjectControl_ProjectManagerId).ToList();
@@ -312,13 +318,19 @@ namespace BLL
{
Model.Sys_Menu addSupMenu = (from x in Funs.DB.Sys_Menu where x.MenuId == "1FA19FE4-D8B9-4D1B-8EB0-CAC05B71AFBB" select x).First();
Model.Sys_Menu addMenu = (from x in Funs.DB.Sys_Menu where x.MenuId == Const.PMEditorMenuId select x).First();
- reMenuList.Add(addMenu);
+ if (addMenu != null)
+ {
+ reMenuList.Add(addMenu);
+ }
}
if (cm.Contains(user.UserId))
{
Model.Sys_Menu addSupMenu = (from x in Funs.DB.Sys_Menu where x.MenuId == "1FA19FE4-D8B9-4D1B-8EB0-CAC05B71AFBB" select x).First();
Model.Sys_Menu addMenu = (from x in Funs.DB.Sys_Menu where x.MenuId == Const.CMEditorMenuId select x).First();
- reMenuList.Add(addMenu);
+ if (addMenu != null)
+ {
+ reMenuList.Add(addMenu);
+ }
}
// 对资源模块的特殊处理:CTE/M具有RP权限
@@ -326,8 +338,14 @@ namespace BLL
{
Model.Sys_Menu addSupMenu = (from x in Funs.DB.Sys_Menu where x.MenuId == "72CDB9E2-F44B-4F96-A578-3271211FDC15" select x).First();
Model.Sys_Menu addMenu = (from x in Funs.DB.Sys_Menu where x.MenuId == Const.ResourcePlanMenuId select x).First();
- reMenuList.Add(addSupMenu);
- reMenuList.Add(addMenu);
+ if (addSupMenu != null)
+ {
+ reMenuList.Add(addSupMenu);
+ }
+ if (addMenu != null)
+ {
+ reMenuList.Add(addMenu);
+ }
}
}
diff --git a/EProject/BLL/Common/Const.cs b/EProject/BLL/Common/Const.cs
index 8a5b19e..f237347 100644
--- a/EProject/BLL/Common/Const.cs
+++ b/EProject/BLL/Common/Const.cs
@@ -299,6 +299,12 @@ namespace BLL
/// 超链接设置
///
public const string HyperLinkSetMenuId = "CE289C0B-7E32-4DD3-B02E-60368EE47CCB";
+
+ ///
+ /// Key Quantity-QuantityDesctiption
+ ///
+ public const string QuantityDesctiptionMenuId = "17E4B346-13C4-4751-8C8A-8F8A3C7CF9DD";
+
#endregion
#region 编辑器
@@ -356,6 +362,11 @@ namespace BLL
/// 成本报告
///
public const string CostReportMenuId = "02069175-4901-4325-8019-3442D409233E";
+
+ ///
+ /// Key Quantity Editor
+ ///
+ public const string KeyQuantityMenuId = "070C3436-1408-430B-B8BD-C6D2CCB80103";
#endregion
#region 资源计划
@@ -736,6 +747,11 @@ namespace BLL
///
public const string CMTDCString = "CMTDC";
+ ///
+ /// 设计输入策划
+ ///
+ public const string DesignPlanString = "DesignPlan";
+
///
/// 设计输入提醒
///
diff --git a/EProject/BLL/EditorManage/EProjectService.cs b/EProject/BLL/EditorManage/EProjectService.cs
index 20a4c96..cfbb276 100644
--- a/EProject/BLL/EditorManage/EProjectService.cs
+++ b/EProject/BLL/EditorManage/EProjectService.cs
@@ -122,6 +122,7 @@ namespace BLL
newEProject.StudyWo = eProject.StudyWo;
newEProject.CreateDate = eProject.CreateDate;
newEProject.CreatePerson = eProject.CreatePerson;
+ newEProject.ProjectControl_RFSU_CloseDate = eProject.ProjectControl_RFSU_CloseDate;
db.Editor_EProject.InsertOnSubmit(newEProject);
db.SubmitChanges();
@@ -211,6 +212,7 @@ namespace BLL
newEProject.StudyWo = eProject.StudyWo;
newEProject.CreateDate = eProject.CreateDate;
newEProject.CreatePerson = eProject.CreatePerson;
+ newEProject.ProjectControl_RFSU_CloseDate = eProject.ProjectControl_RFSU_CloseDate;
//if (eProject.ProjectControl_JobStatus != "Hold")
//{
// newEProject.Job_Hold =null;
diff --git a/EProject/BLL/EditorManage/KeyQuantityService.cs b/EProject/BLL/EditorManage/KeyQuantityService.cs
new file mode 100644
index 0000000..790787f
--- /dev/null
+++ b/EProject/BLL/EditorManage/KeyQuantityService.cs
@@ -0,0 +1,89 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Web.UI.WebControls;
+using System.Windows.Forms;
+
+namespace BLL
+{
+ ///
+ /// Key Quantity
+ ///
+ public class KeyQuantityService
+ {
+ ///
+ /// 根据主键获取Key Quantity
+ ///
+ ///
+ ///
+ public static Model.Editor_KeyQuantity GetKeyQuantityById(string keyQuantityId)
+ {
+ return Funs.DB.Editor_KeyQuantity.FirstOrDefault(e => e.KeyQuantityId == keyQuantityId);
+ }
+
+ public static decimal? GetSumPlanMHRsByKeyId(string eprojectId, string identifier, string descipline)
+ {
+ decimal? sum = 0;
+ sum = (from x in Funs.DB.Editor_KeyQuantity where x.EProjectId == eprojectId && x.Identifier == identifier && x.Descipline == descipline select x.PlanMHRs).Sum();
+ return sum;
+ }
+
+ ///
+ /// 添加Key Quantity
+ ///
+ ///
+ public static void AddKeyQuantity(Model.Editor_KeyQuantity keyQuantity)
+ {
+ Model.Editor_KeyQuantity newKeyQuantity = new Model.Editor_KeyQuantity();
+ newKeyQuantity.KeyQuantityId = keyQuantity.KeyQuantityId;
+ newKeyQuantity.EProjectId = keyQuantity.EProjectId;
+ newKeyQuantity.KeyId = keyQuantity.KeyId;
+ newKeyQuantity.InputQuantity = keyQuantity.InputQuantity;
+ newKeyQuantity.PlanMHRs = keyQuantity.PlanMHRs;
+ newKeyQuantity.Identifier = keyQuantity.Identifier;
+ newKeyQuantity.Descipline = keyQuantity.Descipline;
+ newKeyQuantity.QuantityDesctiption = keyQuantity.QuantityDesctiption;
+ newKeyQuantity.PlanMHRsUnit = keyQuantity.PlanMHRsUnit;
+ newKeyQuantity.Type = keyQuantity.Type;
+ Funs.DB.Editor_KeyQuantity.InsertOnSubmit(newKeyQuantity);
+ Funs.DB.SubmitChanges();
+ }
+
+ ///
+ /// 修改key Quantity
+ ///
+ ///
+ public static void UpdateKeyQuantity(Model.Editor_KeyQuantity keyQuantity)
+ {
+ Model.Editor_KeyQuantity newKeyQuantity = Funs.DB.Editor_KeyQuantity.FirstOrDefault(e => e.KeyQuantityId == keyQuantity.KeyQuantityId);
+ if (newKeyQuantity != null)
+ {
+ newKeyQuantity.KeyId = keyQuantity.KeyId;
+ newKeyQuantity.InputQuantity = keyQuantity.InputQuantity;
+ newKeyQuantity.PlanMHRs = keyQuantity.PlanMHRs;
+ newKeyQuantity.Identifier = keyQuantity.Identifier;
+ newKeyQuantity.Descipline = keyQuantity.Descipline;
+ newKeyQuantity.QuantityDesctiption = keyQuantity.QuantityDesctiption;
+ newKeyQuantity.PlanMHRsUnit = keyQuantity.PlanMHRsUnit;
+ newKeyQuantity.Type = keyQuantity.Type;
+ Funs.DB.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除Key Quantity
+ ///
+ ///
+ public static void DeleteKeyQuantityById(string keyQuantityId)
+ {
+ Model.Editor_KeyQuantity keyQuantity = Funs.DB.Editor_KeyQuantity.FirstOrDefault(e => e.KeyQuantityId == keyQuantityId);
+ if (keyQuantity != null)
+ {
+ Funs.DB.Editor_KeyQuantity.DeleteOnSubmit(keyQuantity);
+ Funs.DB.SubmitChanges();
+ }
+ }
+ }
+}
diff --git a/EProject/BLL/ManHours/PlanService.cs b/EProject/BLL/ManHours/PlanService.cs
index dec7067..42f2dbd 100644
--- a/EProject/BLL/ManHours/PlanService.cs
+++ b/EProject/BLL/ManHours/PlanService.cs
@@ -72,6 +72,7 @@ namespace BLL
newPlan.ManHours = plan.ManHours;
newPlan.AccountDisabled = plan.AccountDisabled;
newPlan.IsClose = plan.IsClose;
+ newPlan.Phase = plan.Phase;
Funs.DB.ManHours_Plan.InsertOnSubmit(newPlan);
Funs.DB.SubmitChanges();
}
diff --git a/EProject/BLL/SysManage/Sys_UserService.cs b/EProject/BLL/SysManage/Sys_UserService.cs
index e9c4096..f111f3f 100644
--- a/EProject/BLL/SysManage/Sys_UserService.cs
+++ b/EProject/BLL/SysManage/Sys_UserService.cs
@@ -413,6 +413,15 @@ namespace BLL
return (from x in Funs.DB.View_Sys_Users where x.IsPost == true orderby x.DepartName, x.UserName select x).ToList();
}
+ ///
+ /// ȡûбϢ
+ ///
+ ///
+ public static List GetAllUserViewList()
+ {
+ return (from x in Funs.DB.View_Sys_Users orderby x.DepartName, x.UserName select x).ToList();
+ }
+
///
/// ȡCTEû
///
@@ -448,7 +457,7 @@ namespace BLL
dropName.DataGroupField = "DepartName";
dropName.DataValueField = "UserId";
dropName.DataTextField = "UserName";
- dropName.DataSource = BLL.Sys_UserService.GetUserViewList();
+ dropName.DataSource = BLL.Sys_UserService.GetAllUserViewList();
dropName.DataBind();
if (isShowPlease)
{
diff --git a/EProject/EProject.sln b/EProject/EProject.sln
index 06bbbcc..31f4cbf 100644
--- a/EProject/EProject.sln
+++ b/EProject/EProject.sln
@@ -1,7 +1,7 @@
Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio 15
-VisualStudioVersion = 15.0.28307.572
+# Visual Studio Version 17
+VisualStudioVersion = 17.11.35312.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FineUIPro.Web", "FineUIPro.Web\FineUIPro.Web.csproj", "{C88D3156-2D56-4DB0-922E-1995FB61C9BD}"
EndProject
diff --git a/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx
new file mode 100644
index 0000000..69fa6e5
--- /dev/null
+++ b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx
@@ -0,0 +1,124 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuantityDesctiption.aspx.cs" Inherits="FineUIPro.Web.BaseInfo.QuantityDesctiption" %>
+
+
+
+
+
+
+ Key Quantity-QuantityDesctiption
+
+
+
+
+
+
diff --git a/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx.cs b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx.cs
new file mode 100644
index 0000000..37c3bc4
--- /dev/null
+++ b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx.cs
@@ -0,0 +1,374 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using Model;
+using static NPOI.HSSF.Util.HSSFColor;
+
+namespace FineUIPro.Web.BaseInfo
+{
+ public partial class QuantityDesctiption : PageBase
+ {
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ GetButtonPower();//按钮权限
+ ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+
+ //部门(查询)
+ //this.drpDepartmentIdS.DataTextField = "DepartName";
+ //this.drpDepartmentIdS.DataValueField = "DepartId";
+ //this.drpDepartmentIdS.DataSource = BLL.DepartService.GetDepartList();
+ //this.drpDepartmentIdS.DataBind();
+ //Funs.FineUIPleaseSelect(this.drpDepartmentIdS);
+ BLL.ConstValue.InitSysConstDropDownList(this.drpTypes, "KeyQuantityType", true);
+
+ //部门
+ //this.drpDepartId.DataTextField = "DepartName";
+ //this.drpDepartId.DataValueField = "DepartId";
+ //this.drpDepartId.DataSource = BLL.DepartService.GetDepartList();
+ //this.drpDepartId.DataBind();
+ //Funs.FineUIPleaseSelect(this.drpDepartId);
+ BLL.ConstValue.InitSysConstDropDownList(this.drpType, "KeyQuantityType", false);
+
+ //专业(查询)
+ this.drpDescipline.DataTextField = "DisciplinesWBSName";
+ this.drpDescipline.DataValueField = "DisciplinesWBSId";
+ this.drpDescipline.DataSource = from x in Funs.DB.Base_DisciplinesWBS select x;
+ this.drpDescipline.DataBind();
+ Funs.FineUIPleaseSelect(this.drpDescipline);
+
+ //专业
+ this.drpDisciplinesWBSId.DataTextField = "DisciplinesWBSName";
+ this.drpDisciplinesWBSId.DataValueField = "DisciplinesWBSId";
+ this.drpDisciplinesWBSId.DataSource = from x in Funs.DB.Base_DisciplinesWBS select x;
+ this.drpDisciplinesWBSId.DataBind();
+ Funs.FineUIPleaseSelect(this.drpDisciplinesWBSId);
+
+ // 绑定表格
+ BindGrid();
+ }
+ }
+
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid()
+ {
+ string strSql = @"SELECT qua.KeyId,
+ qua.DepartId,
+ qua.DisciplinesWBSId,
+ qua.QuantityDesctiption,
+ qua.PlanMHRsUnit,
+ wbs.DisciplinesWBSCode,
+ wbs.DisciplinesWBSName
+ FROM Base_QuantityDesctiption as qua
+ left join Base_DisciplinesWBS as wbs on wbs.DisciplinesWBSId = qua.DisciplinesWBSId where 1=1";
+ List listStr = new List();
+ if (this.drpTypes.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpTypes.SelectedValue))
+ {
+ strSql += " AND qua.DepartId=@DepartId ";
+ listStr.Add(new SqlParameter("@DepartId", this.drpTypes.SelectedValue));
+ }
+ if (this.drpDescipline.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDescipline.SelectedValue))
+ {
+ strSql += " AND qua.DisciplinesWBSId=@disciplinesWBSId ";
+ listStr.Add(new SqlParameter("@disciplinesWBSId", this.drpDescipline.SelectedValue));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+
+ Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+
+ ///
+ /// 改变索引事件
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ Grid1.PageIndex = e.NewPageIndex;
+ BindGrid();
+ }
+ #endregion
+
+ #region 分页下拉选择
+ ///
+ /// 分页下拉选择
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ #endregion
+
+ #region 增加
+ ///
+ /// 增加按钮
+ ///
+ ///
+ ///
+ protected void btnAdd_Click(object sender, EventArgs e)
+ {
+ EmptyText();
+ }
+ #endregion
+
+ #region 清空文本框
+ ///
+ /// 清空文本框
+ ///
+ private void EmptyText()
+ {
+ this.hfFormID.Text = string.Empty;
+ this.drpType.SelectedValue = Const._Null;
+ this.drpDisciplinesWBSId.SelectedValue = Const._Null;
+ this.txtDisciplinesWBSCode.Text = string.Empty;
+ this.txtQuantityDesctiption.Text = string.Empty;
+ this.txtPlanMHRsUnit.Text = string.Empty;
+ this.btnDelete.Enabled = false;
+ }
+ #endregion
+
+ #region 选择行事件
+ ///
+ /// 选择行事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowSelect(object sender, GridRowSelectEventArgs e)
+ {
+ EditData();
+ }
+ #endregion
+
+ #region 删除
+ ///
+ /// 删除
+ ///
+ ///
+ ///
+ protected void btnDelete_Click(object sender, EventArgs e)
+ {
+ BLL.QuantityDesctiptionService.DeleteQuantityDesctiptionById(hfFormID.Text);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Delete the Key Quantity-QuantityDesctiption");
+ // 重新绑定表格,并模拟点击[新增按钮]
+ BindGrid();
+ //PageContext.RegisterStartupScript("onNewButtonClick();");
+
+ }
+ ///
+ /// 右键删除事件
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ this.DeleteData();
+ }
+
+ ///
+ /// 删除方法
+ ///
+ private void DeleteData()
+ {
+ if (Grid1.SelectedRowIndexArray.Length > 0)
+ {
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+
+ BLL.QuantityDesctiptionService.DeleteQuantityDesctiptionById(rowID);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Delete the Key Quantity-QuantityDesctiption");
+ }
+
+ BindGrid();
+ EmptyText();
+ //PageContext.RegisterStartupScript("onNewButtonClick();");
+ }
+ }
+ #endregion
+
+ #region 编辑
+ ///
+ /// 右键编辑事件
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ this.EditData();
+ }
+
+ ///
+ /// 编辑数据方法
+ ///
+ private void EditData()
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("Please select at least one record!", MessageBoxIcon.Warning);
+ return;
+ }
+ string Id = Grid1.SelectedRowID;
+ var cons = BLL.QuantityDesctiptionService.GetQuantityDesctiptionById(Id);
+ if (cons != null)
+ {
+ if (!string.IsNullOrEmpty(cons.DepartId))
+ {
+ this.drpType.SelectedValue = cons.DepartId;
+ }
+ if (!string.IsNullOrEmpty(cons.DisciplinesWBSId))
+ {
+ this.drpDisciplinesWBSId.SelectedValue = cons.DisciplinesWBSId;
+ var wbs = BLL.DisciplinesWBSService.GetDisciplinesWBSById(cons.DisciplinesWBSId);
+ if (wbs != null)
+ {
+ this.txtDisciplinesWBSCode.Text = wbs.DisciplinesWBSCode;
+ }
+ this.txtQuantityDesctiption.Text = cons.QuantityDesctiption;
+ this.txtPlanMHRsUnit.Text = cons.PlanMHRsUnit.HasValue ? cons.PlanMHRsUnit.ToString() : "";
+ }
+ hfFormID.Text = Id;
+ this.btnDelete.Enabled = true;
+ }
+ }
+ #endregion
+
+ #region 保存
+ ///
+ /// 保存按钮
+ ///
+ ///
+ ///
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ string strRowID = hfFormID.Text;
+ //if (this.drpDepartId.SelectedValue == BLL.Const._Null)
+ //{
+ // ShowNotify("Please select Department!", MessageBoxIcon.Warning);
+ // return;
+ //}
+ if (this.drpDisciplinesWBSId.SelectedValue == BLL.Const._Null)
+ {
+ ShowNotify("Please select Descipline!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (!BLL.QuantityDesctiptionService.IsExitQuantityDesctiption(this.drpType.SelectedValue, this.drpDisciplinesWBSId.SelectedValue, this.txtQuantityDesctiption.Text.Trim(), strRowID))
+ {
+ Model.Base_QuantityDesctiption cons = new Model.Base_QuantityDesctiption
+ {
+ QuantityDesctiption = this.txtQuantityDesctiption.Text.Trim(),
+ PlanMHRsUnit = Funs.GetNewDecimal(this.txtPlanMHRsUnit.Text)
+ };
+
+ if (this.drpType.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpType.SelectedValue))
+ {
+ cons.DepartId = this.drpType.SelectedValue;
+ }
+ if (this.drpDisciplinesWBSId.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDisciplinesWBSId.SelectedValue))
+ {
+ cons.DisciplinesWBSId = this.drpDisciplinesWBSId.SelectedValue;
+ }
+ if (string.IsNullOrEmpty(strRowID))
+ {
+ cons.KeyId = SQLHelper.GetNewID(typeof(Model.Base_QuantityDesctiption));
+ BLL.QuantityDesctiptionService.AddQuantityDesctiption(cons);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Add the Key Quantity-QuantityDesctiption");
+ ShowNotify("Save Successfully!", MessageBoxIcon.Success);
+
+ }
+ else
+ {
+ cons.KeyId = strRowID;
+ BLL.QuantityDesctiptionService.UpdateQuantityDesctiption(cons);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Modify the Key Quantity-QuantityDesctiption");
+ ShowNotify("Save Successfully!", MessageBoxIcon.Success);
+ }
+ this.SimpleForm1.Reset();
+ // 重新绑定表格,并点击当前编辑或者新增的行
+ BindGrid();
+ //PageContext.RegisterStartupScript(String.Format("F('{0}').selectRow('{1}');", Grid1.ClientID, cons.DisciplinesWBSId));
+ PageContext.RegisterStartupScript("onNewButtonClick();");
+ }
+ else
+ {
+ Alert.ShowInTop("The Quantity Desctiption already exists!", MessageBoxIcon.Warning);
+ }
+ }
+ #endregion
+
+ #region 查询
+ ///
+ /// 查询
+ ///
+ ///
+ ///
+ protected void Text_TextChanged(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 权限设置
+ ///
+ /// 菜单按钮权限
+ ///
+ private void GetButtonPower()
+ {
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.UserId, BLL.Const.QuantityDesctiptionMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnAdd))
+ {
+ this.btnAdd.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnMenuEdit.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnSave.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ this.btnDelete.Hidden = false;
+ }
+ }
+ }
+ #endregion
+
+ protected void drpDisciplinesWBSId_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.txtDisciplinesWBSCode.Text = string.Empty;
+ if (this.drpDisciplinesWBSId.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDisciplinesWBSId.SelectedValue))
+ {
+ var dis = BLL.DisciplinesWBSService.GetDisciplinesWBSById(this.drpDisciplinesWBSId.SelectedValue);
+ if (dis != null)
+ {
+ this.txtDisciplinesWBSCode.Text = dis.DisciplinesWBSCode;
+ }
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx.designer.cs b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx.designer.cs
new file mode 100644
index 0000000..f857d40
--- /dev/null
+++ b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx.designer.cs
@@ -0,0 +1,242 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.BaseInfo
+{
+
+
+ public partial class QuantityDesctiption
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// drpTypes 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpTypes;
+
+ ///
+ /// drpDescipline 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpDescipline;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.SimpleForm SimpleForm1;
+
+ ///
+ /// hfFormID 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hfFormID;
+
+ ///
+ /// drpType 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpType;
+
+ ///
+ /// drpDisciplinesWBSId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpDisciplinesWBSId;
+
+ ///
+ /// txtDisciplinesWBSCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtDisciplinesWBSCode;
+
+ ///
+ /// txtQuantityDesctiption 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextArea txtQuantityDesctiption;
+
+ ///
+ /// txtPlanMHRsUnit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtPlanMHRsUnit;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// btnAdd 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnAdd;
+
+ ///
+ /// btnDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDelete;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+ }
+}
diff --git a/EProject/FineUIPro.Web/Design/DesignInputPlan.aspx.cs b/EProject/FineUIPro.Web/Design/DesignInputPlan.aspx.cs
index e050b5d..baff42b 100644
--- a/EProject/FineUIPro.Web/Design/DesignInputPlan.aspx.cs
+++ b/EProject/FineUIPro.Web/Design/DesignInputPlan.aspx.cs
@@ -21,7 +21,7 @@ namespace FineUIPro.Web.Design
string designInputId = Request.Params["designInputId"];
if (!string.IsNullOrEmpty(designInputId))
{
-
+
var input = BLL.DesignInputService.GetDesignInputById(designInputId);
var project = BLL.EProjectService.GeteProjectById(input.EProjectId);
@@ -159,7 +159,7 @@ namespace FineUIPro.Web.Design
Alert.ShowInTop("请选择提出人!", MessageBoxIcon.Warning);
return;
}
-
+
if (drpReceivedMan.SelectedValue != BLL.Const._Null)
{
receivedMan = drpReceivedMan.SelectedValue;
@@ -196,21 +196,23 @@ namespace FineUIPro.Web.Design
var input = BLL.DesignInputService.GetDesignInputById(designInputId);
var project = BLL.EProjectService.GeteProjectById(input.EProjectId);
-
- NameValueCollection nameValue = new NameValueCollection();
- nameValue.Add("projectNo", project.ProjectControl_JobNo);
- nameValue.Add("IssuedDiscOrNo", project.ProjectControl_JobNo + "-" + project.ProjectControl_JobTitle + "," + input.DesignInputChName + " " + input.DesignInputEnName + " " + input.DesignInputNo);
- nameValue.Add("Person_Ch", CurrUser.ChineseName);
- nameValue.Add("Person_En", CurrUser.UserName);
- if (!string.IsNullOrEmpty(issuedMan))
+ if (input != null)
{
- Model.Sys_User sys_User = new Model.Sys_User();
- sys_User = BLL.Sys_UserService.GetUsersByUserId(issuedMan);
- nameValue.Add("UserName", sys_User.UserName);
- List list = new List();
+ NameValueCollection nameValue = new NameValueCollection();
+ nameValue.Add("projectNo", project.ProjectControl_JobNo);
+ nameValue.Add("IssuedDiscOrNo", project.ProjectControl_JobNo + "-" + project.ProjectControl_JobTitle + "," + input.DesignInputChName + " " + input.DesignInputEnName + " " + input.DesignInputNo);
+ nameValue.Add("Person_Ch", CurrUser.ChineseName);
+ nameValue.Add("Person_En", CurrUser.UserName);
+ if (!string.IsNullOrEmpty(issuedMan))
+ {
+ Model.Sys_User sys_User = new Model.Sys_User();
+ sys_User = BLL.Sys_UserService.GetUsersByUserId(issuedMan);
+ nameValue.Add("UserName", sys_User.UserName);
+ List list = new List();
- list.Add(sys_User);
- EmailSendMessage(BLL.Const.DesignInputString, nameValue, BLL.Const.CustomString, list, "");
+ list.Add(sys_User);
+ EmailSendMessage(BLL.Const.DesignInputString, nameValue, BLL.Const.CustomString, list, "");
+ }
}
#endregion
ShowNotify("Save Successfully!", MessageBoxIcon.Success);
diff --git a/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx b/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx
index 0e13dcb..d151eb7 100644
--- a/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx
+++ b/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx
@@ -22,7 +22,7 @@
-
+
@@ -966,6 +966,60 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.cs b/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.cs
index 2ee0115..068f5bb 100644
--- a/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.cs
+++ b/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.cs
@@ -406,6 +406,10 @@ namespace FineUIPro.Web.EditorManage
#region FCR Log
BindGridFCRLog();
#endregion
+
+ #region Key Quantity
+ BindGridKeyQuantity();
+ #endregion
}
}
}
@@ -698,6 +702,58 @@ namespace FineUIPro.Web.EditorManage
}
#endregion
#endregion
+
+ #region Key Quantity
+ private void BindGridKeyQuantity()
+ {
+ List listStr = new List
+ {
+ new SqlParameter("@eprojectId", Request.Params["eProjectId"])
+ };
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunProc("Proc_KeyQuantityLists", parameter);
+ this.GridKeyQuantity.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(GridKeyQuantity, tb);
+ GridKeyQuantity.DataSource = table;
+ GridKeyQuantity.DataBind();
+ }
+
+ #region 分页、排序
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void GridKeyQuantity_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ GridKeyQuantity.PageIndex = e.NewPageIndex;
+ BindGridKeyQuantity();
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlKeyQuantity_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ GridKeyQuantity.PageSize = Convert.ToInt32(ddlKeyQuantity.SelectedValue);
+ BindGridKeyQuantity();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void GridKeyQuantity_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ GridKeyQuantity.SortDirection = e.SortDirection;
+ GridKeyQuantity.SortField = e.SortField;
+ BindGridKeyQuantity();
+ }
+ #endregion
+ #endregion
#endregion
#endregion
}
diff --git a/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.designer.cs b/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.designer.cs
index 57032ef..2151c1b 100644
--- a/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.designer.cs
+++ b/EProject/FineUIPro.Web/EditorManage/EProjectDetail.aspx.designer.cs
@@ -7,11 +7,13 @@
// 自动生成>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web.EditorManage {
-
-
- public partial class EProjectDetail {
-
+namespace FineUIPro.Web.EditorManage
+{
+
+
+ public partial class EProjectDetail
+ {
+
///
/// form1 控件。
///
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
+
///
/// PageManager1 控件。
///
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.PageManager PageManager1;
-
+
///
/// Panel1 控件。
///
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Panel Panel1;
-
+
///
/// GroupPanelProjectPlanner 控件。
///
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelProjectPlanner;
-
+
///
/// GroupPanel1 控件。
///
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel1;
-
+
///
/// Form2 控件。
///
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form2;
-
+
///
/// txtJobNo 控件。
///
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtJobNo;
-
+
///
/// txtNotesLink 控件。
///
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtNotesLink;
-
+
///
/// txtProjectManager 控件。
///
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtProjectManager;
-
+
///
/// txtAccount 控件。
///
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtAccount;
-
+
///
/// txtJobType 控件。
///
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtJobType;
-
+
///
/// txtFilesLink 控件。
///
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtFilesLink;
-
+
///
/// txtEMManger 控件。
///
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtEMManger;
-
+
///
/// txtNetworkNo 控件。
///
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtNetworkNo;
-
+
///
/// txtJobStatus 控件。
///
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtJobStatus;
-
+
///
/// txtOrginalBudget 控件。
///
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.NumberBox txtOrginalBudget;
-
+
///
/// txtConstManger 控件。
///
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtConstManger;
-
+
///
/// txtMOCFormNO 控件。
///
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMOCFormNO;
-
+
///
/// txtJobTitle 控件。
///
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtJobTitle;
-
+
///
/// txtCostEffectvitity 控件。
///
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCostEffectvitity;
-
+
///
/// txtLeadBy 控件。
///
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLeadBy;
-
+
///
/// txtCAPEXPlanNo 控件。
///
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCAPEXPlanNo;
-
+
///
/// txtBuCode 控件。
///
@@ -218,7 +220,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtBuCode;
-
+
///
/// txtPVIPrediction 控件。
///
@@ -227,7 +229,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtPVIPrediction;
-
+
///
/// txtOprerationRep 控件。
///
@@ -236,7 +238,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtOprerationRep;
-
+
///
/// txtRemark 控件。
///
@@ -245,7 +247,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtRemark;
-
+
///
/// GroupPanel2 控件。
///
@@ -254,7 +256,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel2;
-
+
///
/// Form3 控件。
///
@@ -263,7 +265,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form3;
-
+
///
/// txtLPSchStart 控件。
///
@@ -272,7 +274,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLPSchStart;
-
+
///
/// txtLPSchEnd 控件。
///
@@ -281,7 +283,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLPSchEnd;
-
+
///
/// txtLPProgress 控件。
///
@@ -290,7 +292,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLPProgress;
-
+
///
/// Label1 控件。
///
@@ -299,7 +301,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label1;
-
+
///
/// GroupPanel3 控件。
///
@@ -308,7 +310,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel3;
-
+
///
/// Form4 控件。
///
@@ -317,7 +319,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form4;
-
+
///
/// txtCCSchStart 控件。
///
@@ -326,7 +328,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCCSchStart;
-
+
///
/// txtCCSchEnd 控件。
///
@@ -335,7 +337,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCCSchEnd;
-
+
///
/// txtCCProgress 控件。
///
@@ -344,7 +346,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCCProgress;
-
+
///
/// Label10 控件。
///
@@ -353,7 +355,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label10;
-
+
///
/// GroupPanel4 控件。
///
@@ -362,7 +364,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel4;
-
+
///
/// Form5 控件。
///
@@ -371,7 +373,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form5;
-
+
///
/// txtCMSchStart 控件。
///
@@ -380,7 +382,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCMSchStart;
-
+
///
/// txtCMSchEnd 控件。
///
@@ -389,7 +391,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCMSchEnd;
-
+
///
/// txtCMProgress 控件。
///
@@ -398,7 +400,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCMProgress;
-
+
///
/// Label11 控件。
///
@@ -407,7 +409,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label11;
-
+
///
/// GroupPanel5 控件。
///
@@ -416,7 +418,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel5;
-
+
///
/// Form6 控件。
///
@@ -425,7 +427,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form6;
-
+
///
/// txtCIProcess 控件。
///
@@ -434,7 +436,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCIProcess;
-
+
///
/// txtEquipment 控件。
///
@@ -443,7 +445,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtEquipment;
-
+
///
/// txtInstrument 控件。
///
@@ -452,7 +454,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtInstrument;
-
+
///
/// txtElectrical 控件。
///
@@ -461,7 +463,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtElectrical;
-
+
///
/// txtCivil 控件。
///
@@ -470,7 +472,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCivil;
-
+
///
/// GroupPanel6 控件。
///
@@ -479,7 +481,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel6;
-
+
///
/// Form7 控件。
///
@@ -488,7 +490,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form7;
-
+
///
/// txtChangedBudget 控件。
///
@@ -497,7 +499,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.NumberBox txtChangedBudget;
-
+
///
/// txtCommitted_PRPO 控件。
///
@@ -506,7 +508,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCommitted_PRPO;
-
+
///
/// txtCommitted_SSRs 控件。
///
@@ -515,7 +517,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCommitted_SSRs;
-
+
///
/// txtActual 控件。
///
@@ -524,7 +526,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtActual;
-
+
///
/// GroupPanel7 控件。
///
@@ -533,7 +535,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel7;
-
+
///
/// Form8 控件。
///
@@ -542,7 +544,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form8;
-
+
///
/// txtMS_SR 控件。
///
@@ -551,7 +553,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMS_SR;
-
+
///
/// txtMS_Approval 控件。
///
@@ -560,7 +562,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMS_Approval;
-
+
///
/// txtMS_MC 控件。
///
@@ -569,7 +571,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMS_MC;
-
+
///
/// txtMS_Close 控件。
///
@@ -578,7 +580,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMS_Close;
-
+
///
/// GroupPanel8 控件。
///
@@ -587,7 +589,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel8;
-
+
///
/// Form9 控件。
///
@@ -596,7 +598,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form9;
-
+
///
/// txtBC_CloseDate 控件。
///
@@ -605,7 +607,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtBC_CloseDate;
-
+
///
/// GroupPanel9 控件。
///
@@ -614,7 +616,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel9;
-
+
///
/// Form10 控件。
///
@@ -623,7 +625,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form10;
-
+
///
/// txtCancelDate 控件。
///
@@ -632,7 +634,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtCancelDate;
-
+
///
/// GroupPanel22 控件。
///
@@ -641,7 +643,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel22;
-
+
///
/// Form22 控件。
///
@@ -650,7 +652,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form22;
-
+
///
/// txtResourcePlanReceived 控件。
///
@@ -659,7 +661,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtResourcePlanReceived;
-
+
///
/// GroupPanel10 控件。
///
@@ -668,7 +670,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel10;
-
+
///
/// GroupPanel17 控件。
///
@@ -677,7 +679,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel17;
-
+
///
/// Form18 控件。
///
@@ -686,7 +688,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form18;
-
+
///
/// txtGeneral_CDI 控件。
///
@@ -695,7 +697,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtGeneral_CDI;
-
+
///
/// txtGeneral_CostToComplete 控件。
///
@@ -704,7 +706,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtGeneral_CostToComplete;
-
+
///
/// txtGeneral_Priority 控件。
///
@@ -713,7 +715,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtGeneral_Priority;
-
+
///
/// txtGeneral_Category 控件。
///
@@ -722,7 +724,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtGeneral_Category;
-
+
///
/// GroupPanel19 控件。
///
@@ -731,7 +733,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel19;
-
+
///
/// Form21 控件。
///
@@ -740,7 +742,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form21;
-
+
///
/// cbPM_PressureVessel 控件。
///
@@ -749,7 +751,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox cbPM_PressureVessel;
-
+
///
/// txtPM_PressureVessel 控件。
///
@@ -758,7 +760,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtPM_PressureVessel;
-
+
///
/// cbPM_PressurePiping 控件。
///
@@ -767,7 +769,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox cbPM_PressurePiping;
-
+
///
/// txtPM_PressurePiping 控件。
///
@@ -776,7 +778,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtPM_PressurePiping;
-
+
///
/// cbPM_SQIB 控件。
///
@@ -785,7 +787,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox cbPM_SQIB;
-
+
///
/// txtPM_SQIB 控件。
///
@@ -794,7 +796,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtPM_SQIB;
-
+
///
/// Label26 控件。
///
@@ -803,7 +805,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label26;
-
+
///
/// GroupPanel23 控件。
///
@@ -812,7 +814,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel23;
-
+
///
/// Form23 控件。
///
@@ -821,7 +823,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form23;
-
+
///
/// txtSC_ApprovedQty 控件。
///
@@ -830,7 +832,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtSC_ApprovedQty;
-
+
///
/// txtSC_ApprovedCost 控件。
///
@@ -839,7 +841,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtSC_ApprovedCost;
-
+
///
/// txtSC_PendingQty 控件。
///
@@ -848,7 +850,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtSC_PendingQty;
-
+
///
/// txtSC_PendingCost 控件。
///
@@ -857,7 +859,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtSC_PendingCost;
-
+
///
/// GroupPanel24 控件。
///
@@ -866,7 +868,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel24;
-
+
///
/// Form24 控件。
///
@@ -875,7 +877,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form24;
-
+
///
/// txtMA_JobReveive 控件。
///
@@ -884,7 +886,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMA_JobReveive;
-
+
///
/// txtMA_KickOffMeeting 控件。
///
@@ -893,7 +895,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMA_KickOffMeeting;
-
+
///
/// txtMA_SR 控件。
///
@@ -902,7 +904,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtMA_SR;
-
+
///
/// txtProjectApproval 控件。
///
@@ -911,7 +913,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtProjectApproval;
-
+
///
/// GroupPanel25 控件。
///
@@ -920,7 +922,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel25;
-
+
///
/// Form25 控件。
///
@@ -929,7 +931,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form25;
-
+
///
/// txtLLEP_RevisedStart 控件。
///
@@ -938,7 +940,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLLEP_RevisedStart;
-
+
///
/// txtLLEP_RevisedEnd 控件。
///
@@ -947,7 +949,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLLEP_RevisedEnd;
-
+
///
/// txtLLEP_ActualProgress 控件。
///
@@ -956,7 +958,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtLLEP_ActualProgress;
-
+
///
/// Label28 控件。
///
@@ -965,7 +967,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label28;
-
+
///
/// GroupPanel20 控件。
///
@@ -974,7 +976,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel20;
-
+
///
/// Form27 控件。
///
@@ -983,7 +985,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form27;
-
+
///
/// txtStartDate 控件。
///
@@ -992,7 +994,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtStartDate;
-
+
///
/// txtEndDate 控件。
///
@@ -1001,7 +1003,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtEndDate;
-
+
///
/// Label32 控件。
///
@@ -1010,7 +1012,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label32;
-
+
///
/// Label33 控件。
///
@@ -1019,7 +1021,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label33;
-
+
///
/// GroupPanel26 控件。
///
@@ -1028,7 +1030,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel26;
-
+
///
/// Form26 控件。
///
@@ -1037,7 +1039,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form26;
-
+
///
/// txtRemarks_Engineering 控件。
///
@@ -1046,7 +1048,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextArea txtRemarks_Engineering;
-
+
///
/// lblCMProcurement 控件。
///
@@ -1055,7 +1057,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label lblCMProcurement;
-
+
///
/// txtRemarks_Procurement 控件。
///
@@ -1064,7 +1066,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextArea txtRemarks_Procurement;
-
+
///
/// GroupPanel21 控件。
///
@@ -1073,7 +1075,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel21;
-
+
///
/// Grid2 控件。
///
@@ -1082,7 +1084,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid Grid2;
-
+
///
/// GroupPanelCM 控件。
///
@@ -1091,7 +1093,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelCM;
-
+
///
/// GroupPanel11 控件。
///
@@ -1100,7 +1102,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel11;
-
+
///
/// Form12 控件。
///
@@ -1109,7 +1111,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form12;
-
+
///
/// txtCCRevisedStart 控件。
///
@@ -1118,7 +1120,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCCRevisedStart;
-
+
///
/// txtCCRevisedEnd 控件。
///
@@ -1127,7 +1129,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCCRevisedEnd;
-
+
///
/// txtCCAcutalProgress 控件。
///
@@ -1136,7 +1138,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCCAcutalProgress;
-
+
///
/// GroupPanel12 控件。
///
@@ -1145,7 +1147,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel12;
-
+
///
/// Form13 控件。
///
@@ -1154,7 +1156,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form13;
-
+
///
/// txtCM_RevisedStart 控件。
///
@@ -1163,7 +1165,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCM_RevisedStart;
-
+
///
/// txtCM_RevisedEnd 控件。
///
@@ -1172,7 +1174,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCM_RevisedEnd;
-
+
///
/// txtCM_AcutalProgress 控件。
///
@@ -1181,7 +1183,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtCM_AcutalProgress;
-
+
///
/// GroupPanel18 控件。
///
@@ -1190,7 +1192,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel18;
-
+
///
/// Form20 控件。
///
@@ -1199,7 +1201,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form20;
-
+
///
/// txtCM_KickOffMetting 控件。
///
@@ -1208,7 +1210,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtCM_KickOffMetting;
-
+
///
/// txtCM_MA_MC 控件。
///
@@ -1217,7 +1219,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtCM_MA_MC;
-
+
///
/// txtCM_FC 控件。
///
@@ -1226,7 +1228,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtCM_FC;
-
+
///
/// GroupPanel13 控件。
///
@@ -1235,7 +1237,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel13;
-
+
///
/// Form14 控件。
///
@@ -1244,7 +1246,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form14;
-
+
///
/// txtCM_Cost 控件。
///
@@ -1253,7 +1255,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.NumberBox txtCM_Cost;
-
+
///
/// GroupPanel14 控件。
///
@@ -1262,7 +1264,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel14;
-
+
///
/// Form15 控件。
///
@@ -1271,7 +1273,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form15;
-
+
///
/// txtCM_Punch_CKilledDate 控件。
///
@@ -1280,7 +1282,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtCM_Punch_CKilledDate;
-
+
///
/// GroupPanel15 控件。
///
@@ -1289,7 +1291,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel15;
-
+
///
/// Form16 控件。
///
@@ -1298,7 +1300,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form16;
-
+
///
/// txtDate_of_Registration 控件。
///
@@ -1307,7 +1309,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtDate_of_Registration;
-
+
///
/// GroupPanel16 控件。
///
@@ -1316,7 +1318,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanel16;
-
+
///
/// Form17 控件。
///
@@ -1325,7 +1327,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form17;
-
+
///
/// txtConstruction 控件。
///
@@ -1334,7 +1336,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextArea txtConstruction;
-
+
///
/// Label15 控件。
///
@@ -1343,7 +1345,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label15;
-
+
///
/// lblPMProcurement 控件。
///
@@ -1352,7 +1354,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label lblPMProcurement;
-
+
///
/// txtProcurement 控件。
///
@@ -1361,7 +1363,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextArea txtProcurement;
-
+
///
/// txtQualityHSE 控件。
///
@@ -1370,7 +1372,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextArea txtQualityHSE;
-
+
///
/// GroupPanelSQIB 控件。
///
@@ -1379,7 +1381,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelSQIB;
-
+
///
/// Form11 控件。
///
@@ -1388,7 +1390,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form11;
-
+
///
/// txtPressureVessel 控件。
///
@@ -1397,7 +1399,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtPressureVessel;
-
+
///
/// txtPressurePiping 控件。
///
@@ -1406,7 +1408,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtPressurePiping;
-
+
///
/// txtSQIB 控件。
///
@@ -1415,7 +1417,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtSQIB;
-
+
///
/// GroupPanelPermit 控件。
///
@@ -1424,7 +1426,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelPermit;
-
+
///
/// Form19 控件。
///
@@ -1433,7 +1435,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form Form19;
-
+
///
/// Label25 控件。
///
@@ -1442,7 +1444,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label25;
-
+
///
/// Label27 控件。
///
@@ -1451,7 +1453,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label27;
-
+
///
/// Label34 控件。
///
@@ -1460,7 +1462,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label34;
-
+
///
/// chkPermit_PS_EnvAssess 控件。
///
@@ -1469,7 +1471,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_EnvAssess;
-
+
///
/// txtPermit_PS_EnvAssess 控件。
///
@@ -1478,7 +1480,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_EnvAssess;
-
+
///
/// txtPermit_PPA_EnvAssess 控件。
///
@@ -1487,7 +1489,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_EnvAssess;
-
+
///
/// chkPermit_PS_EnergySaving 控件。
///
@@ -1496,7 +1498,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_EnergySaving;
-
+
///
/// txtPermit_PS_EnergySaving 控件。
///
@@ -1505,7 +1507,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_EnergySaving;
-
+
///
/// txtPermit_PPA_EnergySaving 控件。
///
@@ -1514,7 +1516,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_EnergySaving;
-
+
///
/// chkPermit_PS_ProjectRegistr 控件。
///
@@ -1523,7 +1525,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_ProjectRegistr;
-
+
///
/// txtPermit_PS_ProjectRegistr 控件。
///
@@ -1532,7 +1534,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_ProjectRegistr;
-
+
///
/// txtPermit_PPA_ProjectRegistration 控件。
///
@@ -1541,7 +1543,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_ProjectRegistration;
-
+
///
/// chkPermit_PS_PlanningPermit 控件。
///
@@ -1550,7 +1552,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_PlanningPermit;
-
+
///
/// txtPermit_PS_PlanningPermit 控件。
///
@@ -1559,7 +1561,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_PlanningPermit;
-
+
///
/// txtPermit_PPA_PlanningPermit 控件。
///
@@ -1568,7 +1570,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_PlanningPermit;
-
+
///
/// chkPermit_PS_SafetyConReview 控件。
///
@@ -1577,7 +1579,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_SafetyConReview;
-
+
///
/// txtPermit_PS_SafetyConReview 控件。
///
@@ -1586,7 +1588,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_SafetyConReview;
-
+
///
/// txtPermit_PPA_SafetyConRev 控件。
///
@@ -1595,7 +1597,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_SafetyConRev;
-
+
///
/// chkPermit_PS_SafetyDesginReview 控件。
///
@@ -1604,7 +1606,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_SafetyDesginReview;
-
+
///
/// txtPermit_PS_SafetyDesginReview 控件。
///
@@ -1613,7 +1615,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_SafetyDesginReview;
-
+
///
/// txtPermit_PPA_SafetyDesignRev 控件。
///
@@ -1622,7 +1624,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_SafetyDesignRev;
-
+
///
/// chkPermit_PS_FFDesginReview 控件。
///
@@ -1631,7 +1633,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_FFDesginReview;
-
+
///
/// txtPermit_PS_FFDesginReview 控件。
///
@@ -1640,7 +1642,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_FFDesginReview;
-
+
///
/// txtPermit_PPA_FFDesignReview 控件。
///
@@ -1649,7 +1651,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PPA_FFDesignReview;
-
+
///
/// chkPermit_PS_ConstPermit 控件。
///
@@ -1658,7 +1660,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_ConstPermit;
-
+
///
/// txtPermit_PS_ConstPermit 控件。
///
@@ -1667,7 +1669,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_ConstPermit;
-
+
///
/// txtPermit_PA_ConstPermit 控件。
///
@@ -1676,7 +1678,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PA_ConstPermit;
-
+
///
/// chkPermit_PS_SafetyFinalAcc 控件。
///
@@ -1685,7 +1687,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_SafetyFinalAcc;
-
+
///
/// txtPermit_PS_SafetyFinalAcc 控件。
///
@@ -1694,7 +1696,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_SafetyFinalAcc;
-
+
///
/// txtPermit_PA_SafetyFinalACC 控件。
///
@@ -1703,7 +1705,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PA_SafetyFinalACC;
-
+
///
/// chkPermit_PS_FFFinalAcc 控件。
///
@@ -1712,7 +1714,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_FFFinalAcc;
-
+
///
/// txtPermit_PS_FFFinalAcc 控件。
///
@@ -1721,7 +1723,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_FFFinalAcc;
-
+
///
/// txtPermit_PA_FFFinalACC 控件。
///
@@ -1730,7 +1732,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PA_FFFinalACC;
-
+
///
/// chkPermit_PS_EnvFinalAcc 控件。
///
@@ -1739,7 +1741,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_EnvFinalAcc;
-
+
///
/// txtPermit_PS_EnvFinalAcc 控件。
///
@@ -1748,7 +1750,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_EnvFinalAcc;
-
+
///
/// txtPermit_PA_EnvFinalACC 控件。
///
@@ -1757,7 +1759,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PA_EnvFinalACC;
-
+
///
/// chkPermit_PS_ArchiveAccep 控件。
///
@@ -1766,7 +1768,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_ArchiveAccep;
-
+
///
/// txtPermit_PS_ArchiveAccep 控件。
///
@@ -1775,7 +1777,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_ArchiveAccep;
-
+
///
/// Label35 控件。
///
@@ -1784,7 +1786,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label35;
-
+
///
/// chkPermit_PS_3rdConstJian 控件。
///
@@ -1793,7 +1795,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox chkPermit_PS_3rdConstJian;
-
+
///
/// txtPermit_PS_3rdConstJian 控件。
///
@@ -1802,7 +1804,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DatePicker txtPermit_PS_3rdConstJian;
-
+
///
/// Label36 控件。
///
@@ -1811,7 +1813,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Label Label36;
-
+
///
/// GroupPanelTDC 控件。
///
@@ -1820,7 +1822,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelTDC;
-
+
///
/// GridTDC 控件。
///
@@ -1829,7 +1831,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid GridTDC;
-
+
///
/// ToolbarSeparator2 控件。
///
@@ -1838,7 +1840,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator2;
-
+
///
/// ToolbarText2 控件。
///
@@ -1847,7 +1849,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText2;
-
+
///
/// ddlTDCPageSize 控件。
///
@@ -1856,7 +1858,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList ddlTDCPageSize;
-
+
///
/// GroupPanelLessonLearned 控件。
///
@@ -1865,7 +1867,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelLessonLearned;
-
+
///
/// GridLessonLearned 控件。
///
@@ -1874,7 +1876,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid GridLessonLearned;
-
+
///
/// ToolbarSeparator1 控件。
///
@@ -1883,7 +1885,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
-
+
///
/// ToolbarText1 控件。
///
@@ -1892,7 +1894,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText1;
-
+
///
/// ddlPageSize 控件。
///
@@ -1901,7 +1903,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList ddlPageSize;
-
+
///
/// GroupPanelAreaConcern 控件。
///
@@ -1910,7 +1912,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelAreaConcern;
-
+
///
/// GridAreaConcern 控件。
///
@@ -1919,7 +1921,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid GridAreaConcern;
-
+
///
/// ToolbarSeparator3 控件。
///
@@ -1928,7 +1930,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator3;
-
+
///
/// ToolbarText3 控件。
///
@@ -1937,7 +1939,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText3;
-
+
///
/// ddlAreaConcern 控件。
///
@@ -1946,7 +1948,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList ddlAreaConcern;
-
+
///
/// GroupPanelPunch 控件。
///
@@ -1955,7 +1957,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelPunch;
-
+
///
/// GridPunch 控件。
///
@@ -1964,7 +1966,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid GridPunch;
-
+
///
/// ToolbarSeparator4 控件。
///
@@ -1973,7 +1975,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator4;
-
+
///
/// ToolbarText4 控件。
///
@@ -1982,7 +1984,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText4;
-
+
///
/// ddlPunch 控件。
///
@@ -1991,7 +1993,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList ddlPunch;
-
+
///
/// GroupPanelFCRLog 控件。
///
@@ -2000,7 +2002,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.GroupPanel GroupPanelFCRLog;
-
+
///
/// GridFCRLog 控件。
///
@@ -2009,7 +2011,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Grid GridFCRLog;
-
+
///
/// ToolbarSeparator5 控件。
///
@@ -2018,7 +2020,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator5;
-
+
///
/// ToolbarText5 控件。
///
@@ -2027,7 +2029,7 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.ToolbarText ToolbarText5;
-
+
///
/// ddlFCRLog 控件。
///
@@ -2036,5 +2038,50 @@ namespace FineUIPro.Web.EditorManage {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList ddlFCRLog;
+
+ ///
+ /// GroupPanelKeyQuantity 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.GroupPanel GroupPanelKeyQuantity;
+
+ ///
+ /// GridKeyQuantity 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid GridKeyQuantity;
+
+ ///
+ /// ToolbarSeparator6 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator6;
+
+ ///
+ /// ToolbarText6 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText6;
+
+ ///
+ /// ddlKeyQuantity 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlKeyQuantity;
}
}
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx
new file mode 100644
index 0000000..cd35b8d
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx
@@ -0,0 +1,214 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KeyQuantityEditor.aspx.cs" Inherits="FineUIPro.Web.EditorManage.KeyQuantityEditor" %>
+
+
+
+
+
+
+ Key Quantity Editor
+
+
+
+
+
+
\ No newline at end of file
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx.cs b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx.cs
new file mode 100644
index 0000000..fb02798
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx.cs
@@ -0,0 +1,460 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.EditorManage
+{
+ public partial class KeyQuantityEditor : PageBase
+ {
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ // 表头过滤
+ FilterDataRowItem = FilterDataRowItemImplement;
+ if (!IsPostBack)
+ {
+ GetButtonPower();//权限设置
+
+ //项目类型
+ this.drpJobType.DataTextField = "ConstText";
+ this.drpJobType.DataValueField = "ConstValue";
+ this.drpJobType.DataSource = BLL.ConstService.GetConstListByGroupId(BLL.Const.ProjectPlanner_JobType);
+ this.drpJobType.DataBind();
+ Funs.FineUIPleaseSelectJobType(this.drpJobType);
+
+ //项目状态
+ this.drpJobStatus.DataTextField = "ConstText";
+ this.drpJobStatus.DataValueField = "ConstValue";
+ this.drpJobStatus.DataSource = BLL.ConstService.GetConstListByGroupId(BLL.Const.ProjectPlanner_JobStatus);
+ this.drpJobStatus.DataBind();
+ Funs.FineUIPleaseSelectJobStatus(this.drpJobStatus);
+
+ ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+ // 绑定表格
+ BindGrid();
+ }
+ }
+
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid()
+ {
+ string strSql = "SELECT EProjectId," +
+ "ProjectControl_JobNo," +
+ "ProjectControl_JobType," +
+ "ProjectControl_JobStatus," +
+ "ProjectControl_JobTitle," +
+ "ProjectControl_BUCode," +
+ "PM_General_Priority," +
+ "PM_General_Category " +
+ "FROM dbo.Editor_EProject WHERE 1=1 ";
+ List listStr = new List();
+ if (this.drpJobType.SelectedValue != BLL.Const._Null)
+ {
+ strSql += " AND ProjectControl_JobType=@JobType ";
+ listStr.Add(new SqlParameter("@JobType", this.drpJobType.SelectedItem.Text));
+ }
+ if (this.drpJobStatus.SelectedValue != BLL.Const._Null && this.drpJobStatus.SelectedValue != null)
+ {
+ strSql += " AND ProjectControl_JobStatus=@Status ";
+ listStr.Add(new SqlParameter("@Status", this.drpJobStatus.SelectedItem.Text));
+ }
+ if (!string.IsNullOrEmpty(this.txtJobNO.Text.Trim()))
+ {
+ strSql += " AND ProjectControl_JobNo LIKE @jobNO ";
+ listStr.Add(new SqlParameter("@jobNO", this.txtJobNO.Text.Trim() + "%"));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // 2.获取当前分页数据
+ //var table = this.GetPagedDataTable(Grid1, tb1);
+ Grid1.RecordCount = tb.Rows.Count;
+ tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 过滤表头
+ ///
+ /// 过滤表头
+ ///
+ ///
+ ///
+ protected void Grid1_FilterChange(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+
+ ///
+ /// 根据表头信息过滤列表数据
+ ///
+ ///
+ ///
+ ///
+ ///
+ ///
+ private bool FilterDataRowItemImplement(object sourceObj, string fillteredOperator, object fillteredObj, string column)
+ {
+ bool valid = false;
+ if (column == "ProjectControl_JobNo")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ if (column == "ProjectControl_JobType")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ if (column == "ProjectControl_JobTitle")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ if (column == "ProjectControl_JobStatus")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ if (column == "ProjectControl_BUCode")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ if (column == "PM_General_Priority")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ if (column == "PM_General_Category")
+ {
+ string sourceValue = sourceObj.ToString();
+ string fillteredValue = fillteredObj.ToString();
+ if (fillteredOperator == "equal" && sourceValue == fillteredValue)
+ {
+ valid = true;
+ }
+ else if (fillteredOperator == "contain" && sourceValue.Contains(fillteredValue))
+ {
+ valid = true;
+ }
+ }
+ return valid;
+ }
+ #endregion
+
+ #region 分页、排序
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ Grid1.PageIndex = e.NewPageIndex;
+ BindGrid();
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ Grid1.SortDirection = e.SortDirection;
+ Grid1.SortField = e.SortField;
+ BindGrid();
+ }
+ #endregion
+
+ #region 关闭弹出窗口
+ ///
+ /// 关闭窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 编辑
+ ///
+ /// 编辑
+ ///
+ ///
+ ///
+ protected void btnEdit_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInParent("Please select at least one record!");
+ return;
+ }
+ string Id = Grid1.SelectedRowID;
+ var eproject = BLL.EProjectService.GeteProjectById(Id);
+ if (eproject != null)
+ {
+ Window1.Title = "Key Quantity Editor(Job No. " + eproject.ProjectControl_JobNo + ")";
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("KeyQuantityEditorList.aspx?eProjectId={0}", Id, "编辑 - ")));
+ }
+
+ ///
+ /// 右键编辑事件
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ btnEdit_Click(null, null);
+ }
+
+ ///
+ /// Grid行双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ btnEdit_Click(null, null);
+ }
+ #endregion
+
+ #region 判断是否可删除
+ ///
+ /// 判断是否可以删除
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content);
+ }
+ return false;
+ }
+ }
+ #endregion
+
+ #region 查询
+ protected void drpJobType_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.drpJobStatus.Items.Clear();
+ if (drpJobType.SelectedText == "Other")
+ {
+ BLL.ConstService.InitConstValueProjectStatus(this.drpJobStatus, BLL.Const.ProjectPlanner_JobStatus, "3", true);
+ }
+ if (drpJobType.SelectedText != "Other")
+ {
+ BLL.ConstService.InitConstValueProjectStatus(this.drpJobStatus, BLL.Const.ProjectPlanner_JobStatus, "2", true);
+ }
+ }
+ ///
+ /// 下拉框选择事件
+ ///
+ ///
+ ///
+ protected void btnSearch_Click(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 权限设置
+ ///
+ /// 菜单按钮权限
+ ///
+ private void GetButtonPower()
+ {
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.UserId, BLL.Const.KeyQuantityMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnEdit.Hidden = false;
+ this.btnMenuEdit.Hidden = false;
+ this.Grid1.EnableRowDoubleClickEvent = true;
+ }
+ else
+ {
+ this.Grid1.EnableRowDoubleClickEvent = false;
+ }
+ }
+ }
+ #endregion
+
+ #region 点击Grid1加载Grid2
+ ///
+ /// Grid1行选择事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowSelect(object sender, GridRowSelectEventArgs e)
+ {
+ string eProjectId = this.Grid1.SelectedRowID;
+ BindGrid2(eProjectId);
+ }
+
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid2(string eProjectId)
+ {
+ List listStr = new List
+ {
+ new SqlParameter("@eprojectId", eProjectId)
+ };
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunProc("Proc_KeyQuantityLists", parameter);
+ this.Grid2.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid2, tb);
+ Grid2.DataSource = table;
+ Grid2.DataBind();
+ }
+
+ #region 分页、排序
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void Grid2_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ Grid2.PageIndex = e.NewPageIndex;
+ BindGrid2(this.Grid1.SelectedRowID);
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlPageSize2_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid2.PageSize = Convert.ToInt32(ddlPageSize2.SelectedValue);
+ BindGrid2(this.Grid1.SelectedRowID);
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid2_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ Grid2.SortDirection = e.SortDirection;
+ Grid2.SortField = e.SortField;
+ BindGrid2(this.Grid1.SelectedRowID);
+ }
+ #endregion
+ #endregion
+
+ #region 查看
+ ///
+ /// 查看
+ ///
+ ///
+ ///
+ protected void btnMenuView_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInParent("Please select at least one record!");
+ return;
+ }
+ string Id = Grid1.SelectedRowID;
+ var eproject = BLL.EProjectService.GeteProjectById(Id);
+ if (eproject != null)
+ {
+ Window1.Title = "Key Quantity Editor(Job No. " + eproject.ProjectControl_JobNo + ")";
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("KeyQuantityEditorList.aspx?eProjectId={0}&view=1", Id, "编辑 - ")));
+
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx.designer.cs b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx.designer.cs
new file mode 100644
index 0000000..a9dd716
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditor.aspx.designer.cs
@@ -0,0 +1,287 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.EditorManage
+{
+
+
+ public partial class KeyQuantityEditor
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// drpJobType 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpJobType;
+
+ ///
+ /// drpJobStatus 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpJobStatus;
+
+ ///
+ /// txtJobNO 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtJobNO;
+
+ ///
+ /// btnSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSearch;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnEdit;
+
+ ///
+ /// Label1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label Label1;
+
+ ///
+ /// DropDownList1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList1;
+
+ ///
+ /// DropDownList2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList2;
+
+ ///
+ /// DropDownList3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList3;
+
+ ///
+ /// DropDownList4 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList4;
+
+ ///
+ /// DropDownList5 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList5;
+
+ ///
+ /// DropDownList6 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList6;
+
+ ///
+ /// DropDownList7 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList DropDownList7;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Grid2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid2;
+
+ ///
+ /// ToolbarSeparator2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator2;
+
+ ///
+ /// ToolbarText2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText2;
+
+ ///
+ /// ddlPageSize2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize2;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuView 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuView;
+ }
+}
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx
new file mode 100644
index 0000000..80a1134
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx
@@ -0,0 +1,106 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KeyQuantityEditorEdit.aspx.cs" Inherits="FineUIPro.Web.EditorManage.KeyQuantityEditorEdit" %>
+
+
+
+
+
+
+ Key Quantity Editor Edit
+
+
+
+
+
+
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.cs b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.cs
new file mode 100644
index 0000000..d4ae6da
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.cs
@@ -0,0 +1,601 @@
+using BLL;
+using NPOI.SS.Formula.Functions;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+
+namespace FineUIPro.Web.EditorManage
+{
+ public partial class KeyQuantityEditorEdit : PageBase
+ {
+ #region 定义项
+ ///
+ /// 主键
+ ///
+ public string KeyQuantityId
+ {
+ get
+ {
+ return (string)ViewState["KeyQuantityId"];
+ }
+ set
+ {
+ ViewState["KeyQuantityId"] = value;
+ }
+ }
+
+ ///
+ /// 项目Id
+ ///
+ public string ProjectId
+ {
+ get
+ {
+ return (string)ViewState["ProjectId"];
+ }
+ set
+ {
+ ViewState["ProjectId"] = value;
+ }
+ }
+ #endregion
+
+ #region 加载
+ ///
+ /// 加载
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
+ //BindGrid();
+ string view = Request.Params["view"];
+ if (view == "1")
+ {
+ this.btnSave.Hidden = true;
+ }
+ else
+ {
+ GetButtonPower();
+ }
+
+ BLL.ConstValue.InitSysConstDropDownList(this.drpType, "KeyQuantityType", false);
+ if (!string.IsNullOrEmpty(this.drpType.SelectedValue) && this.drpType.SelectedValue != BLL.Const._Null)
+ {
+ BLL.QuantityDesctiptionService.InitIdentifierDropDownList(this.drpIdentifier, this.drpType.SelectedValue, true);
+ }
+ else
+ {
+ Funs.FineUIPleaseSelect(this.drpIdentifier,"-请选择-");
+ }
+ Funs.FineUIPleaseSelect(this.drpDescipline, "-请选择-");
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+
+ this.ProjectId = Request.Params["eProjectId"];
+ this.KeyQuantityId = Request.Params["keyQuantityId"];
+ if (!string.IsNullOrEmpty(this.KeyQuantityId))
+ {
+ Model.Editor_KeyQuantity keyQuantity = BLL.KeyQuantityService.GetKeyQuantityById(this.KeyQuantityId);
+ if (keyQuantity != null)
+ {
+ this.ProjectId = keyQuantity.EProjectId;
+ //this.drpKeyId.Value = keyQuantity.KeyId;
+ //var key = BLL.QuantityDesctiptionService.GetQuantityDesctiptionById(this.drpKeyId.Value);
+ //if (key != null)
+ //{
+ // if (!string.IsNullOrEmpty(key.DisciplinesWBSId))
+ // {
+ // var wbs = BLL.DisciplinesWBSService.GetDisciplinesWBSById(key.DisciplinesWBSId);
+ // if (wbs != null)
+ // {
+ // this.txtIdentifier.Text = wbs.DisciplinesWBSCode;
+ // this.txtDescipline.Text = wbs.DisciplinesWBSName;
+ // }
+
+ // this.txtPlanMHRsSummary.Text = BLL.KeyQuantityService.GetSumPlanMHRsByKeyId(this.drpKeyId.Value).ToString();
+ // double? actualHoursSum = (from x in Funs.DB.ManHours_Actual
+ // where x.EProjectId == this.ProjectId
+ // && x.Discipline == wbs.DisciplinesWBSName
+ // select x.Hours).Sum();
+ // this.txtActualMHRs.Text = actualHoursSum.ToString();
+ // }
+ // txtQuantityDesctiption.Text = key.QuantityDesctiption;
+ // txtPlanMHRsUnit.Text = key.PlanMHRsUnit.HasValue ? key.PlanMHRsUnit.ToString() : "";
+ //}
+ if (!string.IsNullOrEmpty(keyQuantity.Type))
+ {
+ this.drpType.SelectedValue = keyQuantity.Type;
+
+ if (!string.IsNullOrEmpty(keyQuantity.Identifier))
+ {
+ this.drpIdentifier.Items.Clear();
+ BLL.QuantityDesctiptionService.InitIdentifierDropDownList(this.drpIdentifier, keyQuantity.Type, true);
+ this.drpIdentifier.SelectedValue = keyQuantity.Identifier;
+
+ if (!string.IsNullOrEmpty(keyQuantity.Descipline))
+ {
+ this.drpDescipline.Items.Clear();
+ BLL.QuantityDesctiptionService.InitDesciplineDropDownList(this.drpDescipline, true, keyQuantity.Type, keyQuantity.Identifier);
+ this.drpDescipline.SelectedValue = keyQuantity.Descipline;
+
+ if (!string.IsNullOrEmpty(keyQuantity.QuantityDesctiption))
+ {
+ this.drpQuantityDesctiption.Items.Clear();
+ BLL.QuantityDesctiptionService.InitQuantityDesctiptionDropDownList(this.drpQuantityDesctiption, true, keyQuantity.Type, keyQuantity.Identifier, keyQuantity.Descipline);
+ this.drpQuantityDesctiption.SelectedValue = keyQuantity.QuantityDesctiption;
+
+ if (keyQuantity.PlanMHRsUnit.HasValue)
+ {
+ this.drpPlanMHRsUnit.Items.Clear();
+ BLL.QuantityDesctiptionService.InitPlanMHRsUnitDropDownList(this.drpPlanMHRsUnit, true, keyQuantity.Type, keyQuantity.Identifier, keyQuantity.Descipline, keyQuantity.QuantityDesctiption);
+ this.drpPlanMHRsUnit.SelectedValue = keyQuantity.PlanMHRsUnit.ToString();
+ }
+ }
+ }
+ }
+ }
+ this.txtPlanMHRsSummary.Text = BLL.KeyQuantityService.GetSumPlanMHRsByKeyId(keyQuantity.EProjectId, keyQuantity.Identifier, keyQuantity.Descipline).ToString();
+ this.txtInputQuantity.Text = keyQuantity.InputQuantity.HasValue ? keyQuantity.InputQuantity.ToString() : "";
+ this.txtPlanMHRs.Text = keyQuantity.PlanMHRs.HasValue ? keyQuantity.PlanMHRs.ToString() : "";
+ double? actualHoursSum = (from x in Funs.DB.ManHours_Actual
+ where x.EProjectId == this.ProjectId
+ && x.Discipline == keyQuantity.Descipline
+ select x.Hours).Sum();
+ this.txtActualMHRs.Text = actualHoursSum.ToString();
+ }
+ }
+ }
+ }
+ #endregion
+
+ #region 绑定数据
+ ///
+ /// 数据绑定
+ ///
+ //private void BindGrid()
+ //{
+ // string strSql = @"SELECT qd.KeyId,
+ // qd.DepartId,
+ // qd.DisciplinesWBSId,
+ // qd.QuantityDesctiption,
+ // qd.PlanMHRsUnit,
+ // d.DepartName,
+ // wbs.DisciplinesWBSCode,
+ // wbs.DisciplinesWBSName
+ // FROM Base_QuantityDesctiption qd
+ // left join Base_Depart as d on qd.DepartId = d.DepartId
+ // left join Base_DisciplinesWBS as wbs on wbs.DisciplinesWBSId = qd.DisciplinesWBSId WHERE 1=1";
+ // List listStr = new List();
+ // if (!string.IsNullOrEmpty(this.txtSearch.Text.Trim()))
+ // {
+ // strSql += " AND d.DepartName like @DepartName ";
+ // listStr.Add(new SqlParameter("@DepartName", "%" + this.txtSearch.Text.Trim() + "%"));
+ // }
+ // SqlParameter[] parameter = listStr.ToArray();
+ // DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ // // 2.获取当前分页数据
+ // //var table = this.GetPagedDataTable(Grid1, tb1);
+ // Grid1.RecordCount = tb.Rows.Count;
+ // var table = this.GetPagedDataTable(Grid1, tb);
+ // Grid1.DataSource = table;
+ // Grid1.DataBind();
+ //}
+ #endregion
+
+ #region 分页、排序
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ //protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ //{
+ // Grid1.PageIndex = e.NewPageIndex;
+ // BindGrid();
+ //}
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ //protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ //{
+ // Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ // BindGrid();
+ //}
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ //protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ //{
+ // Grid1.SortDirection = e.SortDirection;
+ // Grid1.SortField = e.SortField;
+ // BindGrid();
+ //}
+
+ ///
+ /// 筛选
+ ///
+ ///
+ ///
+ //protected void txtSearch_TextChanged(object sender, EventArgs e)
+ //{
+ // BindGrid();
+ //}
+ #endregion
+
+ #region 保存
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ if (this.drpType.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpType.SelectedValue))
+ {
+ ShowAlert("Please select Type!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.drpIdentifier.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpIdentifier.SelectedValue))
+ {
+ ShowAlert("Please select Identifier!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.drpDescipline.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpDescipline.SelectedValue))
+ {
+ ShowAlert("Please select Descipline!", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.drpQuantityDesctiption.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpQuantityDesctiption.SelectedValue))
+ {
+ ShowAlert("Please select Quantity Desctiption!", MessageBoxIcon.Warning);
+ return;
+ }
+ Model.Editor_KeyQuantity newKeyQuantity = new Model.Editor_KeyQuantity();
+ newKeyQuantity.Type = this.drpType.SelectedValue;
+ newKeyQuantity.InputQuantity = Funs.GetNewDecimal(this.txtInputQuantity.Text);
+ newKeyQuantity.PlanMHRs = Funs.GetNewDecimal(this.txtPlanMHRs.Text);
+ newKeyQuantity.Identifier = this.drpIdentifier.SelectedText;
+ newKeyQuantity.Descipline = this.drpDescipline.SelectedText;
+ newKeyQuantity.QuantityDesctiption = this.drpQuantityDesctiption.SelectedText;
+ newKeyQuantity.PlanMHRsUnit = Funs.GetNewDecimal(this.drpPlanMHRsUnit.SelectedText);
+
+ if (!string.IsNullOrEmpty(this.KeyQuantityId))
+ {
+ newKeyQuantity.KeyQuantityId = this.KeyQuantityId;
+ BLL.KeyQuantityService.UpdateKeyQuantity(newKeyQuantity);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Modify Key Quantity Editor information!");
+ ShowNotify("Save Successfully!", MessageBoxIcon.Success);
+ }
+ else
+ {
+ newKeyQuantity.EProjectId = ProjectId;
+ this.KeyQuantityId = SQLHelper.GetNewID(typeof(Model.Editor_KeyQuantity));
+ newKeyQuantity.KeyQuantityId = this.KeyQuantityId;
+ BLL.KeyQuantityService.AddKeyQuantity(newKeyQuantity);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Add Key Quantity Editor information!");
+ ShowNotify("Save Successfully!", MessageBoxIcon.Success);
+ }
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ #endregion
+
+ #region DropDownList下拉选择事件
+ ///
+ /// 部门下拉选择事件
+ ///
+ ///
+ ///
+ //protected void drpKeyId_TextChanged(object sender, EventArgs e)
+ //{
+ // this.txtIdentifier.Text = string.Empty;
+ // this.txtDescipline.Text = string.Empty;
+ // this.txtQuantityDesctiption.Text = string.Empty;
+ // this.txtPlanMHRsUnit.Text = string.Empty;
+ // this.txtPlanMHRsSummary.Text = string.Empty;
+ // if (!string.IsNullOrEmpty(this.drpKeyId.Value))
+ // {
+ // var key = BLL.QuantityDesctiptionService.GetQuantityDesctiptionById(this.drpKeyId.Value);
+ // if (key != null)
+ // {
+ // if (!string.IsNullOrEmpty(key.DisciplinesWBSId))
+ // {
+ // var wbs = BLL.DisciplinesWBSService.GetDisciplinesWBSById(key.DisciplinesWBSId);
+ // if (wbs != null)
+ // {
+ // this.txtIdentifier.Text = wbs.DisciplinesWBSCode;
+ // this.txtDescipline.Text = wbs.DisciplinesWBSName;
+ // }
+
+ // decimal? s = BLL.KeyQuantityService.GetSumPlanMHRsByKeyId(this.drpKeyId.Value);
+ // this.txtPlanMHRsSummary.Text = (s + Funs.GetNewDecimal(this.txtPlanMHRs.Text)).ToString();
+
+ // double? actualHoursSum = (from x in Funs.DB.ManHours_Actual
+ // where x.EProjectId == this.ProjectId
+ // && x.Discipline == wbs.DisciplinesWBSName
+ // select x.Hours).Sum();
+ // this.txtActualMHRs.Text = actualHoursSum.ToString();
+ // }
+ // txtQuantityDesctiption.Text = key.QuantityDesctiption;
+ // txtPlanMHRsUnit.Text = key.PlanMHRsUnit.HasValue ? key.PlanMHRsUnit.ToString() : "";
+ // }
+ // }
+ //}
+
+ ///
+ /// Input Quantity输入事件
+ ///
+ ///
+ ///
+ protected void txtInputQuantity_TextChanged(object sender, EventArgs e)
+ {
+ this.txtPlanMHRs.Text = string.Empty;
+ this.txtPlanMHRsSummary.Text = string.Empty;
+ if (!string.IsNullOrEmpty(this.txtInputQuantity.Text.Trim()))
+ {
+ this.txtPlanMHRs.Text = (Funs.GetNewDecimal(this.txtInputQuantity.Text) * Funs.GetNewDecimal(this.drpPlanMHRsUnit.SelectedText)).ToString();
+
+ decimal? s = BLL.KeyQuantityService.GetSumPlanMHRsByKeyId(this.ProjectId ,this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue);
+ if (s > 0)
+ {
+ this.txtPlanMHRsSummary.Text = (s + Funs.GetNewDecimal(this.txtPlanMHRs.Text)).ToString();
+ }
+ else
+ {
+ this.txtPlanMHRsSummary.Text = this.txtPlanMHRs.Text;
+ }
+ }
+ }
+
+ ///
+ /// Type 下拉选择
+ ///
+ ///
+ ///
+ protected void drpType_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.drpIdentifier.Items.Clear();
+ this.drpDescipline.Items.Clear();
+ this.drpQuantityDesctiption.Items.Clear();
+ this.drpPlanMHRsUnit.Items.Clear();
+ if (this.drpType.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpType.SelectedValue))
+ {
+ BLL.QuantityDesctiptionService.InitIdentifierDropDownList(this.drpIdentifier, this.drpType.SelectedValue, true);
+ if (this.drpIdentifier.Items.Count == 2)
+ {
+ this.drpIdentifier.SelectedIndex = 1;
+
+ BLL.QuantityDesctiptionService.InitDesciplineDropDownList(this.drpDescipline, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue);
+ if (this.drpDescipline.Items.Count == 2)
+ {
+ this.drpDescipline.SelectedIndex = 1;
+ BLL.QuantityDesctiptionService.InitQuantityDesctiptionDropDownList(this.drpQuantityDesctiption, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue);
+ if (this.drpQuantityDesctiption.Items.Count == 2)
+ {
+ this.drpQuantityDesctiption.SelectedIndex = 1;
+ BLL.QuantityDesctiptionService.InitPlanMHRsUnitDropDownList(this.drpPlanMHRsUnit, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue, this.drpQuantityDesctiption.SelectedValue);
+ if (this.drpPlanMHRsUnit.Items.Count == 2)
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 1;
+ double? actualHoursSum = (from x in Funs.DB.ManHours_Actual
+ where x.EProjectId == this.ProjectId
+ && x.Discipline == this.drpDescipline.SelectedValue
+ select x.Hours).Sum();
+ this.txtActualMHRs.Text = actualHoursSum.ToString();
+ }
+ else
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ this.drpDescipline.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ this.drpIdentifier.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpDescipline, "-请选择-");
+ this.drpDescipline.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ Funs.FineUIPleaseSelect(this.drpIdentifier, "-请选择-");
+ this.drpIdentifier.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpDescipline, "-请选择-");
+ this.drpDescipline.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+
+ ///
+ /// Identifier 下拉选择
+ ///
+ ///
+ ///
+ protected void drpIdentifier_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.drpDescipline.Items.Clear();
+ this.drpQuantityDesctiption.Items.Clear();
+ this.drpPlanMHRsUnit.Items.Clear();
+ if (this.drpIdentifier.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpIdentifier.SelectedValue) && this.drpType.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpType.SelectedValue))
+ {
+ BLL.QuantityDesctiptionService.InitDesciplineDropDownList(this.drpDescipline, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue);
+ if (this.drpDescipline.Items.Count == 2)
+ {
+ this.drpDescipline.SelectedIndex = 1;
+
+ double? actualHoursSum = (from x in Funs.DB.ManHours_Actual
+ where x.EProjectId == this.ProjectId
+ && x.Discipline == this.drpDescipline.SelectedValue
+ select x.Hours).Sum();
+ this.txtActualMHRs.Text = actualHoursSum.ToString();
+
+ BLL.QuantityDesctiptionService.InitQuantityDesctiptionDropDownList(this.drpQuantityDesctiption, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue);
+ if (this.drpQuantityDesctiption.Items.Count == 2)
+ {
+ this.drpQuantityDesctiption.SelectedIndex = 1;
+ BLL.QuantityDesctiptionService.InitPlanMHRsUnitDropDownList(this.drpPlanMHRsUnit, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue, this.drpQuantityDesctiption.SelectedValue);
+ if (this.drpPlanMHRsUnit.Items.Count == 2)
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 1;
+
+ double? actualHoursSum2 = (from x in Funs.DB.ManHours_Actual
+ where x.EProjectId == this.ProjectId
+ && x.Discipline == this.drpDescipline.SelectedValue
+ select x.Hours).Sum();
+ this.txtActualMHRs.Text = actualHoursSum2.ToString();
+ }
+ else
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ this.drpDescipline.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ Funs.FineUIPleaseSelect(this.drpDescipline, "-请选择-");
+ this.drpDescipline.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+
+ ///
+ /// Descipline下拉选择
+ ///
+ ///
+ ///
+ protected void drpDescipline_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.txtActualMHRs.Text = string.Empty;
+ this.drpQuantityDesctiption.Items.Clear();
+ this.drpPlanMHRsUnit.Items.Clear();
+ if (this.drpType.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpType.SelectedValue) && this.drpIdentifier.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpIdentifier.SelectedValue) && this.drpDescipline.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDescipline.SelectedValue))
+ {
+ BLL.QuantityDesctiptionService.InitQuantityDesctiptionDropDownList(this.drpQuantityDesctiption, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue);
+ if (this.drpQuantityDesctiption.Items.Count == 2)
+ {
+ this.drpQuantityDesctiption.SelectedIndex = 1;
+ BLL.QuantityDesctiptionService.InitPlanMHRsUnitDropDownList(this.drpPlanMHRsUnit, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue, this.drpQuantityDesctiption.SelectedValue);
+ if (this.drpPlanMHRsUnit.Items.Count == 2)
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 1;
+ }
+ else
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+
+ double? actualHoursSum = (from x in Funs.DB.ManHours_Actual
+ where x.EProjectId == this.ProjectId
+ && x.Discipline == this.drpDescipline.SelectedValue
+ select x.Hours).Sum();
+ this.txtActualMHRs.Text = actualHoursSum.ToString();
+ }
+ else
+ {
+ Funs.FineUIPleaseSelect(this.drpQuantityDesctiption, "-请选择-");
+ this.drpQuantityDesctiption.SelectedIndex = 0;
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+
+ ///
+ /// Quantity Desctiption下拉选择
+ ///
+ ///
+ ///
+ protected void drpQuantityDesctiption_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ this.drpPlanMHRsUnit.Items.Clear();
+ if (this.drpType.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpType.SelectedValue) && this.drpIdentifier.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpIdentifier.SelectedValue) && this.drpDescipline.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDescipline.SelectedValue) && this.drpQuantityDesctiption.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpQuantityDesctiption.SelectedValue))
+ {
+ BLL.QuantityDesctiptionService.InitPlanMHRsUnitDropDownList(this.drpPlanMHRsUnit, true, this.drpType.SelectedValue, this.drpIdentifier.SelectedValue, this.drpDescipline.SelectedValue, this.drpQuantityDesctiption.SelectedValue);
+ if (this.drpPlanMHRsUnit.Items.Count == 2)
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 1;
+ }
+ else
+ {
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ else
+ {
+ Funs.FineUIPleaseSelect(this.drpPlanMHRsUnit, "-请选择-");
+ this.drpPlanMHRsUnit.SelectedIndex = 0;
+ }
+ }
+ #endregion
+
+ #region 权限设置
+ ///
+ /// 菜单按钮权限
+ ///
+ private void GetButtonPower()
+ {
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.UserId, BLL.Const.KeyQuantityMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnSave))
+ {
+ this.btnSave.Hidden = false;
+ }
+ }
+ }
+ #endregion
+
+ }
+}
\ No newline at end of file
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.designer.cs b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.designer.cs
new file mode 100644
index 0000000..aaa1caa
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.designer.cs
@@ -0,0 +1,170 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.EditorManage
+{
+
+
+ public partial class KeyQuantityEditorEdit
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Form2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form Form2;
+
+ ///
+ /// drpType 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpType;
+
+ ///
+ /// drpIdentifier 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpIdentifier;
+
+ ///
+ /// drpDescipline 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpDescipline;
+
+ ///
+ /// drpQuantityDesctiption 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpQuantityDesctiption;
+
+ ///
+ /// drpPlanMHRsUnit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpPlanMHRsUnit;
+
+ ///
+ /// txtInputQuantity 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtInputQuantity;
+
+ ///
+ /// txtPlanMHRs 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtPlanMHRs;
+
+ ///
+ /// txtPlanMHRsSummary 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtPlanMHRsSummary;
+
+ ///
+ /// txtActualMHRs 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox txtActualMHRs;
+
+ ///
+ /// Label1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label Label1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// btnClose 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnClose;
+ }
+}
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx
new file mode 100644
index 0000000..3f9f566
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx
@@ -0,0 +1,114 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="KeyQuantityEditorList.aspx.cs" Inherits="FineUIPro.Web.EditorManage.KeyQuantityEditorList" %>
+
+
+
+
+
+
+ Key Quantity Editor List
+
+
+
+
+
+
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx.cs b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx.cs
new file mode 100644
index 0000000..0e45740
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx.cs
@@ -0,0 +1,277 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data.SqlClient;
+using System.Data;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.EditorManage
+{
+ public partial class KeyQuantityEditorList : PageBase
+ {
+ #region 加载
+ ///
+ /// 加载页面
+ ///
+ ///
+ ///
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ string view = Request.Params["view"];
+ if (view == "1")
+ {
+ this.btnNew.Hidden = true;
+ this.btnEdit.Hidden = true;
+ this.btnMenuEdit.Hidden = true;
+ this.btnDelete.Hidden = true;
+ this.btnMenuDelete.Hidden = true;
+ }
+ else
+ {
+ GetButtonPower();//权限设置
+ }
+
+
+ btnNew.OnClientClick = Window1.GetShowReference("KeyQuantityEditorEdit.aspx?eProjectId=" + Request.Params["eProjectId"]) + "return false;";
+ btnDelete.OnClientClick = Grid1.GetNoSelectionAlertReference("Please select at least one item!");
+ btnDelete.ConfirmText = String.Format("Are you sure you want to delete the selected rows?", Grid1.GetSelectedCountReference());
+
+ ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+ // 绑定表格
+ BindGrid();
+ }
+ }
+
+ ///
+ /// 绑定数据
+ ///
+ private void BindGrid()
+ {
+ List listStr = new List
+ {
+ new SqlParameter("@eprojectId", Request.Params["eProjectId"])
+ };
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunProc("Proc_KeyQuantityLists", parameter);
+ this.Grid1.RecordCount = tb.Rows.Count;
+ var table = this.GetPagedDataTable(Grid1, tb);
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+ #endregion
+
+ #region 删除数据
+ ///
+ /// 批量删除数据
+ ///
+ ///
+ ///
+ protected void btnDelete_Click(object sender, EventArgs e)
+ {
+ this.DeleteData();
+ }
+
+ ///
+ /// 右键删除事件
+ ///
+ ///
+ ///
+ protected void btnMenuDelete_Click(object sender, EventArgs e)
+ {
+ this.DeleteData();
+ }
+
+ ///
+ /// 删除方法
+ ///
+ private void DeleteData()
+ {
+ if (Grid1.SelectedRowIndexArray.Length > 0)
+ {
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ var role = BLL.KeyQuantityService.GetKeyQuantityById(rowID);
+ if (role != null)
+ {
+ if (judgementDelete(rowID, false))
+ {
+ BLL.KeyQuantityService.DeleteKeyQuantityById(rowID);
+ BLL.Sys_LogService.AddLog(this.CurrUser.UserId, "Delete Key Quantity Editor information");
+ ShowNotify("Deleted successfully!");
+ BindGrid();
+ }
+ }
+ }
+ }
+ }
+ #endregion
+
+ #region 分页、排序
+ ///
+ /// 分页
+ ///
+ ///
+ ///
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ Grid1.PageIndex = e.NewPageIndex;
+ BindGrid();
+ }
+
+ ///
+ /// 分页显示条数下拉框
+ ///
+ ///
+ ///
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+
+ ///
+ /// 排序
+ ///
+ ///
+ ///
+ protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e)
+ {
+ Grid1.SortDirection = e.SortDirection;
+ Grid1.SortField = e.SortField;
+ BindGrid();
+ }
+ #endregion
+
+ #region 关闭弹出窗口
+ ///
+ /// 关闭窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ #endregion
+
+ #region 编辑
+ ///
+ /// 编辑
+ ///
+ ///
+ ///
+ protected void btnEdit_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInParent("Please select at least one record!");
+ return;
+ }
+ string Id = Grid1.SelectedRowID;
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("KeyQuantityEditorEdit.aspx?keyQuantityId={0}", Id, "编辑 - ")));
+
+ }
+
+ ///
+ /// 右键编辑事件
+ ///
+ ///
+ ///
+ protected void btnMenuEdit_Click(object sender, EventArgs e)
+ {
+ btnEdit_Click(null, null);
+ }
+
+ ///
+ /// Grid行双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ btnEdit_Click(null, null);
+ }
+ #endregion
+
+ #region 判断是否可删除
+ ///
+ /// 判断是否可以删除
+ ///
+ ///
+ private bool judgementDelete(string id, bool isShow)
+ {
+ string content = string.Empty;
+
+ if (string.IsNullOrEmpty(content))
+ {
+ return true;
+ }
+ else
+ {
+ if (isShow)
+ {
+ Alert.ShowInTop(content);
+ }
+ return false;
+ }
+ }
+ #endregion
+
+ #region 权限设置
+ ///
+ /// 菜单按钮权限
+ ///
+ private void GetButtonPower()
+ {
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.UserId, BLL.Const.KeyQuantityMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnAdd))
+ {
+ this.btnNew.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnEdit.Hidden = false;
+ this.btnMenuEdit.Hidden = false;
+ this.Grid1.EnableRowDoubleClickEvent = true;
+ }
+ else
+ {
+ this.Grid1.EnableRowDoubleClickEvent = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ this.btnDelete.Hidden = false;
+ this.btnMenuDelete.Hidden = false;
+ }
+ }
+ }
+ #endregion
+
+ #region 查看
+ ///
+ /// 查看
+ ///
+ ///
+ ///
+ protected void btnMenuView_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInParent("Please select at least one record!");
+ return;
+ }
+ string Id = Grid1.SelectedRowID;
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("KeyQuantityEditorEdit.aspx?keyQuantityId={0}&view=1", Id, "编辑 - ")));
+
+ }
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx.designer.cs b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx.designer.cs
new file mode 100644
index 0000000..10df363
--- /dev/null
+++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorList.aspx.designer.cs
@@ -0,0 +1,161 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.EditorManage
+{
+
+
+ public partial class KeyQuantityEditorList
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar2;
+
+ ///
+ /// btnNew 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnNew;
+
+ ///
+ /// btnEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnEdit;
+
+ ///
+ /// btnDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnDelete;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuEdit;
+
+ ///
+ /// btnMenuDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDelete;
+
+ ///
+ /// btnMenuView 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuView;
+ }
+}
diff --git a/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx b/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx
index c283d65..6e8ce87 100644
--- a/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx
+++ b/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx
@@ -19,15 +19,15 @@
-
+
-
-
-
-
-
+
+
+
+
+
@@ -69,13 +69,13 @@
-
+
-
+
@@ -162,7 +162,7 @@
-
+
@@ -183,7 +183,7 @@
-
+
-
+
@@ -224,7 +224,7 @@
-
+
@@ -239,30 +239,31 @@
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -275,7 +276,7 @@
+ HeaderText="Identifier" HeaderTextAlign="Center">
@@ -284,7 +285,7 @@
ExpandUnusedSpace="true">
-
+
@@ -301,8 +302,8 @@
-
-
+
+
@@ -314,7 +315,7 @@
-
+
@@ -328,10 +329,10 @@
+ OnClick="btnCalculated_Click" Text="Calculated Progress">
+ OnClick="btnSave_Click">
diff --git a/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx.cs b/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx.cs
index 2220fd9..98babe5 100644
--- a/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx.cs
+++ b/EProject/FineUIPro.Web/EditorManage/PMEditorEdit.aspx.cs
@@ -602,10 +602,18 @@ namespace FineUIPro.Web.EditorManage
// epro.ProjectControl_JobStatus = "In Construction";
//}
-
- //当项目类型为projects或moc时PM中Milestone(Actual)的Project Approval不为空,并且Resource_Plan有记录时,状态为Not Approved 修改于2024.07.04
- var resourcePlans = BLL.ResourcePlanService.GetResourcePlanByEProjectId(epro.EProjectId);
- if ((epro.PM_MA_ProjectApproval == null || epro.PM_MA_ProjectApproval.ToString() == "") && resourcePlans.Count() > 0)
+
+ ////当项目类型为projects或moc时PM中Milestone(Actual)的Project Approval不为空,并且Resource_Plan有记录时,状态为Not Approved 修改于2024.07.04
+ //var resourcePlans = BLL.ResourcePlanService.GetResourcePlanByEProjectId(epro.EProjectId);
+ //if ((epro.PM_MA_ProjectApproval == null || epro.PM_MA_ProjectApproval.ToString() == "") && resourcePlans.Count() > 0)
+ //{
+ // if (eproject.ProjectControl_JobStatus == null || eproject.ProjectControl_JobStatus == "" || eproject.ProjectControl_JobStatus == "Not Start")
+ // {
+ // epro.ProjectControl_JobStatus = "Study";
+ // }
+ //}
+ //由原先Project Approval为空且有第一个rp修改状态为Study 改为 Project Approval为空,并且Planning Cost Approval不为空,状态改为Study 修改于2025.8.22
+ if ((epro.PM_MA_ProjectApproval == null || epro.PM_MA_ProjectApproval.ToString() == "") && epro.PM_Planning_Approval.HasValue)
{
if (eproject.ProjectControl_JobStatus == null || eproject.ProjectControl_JobStatus == "" || eproject.ProjectControl_JobStatus == "Not Start")
{
@@ -643,8 +651,10 @@ namespace FineUIPro.Web.EditorManage
}
// 后加:当PM中Milestone(Actual)的Project Approval不为空并且IFC ALL的ReceiveHC不为空,状态为In Procurement
+ //或者当PM中Milestone(Actual)的Project Approval不为空并且IFC NA的ReceiveHC不为空,状态为In Procurement
var con_all = from x in Funs.DB.Editor_TDC where x.EProjectId == epro.EProjectId && x.Type == "D01_IFC" && x.Disc == "00_ALL" && x.ReceiveHC.HasValue select x;
- if (epro.ProjectControl_JobType != "Other" && epro.PM_MA_ProjectApproval.HasValue && con_all.Count() > 0)
+ var con_na = from x in Funs.DB.Editor_TDC where x.EProjectId == epro.EProjectId && x.Type == "D01_IFC" && x.Disc == "90_NA" select x;
+ if (epro.ProjectControl_JobType != "Other" && epro.PM_MA_ProjectApproval.HasValue && (con_all.Count() > 0 || con_na.Count() > 0))
{
if (eproject.ProjectControl_JobStatus == null || eproject.ProjectControl_JobStatus == "" || eproject.ProjectControl_JobStatus == "Detailed Design" || eproject.ProjectControl_JobStatus == "On Going" || eproject.ProjectControl_JobStatus == "Study" || eproject.ProjectControl_JobStatus == "Not Start")
{
diff --git a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx
index f019ebf..ca223d7 100644
--- a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx
+++ b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx
@@ -20,7 +20,7 @@
-
+
@@ -33,7 +33,7 @@
-
+
@@ -41,7 +41,7 @@
-
+
@@ -49,9 +49,9 @@
-
-
+
+
+
@@ -59,21 +59,21 @@
-
-
+
+
-
-
+
+
-
+
@@ -146,7 +146,7 @@
-
+
@@ -212,7 +212,23 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -228,14 +244,14 @@
-
+
-
+
@@ -243,7 +259,7 @@
-
+
@@ -258,7 +274,7 @@
-
+
diff --git a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.cs b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.cs
index 11d1839..8cab470 100644
--- a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.cs
+++ b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.cs
@@ -32,9 +32,9 @@ namespace FineUIPro.Web.EditorManage
BLL.ConstService.InitConstValueDropDownList(this.drpJobType, BLL.Const.ProjectPlanner_JobType, true);//项目类型
//BLL.ConstService.InitConstValueDropDownList(this.drpJobStatus, BLL.Const.ProjectPlanner_JobStatus, false); //项目状态
BLL.DepartService.InitDepartDropDownList(this.drpBuCode, true);//部门
- BLL.Sys_UserService.InitUserDrpNA(this.drpProjectManager, true); //项目经理
- BLL.Sys_UserService.InitUserDrpNA(this.drpEMManager, true); //EM
- BLL.Sys_UserService.InitUserDrpNA(this.drpConstManager, true);//施工经理
+ BLL.Sys_UserService.InitUserDropDownList(this.drpProjectManager, true); //项目经理
+ BLL.Sys_UserService.InitUserDropDownList(this.drpEMManager, true); //EM
+ BLL.Sys_UserService.InitUserDropDownList(this.drpConstManager, true);//施工经理
BLL.Sys_UserService.InitUserDropDownList(this.drpOpre, true);//操作代表
BLL.Sys_UserService.InitDropDownList(this.drpLeadBy, true);
BLL.Sys_UserService.InitUserDropDownList(this.drpCIProcess, true);
@@ -184,6 +184,7 @@ namespace FineUIPro.Web.EditorManage
txtPM_SC_PendingQty.Text = Convert.ToString(eproject.PM_SC_PendingQty);
txtPM_SC_PendingCost.Text = Convert.ToString(eproject.PM_SC_PendingCost);
+ this.txtRFSUCloseDate.Text = eproject.ProjectControl_RFSU_CloseDate == null ? "" : string.Format("{0:yyyy-MM-dd}", eproject.ProjectControl_RFSU_CloseDate);
this.txtBC_CloseDate.Text = eproject.ProjectControl_BC_CloseDate == null ? "" : string.Format("{0:yyyy-MM-dd}", eproject.ProjectControl_BC_CloseDate);
this.txtCancelDate.Text = eproject.ProjectControl_PC_CancelDate == null ? "" : string.Format("{0:yyyy-MM-dd}", eproject.ProjectControl_PC_CancelDate);
this.txtHold.Text = eproject.Job_Hold == null ? "" : string.Format("{0:yyyy-MM-dd}", eproject.Job_Hold);
@@ -566,6 +567,8 @@ namespace FineUIPro.Web.EditorManage
eProject.PM_SC_PendingQty = Funs.GetNewInt(txtPM_SC_PendingQty.Text.Trim());
eProject.PM_SC_PendingCost = Funs.GetNewDecimal(txtPM_SC_PendingCost.Text.Trim());
+ eProject.ProjectControl_RFSU_CloseDate = Funs.GetNewDateTime(this.txtRFSUCloseDate.Text.Trim());
+
if (!string.IsNullOrEmpty(this.txtBC_CloseDate.Text.Trim()))
{
eProject.ProjectControl_BC_CloseDate = Funs.GetNewDateTime(this.txtBC_CloseDate.Text.Trim());
diff --git a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.designer.cs b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.designer.cs
index bb42cc2..d53f4f4 100644
--- a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.designer.cs
+++ b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx.designer.cs
@@ -671,6 +671,33 @@ namespace FineUIPro.Web.EditorManage
///
protected global::FineUIPro.NumberBox txtPM_SC_PendingCost;
+ ///
+ /// GroupPanel12 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.GroupPanel GroupPanel12;
+
+ ///
+ /// Form14 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form Form14;
+
+ ///
+ /// txtRFSUCloseDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DatePicker txtRFSUCloseDate;
+
///
/// GroupPanel8 控件。
///
diff --git a/EProject/FineUIPro.Web/EditorManage/TDCEditorEdit.aspx.cs b/EProject/FineUIPro.Web/EditorManage/TDCEditorEdit.aspx.cs
index 8bce810..44b48ce 100644
--- a/EProject/FineUIPro.Web/EditorManage/TDCEditorEdit.aspx.cs
+++ b/EProject/FineUIPro.Web/EditorManage/TDCEditorEdit.aspx.cs
@@ -223,14 +223,14 @@ namespace FineUIPro.Web.EditorManage
// 后加:当PM中Milestone(Actual)的Project Approval不为空并且IFC ALL的ReceiveHC不为空,状态为In Procurement
var con_all = from x in Funs.DB.Editor_TDC where x.EProjectId == eproject.EProjectId && x.Type == "D01_IFC" && x.Disc == "00_ALL" && x.ReceiveHC.HasValue select x;
- if (eproject.ProjectControl_JobType != "Other" && eproject.PM_MA_ProjectApproval.HasValue && con_all.Count() > 0)
+ var con_na = from x in Funs.DB.Editor_TDC where x.EProjectId == eproject.EProjectId && x.Type == "D01_IFC" && x.Disc == "90_NA" select x;
+ if (eproject.ProjectControl_JobType != "Other" && eproject.PM_MA_ProjectApproval.HasValue && (con_all.Count() > 0 || con_na.Count() > 0))
{
if (eproject.ProjectControl_JobStatus == null || eproject.ProjectControl_JobStatus == "" || eproject.ProjectControl_JobStatus == "Detailed Design" || eproject.ProjectControl_JobStatus == "On Going" || eproject.ProjectControl_JobStatus == "Study" || eproject.ProjectControl_JobStatus == "Not Start")
{
eproject.ProjectControl_JobStatus = "In Procurement";
}
}
-
#endregion
if ((eproject.Permit_PS_SafetyFinalAcc.HasValue && eproject.Permit_PA_SafetyFinalACC.HasValue
diff --git a/EProject/FineUIPro.Web/File/Excel/Project_List_Report.xlsx b/EProject/FineUIPro.Web/File/Excel/Project_List_Report.xlsx
index 03677e3..16e8e02 100644
Binary files a/EProject/FineUIPro.Web/File/Excel/Project_List_Report.xlsx and b/EProject/FineUIPro.Web/File/Excel/Project_List_Report.xlsx differ
diff --git a/EProject/FineUIPro.Web/FineUIPro.Web.csproj b/EProject/FineUIPro.Web/FineUIPro.Web.csproj
index 0fd0a2f..57f027c 100644
--- a/EProject/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/EProject/FineUIPro.Web/FineUIPro.Web.csproj
@@ -40,7 +40,7 @@
bin\
DEBUG;TRACE
prompt
- 5
+ 4
7.3
false
@@ -50,7 +50,7 @@
bin\
TRACE
prompt
- 4
+ 1
7.2
false
@@ -138,6 +138,7 @@
..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll
+
@@ -231,6 +232,7 @@
+
@@ -259,6 +261,9 @@
+
+
+
@@ -980,6 +985,13 @@
PunchDetailsDiscipline.aspx
+
+ QuantityDesctiption.aspx
+ ASPXCodeBehind
+
+
+ QuantityDesctiption.aspx
+
ResoursesClass.aspx
ASPXCodeBehind
@@ -1171,6 +1183,27 @@
FCRLogEditorList.aspx
+
+ KeyQuantityEditor.aspx
+ ASPXCodeBehind
+
+
+ KeyQuantityEditor.aspx
+
+
+ KeyQuantityEditorEdit.aspx
+ ASPXCodeBehind
+
+
+ KeyQuantityEditorEdit.aspx
+
+
+ KeyQuantityEditorList.aspx
+ ASPXCodeBehind
+
+
+ KeyQuantityEditorList.aspx
+
LessonsLearnedEditor.aspx
ASPXCodeBehind
diff --git a/EProject/FineUIPro.Web/FineUIPro.Web.csproj.user b/EProject/FineUIPro.Web/FineUIPro.Web.csproj.user
index 3f55043..dc767e7 100644
--- a/EProject/FineUIPro.Web/FineUIPro.Web.csproj.user
+++ b/EProject/FineUIPro.Web/FineUIPro.Web.csproj.user
@@ -2,7 +2,7 @@
ProjectFiles
- Debug|Any CPU
+ Release|Any CPU
true
true
diff --git a/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx b/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx
index 45b95eb..b909a0f 100644
--- a/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx
+++ b/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx
@@ -46,9 +46,9 @@
-
-
+
+
diff --git a/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx.designer.cs b/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx.designer.cs
index bc17ee3..c999560 100644
--- a/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx.designer.cs
+++ b/EProject/FineUIPro.Web/ManHours/AccountDisabled.aspx.designer.cs
@@ -7,11 +7,13 @@
// 自动生成>
//------------------------------------------------------------------------------
-namespace FineUIPro.Web.ManHours {
-
-
- public partial class AccountDisabled {
-
+namespace FineUIPro.Web.ManHours
+{
+
+
+ public partial class AccountDisabled
+ {
+
///
/// form1 控件。
///
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
-
+
///
/// PageManager1 控件。
///
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.PageManager PageManager1;
-
+
///
/// SimpleForm1 控件。
///
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Form SimpleForm1;
-
+
///
/// txtJobNo 控件。
///
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtJobNo;
-
+
///
/// drpDiscipline 控件。
///
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.DropDownList drpDiscipline;
-
+
///
/// txtAccount 控件。
///
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtAccount;
-
+
///
/// txtEngineerName 控件。
///
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtEngineerName;
-
+
///
/// txtManHours 控件。
///
@@ -83,7 +85,16 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.TextBox txtManHours;
-
+
+ ///
+ /// Label1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Label Label1;
+
///
/// cbNotApplicable1 控件。
///
@@ -92,7 +103,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.CheckBox cbNotApplicable1;
-
+
///
/// Toolbar1 控件。
///
@@ -101,7 +112,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Toolbar Toolbar1;
-
+
///
/// btnSave 控件。
///
@@ -110,7 +121,7 @@ namespace FineUIPro.Web.ManHours {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
protected global::FineUIPro.Button btnSave;
-
+
///
/// btnClose 控件。
///
diff --git a/EProject/FineUIPro.Web/ManHours/AddManHours.aspx b/EProject/FineUIPro.Web/ManHours/AddManHours.aspx
index 1ede53b..d766431 100644
--- a/EProject/FineUIPro.Web/ManHours/AddManHours.aspx
+++ b/EProject/FineUIPro.Web/ManHours/AddManHours.aspx
@@ -46,9 +46,22 @@
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -67,5 +80,15 @@
+