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..e3c1e6f --- /dev/null +++ b/EProject/BLL/BaseInfo/QuantityDesctiptionService.cs @@ -0,0 +1,85 @@ +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; + } + } + } +} diff --git a/EProject/BLL/Common/Const.cs b/EProject/BLL/Common/Const.cs index 8a5b19e..03c7bd3 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 资源计划 diff --git a/EProject/BLL/EditorManage/KeyQuantityService.cs b/EProject/BLL/EditorManage/KeyQuantityService.cs new file mode 100644 index 0000000..d5d135e --- /dev/null +++ b/EProject/BLL/EditorManage/KeyQuantityService.cs @@ -0,0 +1,79 @@ +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 keyId) + { + decimal? sum = 0; + sum = (from x in Funs.DB.Editor_KeyQuantity where x.KeyId == keyId 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; + 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; + 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/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/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx b/EProject/FineUIPro.Web/BaseInfo/QuantityDesctiption.aspx new file mode 100644 index 0000000..003ef56 --- /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..c15931c --- /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); + + //部门 + this.drpDepartId.DataTextField = "DepartName"; + this.drpDepartId.DataValueField = "DepartId"; + this.drpDepartId.DataSource = BLL.DepartService.GetDepartList(); + this.drpDepartId.DataBind(); + Funs.FineUIPleaseSelect(this.drpDepartId); + + //专业(查询) + this.drpDescipline.DataTextField = "DisciplinesWBSName"; + this.drpDescipline.DataValueField = "DisciplinesWBSId"; + this.drpDescipline.DataSource = from x in Funs.DB.Base_DisciplinesWBS select x; + this.drpDepartId.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, + d.DepartName, + wbs.DisciplinesWBSCode, + wbs.DisciplinesWBSName + FROM Base_QuantityDesctiption as qua + left join Base_Depart as d on d.DepartId = qua.DepartId + left join Base_DisciplinesWBS as wbs on wbs.DisciplinesWBSId = qua.DisciplinesWBSId where 1=1"; + List listStr = new List(); + if (this.drpDepartmentIdS.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDepartmentIdS.SelectedValue)) + { + strSql += " AND qua.DepartId=@DepartId "; + listStr.Add(new SqlParameter("@DepartId", this.drpDepartmentIdS.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.drpDepartId.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.drpDepartId.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.drpDepartId.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.drpDepartId.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpDepartId.SelectedValue)) + { + cons.DepartId = this.drpDepartId.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..79301a9 --- /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; + + /// + /// drpDepartmentIdS 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpDepartmentIdS; + + /// + /// 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; + + /// + /// drpDepartId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpDepartId; + + /// + /// 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/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..2ea8ed5 --- /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..3f037b0 --- /dev/null +++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx @@ -0,0 +1,104 @@ +<%@ 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..3190ca7 --- /dev/null +++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.cs @@ -0,0 +1,303 @@ +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(); + } + 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() : ""; + } + this.txtInputQuantity.Text = keyQuantity.InputQuantity.HasValue ? keyQuantity.InputQuantity.ToString() : ""; + this.txtPlanMHRs.Text = keyQuantity.PlanMHRs.HasValue ? keyQuantity.PlanMHRs.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.drpKeyId.Value == BLL.Const._Null || string.IsNullOrEmpty(this.drpKeyId.Value)) + { + ShowAlert("Please select Type!", MessageBoxIcon.Warning); + return; + } + Model.Editor_KeyQuantity newKeyQuantity = new Model.Editor_KeyQuantity(); + newKeyQuantity.KeyId = this.drpKeyId.Value; + newKeyQuantity.InputQuantity = Funs.GetNewDecimal(this.txtInputQuantity.Text); + newKeyQuantity.PlanMHRs = Funs.GetNewDecimal(this.txtPlanMHRs.Text); + + 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.txtPlanMHRsUnit.Text)).ToString(); + + decimal? s = BLL.KeyQuantityService.GetSumPlanMHRsByKeyId(this.drpKeyId.Value); + if (s > 0) + { + this.txtPlanMHRsSummary.Text = (s + Funs.GetNewDecimal(this.txtPlanMHRs.Text)).ToString(); + } + else + { + this.txtPlanMHRsSummary.Text = this.txtPlanMHRs.Text; + } + } + } + #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..306698e --- /dev/null +++ b/EProject/FineUIPro.Web/EditorManage/KeyQuantityEditorEdit.aspx.designer.cs @@ -0,0 +1,215 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +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; + + /// + /// drpKeyId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownBox drpKeyId; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// txtSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSearch; + + /// + /// txtIdentifier 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIdentifier; + + /// + /// txtDescipline 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDescipline; + + /// + /// txtQuantityDesctiption 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtQuantityDesctiption; + + /// + /// txtInputQuantity 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.NumberBox txtInputQuantity; + + /// + /// txtPlanMHRsUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.NumberBox txtPlanMHRsUnit; + + /// + /// 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..da41fdb --- /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/ProjectControlEditorEdit.aspx b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx index f019ebf..c0a5d27 100644 --- a/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx +++ b/EProject/FineUIPro.Web/EditorManage/ProjectControlEditorEdit.aspx @@ -20,7 +20,7 @@ - + diff --git a/EProject/FineUIPro.Web/FineUIPro.Web.csproj b/EProject/FineUIPro.Web/FineUIPro.Web.csproj index 54ad612..57f027c 100644 --- a/EProject/FineUIPro.Web/FineUIPro.Web.csproj +++ b/EProject/FineUIPro.Web/FineUIPro.Web.csproj @@ -232,6 +232,7 @@ + @@ -260,6 +261,9 @@ + + + @@ -981,6 +985,13 @@ PunchDetailsDiscipline.aspx + + QuantityDesctiption.aspx + ASPXCodeBehind + + + QuantityDesctiption.aspx + ResoursesClass.aspx ASPXCodeBehind @@ -1172,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/Global.asax.cs b/EProject/FineUIPro.Web/Global.asax.cs index e0dcd3e..5b71335 100644 --- a/EProject/FineUIPro.Web/Global.asax.cs +++ b/EProject/FineUIPro.Web/Global.asax.cs @@ -97,11 +97,11 @@ aTimer.Elapsed += new System.Timers.ElapsedEventHandler(MCEmial); } //填写第二张资源时,第一张资源预留一个月的时候填写人工时 - if (DateTime.Now.Hour == 10) + if (DateTime.Now.Hour == 15) { System.Timers.Timer aTimer = new System.Timers.Timer(); //1小时执行一次 - aTimer.Interval = 3600000; + aTimer.Interval = 60*1000; aTimer.Enabled = true; aTimer.Start(); aTimer.Elapsed += new System.Timers.ElapsedEventHandler(UpdateManHourDisabled); @@ -351,7 +351,7 @@ if (planLists[0].PM_MA_ProjectApproval.HasValue && planLists[0].PM_MA_ProjectApproval.Value.AddMonths(1) <= DateTime.Now) { string resourcePlanId = planLists[0].ResourcePlanId.ToString(); - List manHours_Plan = (from x in Funs.DB.ManHours_Plan where x.ResourcePlanId == resourcePlanId && x.AccountDisabled != 1 select x).ToList(); + List manHours_Plan = (from x in Funs.DB.ManHours_Plan where x.ResourcePlanId == resourcePlanId select x).ToList(); foreach (var item in manHours_Plan) { item.AccountDisabled = 1; diff --git a/EProject/FineUIPro.Web/common/Main.aspx b/EProject/FineUIPro.Web/common/Main.aspx index b7aee42..0273106 100644 --- a/EProject/FineUIPro.Web/common/Main.aspx +++ b/EProject/FineUIPro.Web/common/Main.aspx @@ -19,7 +19,7 @@ .f-grid-row.color1, .f-grid-row.color1 .f-icon, .f-grid-row.color1 a { - color:lightgray; + color: lightgray; } @@ -41,11 +41,11 @@ - - - + + + - + @@ -73,40 +73,40 @@ + FieldType="String" HeaderText="Job No." HeaderTextAlign="Center"> + FieldType="String" HeaderText="Job Type" HeaderTextAlign="Center"> + FieldType="String" HeaderText="Job Title" HeaderTextAlign="Center"> - + + FieldType="String" HeaderText="Project
Manager" HeaderTextAlign="Center">
+ FieldType="String" HeaderText="Const.
Manager" HeaderTextAlign="Center">
+ FieldType="String" HeaderText="Operation
Rep." HeaderTextAlign="Center">
+ FieldType="String" HeaderText="Job Status" HeaderTextAlign="Center"> + FieldType="String" HeaderText="Bu.Code" HeaderTextAlign="Center"> + FieldType="String" Renderer="Date" HeaderText="Approval
Date" HeaderTextAlign="Center">
+ FieldType="String" Renderer="Date" HeaderText="MC Plan
Date" HeaderTextAlign="Center">
@@ -293,7 +293,7 @@ - <%-- + BoxFlex="1" DataKeyNames="TDCId" DataIDField="TDCId" Height="300px"> @@ -643,6 +643,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -780,17 +819,17 @@ var ManHours = ''; var Hours = ''; var spanValue1 = 0; - var spanValue2= 0; + var spanValue2 = 0; for (var i = 0; i < ResourcesArr.length; i++) { if (ResourcesArr[i].DateMonth != "") { Legendata += "'" + ResourcesArr[i].DateMonth + "',"; spanValue1 += ResourcesArr[i].ManHours; ManHours += "" + spanValue1 + ","; spanValue2 += ResourcesArr[i].Hours; - Hours += "" + spanValue2 + ","; + Hours += "" + spanValue2 + ","; } } - console.log("ManHours:"+ManHours); + console.log("ManHours:" + ManHours); Legendata = '[' + Legendata.substring(0, Legendata.length - 1) + ']'; Legendata = eval(Legendata); @@ -823,7 +862,7 @@ { type: 'category', data: Legendata, - axisLabel: { + axisLabel: { interval: 0, //控制坐标轴刻度标签的显示间隔.设置成 0 强制显示所有标签。设置为 1,隔一个标签显示一个标签。设置为2,间隔2个标签。以此类推 rotate: -20,//倾斜度 -90 至 90 默认为0 textStyle: { diff --git a/EProject/FineUIPro.Web/common/Main.aspx.cs b/EProject/FineUIPro.Web/common/Main.aspx.cs index 43f4f0c..7feb9ea 100644 --- a/EProject/FineUIPro.Web/common/Main.aspx.cs +++ b/EProject/FineUIPro.Web/common/Main.aspx.cs @@ -226,6 +226,10 @@ namespace FineUIPro.Web.common { BindGrid9(eProjectId);//FCR Log } + else if (this.TabStrip1.ActiveTabIndex == 11) + { + BindGridKeyQuantity(eProjectId);//Key Quantity + } else { #region General @@ -335,7 +339,7 @@ namespace FineUIPro.Web.common } else { - this.txtCivilEng.Text = string.Empty; + this.txtCivilEng.Text = string.Empty; } //变更范围 if (eProject.PM_SC_ApprovedQty.HasValue)//批准的质量 @@ -995,6 +999,22 @@ namespace FineUIPro.Web.common #endregion #endregion + #region 加载Key Quantity + private void BindGridKeyQuantity(string eProjectId) + { + List listStr = new List + { + new SqlParameter("@eprojectId", 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 = tb; + GridKeyQuantity.DataBind(); + } + #endregion + #region 查看编辑器详细信息 /// /// 查看编辑器详细信息 diff --git a/EProject/FineUIPro.Web/common/Main.aspx.designer.cs b/EProject/FineUIPro.Web/common/Main.aspx.designer.cs index be5a41f..cf0d625 100644 --- a/EProject/FineUIPro.Web/common/Main.aspx.designer.cs +++ b/EProject/FineUIPro.Web/common/Main.aspx.designer.cs @@ -1013,6 +1013,15 @@ namespace FineUIPro.Web.common /// protected global::FineUIPro.Grid Grid9; + /// + /// GridKeyQuantity 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid GridKeyQuantity; + /// /// Window1 控件。 /// diff --git a/EProject/Model/Model.cs b/EProject/Model/Model.cs index d912a82..d03ab89 100644 --- a/EProject/Model/Model.cs +++ b/EProject/Model/Model.cs @@ -53,6 +53,9 @@ namespace Model partial void InsertBase_HyperLinkSet(Base_HyperLinkSet instance); partial void UpdateBase_HyperLinkSet(Base_HyperLinkSet instance); partial void DeleteBase_HyperLinkSet(Base_HyperLinkSet instance); + partial void InsertBase_QuantityDesctiption(Base_QuantityDesctiption instance); + partial void UpdateBase_QuantityDesctiption(Base_QuantityDesctiption instance); + partial void DeleteBase_QuantityDesctiption(Base_QuantityDesctiption instance); partial void InsertDesign_Input(Design_Input instance); partial void UpdateDesign_Input(Design_Input instance); partial void DeleteDesign_Input(Design_Input instance); @@ -80,6 +83,9 @@ namespace Model partial void InsertEditor_FCRLog(Editor_FCRLog instance); partial void UpdateEditor_FCRLog(Editor_FCRLog instance); partial void DeleteEditor_FCRLog(Editor_FCRLog instance); + partial void InsertEditor_KeyQuantity(Editor_KeyQuantity instance); + partial void UpdateEditor_KeyQuantity(Editor_KeyQuantity instance); + partial void DeleteEditor_KeyQuantity(Editor_KeyQuantity instance); partial void InsertEditor_LessonsLearned(Editor_LessonsLearned instance); partial void UpdateEditor_LessonsLearned(Editor_LessonsLearned instance); partial void DeleteEditor_LessonsLearned(Editor_LessonsLearned instance); @@ -260,6 +266,14 @@ namespace Model } } + public System.Data.Linq.Table Base_QuantityDesctiption + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Design_Input { get @@ -332,6 +346,14 @@ namespace Model } } + public System.Data.Linq.Table Editor_KeyQuantity + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Editor_LessonsLearned { get @@ -1825,6 +1847,8 @@ namespace Model private string _DepartLeader; + private EntitySet _Base_QuantityDesctiption; + private EntitySet _Sys_User; #region 可扩展性方法定义 @@ -1847,6 +1871,7 @@ namespace Model public Base_Depart() { + this._Base_QuantityDesctiption = new EntitySet(new Action(this.attach_Base_QuantityDesctiption), new Action(this.detach_Base_QuantityDesctiption)); this._Sys_User = new EntitySet(new Action(this.attach_Sys_User), new Action(this.detach_Sys_User)); OnCreated(); } @@ -1871,7 +1896,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(20)")] public string DepartCode { get @@ -1971,6 +1996,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_Depart", Storage="_Base_QuantityDesctiption", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")] + public EntitySet Base_QuantityDesctiption + { + get + { + return this._Base_QuantityDesctiption; + } + set + { + this._Base_QuantityDesctiption.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Sys_User_Base_Depart", Storage="_Sys_User", ThisKey="DepartId", OtherKey="DepartId", DeleteRule="NO ACTION")] public EntitySet Sys_User { @@ -2004,6 +2042,18 @@ namespace Model } } + private void attach_Base_QuantityDesctiption(Base_QuantityDesctiption entity) + { + this.SendPropertyChanging(); + entity.Base_Depart = this; + } + + private void detach_Base_QuantityDesctiption(Base_QuantityDesctiption entity) + { + this.SendPropertyChanging(); + entity.Base_Depart = null; + } + private void attach_Sys_User(Sys_User entity) { this.SendPropertyChanging(); @@ -2055,6 +2105,8 @@ namespace Model private string _NetworkOper1; + private EntitySet _Base_QuantityDesctiption; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -2095,6 +2147,7 @@ namespace Model public Base_DisciplinesWBS() { + this._Base_QuantityDesctiption = new EntitySet(new Action(this.attach_Base_QuantityDesctiption), new Action(this.detach_Base_QuantityDesctiption)); OnCreated(); } @@ -2418,6 +2471,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_DisciplinesWBS", Storage="_Base_QuantityDesctiption", ThisKey="DisciplinesWBSId", OtherKey="DisciplinesWBSId", DeleteRule="NO ACTION")] + public EntitySet Base_QuantityDesctiption + { + get + { + return this._Base_QuantityDesctiption; + } + set + { + this._Base_QuantityDesctiption.Assign(value); + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -2437,6 +2503,18 @@ namespace Model this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } + + private void attach_Base_QuantityDesctiption(Base_QuantityDesctiption entity) + { + this.SendPropertyChanging(); + entity.Base_DisciplinesWBS = this; + } + + private void detach_Base_QuantityDesctiption(Base_QuantityDesctiption entity) + { + this.SendPropertyChanging(); + entity.Base_DisciplinesWBS = null; + } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_HyperLinkSet")] @@ -2573,6 +2651,274 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_QuantityDesctiption")] + public partial class Base_QuantityDesctiption : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _KeyId; + + private string _DepartId; + + private string _DisciplinesWBSId; + + private string _QuantityDesctiption; + + private System.Nullable _PlanMHRsUnit; + + private EntityRef _Base_Depart; + + private EntityRef _Base_DisciplinesWBS; + + private EntitySet _Editor_KeyQuantity; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnKeyIdChanging(string value); + partial void OnKeyIdChanged(); + partial void OnDepartIdChanging(string value); + partial void OnDepartIdChanged(); + partial void OnDisciplinesWBSIdChanging(string value); + partial void OnDisciplinesWBSIdChanged(); + partial void OnQuantityDesctiptionChanging(string value); + partial void OnQuantityDesctiptionChanged(); + partial void OnPlanMHRsUnitChanging(System.Nullable value); + partial void OnPlanMHRsUnitChanged(); + #endregion + + public Base_QuantityDesctiption() + { + this._Base_Depart = default(EntityRef); + this._Base_DisciplinesWBS = default(EntityRef); + this._Editor_KeyQuantity = new EntitySet(new Action(this.attach_Editor_KeyQuantity), new Action(this.detach_Editor_KeyQuantity)); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string KeyId + { + get + { + return this._KeyId; + } + set + { + if ((this._KeyId != value)) + { + this.OnKeyIdChanging(value); + this.SendPropertyChanging(); + this._KeyId = value; + this.SendPropertyChanged("KeyId"); + this.OnKeyIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartId", DbType="NVarChar(50)")] + public string DepartId + { + get + { + return this._DepartId; + } + set + { + if ((this._DepartId != value)) + { + if (this._Base_Depart.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnDepartIdChanging(value); + this.SendPropertyChanging(); + this._DepartId = value; + this.SendPropertyChanged("DepartId"); + this.OnDepartIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DisciplinesWBSId", DbType="NVarChar(50)")] + public string DisciplinesWBSId + { + get + { + return this._DisciplinesWBSId; + } + set + { + if ((this._DisciplinesWBSId != value)) + { + if (this._Base_DisciplinesWBS.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnDisciplinesWBSIdChanging(value); + this.SendPropertyChanging(); + this._DisciplinesWBSId = value; + this.SendPropertyChanged("DisciplinesWBSId"); + this.OnDisciplinesWBSIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuantityDesctiption", DbType="NVarChar(200)")] + public string QuantityDesctiption + { + get + { + return this._QuantityDesctiption; + } + set + { + if ((this._QuantityDesctiption != value)) + { + this.OnQuantityDesctiptionChanging(value); + this.SendPropertyChanging(); + this._QuantityDesctiption = value; + this.SendPropertyChanged("QuantityDesctiption"); + this.OnQuantityDesctiptionChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanMHRsUnit", DbType="Decimal(18,2)")] + public System.Nullable PlanMHRsUnit + { + get + { + return this._PlanMHRsUnit; + } + set + { + if ((this._PlanMHRsUnit != value)) + { + this.OnPlanMHRsUnitChanging(value); + this.SendPropertyChanging(); + this._PlanMHRsUnit = value; + this.SendPropertyChanged("PlanMHRsUnit"); + this.OnPlanMHRsUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_Depart", Storage="_Base_Depart", ThisKey="DepartId", OtherKey="DepartId", IsForeignKey=true)] + public Base_Depart Base_Depart + { + get + { + return this._Base_Depart.Entity; + } + set + { + Base_Depart previousValue = this._Base_Depart.Entity; + if (((previousValue != value) + || (this._Base_Depart.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Depart.Entity = null; + previousValue.Base_QuantityDesctiption.Remove(this); + } + this._Base_Depart.Entity = value; + if ((value != null)) + { + value.Base_QuantityDesctiption.Add(this); + this._DepartId = value.DepartId; + } + else + { + this._DepartId = default(string); + } + this.SendPropertyChanged("Base_Depart"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Base_QuantityDesctiption_Base_DisciplinesWBS", Storage="_Base_DisciplinesWBS", ThisKey="DisciplinesWBSId", OtherKey="DisciplinesWBSId", IsForeignKey=true)] + public Base_DisciplinesWBS Base_DisciplinesWBS + { + get + { + return this._Base_DisciplinesWBS.Entity; + } + set + { + Base_DisciplinesWBS previousValue = this._Base_DisciplinesWBS.Entity; + if (((previousValue != value) + || (this._Base_DisciplinesWBS.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_DisciplinesWBS.Entity = null; + previousValue.Base_QuantityDesctiption.Remove(this); + } + this._Base_DisciplinesWBS.Entity = value; + if ((value != null)) + { + value.Base_QuantityDesctiption.Add(this); + this._DisciplinesWBSId = value.DisciplinesWBSId; + } + else + { + this._DisciplinesWBSId = default(string); + } + this.SendPropertyChanged("Base_DisciplinesWBS"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Base_QuantityDesctiption", Storage="_Editor_KeyQuantity", ThisKey="KeyId", OtherKey="KeyId", DeleteRule="NO ACTION")] + public EntitySet Editor_KeyQuantity + { + get + { + return this._Editor_KeyQuantity; + } + set + { + this._Editor_KeyQuantity.Assign(value); + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + + private void attach_Editor_KeyQuantity(Editor_KeyQuantity entity) + { + this.SendPropertyChanging(); + entity.Base_QuantityDesctiption = this; + } + + private void detach_Editor_KeyQuantity(Editor_KeyQuantity entity) + { + this.SendPropertyChanging(); + entity.Base_QuantityDesctiption = null; + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Design_Input")] public partial class Design_Input : INotifyPropertyChanging, INotifyPropertyChanged { @@ -5690,6 +6036,8 @@ namespace Model private EntitySet _Editor_FCRLog; + private EntitySet _Editor_KeyQuantity; + private EntitySet _Editor_LessonsLearned; private EntitySet _Editor_Punch; @@ -6122,6 +6470,7 @@ namespace Model this._Editor_CostReport = new EntitySet(new Action(this.attach_Editor_CostReport), new Action(this.detach_Editor_CostReport)); this._Editor_PM = new EntitySet(new Action(this.attach_Editor_PM), new Action(this.detach_Editor_PM)); this._Editor_FCRLog = new EntitySet(new Action(this.attach_Editor_FCRLog), new Action(this.detach_Editor_FCRLog)); + this._Editor_KeyQuantity = new EntitySet(new Action(this.attach_Editor_KeyQuantity), new Action(this.detach_Editor_KeyQuantity)); this._Editor_LessonsLearned = new EntitySet(new Action(this.attach_Editor_LessonsLearned), new Action(this.detach_Editor_LessonsLearned)); this._Editor_Punch = new EntitySet(new Action(this.attach_Editor_Punch), new Action(this.detach_Editor_Punch)); this._ManHours_Plan = new EntitySet(new Action(this.attach_ManHours_Plan), new Action(this.detach_ManHours_Plan)); @@ -6811,7 +7160,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Construction", DbType="NVarChar(2000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Construction", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string CM_Remarks_Construction { get @@ -6831,7 +7180,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Procurement", DbType="NVarChar(2000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_Procurement", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string CM_Remarks_Procurement { get @@ -6851,7 +7200,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_QualityHSE", DbType="NVarChar(2000)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CM_Remarks_QualityHSE", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string CM_Remarks_QualityHSE { get @@ -10269,6 +10618,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Editor_EProject", Storage="_Editor_KeyQuantity", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] + public EntitySet Editor_KeyQuantity + { + get + { + return this._Editor_KeyQuantity; + } + set + { + this._Editor_KeyQuantity.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_LessonsLearned_Editor_EProject", Storage="_Editor_LessonsLearned", ThisKey="EProjectId", OtherKey="EProjectId", DeleteRule="NO ACTION")] public EntitySet Editor_LessonsLearned { @@ -10439,6 +10801,18 @@ namespace Model entity.Editor_EProject = null; } + private void attach_Editor_KeyQuantity(Editor_KeyQuantity entity) + { + this.SendPropertyChanging(); + entity.Editor_EProject = this; + } + + private void detach_Editor_KeyQuantity(Editor_KeyQuantity entity) + { + this.SendPropertyChanging(); + entity.Editor_EProject = null; + } + private void attach_Editor_LessonsLearned(Editor_LessonsLearned entity) { this.SendPropertyChanging(); @@ -11194,6 +11568,246 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_KeyQuantity")] + public partial class Editor_KeyQuantity : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _KeyQuantityId; + + private string _EProjectId; + + private string _KeyId; + + private System.Nullable _InputQuantity; + + private System.Nullable _PlanMHRs; + + private EntityRef _Base_QuantityDesctiption; + + private EntityRef _Editor_EProject; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnKeyQuantityIdChanging(string value); + partial void OnKeyQuantityIdChanged(); + partial void OnEProjectIdChanging(string value); + partial void OnEProjectIdChanged(); + partial void OnKeyIdChanging(string value); + partial void OnKeyIdChanged(); + partial void OnInputQuantityChanging(System.Nullable value); + partial void OnInputQuantityChanged(); + partial void OnPlanMHRsChanging(System.Nullable value); + partial void OnPlanMHRsChanged(); + #endregion + + public Editor_KeyQuantity() + { + this._Base_QuantityDesctiption = default(EntityRef); + this._Editor_EProject = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyQuantityId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string KeyQuantityId + { + get + { + return this._KeyQuantityId; + } + set + { + if ((this._KeyQuantityId != value)) + { + this.OnKeyQuantityIdChanging(value); + this.SendPropertyChanging(); + this._KeyQuantityId = value; + this.SendPropertyChanged("KeyQuantityId"); + this.OnKeyQuantityIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EProjectId", DbType="NVarChar(50)")] + public string EProjectId + { + get + { + return this._EProjectId; + } + set + { + if ((this._EProjectId != value)) + { + if (this._Editor_EProject.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnEProjectIdChanging(value); + this.SendPropertyChanging(); + this._EProjectId = value; + this.SendPropertyChanged("EProjectId"); + this.OnEProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_KeyId", DbType="NVarChar(50)")] + public string KeyId + { + get + { + return this._KeyId; + } + set + { + if ((this._KeyId != value)) + { + if (this._Base_QuantityDesctiption.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnKeyIdChanging(value); + this.SendPropertyChanging(); + this._KeyId = value; + this.SendPropertyChanged("KeyId"); + this.OnKeyIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InputQuantity", DbType="Decimal(18,2)")] + public System.Nullable InputQuantity + { + get + { + return this._InputQuantity; + } + set + { + if ((this._InputQuantity != value)) + { + this.OnInputQuantityChanging(value); + this.SendPropertyChanging(); + this._InputQuantity = value; + this.SendPropertyChanged("InputQuantity"); + this.OnInputQuantityChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PlanMHRs", DbType="Decimal(18,2)")] + public System.Nullable PlanMHRs + { + get + { + return this._PlanMHRs; + } + set + { + if ((this._PlanMHRs != value)) + { + this.OnPlanMHRsChanging(value); + this.SendPropertyChanging(); + this._PlanMHRs = value; + this.SendPropertyChanged("PlanMHRs"); + this.OnPlanMHRsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Base_QuantityDesctiption", Storage="_Base_QuantityDesctiption", ThisKey="KeyId", OtherKey="KeyId", IsForeignKey=true)] + public Base_QuantityDesctiption Base_QuantityDesctiption + { + get + { + return this._Base_QuantityDesctiption.Entity; + } + set + { + Base_QuantityDesctiption previousValue = this._Base_QuantityDesctiption.Entity; + if (((previousValue != value) + || (this._Base_QuantityDesctiption.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_QuantityDesctiption.Entity = null; + previousValue.Editor_KeyQuantity.Remove(this); + } + this._Base_QuantityDesctiption.Entity = value; + if ((value != null)) + { + value.Editor_KeyQuantity.Add(this); + this._KeyId = value.KeyId; + } + else + { + this._KeyId = default(string); + } + this.SendPropertyChanged("Base_QuantityDesctiption"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Editor_KeyQuantity_Editor_EProject", Storage="_Editor_EProject", ThisKey="EProjectId", OtherKey="EProjectId", IsForeignKey=true)] + public Editor_EProject Editor_EProject + { + get + { + return this._Editor_EProject.Entity; + } + set + { + Editor_EProject previousValue = this._Editor_EProject.Entity; + if (((previousValue != value) + || (this._Editor_EProject.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Editor_EProject.Entity = null; + previousValue.Editor_KeyQuantity.Remove(this); + } + this._Editor_EProject.Entity = value; + if ((value != null)) + { + value.Editor_KeyQuantity.Add(this); + this._EProjectId = value.EProjectId; + } + else + { + this._EProjectId = default(string); + } + this.SendPropertyChanged("Editor_EProject"); + } + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Editor_LessonsLearned")] public partial class Editor_LessonsLearned : INotifyPropertyChanging, INotifyPropertyChanged { @@ -35938,7 +36552,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(10)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DepartCode", DbType="NVarChar(20)")] public string DepartCode { get