From fd05e92ba20f48b34df46e2bc92dddd09864b668 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 17 十二月 2024 16:59:08 +0800 Subject: [PATCH] 生产补料 --- DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs | 1421 ++++++++++++++++++++++++++++++++++++++ DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesItemType.cs | 88 + DevApp/Gs.DevApp/Gs.DevApp.csproj | 9 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.cs | 529 ++++++++++++++ DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.resx | 120 +++ DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Customer.cs | 35 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOuts_SQ.Designer.cs | 7 7 files changed, 2,152 insertions(+), 57 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Customer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Customer.cs index 0ecd535..213a278 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Customer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_Customer.cs @@ -1,5 +1,4 @@ -锘縰sing DevExpress.XtraGrid.Views.Grid; -using Gs.DevApp.Entity; +锘縰sing Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Gs.DevApp.UserControl; using Newtonsoft.Json; @@ -20,10 +19,19 @@ InitializeComponent(); toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; - + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) => + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }); getPageList(1); pageBar1.PagerEvent += PageBar1_PagerEvent; - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1); } private void GridView1_ColumnFilterChanged(object sender, EventArgs e) { @@ -32,17 +40,6 @@ getPageList(1); } - /// <summary> - /// 鍙屽嚮浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void GcMain_MouseDoubleClick(object sender, MouseEventArgs e) - { - string rowGuid = Gs.DevApp.ToolBox.UtilityHelper.GetCurrentDoubleRow(gridView1, e, "guid"); - if (!string.IsNullOrEmpty(rowGuid)) - getModel(rowGuid, false, 999); - } /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> @@ -85,7 +82,7 @@ private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) { if (xtraTabControl1.SelectedTabPageIndex == 1) - getModel(lbGuid.Text.Trim(), false, 999); + getModel(lbGuid.Text.Trim()); else { _filterList.Clear(); @@ -139,14 +136,16 @@ ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); } } - private void getModel(string strGuid, bool isEdit, int tabIdx) + private void getModel(string strGuid) { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; if (string.IsNullOrEmpty(strGuid)) { ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } - UtilityHelper.JumpToTab(xtraTabControl1, tabIdx); var _obj = new { guid = strGuid,//涓诲缓 diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesItemType.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesItemType.cs index 7aaff93..5170630 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesItemType.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesItemType.cs @@ -1,8 +1,7 @@ using System; using System.Collections.Generic; using System.Data; -using System.Drawing; -using System.Text; +using System.Threading.Tasks; using System.Windows.Forms; using DevExpress.XtraEditors; using Gs.DevApp.Entity; @@ -22,25 +21,27 @@ InitializeComponent(); toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; - - getPageList(1, UtilityHelper.GetPageSize()); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) => + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }); + getPageList(1); pageBar1.PagerEvent += PageBar1_PagerEvent; - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1); } - - /// <summary> - /// 鍙屽嚮浜嬩欢 - /// </summary> - /// <param name="sender"></param> - /// <param name="e"></param> - private void GcMain_MouseDoubleClick(object sender, MouseEventArgs e) + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) { - var rowGuid = - UtilityHelper.GetCurrentDoubleRow(gridView1, e, "guid"); - if (!string.IsNullOrEmpty(rowGuid)) - getModel(rowGuid, false, 999); + _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns); + Task.Delay(100); + getPageList(1); } - + /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> @@ -48,7 +49,7 @@ /// <param name="pageSize"></param> private void PageBar1_PagerEvent(int curPage, int pageSize) { - getPageList(curPage, pageSize); + getPageList(curPage); } /// <summary> @@ -58,6 +59,9 @@ /// <param name="e"></param> private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; var frm = new ShowFilter(gridView1.Columns, _filterList); frm.UpdateParent += Frm_UpdateParent; frm.ShowDialog(); @@ -71,7 +75,7 @@ private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) { _filterList = e.FilterList; - getPageList(1, pageBar1.RowsCount); + getPageList(1); } /// <summary> @@ -82,22 +86,28 @@ private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) { if (xtraTabControl1.SelectedTabPageIndex == 1) - getModel(lbGuid.Text.Trim(), false, 999); + getModel(lbGuid.Text.Trim()); else - getPageList(1, UtilityHelper.GetPageSize()); + { + _filterList.Clear(); + if (gridView1.ActiveFilter.Count > 0) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + } + getPageList(1); + } } /// <summary> /// </summary> /// <param name="curPage">绗嚑椤�</param> /// <param name="pageSize">姣忛〉鍑犳潯</param> - private void getPageList(int curPage, int pageSize) + private void getPageList(int curPage) { - var _sbSqlWhere = new StringBuilder(); - foreach (var itm in _filterList) - _sbSqlWhere.Append(" and " + itm.fileId + itm.fileOper + "'" + - itm.fileValue + "'"); - var pgq = new PageQueryModel(curPage, pageSize, "create_date", + var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); var json = JsonConvert.SerializeObject(pgq); try @@ -109,13 +119,18 @@ { DataTable dt = dd.rtnData.list; gcMain.BindingContext = new BindingContext(); - gcMain.DataSource = dt; - gcMain.ForceInitialize(); - int dddd = dd.rtnData.pages;//鎬婚〉 - pageBar1.TotalPages = dddd; - pageBar1.RecordCount = dd.rtnData.total;//璁板綍鎬绘暟 + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + if (dt.Rows.Count > 0) + { + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + } + else + UtilityHelper.SetDefaultTable(gcMain, gridView1); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉 pageBar1.CurrentPage = curPage;//褰撳墠椤� - pageBar1.setTxt(); + pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 } else { @@ -133,15 +148,16 @@ /// <param name="strGuid">涓婚敭</param> /// <param name="isEdit">鏄惁鍙紪杈�</param> /// <param name="tabIdx">閫夐」鍗″簭鍙�</param> - private void getModel(string strGuid, bool isEdit, int tabIdx) + private void getModel(string strGuid) { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; if (string.IsNullOrEmpty(strGuid)) { MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } - - UtilityHelper.JumpToTab(xtraTabControl1, tabIdx); var _obj = new { guid = strGuid //涓诲缓 diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOuts_SQ.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOuts_SQ.Designer.cs index e2faaca..71fc8d6 100644 --- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOuts_SQ.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesInvItemOuts_SQ.Designer.cs @@ -759,6 +759,7 @@ // toolBarMenu1 // this.toolBarMenu1.chkParameter = null; + this.toolBarMenu1.currentAction = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.guidKey = null; this.toolBarMenu1.isSetBtn = false; @@ -891,7 +892,6 @@ this.xtraTabPage2.Controls.Add(this.tabMx); this.xtraTabPage2.Controls.Add(this.panel1); this.xtraTabPage2.Name = "xtraTabPage2"; - this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); this.xtraTabPage2.Text = "鏁版嵁璇︾粏"; // @@ -1209,14 +1209,15 @@ this.lbGuid.Size = new System.Drawing.Size(0, 21); this.lbGuid.TabIndex = 1; // - // Frm_MesInvItemOuts + // Frm_MesInvItemOuts_SQ // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1128, 682); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); - this.Name = "Frm_MesInvItemOuts"; + this.Name = "Frm_MesInvItemOuts_SQ"; + this.Text = "閲囪喘閫�璐х敵璇�"; this.tabMxPage2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit(); diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs new file mode 100644 index 0000000..9539d5e --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs @@ -0,0 +1,1421 @@ +/* Create By GS EasyCode */ +namespace Gs.DevApp.DevFrm +{ + partial class Frm_MesItemBl + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.gvMx1bld020 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld019 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld018 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld017 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld016 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld015 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld014 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld013 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld012 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemSearchLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit(); + this.repositoryItemSearchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gvMx1bld011 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld010 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld009 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld008 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld007 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld006 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld005 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld004 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld003 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld002 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1bld001 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1mid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1id = new DevExpress.XtraGrid.Columns.GridColumn(); + this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx1 = new DevExpress.XtraGrid.GridControl(); + this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gv_wcTime = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_wcUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl019 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl018 = new DevExpress.XtraEditors.LabelControl(); + this.gv_bl018 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl017 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl016 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl016 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl016 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl015 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl015 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl015 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl014 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl014 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl014 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl013 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl013 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl013 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl012 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl012 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl012 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl011 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl011 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl011 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl010 = new DevExpress.XtraEditors.LabelControl(); + this.gv_bl010 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl009 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl008 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl007 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl007 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl007 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl006 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl006 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl006 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl005 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl004 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_bl003 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl002 = new DevExpress.XtraEditors.LabelControl(); + this.txt_bl002 = new DevExpress.XtraEditors.TextEdit(); + this.gv_bl002 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_bl001 = new DevExpress.XtraEditors.LabelControl(); + this.gv_bl001 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_blNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_blNo = new DevExpress.XtraEditors.TextEdit(); + this.gv_blNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_id = new DevExpress.XtraGrid.Columns.GridColumn(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); + this.gcMain = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.pageBar1 = new UserControls.Data.UcPageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.tabMx = new DevExpress.XtraTab.XtraTabControl(); + this.panel1 = new System.Windows.Forms.Panel(); + this.txt_bl001 = new Gs.DevApp.UserControl.UcLookDaa(); + this.txt_bl018 = new DevExpress.XtraEditors.CheckEdit(); + this.txt_bl010 = new Gs.DevApp.UserControl.UcLookCk(); + this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); + this.lbGuid = new System.Windows.Forms.Label(); + this.picCheckBox = new System.Windows.Forms.PictureBox(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).BeginInit(); + this.tabMxPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl016.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl015.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl014.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl013.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl012.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl011.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl007.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl006.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl002.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_blNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); + this.tabMx.SuspendLayout(); + this.panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl018.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); + this.SuspendLayout(); + // + // gvMx1bld020 + // + this.gvMx1bld020.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld020.AppearanceCell.Options.UseFont = true; + this.gvMx1bld020.Caption = "bld020 "; + this.gvMx1bld020.FieldName = "bld020"; + this.gvMx1bld020.MinWidth = 50; + this.gvMx1bld020.Name = "gvMx1bld020"; + this.gvMx1bld020.Tag = "query_a.bld020"; + this.gvMx1bld020.Visible = true; + this.gvMx1bld020.VisibleIndex = 21; + this.gvMx1bld020.Width = 94; + // + // gvMx1bld019 + // + this.gvMx1bld019.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld019.AppearanceCell.Options.UseFont = true; + this.gvMx1bld019.Caption = "bld019 "; + this.gvMx1bld019.FieldName = "bld019"; + this.gvMx1bld019.MinWidth = 50; + this.gvMx1bld019.Name = "gvMx1bld019"; + this.gvMx1bld019.Tag = "query_a.bld019"; + this.gvMx1bld019.Visible = true; + this.gvMx1bld019.VisibleIndex = 20; + this.gvMx1bld019.Width = 94; + // + // gvMx1bld018 + // + this.gvMx1bld018.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld018.AppearanceCell.Options.UseFont = true; + this.gvMx1bld018.Caption = "bld018 "; + this.gvMx1bld018.FieldName = "bld018"; + this.gvMx1bld018.MinWidth = 50; + this.gvMx1bld018.Name = "gvMx1bld018"; + this.gvMx1bld018.Tag = "query_a.bld018"; + this.gvMx1bld018.Visible = true; + this.gvMx1bld018.VisibleIndex = 19; + this.gvMx1bld018.Width = 94; + // + // gvMx1bld017 + // + this.gvMx1bld017.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld017.AppearanceCell.Options.UseFont = true; + this.gvMx1bld017.Caption = "bld017 "; + this.gvMx1bld017.FieldName = "bld017"; + this.gvMx1bld017.MinWidth = 50; + this.gvMx1bld017.Name = "gvMx1bld017"; + this.gvMx1bld017.Tag = "query_a.bld017"; + this.gvMx1bld017.Visible = true; + this.gvMx1bld017.VisibleIndex = 18; + this.gvMx1bld017.Width = 94; + // + // gvMx1bld016 + // + this.gvMx1bld016.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld016.AppearanceCell.Options.UseFont = true; + this.gvMx1bld016.Caption = "bld016 "; + this.gvMx1bld016.FieldName = "bld016"; + this.gvMx1bld016.MinWidth = 50; + this.gvMx1bld016.Name = "gvMx1bld016"; + this.gvMx1bld016.Tag = "query_a.bld016"; + this.gvMx1bld016.Visible = true; + this.gvMx1bld016.VisibleIndex = 17; + this.gvMx1bld016.Width = 94; + // + // gvMx1bld015 + // + this.gvMx1bld015.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld015.AppearanceCell.Options.UseFont = true; + this.gvMx1bld015.Caption = "bld015 "; + this.gvMx1bld015.FieldName = "bld015"; + this.gvMx1bld015.MinWidth = 50; + this.gvMx1bld015.Name = "gvMx1bld015"; + this.gvMx1bld015.Tag = "query_a.bld015"; + this.gvMx1bld015.Visible = true; + this.gvMx1bld015.VisibleIndex = 16; + this.gvMx1bld015.Width = 94; + // + // gvMx1bld014 + // + this.gvMx1bld014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld014.AppearanceCell.Options.UseFont = true; + this.gvMx1bld014.Caption = "ERP鎶曟枡鍗曡id "; + this.gvMx1bld014.FieldName = "bld014"; + this.gvMx1bld014.MinWidth = 50; + this.gvMx1bld014.Name = "gvMx1bld014"; + this.gvMx1bld014.Tag = "query_a.bld014"; + this.gvMx1bld014.Visible = true; + this.gvMx1bld014.VisibleIndex = 15; + this.gvMx1bld014.Width = 94; + // + // gvMx1bld013 + // + this.gvMx1bld013.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld013.AppearanceCell.Options.UseFont = true; + this.gvMx1bld013.Caption = "椤规 "; + this.gvMx1bld013.FieldName = "bld013"; + this.gvMx1bld013.MinWidth = 50; + this.gvMx1bld013.Name = "gvMx1bld013"; + this.gvMx1bld013.Tag = "query_a.bld013"; + this.gvMx1bld013.Visible = true; + this.gvMx1bld013.VisibleIndex = 14; + this.gvMx1bld013.Width = 94; + // + // gvMx1bld012 + // + this.gvMx1bld012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld012.AppearanceCell.Options.UseFont = true; + this.gvMx1bld012.Caption = "鐗╂枡id "; + this.gvMx1bld012.ColumnEdit = this.repositoryItemSearchLookUpEdit1; + this.gvMx1bld012.FieldName = "bld012"; + this.gvMx1bld012.MinWidth = 50; + this.gvMx1bld012.Name = "gvMx1bld012"; + this.gvMx1bld012.Tag = "query_a.bld012"; + this.gvMx1bld012.Visible = true; + this.gvMx1bld012.VisibleIndex = 13; + this.gvMx1bld012.Width = 94; + // + // repositoryItemSearchLookUpEdit1 + // + this.repositoryItemSearchLookUpEdit1.AutoHeight = false; + this.repositoryItemSearchLookUpEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemSearchLookUpEdit1.Name = "repositoryItemSearchLookUpEdit1"; + this.repositoryItemSearchLookUpEdit1.PopupView = this.repositoryItemSearchLookUpEdit1View; + this.repositoryItemSearchLookUpEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemSearchLookUpEdit1_EditValueChanged_2); + // + // repositoryItemSearchLookUpEdit1View + // + this.repositoryItemSearchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; + this.repositoryItemSearchLookUpEdit1View.Name = "repositoryItemSearchLookUpEdit1View"; + this.repositoryItemSearchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; + this.repositoryItemSearchLookUpEdit1View.OptionsView.ShowGroupPanel = false; + // + // gvMx1bld011 + // + this.gvMx1bld011.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld011.AppearanceCell.Options.UseFont = true; + this.gvMx1bld011.Caption = "瀹岀粨鏍囪瘑 "; + this.gvMx1bld011.FieldName = "bld011"; + this.gvMx1bld011.MinWidth = 50; + this.gvMx1bld011.Name = "gvMx1bld011"; + this.gvMx1bld011.Tag = "query_a.bld011"; + this.gvMx1bld011.Visible = true; + this.gvMx1bld011.VisibleIndex = 12; + this.gvMx1bld011.Width = 94; + // + // gvMx1bld010 + // + this.gvMx1bld010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld010.AppearanceCell.Options.UseFont = true; + this.gvMx1bld010.Caption = "澶囨敞 "; + this.gvMx1bld010.FieldName = "bld010"; + this.gvMx1bld010.MinWidth = 50; + this.gvMx1bld010.Name = "gvMx1bld010"; + this.gvMx1bld010.Tag = "query_a.bld010"; + this.gvMx1bld010.Visible = true; + this.gvMx1bld010.VisibleIndex = 11; + this.gvMx1bld010.Width = 94; + // + // gvMx1bld009 + // + this.gvMx1bld009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld009.AppearanceCell.Options.UseFont = true; + this.gvMx1bld009.Caption = "鍗曚綅 "; + this.gvMx1bld009.FieldName = "bld009"; + this.gvMx1bld009.MinWidth = 50; + this.gvMx1bld009.Name = "gvMx1bld009"; + this.gvMx1bld009.Tag = "query_a.bld009"; + this.gvMx1bld009.Visible = true; + this.gvMx1bld009.VisibleIndex = 10; + this.gvMx1bld009.Width = 94; + // + // gvMx1bld008 + // + this.gvMx1bld008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld008.AppearanceCell.Options.UseFont = true; + this.gvMx1bld008.Caption = "宸查鏁伴噺 "; + this.gvMx1bld008.FieldName = "bld008"; + this.gvMx1bld008.MinWidth = 50; + this.gvMx1bld008.Name = "gvMx1bld008"; + this.gvMx1bld008.Tag = "query_a.bld008"; + this.gvMx1bld008.Visible = true; + this.gvMx1bld008.VisibleIndex = 9; + this.gvMx1bld008.Width = 94; + // + // gvMx1bld007 + // + this.gvMx1bld007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld007.AppearanceCell.Options.UseFont = true; + this.gvMx1bld007.Caption = "鐢宠鏁伴噺 "; + this.gvMx1bld007.FieldName = "bld007"; + this.gvMx1bld007.MinWidth = 50; + this.gvMx1bld007.Name = "gvMx1bld007"; + this.gvMx1bld007.Tag = "query_a.bld007"; + this.gvMx1bld007.Visible = true; + this.gvMx1bld007.VisibleIndex = 8; + this.gvMx1bld007.Width = 94; + // + // gvMx1bld006 + // + this.gvMx1bld006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld006.AppearanceCell.Options.UseFont = true; + this.gvMx1bld006.Caption = "璁″垝鏁伴噺 "; + this.gvMx1bld006.FieldName = "bld006"; + this.gvMx1bld006.MinWidth = 50; + this.gvMx1bld006.Name = "gvMx1bld006"; + this.gvMx1bld006.Tag = "query_a.bld006"; + this.gvMx1bld006.Visible = true; + this.gvMx1bld006.VisibleIndex = 7; + this.gvMx1bld006.Width = 94; + // + // gvMx1bld005 + // + this.gvMx1bld005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld005.AppearanceCell.Options.UseFont = true; + this.gvMx1bld005.Caption = "棰滆壊 "; + this.gvMx1bld005.FieldName = "bld005"; + this.gvMx1bld005.MinWidth = 50; + this.gvMx1bld005.Name = "gvMx1bld005"; + this.gvMx1bld005.Tag = "query_a.bld005"; + this.gvMx1bld005.Visible = true; + this.gvMx1bld005.VisibleIndex = 6; + this.gvMx1bld005.Width = 94; + // + // gvMx1bld004 + // + this.gvMx1bld004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld004.AppearanceCell.Options.UseFont = true; + this.gvMx1bld004.Caption = "瑙勬牸鍨嬪彿 "; + this.gvMx1bld004.FieldName = "bld004"; + this.gvMx1bld004.MinWidth = 50; + this.gvMx1bld004.Name = "gvMx1bld004"; + this.gvMx1bld004.Tag = "query_a.bld004"; + this.gvMx1bld004.Visible = true; + this.gvMx1bld004.VisibleIndex = 5; + this.gvMx1bld004.Width = 94; + // + // gvMx1bld003 + // + this.gvMx1bld003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld003.AppearanceCell.Options.UseFont = true; + this.gvMx1bld003.Caption = "鐗╂枡鍚嶇О "; + this.gvMx1bld003.FieldName = "bld003"; + this.gvMx1bld003.MinWidth = 50; + this.gvMx1bld003.Name = "gvMx1bld003"; + this.gvMx1bld003.Tag = "query_a.bld003"; + this.gvMx1bld003.Visible = true; + this.gvMx1bld003.VisibleIndex = 4; + this.gvMx1bld003.Width = 94; + // + // gvMx1bld002 + // + this.gvMx1bld002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld002.AppearanceCell.Options.UseFont = true; + this.gvMx1bld002.Caption = "鐗╂枡缂栧彿 "; + this.gvMx1bld002.FieldName = "bld002"; + this.gvMx1bld002.MinWidth = 50; + this.gvMx1bld002.Name = "gvMx1bld002"; + this.gvMx1bld002.Tag = "query_a.bld002"; + this.gvMx1bld002.Visible = true; + this.gvMx1bld002.VisibleIndex = 3; + this.gvMx1bld002.Width = 94; + // + // gvMx1bld001 + // + this.gvMx1bld001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld001.AppearanceCell.Options.UseFont = true; + this.gvMx1bld001.Caption = "宸ュ崟鍙� "; + this.gvMx1bld001.FieldName = "bld001"; + this.gvMx1bld001.MinWidth = 50; + this.gvMx1bld001.Name = "gvMx1bld001"; + this.gvMx1bld001.Tag = "query_a.bld001"; + this.gvMx1bld001.Visible = true; + this.gvMx1bld001.VisibleIndex = 2; + this.gvMx1bld001.Width = 94; + // + // gvMx1mid + // + this.gvMx1mid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1mid.AppearanceCell.Options.UseFont = true; + this.gvMx1mid.Caption = "MID "; + this.gvMx1mid.FieldName = "mid"; + this.gvMx1mid.MinWidth = 50; + this.gvMx1mid.Name = "gvMx1mid"; + this.gvMx1mid.Tag = "query_a.mid"; + this.gvMx1mid.Visible = true; + this.gvMx1mid.VisibleIndex = 1; + this.gvMx1mid.Width = 94; + // + // gvMx1id + // + this.gvMx1id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1id.AppearanceCell.Options.UseFont = true; + this.gvMx1id.Caption = "ID "; + this.gvMx1id.FieldName = "id"; + this.gvMx1id.MinWidth = 50; + this.gvMx1id.Name = "gvMx1id"; + this.gvMx1id.Tag = "query_a.id"; + this.gvMx1id.Visible = true; + this.gvMx1id.VisibleIndex = 0; + this.gvMx1id.Width = 94; + // + // tabMxPage1 + // + this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Name = "tabMxPage1"; + this.tabMxPage1.Size = new System.Drawing.Size(1124, 336); + this.tabMxPage1.Text = "鏄庣粏1"; + // + // gcMx1 + // + this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx1.Location = new System.Drawing.Point(0, 0); + this.gcMx1.MainView = this.gvMx1; + this.gcMx1.Name = "gcMx1"; + this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemSearchLookUpEdit1}); + this.gcMx1.Size = new System.Drawing.Size(1124, 336); + this.gcMx1.TabIndex = 0; + this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx1}); + // + // gvMx1 + // + this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx1id, + this.gvMx1mid, + this.gvMx1bld001, + this.gvMx1bld012, + this.gvMx1bld002, + this.gvMx1bld003, + this.gvMx1bld004, + this.gvMx1bld005, + this.gvMx1bld006, + this.gvMx1bld007, + this.gvMx1bld008, + this.gvMx1bld009, + this.gvMx1bld010, + this.gvMx1bld011, + this.gvMx1bld013, + this.gvMx1bld014, + this.gvMx1bld015, + this.gvMx1bld016, + this.gvMx1bld017, + this.gvMx1bld018, + this.gvMx1bld019, + this.gvMx1bld020}); + this.gvMx1.GridControl = this.gcMx1; + this.gvMx1.Name = "gvMx1"; + this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + this.gvMx1.OptionsFind.ShowSearchNavButtons = false; + this.gvMx1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; + this.gvMx1.OptionsView.ShowGroupPanel = false; + // + // gv_wcTime + // + this.gv_wcTime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_wcTime.AppearanceCell.Options.UseFont = true; + this.gv_wcTime.Caption = "瀹屾垚鏃堕棿 "; + this.gv_wcTime.FieldName = "wcTime"; + this.gv_wcTime.MinWidth = 50; + this.gv_wcTime.Name = "gv_wcTime"; + this.gv_wcTime.OptionsColumn.AllowEdit = false; + this.gv_wcTime.Tag = "query_a.wc_time"; + this.gv_wcTime.Visible = true; + this.gv_wcTime.VisibleIndex = 23; + this.gv_wcTime.Width = 94; + // + // gv_wcUser + // + this.gv_wcUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_wcUser.AppearanceCell.Options.UseFont = true; + this.gv_wcUser.Caption = "瀹屾垚浜� "; + this.gv_wcUser.FieldName = "wcUser"; + this.gv_wcUser.MinWidth = 50; + this.gv_wcUser.Name = "gv_wcUser"; + this.gv_wcUser.OptionsColumn.AllowEdit = false; + this.gv_wcUser.Tag = "query_a.wc_user"; + this.gv_wcUser.Visible = true; + this.gv_wcUser.VisibleIndex = 22; + this.gv_wcUser.Width = 94; + // + // gv_itemId + // + this.gv_itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemId.AppearanceCell.Options.UseFont = true; + this.gv_itemId.Caption = "浜у搧id "; + this.gv_itemId.FieldName = "itemId"; + this.gv_itemId.MinWidth = 50; + this.gv_itemId.Name = "gv_itemId"; + this.gv_itemId.OptionsColumn.AllowEdit = false; + this.gv_itemId.Tag = "query_a.item_id"; + this.gv_itemId.Visible = true; + this.gv_itemId.VisibleIndex = 21; + this.gv_itemId.Width = 94; + // + // gv_bl019 + // + this.gv_bl019.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl019.AppearanceCell.Options.UseFont = true; + this.gv_bl019.Caption = "瀹岀粨鏍囪瘑 "; + this.gv_bl019.FieldName = "bl019"; + this.gv_bl019.MinWidth = 50; + this.gv_bl019.Name = "gv_bl019"; + this.gv_bl019.OptionsColumn.AllowEdit = false; + this.gv_bl019.Tag = "query_a.bl019"; + this.gv_bl019.Visible = true; + this.gv_bl019.VisibleIndex = 20; + this.gv_bl019.Width = 94; + // + // lb_bl018 + // + this.lb_bl018.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl018.Appearance.Options.UseFont = true; + this.lb_bl018.Location = new System.Drawing.Point(753, 131); + this.lb_bl018.Name = "lb_bl018"; + this.lb_bl018.Size = new System.Drawing.Size(73, 21); + this.lb_bl018.TabIndex = 280; + this.lb_bl018.Text = "瀹℃牳鐘舵�� "; + // + // gv_bl018 + // + this.gv_bl018.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl018.AppearanceCell.Options.UseFont = true; + this.gv_bl018.Caption = "瀹℃牳鐘舵�� "; + this.gv_bl018.FieldName = "bl018"; + this.gv_bl018.MinWidth = 50; + this.gv_bl018.Name = "gv_bl018"; + this.gv_bl018.OptionsColumn.AllowEdit = false; + this.gv_bl018.Tag = "query_a.bl018"; + this.gv_bl018.Visible = true; + this.gv_bl018.VisibleIndex = 19; + this.gv_bl018.Width = 94; + // + // gv_bl017 + // + this.gv_bl017.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl017.AppearanceCell.Options.UseFont = true; + this.gv_bl017.Caption = "涓氬姟绫诲瀷缂栫爜 "; + this.gv_bl017.FieldName = "bl017"; + this.gv_bl017.MinWidth = 50; + this.gv_bl017.Name = "gv_bl017"; + this.gv_bl017.OptionsColumn.AllowEdit = false; + this.gv_bl017.Tag = "query_a.bl017"; + this.gv_bl017.Visible = true; + this.gv_bl017.VisibleIndex = 18; + this.gv_bl017.Width = 94; + // + // lb_bl016 + // + this.lb_bl016.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl016.Appearance.Options.UseFont = true; + this.lb_bl016.Location = new System.Drawing.Point(770, 97); + this.lb_bl016.Name = "lb_bl016"; + this.lb_bl016.Size = new System.Drawing.Size(56, 21); + this.lb_bl016.TabIndex = 267; + this.lb_bl016.Text = "瀹℃牳浜� "; + // + // txt_bl016 + // + this.txt_bl016.Enabled = false; + this.txt_bl016.Location = new System.Drawing.Point(828, 93); + this.txt_bl016.Name = "txt_bl016"; + this.txt_bl016.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl016.Properties.Appearance.Options.UseFont = true; + this.txt_bl016.Size = new System.Drawing.Size(150, 28); + this.txt_bl016.TabIndex = 267; + // + // gv_bl016 + // + this.gv_bl016.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl016.AppearanceCell.Options.UseFont = true; + this.gv_bl016.Caption = "瀹℃牳浜� "; + this.gv_bl016.FieldName = "bl016"; + this.gv_bl016.MinWidth = 50; + this.gv_bl016.Name = "gv_bl016"; + this.gv_bl016.OptionsColumn.AllowEdit = false; + this.gv_bl016.Tag = "query_a.bl016"; + this.gv_bl016.Visible = true; + this.gv_bl016.VisibleIndex = 17; + this.gv_bl016.Width = 94; + // + // lb_bl015 + // + this.lb_bl015.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl015.Appearance.Options.UseFont = true; + this.lb_bl015.Location = new System.Drawing.Point(753, 20); + this.lb_bl015.Name = "lb_bl015"; + this.lb_bl015.Size = new System.Drawing.Size(73, 21); + this.lb_bl015.TabIndex = 262; + this.lb_bl015.Text = "浜у搧鍨嬪彿 "; + // + // txt_bl015 + // + this.txt_bl015.Enabled = false; + this.txt_bl015.Location = new System.Drawing.Point(828, 16); + this.txt_bl015.Name = "txt_bl015"; + this.txt_bl015.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl015.Properties.Appearance.Options.UseFont = true; + this.txt_bl015.Size = new System.Drawing.Size(150, 28); + this.txt_bl015.TabIndex = 262; + // + // gv_bl015 + // + this.gv_bl015.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl015.AppearanceCell.Options.UseFont = true; + this.gv_bl015.Caption = "浜у搧鍨嬪彿 "; + this.gv_bl015.FieldName = "bl015"; + this.gv_bl015.MinWidth = 50; + this.gv_bl015.Name = "gv_bl015"; + this.gv_bl015.OptionsColumn.AllowEdit = false; + this.gv_bl015.Tag = "query_a.bl015"; + this.gv_bl015.Visible = true; + this.gv_bl015.VisibleIndex = 16; + this.gv_bl015.Width = 94; + // + // lb_bl014 + // + this.lb_bl014.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl014.Appearance.Options.UseFont = true; + this.lb_bl014.Location = new System.Drawing.Point(520, 20); + this.lb_bl014.Name = "lb_bl014"; + this.lb_bl014.Size = new System.Drawing.Size(73, 21); + this.lb_bl014.TabIndex = 258; + this.lb_bl014.Text = "浜у搧鍚嶇О "; + // + // txt_bl014 + // + this.txt_bl014.Enabled = false; + this.txt_bl014.Location = new System.Drawing.Point(586, 16); + this.txt_bl014.Name = "txt_bl014"; + this.txt_bl014.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl014.Properties.Appearance.Options.UseFont = true; + this.txt_bl014.Size = new System.Drawing.Size(150, 28); + this.txt_bl014.TabIndex = 258; + // + // gv_bl014 + // + this.gv_bl014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl014.AppearanceCell.Options.UseFont = true; + this.gv_bl014.Caption = "浜у搧鍚嶇О "; + this.gv_bl014.FieldName = "bl014"; + this.gv_bl014.MinWidth = 50; + this.gv_bl014.Name = "gv_bl014"; + this.gv_bl014.OptionsColumn.AllowEdit = false; + this.gv_bl014.Tag = "query_a.bl014"; + this.gv_bl014.Visible = true; + this.gv_bl014.VisibleIndex = 15; + this.gv_bl014.Width = 94; + // + // lb_bl013 + // + this.lb_bl013.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl013.Appearance.Options.UseFont = true; + this.lb_bl013.Location = new System.Drawing.Point(29, 93); + this.lb_bl013.Name = "lb_bl013"; + this.lb_bl013.Size = new System.Drawing.Size(73, 21); + this.lb_bl013.TabIndex = 252; + this.lb_bl013.Text = "浠诲姟鍗曞彿 "; + // + // txt_bl013 + // + this.txt_bl013.Enabled = false; + this.txt_bl013.Location = new System.Drawing.Point(112, 93); + this.txt_bl013.Name = "txt_bl013"; + this.txt_bl013.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl013.Properties.Appearance.Options.UseFont = true; + this.txt_bl013.Size = new System.Drawing.Size(150, 28); + this.txt_bl013.TabIndex = 252; + // + // gv_bl013 + // + this.gv_bl013.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl013.AppearanceCell.Options.UseFont = true; + this.gv_bl013.Caption = "浠诲姟鍗曞彿 "; + this.gv_bl013.FieldName = "bl013"; + this.gv_bl013.MinWidth = 50; + this.gv_bl013.Name = "gv_bl013"; + this.gv_bl013.OptionsColumn.AllowEdit = false; + this.gv_bl013.Tag = "query_a.bl013"; + this.gv_bl013.Visible = true; + this.gv_bl013.VisibleIndex = 14; + this.gv_bl013.Width = 94; + // + // lb_bl012 + // + this.lb_bl012.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl012.Appearance.Options.UseFont = true; + this.lb_bl012.Location = new System.Drawing.Point(284, 97); + this.lb_bl012.Name = "lb_bl012"; + this.lb_bl012.Size = new System.Drawing.Size(73, 21); + this.lb_bl012.TabIndex = 247; + this.lb_bl012.Text = "琛ユ枡浜х嚎 "; + // + // txt_bl012 + // + this.txt_bl012.Enabled = false; + this.txt_bl012.Location = new System.Drawing.Point(360, 93); + this.txt_bl012.Name = "txt_bl012"; + this.txt_bl012.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl012.Properties.Appearance.Options.UseFont = true; + this.txt_bl012.Size = new System.Drawing.Size(150, 28); + this.txt_bl012.TabIndex = 247; + // + // gv_bl012 + // + this.gv_bl012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl012.AppearanceCell.Options.UseFont = true; + this.gv_bl012.Caption = "琛ユ枡浜х嚎 "; + this.gv_bl012.FieldName = "bl012"; + this.gv_bl012.MinWidth = 50; + this.gv_bl012.Name = "gv_bl012"; + this.gv_bl012.OptionsColumn.AllowEdit = false; + this.gv_bl012.Tag = "query_a.bl012"; + this.gv_bl012.Visible = true; + this.gv_bl012.VisibleIndex = 13; + this.gv_bl012.Width = 94; + // + // lb_bl011 + // + this.lb_bl011.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl011.Appearance.Options.UseFont = true; + this.lb_bl011.Location = new System.Drawing.Point(284, 58); + this.lb_bl011.Name = "lb_bl011"; + this.lb_bl011.Size = new System.Drawing.Size(73, 21); + this.lb_bl011.TabIndex = 243; + this.lb_bl011.Text = "琛ユ枡閮ㄩ棬 "; + // + // txt_bl011 + // + this.txt_bl011.Enabled = false; + this.txt_bl011.Location = new System.Drawing.Point(360, 54); + this.txt_bl011.Name = "txt_bl011"; + this.txt_bl011.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl011.Properties.Appearance.Options.UseFont = true; + this.txt_bl011.Size = new System.Drawing.Size(150, 28); + this.txt_bl011.TabIndex = 243; + // + // gv_bl011 + // + this.gv_bl011.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl011.AppearanceCell.Options.UseFont = true; + this.gv_bl011.Caption = "琛ユ枡閮ㄩ棬 "; + this.gv_bl011.FieldName = "bl011"; + this.gv_bl011.MinWidth = 50; + this.gv_bl011.Name = "gv_bl011"; + this.gv_bl011.OptionsColumn.AllowEdit = false; + this.gv_bl011.Tag = "query_a.bl011"; + this.gv_bl011.Visible = true; + this.gv_bl011.VisibleIndex = 12; + this.gv_bl011.Width = 94; + // + // lb_bl010 + // + this.lb_bl010.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl010.Appearance.Options.UseFont = true; + this.lb_bl010.Location = new System.Drawing.Point(46, 130); + this.lb_bl010.Name = "lb_bl010"; + this.lb_bl010.Size = new System.Drawing.Size(56, 21); + this.lb_bl010.TabIndex = 240; + this.lb_bl010.Text = "鍙戞枡浠� "; + // + // gv_bl010 + // + this.gv_bl010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl010.AppearanceCell.Options.UseFont = true; + this.gv_bl010.Caption = "鍙戞枡浠� "; + this.gv_bl010.FieldName = "bl010"; + this.gv_bl010.MinWidth = 50; + this.gv_bl010.Name = "gv_bl010"; + this.gv_bl010.OptionsColumn.AllowEdit = false; + this.gv_bl010.Tag = "query_a.bl010"; + this.gv_bl010.Visible = true; + this.gv_bl010.VisibleIndex = 11; + this.gv_bl010.Width = 94; + // + // gv_bl009 + // + this.gv_bl009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl009.AppearanceCell.Options.UseFont = true; + this.gv_bl009.Caption = "涓氬姟绫诲瀷 "; + this.gv_bl009.FieldName = "bl009"; + this.gv_bl009.MinWidth = 50; + this.gv_bl009.Name = "gv_bl009"; + this.gv_bl009.OptionsColumn.AllowEdit = false; + this.gv_bl009.Tag = "query_a.bl009"; + this.gv_bl009.Visible = true; + this.gv_bl009.VisibleIndex = 10; + this.gv_bl009.Width = 94; + // + // gv_bl008 + // + this.gv_bl008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl008.AppearanceCell.Options.UseFont = true; + this.gv_bl008.Caption = "鍑哄簱绫诲埆锛堣ˉ鏂�,瓒呴锛� "; + this.gv_bl008.FieldName = "bl008"; + this.gv_bl008.MinWidth = 50; + this.gv_bl008.Name = "gv_bl008"; + this.gv_bl008.OptionsColumn.AllowEdit = false; + this.gv_bl008.Tag = "query_a.bl008"; + this.gv_bl008.Visible = true; + this.gv_bl008.VisibleIndex = 9; + this.gv_bl008.Width = 94; + // + // lb_bl007 + // + this.lb_bl007.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl007.Appearance.Options.UseFont = true; + this.lb_bl007.Location = new System.Drawing.Point(29, 161); + this.lb_bl007.Name = "lb_bl007"; + this.lb_bl007.Size = new System.Drawing.Size(73, 21); + this.lb_bl007.TabIndex = 228; + this.lb_bl007.Text = "琛ユ枡鍘熷洜 "; + // + // txt_bl007 + // + this.txt_bl007.Location = new System.Drawing.Point(112, 161); + this.txt_bl007.Name = "txt_bl007"; + this.txt_bl007.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl007.Properties.Appearance.Options.UseFont = true; + this.txt_bl007.Size = new System.Drawing.Size(150, 28); + this.txt_bl007.TabIndex = 228; + // + // gv_bl007 + // + this.gv_bl007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl007.AppearanceCell.Options.UseFont = true; + this.gv_bl007.Caption = "琛ユ枡鍘熷洜 "; + this.gv_bl007.FieldName = "bl007"; + this.gv_bl007.MinWidth = 50; + this.gv_bl007.Name = "gv_bl007"; + this.gv_bl007.OptionsColumn.AllowEdit = false; + this.gv_bl007.Tag = "query_a.bl007"; + this.gv_bl007.Visible = true; + this.gv_bl007.VisibleIndex = 8; + this.gv_bl007.Width = 94; + // + // lb_bl006 + // + this.lb_bl006.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl006.Appearance.Options.UseFont = true; + this.lb_bl006.Location = new System.Drawing.Point(753, 58); + this.lb_bl006.Name = "lb_bl006"; + this.lb_bl006.Size = new System.Drawing.Size(73, 21); + this.lb_bl006.TabIndex = 226; + this.lb_bl006.Text = "瀹℃牳鏃ユ湡 "; + // + // txt_bl006 + // + this.txt_bl006.Enabled = false; + this.txt_bl006.Location = new System.Drawing.Point(828, 54); + this.txt_bl006.Name = "txt_bl006"; + this.txt_bl006.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl006.Properties.Appearance.Options.UseFont = true; + this.txt_bl006.Size = new System.Drawing.Size(150, 28); + this.txt_bl006.TabIndex = 226; + // + // gv_bl006 + // + this.gv_bl006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl006.AppearanceCell.Options.UseFont = true; + this.gv_bl006.Caption = "瀹℃牳鏃ユ湡 "; + this.gv_bl006.FieldName = "bl006"; + this.gv_bl006.MinWidth = 50; + this.gv_bl006.Name = "gv_bl006"; + this.gv_bl006.OptionsColumn.AllowEdit = false; + this.gv_bl006.Tag = "query_a.bl006"; + this.gv_bl006.Visible = true; + this.gv_bl006.VisibleIndex = 7; + this.gv_bl006.Width = 94; + // + // gv_bl005 + // + this.gv_bl005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl005.AppearanceCell.Options.UseFont = true; + this.gv_bl005.Caption = "棰嗘枡鏃ユ湡 "; + this.gv_bl005.FieldName = "bl005"; + this.gv_bl005.MinWidth = 50; + this.gv_bl005.Name = "gv_bl005"; + this.gv_bl005.OptionsColumn.AllowEdit = false; + this.gv_bl005.Tag = "query_a.bl005"; + this.gv_bl005.Visible = true; + this.gv_bl005.VisibleIndex = 6; + this.gv_bl005.Width = 94; + // + // gv_bl004 + // + this.gv_bl004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl004.AppearanceCell.Options.UseFont = true; + this.gv_bl004.Caption = "鐢宠浜� "; + this.gv_bl004.FieldName = "bl004"; + this.gv_bl004.MinWidth = 50; + this.gv_bl004.Name = "gv_bl004"; + this.gv_bl004.OptionsColumn.AllowEdit = false; + this.gv_bl004.Tag = "query_a.bl004"; + this.gv_bl004.Visible = true; + this.gv_bl004.VisibleIndex = 5; + this.gv_bl004.Width = 94; + // + // gv_bl003 + // + this.gv_bl003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl003.AppearanceCell.Options.UseFont = true; + this.gv_bl003.Caption = "浜ч噺 "; + this.gv_bl003.FieldName = "bl003"; + this.gv_bl003.MinWidth = 50; + this.gv_bl003.Name = "gv_bl003"; + this.gv_bl003.OptionsColumn.AllowEdit = false; + this.gv_bl003.Tag = "query_a.bl003"; + this.gv_bl003.Visible = true; + this.gv_bl003.VisibleIndex = 4; + this.gv_bl003.Width = 94; + // + // lb_bl002 + // + this.lb_bl002.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl002.Appearance.Options.UseFont = true; + this.lb_bl002.Location = new System.Drawing.Point(284, 20); + this.lb_bl002.Name = "lb_bl002"; + this.lb_bl002.Size = new System.Drawing.Size(73, 21); + this.lb_bl002.TabIndex = 216; + this.lb_bl002.Text = "浜у搧缂栧彿 "; + // + // txt_bl002 + // + this.txt_bl002.Enabled = false; + this.txt_bl002.Location = new System.Drawing.Point(360, 16); + this.txt_bl002.Name = "txt_bl002"; + this.txt_bl002.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_bl002.Properties.Appearance.Options.UseFont = true; + this.txt_bl002.Size = new System.Drawing.Size(150, 28); + this.txt_bl002.TabIndex = 216; + // + // gv_bl002 + // + this.gv_bl002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl002.AppearanceCell.Options.UseFont = true; + this.gv_bl002.Caption = "浜у搧缂栧彿 "; + this.gv_bl002.FieldName = "bl002"; + this.gv_bl002.MinWidth = 50; + this.gv_bl002.Name = "gv_bl002"; + this.gv_bl002.OptionsColumn.AllowEdit = false; + this.gv_bl002.Tag = "query_a.bl002"; + this.gv_bl002.Visible = true; + this.gv_bl002.VisibleIndex = 3; + this.gv_bl002.Width = 94; + // + // lb_bl001 + // + this.lb_bl001.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_bl001.Appearance.Options.UseFont = true; + this.lb_bl001.Location = new System.Drawing.Point(29, 54); + this.lb_bl001.Name = "lb_bl001"; + this.lb_bl001.Size = new System.Drawing.Size(73, 21); + this.lb_bl001.TabIndex = 213; + this.lb_bl001.Text = "鐢熶骇宸ュ崟 "; + // + // gv_bl001 + // + this.gv_bl001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_bl001.AppearanceCell.Options.UseFont = true; + this.gv_bl001.Caption = "鐢熶骇宸ュ崟 "; + this.gv_bl001.FieldName = "bl001"; + this.gv_bl001.MinWidth = 50; + this.gv_bl001.Name = "gv_bl001"; + this.gv_bl001.OptionsColumn.AllowEdit = false; + this.gv_bl001.Tag = "query_a.bl001"; + this.gv_bl001.Visible = true; + this.gv_bl001.VisibleIndex = 2; + this.gv_bl001.Width = 94; + // + // lb_blNo + // + this.lb_blNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_blNo.Appearance.Options.UseFont = true; + this.lb_blNo.Location = new System.Drawing.Point(29, 20); + this.lb_blNo.Name = "lb_blNo"; + this.lb_blNo.Size = new System.Drawing.Size(73, 21); + this.lb_blNo.TabIndex = 211; + this.lb_blNo.Text = "琛ユ枡鍗曞彿 "; + // + // txt_blNo + // + this.txt_blNo.Enabled = false; + this.txt_blNo.Location = new System.Drawing.Point(112, 16); + this.txt_blNo.Name = "txt_blNo"; + this.txt_blNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_blNo.Properties.Appearance.Options.UseFont = true; + this.txt_blNo.Size = new System.Drawing.Size(150, 28); + this.txt_blNo.TabIndex = 211; + // + // gv_blNo + // + this.gv_blNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_blNo.AppearanceCell.Options.UseFont = true; + this.gv_blNo.Caption = "琛ユ枡鍗曞彿 "; + this.gv_blNo.FieldName = "blNo"; + this.gv_blNo.MinWidth = 50; + this.gv_blNo.Name = "gv_blNo"; + this.gv_blNo.OptionsColumn.AllowEdit = false; + this.gv_blNo.Tag = "query_a.bl_no"; + this.gv_blNo.Visible = true; + this.gv_blNo.VisibleIndex = 1; + this.gv_blNo.Width = 94; + // + // gv_id + // + this.gv_id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_id.AppearanceCell.Options.UseFont = true; + this.gv_id.Caption = "ID "; + this.gv_id.FieldName = "id"; + this.gv_id.MinWidth = 50; + this.gv_id.Name = "gv_id"; + this.gv_id.OptionsColumn.AllowEdit = false; + this.gv_id.Tag = "query_a.id"; + this.gv_id.Visible = true; + this.gv_id.VisibleIndex = 0; + this.gv_id.Width = 94; + // + // toolBarMenu1 + // + this.toolBarMenu1.chkParameter = null; + this.toolBarMenu1.currentAction = null; + this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; + this.toolBarMenu1.guidKey = null; + this.toolBarMenu1.isSetBtn = false; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.rptParameter = null; + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.TabIndex = 0; + this.toolBarMenu1.xlsInService = null; + this.toolBarMenu1.xlsOutParameter = null; + // + // gcMain + // + this.gcMain.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMain.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain.Location = new System.Drawing.Point(0, 0); + this.gcMain.MainView = this.gridView1; + this.gcMain.Name = "gcMain"; + this.gcMain.Size = new System.Drawing.Size(1126, 531); + this.gcMain.TabIndex = 1; + this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); + this.gridView1.Appearance.Row.Options.UseFont = true; + this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gv_id, + this.gv_blNo, + this.gv_bl001, + this.gv_bl002, + this.gv_bl003, + this.gv_bl004, + this.gv_bl005, + this.gv_bl006, + this.gv_bl007, + this.gv_bl008, + this.gv_bl009, + this.gv_bl010, + this.gv_bl011, + this.gv_bl012, + this.gv_bl013, + this.gv_bl014, + this.gv_bl015, + this.gv_bl016, + this.gv_bl017, + this.gv_bl018, + this.gv_bl019, + this.gv_itemId, + this.gv_wcUser, + this.gv_wcTime}); + this.gridView1.GridControl = this.gcMain; + this.gridView1.IndicatorWidth = 50; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.gcMain); + this.xtraTabPage1.Controls.Add(this.pageBar1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 531); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.TabIndex = 3; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.tabMx); + this.xtraTabPage2.Controls.Add(this.panel1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.PageEnabled = false; + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; + // + // tabMx + // + this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabMx.Location = new System.Drawing.Point(0, 202); + this.tabMx.Name = "tabMx"; + this.tabMx.SelectedTabPage = this.tabMxPage1; + this.tabMx.Size = new System.Drawing.Size(1126, 368); + this.tabMx.TabIndex = 2; + this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabMxPage1}); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.txt_bl001); + this.panel1.Controls.Add(this.txt_bl018); + this.panel1.Controls.Add(this.txt_bl010); + this.panel1.Controls.Add(this.labelControl11); + this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_bl018); + this.panel1.Controls.Add(this.lb_bl016); + this.panel1.Controls.Add(this.txt_bl016); + this.panel1.Controls.Add(this.lb_bl015); + this.panel1.Controls.Add(this.txt_bl015); + this.panel1.Controls.Add(this.lb_bl014); + this.panel1.Controls.Add(this.txt_bl014); + this.panel1.Controls.Add(this.lb_bl013); + this.panel1.Controls.Add(this.txt_bl013); + this.panel1.Controls.Add(this.lb_bl012); + this.panel1.Controls.Add(this.txt_bl012); + this.panel1.Controls.Add(this.lb_bl011); + this.panel1.Controls.Add(this.txt_bl011); + this.panel1.Controls.Add(this.lb_bl010); + this.panel1.Controls.Add(this.lb_bl007); + this.panel1.Controls.Add(this.txt_bl007); + this.panel1.Controls.Add(this.lb_bl006); + this.panel1.Controls.Add(this.txt_bl006); + this.panel1.Controls.Add(this.lb_bl002); + this.panel1.Controls.Add(this.txt_bl002); + this.panel1.Controls.Add(this.lb_bl001); + this.panel1.Controls.Add(this.lb_blNo); + this.panel1.Controls.Add(this.txt_blNo); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Font = new System.Drawing.Font("Tahoma", 10F); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1126, 202); + this.panel1.TabIndex = 1; + // + // txt_bl001 + // + this.txt_bl001.IsReadly = false; + this.txt_bl001.Location = new System.Drawing.Point(112, 57); + this.txt_bl001.Name = "txt_bl001"; + this.txt_bl001.Size = new System.Drawing.Size(150, 30); + this.txt_bl001.TabIndex = 283; + // + // txt_bl018 + // + this.txt_bl018.Enabled = false; + this.txt_bl018.Location = new System.Drawing.Point(828, 130); + this.txt_bl018.Name = "txt_bl018"; + this.txt_bl018.Properties.Caption = ""; + this.txt_bl018.Size = new System.Drawing.Size(94, 24); + this.txt_bl018.TabIndex = 282; + // + // txt_bl010 + // + this.txt_bl010.IsReadly = false; + this.txt_bl010.Location = new System.Drawing.Point(112, 128); + this.txt_bl010.Margin = new System.Windows.Forms.Padding(0); + this.txt_bl010.Name = "txt_bl010"; + this.txt_bl010.Size = new System.Drawing.Size(150, 30); + this.txt_bl010.TabIndex = 281; + // + // labelControl11 + // + this.labelControl11.Location = new System.Drawing.Point(520, 146); + this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.labelControl11.Name = "labelControl11"; + this.labelControl11.Size = new System.Drawing.Size(45, 18); + this.labelControl11.TabIndex = 130; + this.labelControl11.Text = "涓婚敭锛�"; + // + // lbGuid + // + this.lbGuid.AutoSize = true; + this.lbGuid.Location = new System.Drawing.Point(571, 146); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(0, 21); + this.lbGuid.TabIndex = 1; + // + // picCheckBox + // + this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck; + this.picCheckBox.Location = new System.Drawing.Point(988, 55); + this.picCheckBox.Name = "picCheckBox"; + this.picCheckBox.Size = new System.Drawing.Size(100, 50); + this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCheckBox.TabIndex = 7; + this.picCheckBox.TabStop = false; + this.picCheckBox.Visible = false; + // + // Frm_MesItemBl + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.picCheckBox); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); + this.Name = "Frm_MesItemBl"; + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).EndInit(); + this.tabMxPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl016.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl015.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl014.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl013.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl012.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl011.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl007.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl006.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl002.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_blNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + this.xtraTabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); + this.tabMx.ResumeLayout(false); + this.panel1.ResumeLayout(false); + this.panel1.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_bl018.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); + this.ResumeLayout(false); + + } + #endregion + private UserControl.UcToolBarMenu toolBarMenu1; + private DevExpress.XtraGrid.GridControl gcMain; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private UserControls.Data.UcPageBar pageBar1; + private System.Windows.Forms.Panel panel1; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.LabelControl labelControl11; + private DevExpress.XtraTab.XtraTabControl tabMx; + + //BQCreateConrolObejct + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld020; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld019; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld018; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld017; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld016; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld015; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld014; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld013; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld012; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld011; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld010; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld009; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld008; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld007; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld006; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld005; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld004; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld003; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld002; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1bld001; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1mid; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1id; + private DevExpress.XtraTab.XtraTabPage tabMxPage1; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraGrid.Columns.GridColumn gv_wcTime; + private DevExpress.XtraGrid.Columns.GridColumn gv_wcUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_itemId; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl019; + + private DevExpress.XtraEditors.LabelControl lb_bl018; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl018; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl017; + + private DevExpress.XtraEditors.LabelControl lb_bl016; + private DevExpress.XtraEditors.TextEdit txt_bl016; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl016; + + private DevExpress.XtraEditors.LabelControl lb_bl015; + private DevExpress.XtraEditors.TextEdit txt_bl015; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl015; + + private DevExpress.XtraEditors.LabelControl lb_bl014; + private DevExpress.XtraEditors.TextEdit txt_bl014; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl014; + + private DevExpress.XtraEditors.LabelControl lb_bl013; + private DevExpress.XtraEditors.TextEdit txt_bl013; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl013; + + private DevExpress.XtraEditors.LabelControl lb_bl012; + private DevExpress.XtraEditors.TextEdit txt_bl012; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl012; + + private DevExpress.XtraEditors.LabelControl lb_bl011; + private DevExpress.XtraEditors.TextEdit txt_bl011; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl011; + + private DevExpress.XtraEditors.LabelControl lb_bl010; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl010; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl009; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl008; + + private DevExpress.XtraEditors.LabelControl lb_bl007; + private DevExpress.XtraEditors.TextEdit txt_bl007; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl007; + + private DevExpress.XtraEditors.LabelControl lb_bl006; + private DevExpress.XtraEditors.TextEdit txt_bl006; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl006; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl005; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl004; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl003; + + private DevExpress.XtraEditors.LabelControl lb_bl002; + private DevExpress.XtraEditors.TextEdit txt_bl002; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl002; + + private DevExpress.XtraEditors.LabelControl lb_bl001; + private DevExpress.XtraGrid.Columns.GridColumn gv_bl001; + + private DevExpress.XtraEditors.LabelControl lb_blNo; + private DevExpress.XtraEditors.TextEdit txt_blNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_blNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_id; + private UserControl.UcLookCk txt_bl010; + private DevExpress.XtraEditors.CheckEdit txt_bl018; + private UserControl.UcLookDaa txt_bl001; + private System.Windows.Forms.PictureBox picCheckBox; + private DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit repositoryItemSearchLookUpEdit1; + private DevExpress.XtraGrid.Views.Grid.GridView repositoryItemSearchLookUpEdit1View; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.cs new file mode 100644 index 0000000..ec96d61 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.cs @@ -0,0 +1,529 @@ +using DevExpress.RichEdit.Export; +using DevExpress.XtraEditors; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Gs.DevApp.UserControl; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Gs.DevApp.DevFrm +{ + public partial class Frm_MesItemBl : DevExpress.XtraEditors.XtraForm + { + string _webServiceName = "MesItemBlManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); + public Frm_MesItemBl() + { + InitializeComponent(); + this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; + this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; + this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; + this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; + toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); + // Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "bl018", "", (value) => + //{ + // Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + //}); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }); + getPageList(1); + pageBar1.PagerEvent += PageBar1_PagerEvent; + //璁剧疆浠撳簱閫夋嫨 + txt_bl010.getSuppler(""); + this.txt_bl010.EditChanged += (s, e) => + { + + }; + this.txt_bl001.EditChanged += (s, e) => + { + + }; + var _obj = new + { + currentPage = 1, + everyPageSize = 999999, + sortName = "", + keyWhere = "", + }; + var json = JsonConvert.SerializeObject(_obj); + try + { + var strReturn = UtilityHelper.HttpPost("", + "MesItemsManager/GetListSelect", json); + var rtn = UtilityHelper.ReturnToTablePage(strReturn); + var dt = rtn.rtnData.list; + this.repositoryItemSearchLookUpEdit1.DataSource = dt; + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns); + Task.Delay(100); + getPageList(1); + } + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + var frm = new ShowFilter(gridView1.Columns, _filterList); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + _filterList = e.FilterList; + getPageList(1); + } + + /// <summary> + /// 鍙栨秷浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); + } + + /// <summary> + /// 鍒犻櫎浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + // (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_qtck, gridView1, "qtck"); + if (string.IsNullOrEmpty(rowGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) + return; + List<dynamic> lst = new List<dynamic>(); + lst.Add(rowGuid); + var _obj = lst; + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "DeleteModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 0) + getPageList(this.pageBar1.CurrentPage); + else + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 2); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + { + _filterList.Clear(); + if (gridView1.ActiveFilter.Count > 0) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + } + getPageList(1); + } + } + /// <summary> + /// 淇敼浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_blNo, gridView1, "qtck"); + if (string.IsNullOrEmpty(rowGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); + UtilityHelper.ChangeEnableByControl(panel1.Controls, true); + } + /// <summary> + /// 鏂板浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) + { + lbGuid.Text = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); + List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gridViews.Add(gvMx1); + UtilityHelper.CleanValueByControl(this.panel1.Controls, true, gridViews); + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + + } + /// <summary> + /// 淇濆瓨浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) + { + //toolBarMenu1.isSetBtn = false; + //string inCusId = txt_qt018.GetId(); + //string inCkId = txt_qt008.GetId(); + //string inLlrId = txt_qt022.GetId(); + //string inDepart = txt_qt009.GetId(); + //string inScgdId = txt_qt006.Text.Trim(); + //if (string.IsNullOrEmpty(inCusId)) + //{ + // Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨瀹㈡埛锛�"); + // txt_qt018.Focus(); + // return; + //} + //if (string.IsNullOrEmpty(inCkId)) + //{ + // Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨浠撳簱锛�"); + // txt_qt008.Focus(); + // return; + //} + //if (string.IsNullOrEmpty(inLlrId)) + //{ + // Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨棰嗘枡浜猴紒"); + // txt_qt022.Focus(); + // return; + //} + //var _obj = new + //{ + // guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 + // inRklb = txt_qt003.Text.Trim(),//涓氬姟绫诲埆 + // inYwlx = txt_qt004.Text.Trim(),//涓氬姟绫诲瀷 + // inRkfs = txt_qt019.Text.Trim(),//鍏ュ簱鏂瑰紡 + // inRklx = txt_qt020.Text.Trim(),//鍏ュ簱绫诲瀷 + // inCusId = inCusId,//瀹㈡埛 + // inCkId = inCkId,//浠撳簱 + // inDepart = inDepart,//鐢宠閮ㄩ棬 + // inXsdh = txt_qt021.Text.Trim(),//閿�鍞崟鍙� + // inScgdId = inScgdId,//鐢熶骇宸ュ崟鍙� + // inLlrId = inLlrId,//棰嗘枡浜� + // inRkyy = txt_qt010.Text.Trim(),//鍘熷洜 + // list = new List<dynamic>(), + //}; + //gvMx1.CloseEditor(); + //gvMx1.UpdateCurrentRow(); + //if (gvMx1.DataRowCount <= 0) + //{ + // MsgHelper.ShowError("鏄庣粏涓嶈兘涓虹┖锛岃閫夋嫨浣犵殑鏀舵枡鏄庣粏锛�"); + // return; + //} + //for (var i = 0; i < gvMx1.DataRowCount; i++) + //{ + // var row = gvMx1.GetDataRow(i); + // if (row != null) + // { + // Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString()); + // //string _msl = row["quantity"].ToString(); + // //if (string.IsNullOrEmpty(_msl)) + // //{ + // // MsgHelper.ShowError("鏁伴噺涓嶈兘涓虹┖锛�"); + // // return; + // //} + // _obj.list.Add(new + // { + // Guid = _guid, + // ItemId = (row["itemId"].ToString()), + // Sqsl = (row["qd007"].ToString()), + // Bz = (row["qd010"].ToString()), + // }); + // } + //} + //try + //{ + // string strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModel", JsonConvert.SerializeObject(_obj)); + // ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + // ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + // if (_rtn.rtnCode > 0) + // { + // lbGuid.Text = _rtn.rtnData; + // toolBarMenu1.isSetBtn = true; + // UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false); + // } + //} + //catch (Exception ex) + //{ + // ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + //} + } + + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); + string json = JsonConvert.SerializeObject(pgq); + try + { + var strReturn = UtilityHelper.HttpPost("", _webServiceName + "GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn); + if (dd.rtnCode > 0) + { + DataTable dt = dd.rtnData.list; + gcMain.BindingContext = new BindingContext(); + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + if (dt.Rows.Count > 0) + { + gcMain.DataSource = dt; + gcMain.ForceInitialize(); + } + else + UtilityHelper.SetDefaultTable(gcMain, gridView1); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 + } + else + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); + } + + } + private void getModel(string strGuid) + { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; + if (string.IsNullOrEmpty(strGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + lbGuid.Text = strGuid; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList); + JObject _job = JObject.Parse(strJson); + JArray array = new JArray(); + foreach (var a in _job["rtnData"]["list"]) + { + array.Add(a); + } + DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); + if (dt.Rows.Count > 0) + { + gcMx1.BindingContext = new BindingContext(); + gcMx1.DataSource = dt; + gcMx1.ForceInitialize(); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + } + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + + /// <summary> + /// 瀹℃牳浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnChkClick(object sender, EventArgs e) + { + _toolCk(1); + } + + /// <summary> + /// 鍙嶅鏍� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e) + { + _toolCk(0); + } + + /// <summary> + /// 宸ュ叿鏉′簨浠� + /// </summary> + /// <param name="inFieldValue"></param> + private void _toolCk(int _inFieldValue) + { + string strMsg = ""; + switch (_inFieldValue) + { + case 1: + strMsg = "瀹℃牳"; + break; + case 0: + strMsg = "鍙嶅鏍�"; + break; + }; + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_blNo, gridView1, "qtck"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) + return; + + var _obj = new + { + guid = rowGuid, + inFieldValue = _inFieldValue, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "EditModelSubmit", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + MsgHelper.Warning(_rtn.rtnData.outMsg.ToString()); + if (_rtn.rtnCode > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + getPageList(this.pageBar1.CurrentPage); + } + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + + private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) + { + var rowhandle = gvMx1.FocusedRowHandle; + if (rowhandle < 0) + return; + if (e.Button.Index == 0) + { + var dr = gvMx1.GetDataRow(rowhandle); + var mxGuid = dr["guid"].ToString(); + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) + return; + if (string.IsNullOrEmpty(mxGuid)) + { + gvMx1.DeleteRow(rowhandle); + return; + } + var _obj = new + { + guid = lbGuid.Text.Trim(), + mxGuid = mxGuid, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (_rtn.rtnCode > 0) getModel(lbGuid.Text); + } + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } + + private void repositoryItemSearchLookUpEdit1_EditValueChanged_2(object sender, EventArgs e) + { + SearchLookUpEdit LookupEdit = sender as SearchLookUpEdit; + DataRowView SelectedDataRow = (DataRowView)LookupEdit.GetSelectedDataRow(); + gvMx1.SetFocusedRowCellValue("bld002", SelectedDataRow["itemNo"]); + gvMx1.SetFocusedRowCellValue("bld003", SelectedDataRow["itemName"]); + gvMx1.SetFocusedRowCellValue("bld004", SelectedDataRow["itemModel"]); + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.resx b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.resx new file mode 100644 index 0000000..d58980a --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj index 81374dd..6174c3b 100644 --- a/DevApp/Gs.DevApp/Gs.DevApp.csproj +++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj @@ -248,6 +248,12 @@ <Compile Include="DevFrm\Ck\Frm_MesInvItemOuts.Designer.cs"> <DependentUpon>Frm_MesInvItemOuts.cs</DependentUpon> </Compile> + <Compile Include="DevFrm\Ck\Frm_MesItemBl.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DevFrm\Ck\Frm_MesItemBl.Designer.cs"> + <DependentUpon>Frm_MesItemBl.cs</DependentUpon> + </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemQtCk.cs"> <SubType>Form</SubType> </Compile> @@ -794,6 +800,9 @@ <EmbeddedResource Include="DevFrm\BasicData\Frm_MesUnit.resx"> <DependentUpon>Frm_MesUnit.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBl.resx"> + <DependentUpon>Frm_MesItemBl.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemQtCk.resx"> <DependentUpon>Frm_MesItemQtCk.cs</DependentUpon> </EmbeddedResource> -- Gitblit v1.9.3