();
+ listStr.Add(new SqlParameter("@IsoId", pipelineId));
+ listStr.Add(new SqlParameter("@Flag", "0"));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("HJGL_spJointWorkRecordNew", parameter);
+ string page = Funs.GetPagesCountByPageSize(11, 16, tb.Rows.Count).ToString();
+
+
+ varValue = varValue + "|" + page;
+
+ if (!string.IsNullOrEmpty(varValue))
+ {
+ varValue = HttpUtility.UrlEncodeUnicode(varValue);
+ }
+ if (tb.Rows.Count <= 11)
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReport1Id, pipelineId, varValue, this.CurrUser.LoginProjectId)));
+ }
+ else
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReport1Id, pipelineId, varValue, this.CurrUser.LoginProjectId)));
+ }
+ }
+ else
+ {
+ ShowNotify("请选择焊接完成管线!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ else
+ {
+ ShowNotify("请选择管线!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 关闭弹出窗口及刷新页面
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ //this.InitTreeMenu();//加载树
+ //this.BindGrid3(this.tvControlItem.SelectedNodeID);
+ }
+
+ protected void Window2_Close(object sender, WindowCloseEventArgs e)
+ {
+ throw new NotImplementedException();
+ }
+
+ #endregion
+
+ #region 选项卡改变事件
+ ///
+ /// 选项卡改变事件
+ ///
+ ///
+ ///
+ protected void TabStrip1_TabIndexChanged(object sender, EventArgs e)
+ {
+ if (this.TabStrip1.ActiveTabIndex == 0)
+ {
+
+
+ }
+ else if (this.TabStrip1.ActiveTabIndex == 1)
+ {
+
+ }
+ }
+
+
+ #endregion
+
+ #region 导出
+ ///
+ /// 导出方法
+ ///
+ ///
+ ///
+ private string GetGridTableHtml(Grid grid)
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("");
+ sb.Append("");
+ sb.Append("");
+ foreach (GridColumn column in grid.Columns)
+ {
+ if (column.HeaderText != "序号")
+ {
+ sb.AppendFormat("| {0} | ", column.HeaderText);
+ }
+ }
+ sb.Append("
");
+ foreach (GridRow row in grid.Rows)
+ {
+ sb.Append("");
+ foreach (GridColumn column in grid.Columns)
+ {
+ string html = row.Values[column.ColumnIndex].ToString();
+ if (column.ColumnID != "tfNumber")
+ {
+ //html = (row.FindControl("lblNumber") as AspNet.Label).Text;
+ sb.AppendFormat("| {0} | ", html);
+ }
+ //sb.AppendFormat("{0} | ", html);
+ }
+
+ sb.Append("
");
+ }
+
+ sb.Append("
");
+
+ return sb.ToString();
+ }
+
+ #endregion
+
+ #region 获取权限按钮
+ ///
+ /// 获取按钮权限
+ ///
+ ///
+ ///
+ private void GetButtonPower()
+ {
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.Tw_InPlanMasterMenuId);
+ if (buttonList.Count > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnAdd))
+ {
+ // this.btnNew.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnGenInOutMaster.Hidden = false;
+ this.btnRevokeGenInOutMaster.Hidden = false;
+ this.btnPrint.Hidden = false;
+ // this.btnMenuInOutPlanMasterEdit.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ this.btnMenuInOutPlanMasterDelete.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnAuditing))
+ {
+ this.btnPassMaster.Hidden = false;
+ }
+ }
+ }
+ #endregion
+
+
+ protected void btnPassMaster_OnClick(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ string planId = Grid1.SelectedRowID;
+ var planMaster = BLL.TwInOutplanmasterService.GetById(planId);
+ if (planMaster.State != (int)TwConst.State.待审核)
+ {
+ Alert.ShowInTop("请选择有效的计划!", MessageBoxIcon.Warning);
+ return;
+ }
+ else
+ {
+ planMaster.State = (int)TwConst.State.已审核;
+ TwInOutplanmasterService.Update(planMaster);
+ BindGrid();
+ ShowNotify("审核通过!", MessageBoxIcon.Success);
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CLGL/OutPlanMaster.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/OutPlanMaster.aspx.designer.cs
new file mode 100644
index 00000000..941753d6
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutPlanMaster.aspx.designer.cs
@@ -0,0 +1,305 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CLGL
+{
+
+
+ public partial class OutPlanMaster
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// tvPipeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox tvPipeCode;
+
+ ///
+ /// hdUnitWorkId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdUnitWorkId;
+
+ ///
+ /// btnTreeFind 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnTreeFind;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// Panel2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel2;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar3;
+
+ ///
+ /// drpWarehouse 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpWarehouse;
+
+ ///
+ /// drpTypeInt 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpTypeInt;
+
+ ///
+ /// drpStates 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpStates;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSearch;
+
+ ///
+ /// btnNew 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnNew;
+
+ ///
+ /// btnPassMaster 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPassMaster;
+
+ ///
+ /// btnGenInOutMaster 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnGenInOutMaster;
+
+ ///
+ /// btnRevokeGenInOutMaster 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnRevokeGenInOutMaster;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// lblNumber 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblNumber;
+
+ ///
+ /// panelBottomRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelBottomRegion;
+
+ ///
+ /// TabStrip1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TabStrip TabStrip1;
+
+ ///
+ /// TabDetail 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tab TabDetail;
+
+ ///
+ /// Grid2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid2;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Window2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window2;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuInOutPlanMasterDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuInOutPlanMasterDelete;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx b/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx
new file mode 100644
index 00000000..ee7c24ba
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx
@@ -0,0 +1,93 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OutPlanMasterEdit.aspx.cs" Inherits="FineUIPro.Web.CLGL.OutPlanMasterEdit" %>
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx.cs b/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx.cs
new file mode 100644
index 00000000..7c1852fb
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx.cs
@@ -0,0 +1,107 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using BLL;
+using Model;
+using Newtonsoft.Json.Linq;
+
+namespace FineUIPro.Web.CLGL
+{
+ public partial class OutPlanMasterEdit : PageBase
+ {
+ public string Id
+ {
+ get
+ {
+ return (string)ViewState["Id"];
+ }
+ set
+ {
+ ViewState["Id"] = value;
+ }
+ }
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ Id = Request.QueryString["Id"];
+ if (!string.IsNullOrEmpty(Id))
+ {
+ var model= TwInOutplanmasterService.GetById(Id);
+ txtCusBillCode.Text = model.CusBillCode;
+ txtWarehouseCode.Text = model.WarehouseCode;
+ txtCreateDate.Text =string.Format("{0:yyyy-MM-dd}", model.CreateDate);
+ txtCreateMan.Text = Person_PersonsService.GetPersonsNameById(model.CreateMan);
+ txtReqUnitName.Text = UnitService.GetUnitNameByUnitId(model.ReqUnitId);
+
+
+ var queryModel = new Model.Tw_InOutDetailOutput()
+ {
+ InOutPlanMasterId = Id
+
+ };
+ var detailList= TwInOutplandetailService.GetByModle(queryModel).ToList();
+ foreach (var item in detailList)
+ {
+ item.ActNum=item.PlanNum;
+
+ }
+ Grid1.DataSource=detailList;
+ Grid1.DataBind();
+ }
+
+ }
+ }
+ ///
+ /// 保存明细项
+ ///
+ private List SaveDetail(string InOutPlanMasterId)
+ {
+
+ //根据列表中的明细项添加
+ List detailLists = new List();
+ JArray teamGroupData = Grid1.GetMergedData();
+ foreach (JObject teamGroupRow in teamGroupData)
+ {
+ JObject values = teamGroupRow.Value("values");
+ int rowIndex = teamGroupRow.Value("index");
+ Model.Tw_OutputDetail newDetail = new Model.Tw_OutputDetail
+ {
+ Id = SQLHelper.GetNewID(),
+ OutputMasterId = InOutPlanMasterId,
+ //ProNoticeCId= values.Value("ProNoticeCId"),
+ MaterialCode = values.Value("MaterialCode"),
+ PlanNum = values.Value("PlanNum"),
+ ActNum = values.Value("ActNum"),
+ };
+
+ detailLists.Add(newDetail);
+ }
+ return detailLists;
+ }
+ protected void btnEditProcess_Click(object sender, EventArgs e)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ TwOutputmasterService.GenOutMasterByPlanId(Id, SaveDetail(Id));
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
+ }
+
+ protected void btnAgree_Click(object sender, EventArgs e)
+ {
+ throw new NotImplementedException();
+ }
+
+ protected void btnDisgree_Click(object sender, EventArgs e)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx.designer.cs
new file mode 100644
index 00000000..b3b6a39d
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutPlanMasterEdit.aspx.designer.cs
@@ -0,0 +1,152 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CLGL
+{
+
+
+ public partial class OutPlanMasterEdit
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// Form2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form Form2;
+
+ ///
+ /// TbCreate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar TbCreate;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// Panel4 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel4;
+
+ ///
+ /// txtProjectName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtProjectName;
+
+ ///
+ /// txtCusBillCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtCusBillCode;
+
+ ///
+ /// txtWarehouseCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtWarehouseCode;
+
+ ///
+ /// PanelOrderIn 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel PanelOrderIn;
+
+ ///
+ /// txtCreateMan 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtCreateMan;
+
+ ///
+ /// txtCreateDate 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtCreateDate;
+
+ ///
+ /// txtReqUnitName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtReqUnitName;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// tbActNum 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.NumberBox tbActNum;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx b/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx
new file mode 100644
index 00000000..831582c6
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx
@@ -0,0 +1,212 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OutputMaster.aspx.cs" Inherits="FineUIPro.Web.CLGL.OutputMaster" %>
+
+
+
+
+ 申请单
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx.cs b/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx.cs
new file mode 100644
index 00000000..1645952b
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx.cs
@@ -0,0 +1,537 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Text;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.CLGL
+{
+ public partial class OutputMaster : PageBase
+ {
+ public int pageSize = PipelineService.pageSize;
+
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ if (!IsPostBack)
+ {
+ this.GetButtonPower();
+ InitDrpList();
+ this.InitTreeMenu();
+
+ }
+ }
+
+
+ private void InitDrpList()
+ {
+ drpWarehouse.DataTextField = "Text";
+ drpWarehouse.DataValueField = "Value";
+ drpWarehouse.DataSource = BLL.DropListService.HJGL_WarehouseCode();
+ drpWarehouse.DataBind();
+ Funs.FineUIPleaseSelect(this.drpWarehouse);
+ drpTypeInt.DataTextField = "Key";
+ drpTypeInt.DataValueField = "Value";
+ drpTypeInt.DataSource = BLL.TwConst.TypeIntMap.Where(x => x.Key.Contains("出库"));
+ drpTypeInt.DataBind();
+ Funs.FineUIPleaseSelect(this.drpTypeInt);
+ drpStates.DataTextField = "Key";
+ drpStates.DataValueField = "Value";
+ drpStates.DataSource = BLL.TwConst.StateMap;
+ drpStates.DataBind();
+ Funs.FineUIPleaseSelect(this.drpStates);
+
+ }
+ #region 数据绑定
+ ///
+ /// 管线数据
+ ///
+ private void BindGrid()
+ {
+ Model.Tw_InOutMasterOutput table = new Model.Tw_InOutMasterOutput();
+ table.ProjectId = this.CurrUser.LoginProjectId;
+ table.InOutType = (int?)TwConst.InOutType.出库;
+ if (drpTypeInt.SelectedValue != Const._Null)
+ {
+ table.TypeInt = Convert.ToInt32(drpTypeInt.SelectedValue);
+ }
+ if (drpStates.SelectedValue != Const._Null)
+ {
+ table.State = Convert.ToInt32(drpStates.SelectedValue);
+ }
+ if (drpWarehouse.SelectedValue != Const._Null)
+ {
+ table.WarehouseCode = drpWarehouse.SelectedValue;
+ }
+
+ if (!string .IsNullOrEmpty(tvControlItem.SelectedNodeID))
+ {
+ table.UnitWorkId=tvControlItem.SelectedNodeID;
+ }
+ var tb = BLL.TwOutputmasterService.GetListData(table, Grid1);
+ Grid1.RecordCount = TwOutputmasterService.Count;
+ Grid1.DataSource = tb;
+ Grid1.DataBind();
+
+ Grid2.DataSource = null;
+ Grid2.DataBind();
+ }
+
+ private void BindDetailGrid(string outputMasterId)
+ {
+ Model.Tw_InOutDetailOutput table = new Model.Tw_InOutDetailOutput();
+ table.OutputMasterId = outputMasterId;
+ var tb = BLL.TwOutputdetailService.GetListData(table, Grid2);
+ Grid2.DataSource = tb;
+ Grid2.DataBind();
+ for (int i = 0; i < Grid2.Rows.Count; i++)
+ {
+ var model = Grid2.Rows[i].DataItem as Model.Tw_InOutDetailOutput;
+ if (model.ActNum> model.PlanNum)
+ {
+ Grid2.Rows[i].RowCssClass = "yellow";
+ }
+ else if (model.ActNum < model.PlanNum)
+ {
+ Grid2.Rows[i].RowCssClass = "red";
+ }
+
+ }
+
+ }
+ #endregion
+
+ #region 排序
+
+ protected void Grid1_Sort(object sender, GridSortEventArgs e)
+ {
+ BindGrid();
+ }
+
+ #endregion
+
+ #region 加载树装置-单位-工作区
+
+ ///
+ /// 加载树
+ ///
+ private void InitTreeMenu()
+ {
+ this.tvControlItem.Nodes.Clear();
+
+ TreeNode rootNode1 = new TreeNode();
+ rootNode1.NodeID = "1";
+ rootNode1.Text = "建筑工程";
+ rootNode1.CommandName = "建筑工程";
+ rootNode1.Selectable = false;
+ this.tvControlItem.Nodes.Add(rootNode1);
+
+ TreeNode rootNode2 = new TreeNode();
+ rootNode2.NodeID = "2";
+ rootNode2.Text = "安装工程";
+ rootNode2.CommandName = "安装工程";
+ rootNode2.Expanded = true;
+ this.tvControlItem.Nodes.Add(rootNode2);
+
+ var pUnits = (from x in Funs.DB.Project_ProjectUnit where x.ProjectId == this.CurrUser.LoginProjectId select x).ToList();
+ // 获取当前用户所在单位
+ var currUnit = pUnits.FirstOrDefault(x => x.UnitId == this.CurrUser.UnitId);
+
+ var unitWorkList = (from x in Funs.DB.WBS_UnitWork
+ where x.ProjectId == this.CurrUser.LoginProjectId
+ && x.SuperUnitWork == null && x.UnitId != null && x.ProjectType != null
+ select x).ToList();
+
+ List unitWork1 = null;
+ List unitWork2 = null;
+
+ //// 当前为施工单位,只能操作本单位的数据
+ //if (currUnit != null && currUnit.UnitType == Const.ProjectUnitType_2)
+ //{
+ // unitWork1 = (from x in unitWorkList
+ // where x.UnitId == this.CurrUser.UnitId && x.ProjectType == "1"
+ // select x).ToList();
+ // unitWork2 = (from x in unitWorkList
+ // where x.UnitId == this.CurrUser.UnitId && x.ProjectType == "2"
+ // select x).ToList();
+ //}
+ //else
+ //{
+ unitWork1 = (from x in unitWorkList where x.ProjectType == "1" select x).ToList();
+ unitWork2 = (from x in unitWorkList where x.ProjectType == "2" select x).ToList();
+ //}
+
+ if (unitWork1.Count() > 0)
+ {
+ foreach (var q in unitWork1)
+ {
+ int a = (from x in Funs.DB.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
+ var unitNamesUnitIds = BLL.UnitService.getUnitNamesUnitIds(q.UnitId);
+ TreeNode tn1 = new TreeNode();
+ tn1.NodeID = q.UnitWorkId;
+ tn1.Text = q.UnitWorkName + "【" + a.ToString() + "】" + "管线";
+ tn1.ToolTip = "施工单位:" + unitNamesUnitIds;
+ tn1.EnableClickEvent = true;
+ rootNode1.Nodes.Add(tn1);
+ }
+ }
+ if (unitWork2.Count() > 0)
+ {
+ foreach (var q in unitWork2)
+ {
+ int a = (from x in Funs.DB.HJGL_Pipeline where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitWorkId == q.UnitWorkId select x).Count();
+ var unitNamesUnitIds = BLL.UnitService.getUnitNamesUnitIds(q.UnitId);
+ TreeNode tn2 = new TreeNode();
+ tn2.NodeID = q.UnitWorkId;
+ tn2.Text = q.UnitWorkName + "【" + a.ToString() + "】" + "管线";
+ tn2.ToolTip = "施工单位:" + unitNamesUnitIds;
+ tn2.EnableClickEvent = true;
+ rootNode2.Nodes.Add(tn2);
+ }
+ }
+ }
+ ///
+ /// 点击TreeView
+ ///
+ ///
+ ///
+ protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
+ {
+ this.BindGrid();
+
+ }
+
+ ///
+ /// 树查询
+ ///
+ ///
+ ///
+ protected void btnTreeFind_Click(object sender, EventArgs e)
+ {
+ this.InitTreeMenu();
+ }
+
+ #endregion
+
+ #region 维护事件
+ protected void Grid1_RowClick(object sender, GridRowClickEventArgs e)
+ {
+ if (e.RowIndex >= 0)
+ {
+ string ID = Grid1.DataKeys[e.RowIndex][0].ToString();
+ BindDetailGrid(ID);
+ }
+ }
+
+ ///
+ /// Grid双击事件
+ ///
+ ///
+ ///
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.Tw_OutputMasterMenuId, BLL.Const.BtnModify))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InOutPlanMasterEdit.aspx?Id={0}", Grid1.SelectedRowID, "编辑 - ")));
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ ///
+ /// 增加
+ ///
+ ///
+ ///
+ protected void btnNew_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.Tw_OutputMasterMenuId, Const.BtnAdd))
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("InOutPlanMasterEdit.aspx?}", "新增 - ")));
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ protected void btnMenuInOutPlanMasterDelete_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.Tw_OutputMasterMenuId, Const.BtnDelete))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+
+ bool isShow = true;
+ if (Grid1.SelectedRowIndexArray.Length > 1)
+ {
+ isShow = false;
+ }
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ ShowNotify("删除成功!", MessageBoxIcon.Success);
+
+ }
+
+ this.InitTreeMenu();
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+ protected void btnGenInPlanMaster_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.Tw_OutputMasterMenuId, Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+
+ string message= TwInOutplanmasterService.GenPlanMasterByOutputMasterId(Grid1.SelectedRowID, TwConst.TypeInt.退料入库);
+ if (string .IsNullOrEmpty(message))
+ {
+ ShowNotify("生成通知单成功!", MessageBoxIcon.Success);
+ }
+ else
+ {
+ ShowNotify(message, MessageBoxIcon.Warning);
+ }
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+
+ protected void btnGenOutPlanMaster_Click(object sender, EventArgs e)
+ {
+ if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, Const.Tw_OutputMasterMenuId, Const.BtnModify))
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+
+ string message = TwInOutplanmasterService.GenPlanMasterByOutputMasterId(Grid1.SelectedRowID, TwConst.TypeInt.补料出库);
+ if (string.IsNullOrEmpty(message))
+ {
+ ShowNotify("生成通知单成功!", MessageBoxIcon.Success);
+ }
+ else
+ {
+ ShowNotify(message, MessageBoxIcon.Warning);
+ }
+ }
+ else
+ {
+ ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
+ }
+ }
+ protected void btnSearch_Click(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+ protected void btnMenuInOutPlanMasterEdit_Click(object sender, EventArgs e)
+ {
+
+ }
+ #endregion
+
+ #region 报表打印
+ ///
+ /// 报表打印
+ ///
+ ///
+ ///
+ protected void btnPrint_Click(object sender, EventArgs e)
+ {
+ string pipelineId = this.tvControlItem.SelectedNodeID;
+ var q = BLL.PipelineService.GetPipelineByPipelineId(pipelineId);
+
+ if (q != null)
+ {
+ var jotCount = (from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == pipelineId select x).Count();
+ var weldJotCount = (from x in Funs.DB.HJGL_WeldJoint where x.PipelineId == pipelineId && x.WeldingDailyId != null select x).Count();
+ if (jotCount == weldJotCount)
+ {
+ string varValue = string.Empty;
+ var project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
+ if (project != null)
+ {
+ varValue = project.ProjectName;
+ var unitWork = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(q.UnitWorkId);
+ if (unitWork != null)
+ {
+ varValue = varValue + "|" + unitWork.UnitWorkName;
+ }
+ }
+ List listStr = new List();
+ listStr.Add(new SqlParameter("@IsoId", pipelineId));
+ listStr.Add(new SqlParameter("@Flag", "0"));
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = BLL.SQLHelper.GetDataTableRunProc("HJGL_spJointWorkRecordNew", parameter);
+ string page = Funs.GetPagesCountByPageSize(11, 16, tb.Rows.Count).ToString();
+
+
+ varValue = varValue + "|" + page;
+
+ if (!string.IsNullOrEmpty(varValue))
+ {
+ varValue = HttpUtility.UrlEncodeUnicode(varValue);
+ }
+ if (tb.Rows.Count <= 11)
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReport1Id, pipelineId, varValue, this.CurrUser.LoginProjectId)));
+ }
+ else
+ {
+ PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?ispop=1&reportId={0}&replaceParameter={1}&varValue={2}&projectId={3}", BLL.Const.HJGL_JointInfoReport1Id, pipelineId, varValue, this.CurrUser.LoginProjectId)));
+ }
+ }
+ else
+ {
+ ShowNotify("请选择焊接完成管线!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+
+ else
+ {
+ ShowNotify("请选择管线!", MessageBoxIcon.Warning);
+ return;
+ }
+ }
+ #endregion
+
+ #region 关闭弹出窗口及刷新页面
+ ///
+ /// 关闭弹出窗口
+ ///
+ ///
+ ///
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ //this.InitTreeMenu();//加载树
+ //this.BindGrid3(this.tvControlItem.SelectedNodeID);
+ }
+
+ protected void Window2_Close(object sender, WindowCloseEventArgs e)
+ {
+ throw new NotImplementedException();
+ }
+
+ #endregion
+
+ #region 选项卡改变事件
+ ///
+ /// 选项卡改变事件
+ ///
+ ///
+ ///
+ protected void TabStrip1_TabIndexChanged(object sender, EventArgs e)
+ {
+ if (this.TabStrip1.ActiveTabIndex == 0)
+ {
+
+
+ }
+ else if (this.TabStrip1.ActiveTabIndex == 1)
+ {
+
+ }
+ }
+
+
+ #endregion
+
+ #region 导出
+ ///
+ /// 导出方法
+ ///
+ ///
+ ///
+ private string GetGridTableHtml(Grid grid)
+ {
+ StringBuilder sb = new StringBuilder();
+ sb.Append("");
+ sb.Append("");
+ sb.Append("");
+ foreach (GridColumn column in grid.Columns)
+ {
+ if (column.HeaderText != "序号")
+ {
+ sb.AppendFormat("| {0} | ", column.HeaderText);
+ }
+ }
+ sb.Append("
");
+ foreach (GridRow row in grid.Rows)
+ {
+ sb.Append("");
+ foreach (GridColumn column in grid.Columns)
+ {
+ string html = row.Values[column.ColumnIndex].ToString();
+ if (column.ColumnID != "tfNumber")
+ {
+ //html = (row.FindControl("lblNumber") as AspNet.Label).Text;
+ sb.AppendFormat("| {0} | ", html);
+ }
+ //sb.AppendFormat("{0} | ", html);
+ }
+
+ sb.Append("
");
+ }
+
+ sb.Append("
");
+
+ return sb.ToString();
+ }
+
+ #endregion
+
+ #region 获取权限按钮
+ ///
+ /// 获取按钮权限
+ ///
+ ///
+ ///
+ private void GetButtonPower()
+ {
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.PersonId, BLL.Const.Tw_InPlanMasterMenuId);
+ if (buttonList.Count > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnAdd))
+ {
+ }
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnPrint.Hidden = false;
+ //this.btnMenuInOutPlanMasterEdit.Hidden = false;
+ this.btnGenInPlanMaster.Hidden = false;
+ this.btnGenOutPlanMaster.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ //this.btnMenuInOutPlanMasterDelete.Hidden = false;
+ }
+ }
+ }
+ #endregion
+
+
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx.designer.cs
new file mode 100644
index 00000000..33371802
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutputMaster.aspx.designer.cs
@@ -0,0 +1,296 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.CLGL
+{
+
+
+ public partial class OutputMaster
+ {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// panelLeftRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelLeftRegion;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// tvPipeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox tvPipeCode;
+
+ ///
+ /// hdUnitWorkId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdUnitWorkId;
+
+ ///
+ /// btnTreeFind 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnTreeFind;
+
+ ///
+ /// tvControlItem 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tree tvControlItem;
+
+ ///
+ /// Panel2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel2;
+
+ ///
+ /// panelCenterRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelCenterRegion;
+
+ ///
+ /// Toolbar3 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar3;
+
+ ///
+ /// drpWarehouse 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpWarehouse;
+
+ ///
+ /// drpTypeInt 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpTypeInt;
+
+ ///
+ /// drpStates 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpStates;
+
+ ///
+ /// ToolbarFill1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarFill ToolbarFill1;
+
+ ///
+ /// btnSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSearch;
+
+ ///
+ /// btnGenInPlanMaster 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnGenInPlanMaster;
+
+ ///
+ /// btnGenOutPlanMaster 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnGenOutPlanMaster;
+
+ ///
+ /// btnPrint 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnPrint;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// lblNumber 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblNumber;
+
+ ///
+ /// panelBottomRegion 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel panelBottomRegion;
+
+ ///
+ /// TabStrip1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TabStrip TabStrip1;
+
+ ///
+ /// TabDetail 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Tab TabDetail;
+
+ ///
+ /// Grid2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid2;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Window2 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window2;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuInOutPlanMasterEdit 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuInOutPlanMasterEdit;
+
+ ///
+ /// btnMenuInOutPlanMasterDelete 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuInOutPlanMasterDelete;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/CLGL/OutputMasterEdit.aspx b/SGGL/FineUIPro.Web/CLGL/OutputMasterEdit.aspx
new file mode 100644
index 00000000..6cedb01d
--- /dev/null
+++ b/SGGL/FineUIPro.Web/CLGL/OutputMasterEdit.aspx
@@ -0,0 +1,21 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OutputMasterEdit.aspx.cs" Inherits="FineUIPro.Web.CLGL.OutputMasterEdit" %>
+
+
+
+
+
+
+
+
+
+
+
+id');
+ }
+
+