From 8b6f78a97a4b13a7e0426c6322660deca1a5a143 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 18 十二月 2024 14:55:04 +0800 Subject: [PATCH] 生产超领 --- DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs | 19 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.resx | 120 + DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.cs | 337 +++++ DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.resx | 120 + DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs | 1476 +++++++++++++++++++++++ DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.Designer.cs | 1159 ++++++++++++++++++ DevApp/Gs.DevApp/Gs.DevApp.csproj | 28 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs | 521 ++++++++ 8 files changed, 3,766 insertions(+), 14 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs index e45509f..477667a 100644 --- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemBl.Designer.cs @@ -29,11 +29,11 @@ /// </summary> private void InitializeComponent() { - DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); - DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); this.gvMx1bld020 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1bld019 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1bld018 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -356,7 +356,7 @@ this.gvMx1bld007.FieldName = "bld007"; this.gvMx1bld007.MinWidth = 50; this.gvMx1bld007.Name = "gvMx1bld007"; - this.gvMx1bld007.Tag = "query_a.bld007"; + this.gvMx1bld007.Tag = "yz_quantity_0"; this.gvMx1bld007.Visible = true; this.gvMx1bld007.VisibleIndex = 9; this.gvMx1bld007.Width = 94; @@ -543,10 +543,10 @@ // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; - editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; - editorButtonImageOptions2.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions2, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); @@ -1332,6 +1332,7 @@ this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); this.Name = "Frm_MesItemBl"; + this.Text = "琛ユ枡鐢宠"; ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSearchLookUpEdit1View)).EndInit(); this.tabMxPage1.ResumeLayout(false); diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs new file mode 100644 index 0000000..67fee33 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.Designer.cs @@ -0,0 +1,1476 @@ +/* Create By GS EasyCode */ +namespace Gs.DevApp.DevFrm +{ + partial class Frm_MesItemCl + { + /// <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() + { + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); + 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.dabGuid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); + 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.repositoryItemButtonEdit1)).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 = 2; + 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.DisplayMember = "itemId"; + this.repositoryItemSearchLookUpEdit1.Name = "repositoryItemSearchLookUpEdit1"; + this.repositoryItemSearchLookUpEdit1.NullText = "璇烽�夋嫨"; + this.repositoryItemSearchLookUpEdit1.PopupView = this.repositoryItemSearchLookUpEdit1View; + this.repositoryItemSearchLookUpEdit1.ValueMember = "itemId"; + this.repositoryItemSearchLookUpEdit1.EditValueChanged += new System.EventHandler(this.repositoryItemSearchLookUpEdit1_EditValueChanged); + // + // 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 = 13; + 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 = 12; + 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 = 11; + 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 = 10; + this.gvMx1bld008.Width = 94; + // + // gvMx1bld007 + // + this.gvMx1bld007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1bld007.AppearanceCell.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); + this.gvMx1bld007.AppearanceCell.Options.UseFont = true; + this.gvMx1bld007.AppearanceCell.Options.UseForeColor = true; + this.gvMx1bld007.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1bld007.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1bld007.Caption = "鐢宠鏁伴噺 "; + this.gvMx1bld007.FieldName = "bld007"; + this.gvMx1bld007.MinWidth = 50; + this.gvMx1bld007.Name = "gvMx1bld007"; + this.gvMx1bld007.Tag = "yz_quantity_0"; + this.gvMx1bld007.Visible = true; + this.gvMx1bld007.VisibleIndex = 9; + 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 = 8; + 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 = 7; + 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 = 6; + 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 = 5; + 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 = 4; + 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 = 3; + 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 = "guid"; + 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.repositoryItemButtonEdit1}); + 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.dabGuid, + this.gvMxDel}); + 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; + // + // dabGuid + // + this.dabGuid.Caption = "gridColumn1"; + this.dabGuid.FieldName = "dabGuid"; + this.dabGuid.MinWidth = 25; + this.dabGuid.Name = "dabGuid"; + this.dabGuid.Visible = true; + this.dabGuid.VisibleIndex = 22; + this.dabGuid.Width = 94; + // + // gvMxDel + // + this.gvMxDel.Caption = "绉诲嚭"; + this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1; + this.gvMxDel.MinWidth = 25; + this.gvMxDel.Name = "gvMxDel"; + this.gvMxDel.Visible = true; + this.gvMxDel.VisibleIndex = 23; + this.gvMxDel.Width = 94; + // + // repositoryItemButtonEdit1 + // + this.repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); + this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; + this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); + // + // 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 = "guid"; + 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_MesItemCl + // + 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_MesItemCl"; + this.Text = "瓒呴鐢宠"; + ((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.repositoryItemButtonEdit1)).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; + private DevExpress.XtraGrid.Columns.GridColumn dabGuid; + private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs new file mode 100644 index 0000000..53ab1fd --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.cs @@ -0,0 +1,521 @@ +using DevExpress.Pdf.Native.BouncyCastle.Utilities.Collections; +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_MesItemCl : DevExpress.XtraEditors.XtraForm + { + string _webServiceName = "MesItemBlManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); + public Frm_MesItemCl() + { + 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("", + "WomdaaManager/GetListSelectDab", 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_blNo, gridView1, "blNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + mxGuid = Guid.Empty.ToString(), + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + UtilityHelper.JumpToTab(xtraTabControl1, 0); + getPageList(1); + } + + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + 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, "blNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + ToolBox.MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList); + } + /// <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 inGdId = txt_bl001.GetId();//宸ュ崟鍙� + string inCkId = txt_bl010.GetId();//鍙戞枡浠� + if (string.IsNullOrEmpty(inGdId)) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨宸ュ崟锛�"); + txt_bl001.Focus(); + return; + } + if (string.IsNullOrEmpty(inCkId)) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨浠撳簱锛�"); + txt_bl010.Focus(); + return; + } + var _obj = new + { + guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 + inGdId = inGdId,//宸ュ崟鍙� + inCkId = inCkId,//浠撳簱 + inYy = txt_bl007.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, + DabGuid= (row["dabGuid"].ToString()), + ItemId = (row["bld012"].ToString()), + Sqsl = (row["bld007"].ToString()), + Bz = (row["bld010"].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, "blNo"); + 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 repositoryItemSearchLookUpEdit1_EditValueChanged(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"]); + gvMx1.SetFocusedRowCellValue("dabGuid", SelectedDataRow["dabGuid"]); + } + + 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["id"].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); + } + } + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.resx b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemCl.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/DevFrm/Ck/Frm_MesItemClDj.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.Designer.cs new file mode 100644 index 0000000..432a105 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.Designer.cs @@ -0,0 +1,1159 @@ +/* Create By GS EasyCode */ +namespace Gs.DevApp.DevFrm +{ + partial class Frm_MesItemClDj + { + /// <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.gvMx2remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx2depotSectionCode = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx2depotCode = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx2quantity = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx2lotNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx2itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx2itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn(); + this.tabMxPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx2 = new DevExpress.XtraGrid.GridControl(); + this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gvMx1itemId = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1tlQty = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1rkQty = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1workNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1createDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1createBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1quantity = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1itemNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1guid = 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.lb_depotId = new DevExpress.XtraEditors.LabelControl(); + this.gv_pbillNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_boardItem = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_outType = new DevExpress.XtraEditors.LabelControl(); + this.txt_outType = new DevExpress.XtraEditors.TextEdit(); + this.gv_outType = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_workNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_workNo = new DevExpress.XtraEditors.TextEdit(); + this.gv_workNo = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_receiver = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_outPart = new DevExpress.XtraEditors.LabelControl(); + this.gv_outPart = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_outDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_checkDate = new DevExpress.XtraEditors.LabelControl(); + this.txt_checkDate = new DevExpress.XtraEditors.TextEdit(); + this.gv_checkDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_checkUser = new DevExpress.XtraEditors.LabelControl(); + this.txt_checkUser = new DevExpress.XtraEditors.TextEdit(); + this.gv_checkUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_reason = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_remark = new DevExpress.XtraEditors.LabelControl(); + this.txt_remark = new DevExpress.XtraEditors.TextEdit(); + this.gv_remark = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_createDate = new DevExpress.XtraEditors.LabelControl(); + this.txt_createDate = new DevExpress.XtraEditors.TextEdit(); + this.gv_createDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_createBy = new DevExpress.XtraEditors.LabelControl(); + this.txt_createBy = new DevExpress.XtraEditors.TextEdit(); + this.gv_createBy = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_status = new DevExpress.XtraEditors.LabelControl(); + this.gv_status = new DevExpress.XtraGrid.Columns.GridColumn(); + this.lb_taskNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_taskNo = new DevExpress.XtraEditors.TextEdit(); + this.lb_itemOutNo = new DevExpress.XtraEditors.LabelControl(); + this.txt_itemOutNo = new DevExpress.XtraEditors.TextEdit(); + this.gv_itemOutNo = 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.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + 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_outPart = new Gs.DevApp.UserControl.UcLookDepartment(); + this.depot_id = new Gs.DevApp.UserControl.UcLookCk(); + this.txt_status = new DevExpress.XtraEditors.CheckEdit(); + this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); + this.lbGuid = new System.Windows.Forms.Label(); + this.tabMxPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit(); + this.tabMxPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_outType.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_workNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_taskNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemOutNo.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_status.Properties)).BeginInit(); + this.SuspendLayout(); + // + // gvMx2remark + // + this.gvMx2remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2remark.AppearanceCell.Options.UseFont = true; + this.gvMx2remark.Caption = "澶囨敞 "; + this.gvMx2remark.FieldName = "remark"; + this.gvMx2remark.MinWidth = 50; + this.gvMx2remark.Name = "gvMx2remark"; + this.gvMx2remark.Tag = "query_a.REMARK"; + this.gvMx2remark.Visible = true; + this.gvMx2remark.VisibleIndex = 6; + this.gvMx2remark.Width = 94; + // + // gvMx2depotSectionCode + // + this.gvMx2depotSectionCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2depotSectionCode.AppearanceCell.Options.UseFont = true; + this.gvMx2depotSectionCode.Caption = "璐т綅缂栫爜 "; + this.gvMx2depotSectionCode.FieldName = "depotSectionCode"; + this.gvMx2depotSectionCode.MinWidth = 50; + this.gvMx2depotSectionCode.Name = "gvMx2depotSectionCode"; + this.gvMx2depotSectionCode.Tag = "query_a.DEPOT_SECTION_CODE"; + this.gvMx2depotSectionCode.Visible = true; + this.gvMx2depotSectionCode.VisibleIndex = 5; + this.gvMx2depotSectionCode.Width = 94; + // + // gvMx2depotCode + // + this.gvMx2depotCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2depotCode.AppearanceCell.Options.UseFont = true; + this.gvMx2depotCode.Caption = "浠撳簱缂栫爜 "; + this.gvMx2depotCode.FieldName = "depotCode"; + this.gvMx2depotCode.MinWidth = 50; + this.gvMx2depotCode.Name = "gvMx2depotCode"; + this.gvMx2depotCode.Tag = "query_a.DEPOT_CODE"; + this.gvMx2depotCode.Visible = true; + this.gvMx2depotCode.VisibleIndex = 4; + this.gvMx2depotCode.Width = 94; + // + // gvMx2quantity + // + this.gvMx2quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2quantity.AppearanceCell.Options.UseFont = true; + this.gvMx2quantity.Caption = "鏁伴噺"; + this.gvMx2quantity.FieldName = "quantity"; + this.gvMx2quantity.MinWidth = 50; + this.gvMx2quantity.Name = "gvMx2quantity"; + this.gvMx2quantity.Tag = "query_a.QUANTITY"; + this.gvMx2quantity.Visible = true; + this.gvMx2quantity.VisibleIndex = 3; + this.gvMx2quantity.Width = 94; + // + // gvMx2lotNo + // + this.gvMx2lotNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2lotNo.AppearanceCell.Options.UseFont = true; + this.gvMx2lotNo.Caption = "鐗╂枡鍚嶇О"; + this.gvMx2lotNo.FieldName = "lotNo"; + this.gvMx2lotNo.MinWidth = 50; + this.gvMx2lotNo.Name = "gvMx2lotNo"; + this.gvMx2lotNo.Tag = "query_a.LOT_NO"; + this.gvMx2lotNo.Visible = true; + this.gvMx2lotNo.VisibleIndex = 2; + this.gvMx2lotNo.Width = 94; + // + // gvMx2itemNo + // + this.gvMx2itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2itemNo.AppearanceCell.Options.UseFont = true; + this.gvMx2itemNo.Caption = "鐗╂枡缂栫爜"; + this.gvMx2itemNo.FieldName = "itemNo"; + this.gvMx2itemNo.MinWidth = 50; + this.gvMx2itemNo.Name = "gvMx2itemNo"; + this.gvMx2itemNo.Tag = "query_a.ITEM_NO"; + this.gvMx2itemNo.Visible = true; + this.gvMx2itemNo.VisibleIndex = 1; + this.gvMx2itemNo.Width = 94; + // + // gvMx2itemBarcode + // + this.gvMx2itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx2itemBarcode.AppearanceCell.Options.UseFont = true; + this.gvMx2itemBarcode.Caption = "鐗╂枡鏉$爜"; + this.gvMx2itemBarcode.FieldName = "itemBarcode"; + this.gvMx2itemBarcode.MinWidth = 50; + this.gvMx2itemBarcode.Name = "gvMx2itemBarcode"; + this.gvMx2itemBarcode.Tag = "query_a.ITEM_BARCODE"; + this.gvMx2itemBarcode.Visible = true; + this.gvMx2itemBarcode.VisibleIndex = 0; + this.gvMx2itemBarcode.Width = 94; + // + // tabMxPage2 + // + this.tabMxPage2.Controls.Add(this.gcMx2); + this.tabMxPage2.Name = "tabMxPage2"; + this.tabMxPage2.Size = new System.Drawing.Size(1124, 417); + this.tabMxPage2.Text = "鍑哄簱鏉$爜"; + // + // gcMx2 + // + this.gcMx2.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx2.Location = new System.Drawing.Point(0, 0); + this.gcMx2.MainView = this.gvMx2; + this.gcMx2.Name = "gcMx2"; + this.gcMx2.Size = new System.Drawing.Size(1124, 417); + this.gcMx2.TabIndex = 0; + this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx2}); + // + // gvMx2 + // + this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx2itemBarcode, + this.gvMx2itemNo, + this.gvMx2lotNo, + this.gvMx2quantity, + this.gvMx2depotCode, + this.gvMx2depotSectionCode, + this.gvMx2remark}); + this.gvMx2.GridControl = this.gcMx2; + this.gvMx2.Name = "gvMx2"; + this.gvMx2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; + this.gvMx2.OptionsFind.ShowSearchNavButtons = false; + this.gvMx2.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; + this.gvMx2.OptionsView.ShowGroupPanel = false; + // + // gvMx1itemId + // + this.gvMx1itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1itemId.AppearanceCell.Options.UseFont = true; + this.gvMx1itemId.Caption = "鐗╂枡ID "; + this.gvMx1itemId.FieldName = "itemId"; + this.gvMx1itemId.MinWidth = 50; + this.gvMx1itemId.Name = "gvMx1itemId"; + this.gvMx1itemId.Tag = "query_a.item_id"; + this.gvMx1itemId.Visible = true; + this.gvMx1itemId.VisibleIndex = 9; + this.gvMx1itemId.Width = 94; + // + // gvMx1tlQty + // + this.gvMx1tlQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1tlQty.AppearanceCell.Options.UseFont = true; + this.gvMx1tlQty.Caption = "宸叉壂鏁伴噺 "; + this.gvMx1tlQty.FieldName = "tlQty"; + this.gvMx1tlQty.MinWidth = 50; + this.gvMx1tlQty.Name = "gvMx1tlQty"; + this.gvMx1tlQty.Tag = "query_a.tl_qty"; + this.gvMx1tlQty.Visible = true; + this.gvMx1tlQty.VisibleIndex = 8; + this.gvMx1tlQty.Width = 94; + // + // gvMx1rkQty + // + this.gvMx1rkQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1rkQty.AppearanceCell.Options.UseFont = true; + this.gvMx1rkQty.Caption = "宸插叆搴撴暟 "; + this.gvMx1rkQty.FieldName = "rkQty"; + this.gvMx1rkQty.MinWidth = 50; + this.gvMx1rkQty.Name = "gvMx1rkQty"; + this.gvMx1rkQty.Tag = "query_a.rk_qty"; + this.gvMx1rkQty.Visible = true; + this.gvMx1rkQty.VisibleIndex = 7; + this.gvMx1rkQty.Width = 94; + // + // gvMx1workNo + // + this.gvMx1workNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1workNo.AppearanceCell.Options.UseFont = true; + this.gvMx1workNo.Caption = "浠诲姟鍗曞彿"; + this.gvMx1workNo.FieldName = "workNo"; + this.gvMx1workNo.MinWidth = 50; + this.gvMx1workNo.Name = "gvMx1workNo"; + this.gvMx1workNo.Tag = "query_a.work_no"; + this.gvMx1workNo.Visible = true; + this.gvMx1workNo.VisibleIndex = 6; + this.gvMx1workNo.Width = 94; + // + // gvMx1remark + // + this.gvMx1remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1remark.AppearanceCell.Options.UseFont = true; + this.gvMx1remark.Caption = "澶囨敞淇℃伅 "; + this.gvMx1remark.FieldName = "remark"; + this.gvMx1remark.MinWidth = 50; + this.gvMx1remark.Name = "gvMx1remark"; + this.gvMx1remark.Tag = "query_a.remark"; + this.gvMx1remark.Visible = true; + this.gvMx1remark.VisibleIndex = 5; + this.gvMx1remark.Width = 94; + // + // gvMx1createDate + // + this.gvMx1createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1createDate.AppearanceCell.Options.UseFont = true; + this.gvMx1createDate.Caption = "鐗╂枡瑙勬牸"; + this.gvMx1createDate.FieldName = "createDate"; + this.gvMx1createDate.MinWidth = 50; + this.gvMx1createDate.Name = "gvMx1createDate"; + this.gvMx1createDate.Tag = "query_a.create_date"; + this.gvMx1createDate.Visible = true; + this.gvMx1createDate.VisibleIndex = 4; + this.gvMx1createDate.Width = 94; + // + // gvMx1createBy + // + this.gvMx1createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1createBy.AppearanceCell.Options.UseFont = true; + this.gvMx1createBy.Caption = "鐗╂枡鍚嶇О"; + this.gvMx1createBy.FieldName = "createBy"; + this.gvMx1createBy.MinWidth = 50; + this.gvMx1createBy.Name = "gvMx1createBy"; + this.gvMx1createBy.Tag = "query_a.create_by"; + this.gvMx1createBy.Visible = true; + this.gvMx1createBy.VisibleIndex = 3; + this.gvMx1createBy.Width = 94; + // + // gvMx1quantity + // + this.gvMx1quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1quantity.AppearanceCell.Options.UseFont = true; + this.gvMx1quantity.Caption = "鐢宠鏁伴噺 "; + this.gvMx1quantity.FieldName = "quantity"; + this.gvMx1quantity.MinWidth = 50; + this.gvMx1quantity.Name = "gvMx1quantity"; + this.gvMx1quantity.Tag = "query_a.quantity"; + this.gvMx1quantity.Visible = true; + this.gvMx1quantity.VisibleIndex = 2; + this.gvMx1quantity.Width = 94; + // + // gvMx1itemNo + // + this.gvMx1itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1itemNo.AppearanceCell.Options.UseFont = true; + this.gvMx1itemNo.Caption = "鐗╂枡缂栧彿 "; + this.gvMx1itemNo.FieldName = "itemNo"; + this.gvMx1itemNo.MinWidth = 50; + this.gvMx1itemNo.Name = "gvMx1itemNo"; + this.gvMx1itemNo.Tag = "query_a.item_no"; + this.gvMx1itemNo.Visible = true; + this.gvMx1itemNo.VisibleIndex = 1; + this.gvMx1itemNo.Width = 94; + // + // gvMx1guid + // + this.gvMx1guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1guid.AppearanceCell.Options.UseFont = true; + this.gvMx1guid.Caption = "guid "; + this.gvMx1guid.FieldName = "guid"; + this.gvMx1guid.MinWidth = 50; + this.gvMx1guid.Name = "gvMx1guid"; + this.gvMx1guid.Tag = "query_a.guid"; + this.gvMx1guid.Visible = true; + this.gvMx1guid.VisibleIndex = 0; + this.gvMx1guid.Width = 94; + // + // tabMxPage1 + // + this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Name = "tabMxPage1"; + this.tabMxPage1.Size = new System.Drawing.Size(1124, 417); + this.tabMxPage1.Text = "鍑哄簱鏄庣粏"; + // + // 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.Size = new System.Drawing.Size(1124, 417); + 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.gvMx1guid, + this.gvMx1workNo, + this.gvMx1itemNo, + this.gvMx1createBy, + this.gvMx1createDate, + this.gvMx1quantity, + this.gvMx1remark, + this.gvMx1rkQty, + this.gvMx1tlQty, + this.gvMx1itemId}); + 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; + // + // lb_depotId + // + this.lb_depotId.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_depotId.Appearance.Options.UseFont = true; + this.lb_depotId.Location = new System.Drawing.Point(302, 51); + this.lb_depotId.Name = "lb_depotId"; + this.lb_depotId.Size = new System.Drawing.Size(34, 21); + this.lb_depotId.TabIndex = 571; + this.lb_depotId.Text = "浠撳簱"; + // + // gv_pbillNo + // + this.gv_pbillNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_pbillNo.AppearanceCell.Options.UseFont = true; + this.gv_pbillNo.Caption = "宸ュ崟鍗曞彿"; + this.gv_pbillNo.FieldName = "pbillNo"; + this.gv_pbillNo.MinWidth = 50; + this.gv_pbillNo.Name = "gv_pbillNo"; + this.gv_pbillNo.OptionsColumn.AllowEdit = false; + this.gv_pbillNo.Tag = "query_a.pbill_no"; + this.gv_pbillNo.Visible = true; + this.gv_pbillNo.VisibleIndex = 3; + this.gv_pbillNo.Width = 94; + // + // gv_boardItem + // + this.gv_boardItem.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_boardItem.AppearanceCell.Options.UseFont = true; + this.gv_boardItem.Caption = "浜у搧缂栫爜"; + this.gv_boardItem.FieldName = "boardItem"; + this.gv_boardItem.MinWidth = 50; + this.gv_boardItem.Name = "gv_boardItem"; + this.gv_boardItem.OptionsColumn.AllowEdit = false; + this.gv_boardItem.Tag = "query_a.board_item"; + this.gv_boardItem.Visible = true; + this.gv_boardItem.VisibleIndex = 4; + this.gv_boardItem.Width = 94; + // + // lb_outType + // + this.lb_outType.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_outType.Appearance.Options.UseFont = true; + this.lb_outType.Location = new System.Drawing.Point(263, 89); + this.lb_outType.Name = "lb_outType"; + this.lb_outType.Size = new System.Drawing.Size(73, 21); + this.lb_outType.TabIndex = 450; + this.lb_outType.Text = "鍑哄簱绫诲埆 "; + // + // txt_outType + // + this.txt_outType.Location = new System.Drawing.Point(342, 85); + this.txt_outType.Name = "txt_outType"; + this.txt_outType.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_outType.Properties.Appearance.Options.UseFont = true; + this.txt_outType.Size = new System.Drawing.Size(174, 28); + this.txt_outType.TabIndex = 450; + // + // gv_outType + // + this.gv_outType.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_outType.AppearanceCell.Options.UseFont = true; + this.gv_outType.Caption = "鍑哄簱绫诲埆 "; + this.gv_outType.FieldName = "outType"; + this.gv_outType.MinWidth = 50; + this.gv_outType.Name = "gv_outType"; + this.gv_outType.OptionsColumn.AllowEdit = false; + this.gv_outType.Tag = "query_a.out_type"; + this.gv_outType.Visible = true; + this.gv_outType.VisibleIndex = 7; + this.gv_outType.Width = 94; + // + // lb_workNo + // + this.lb_workNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_workNo.Appearance.Options.UseFont = true; + this.lb_workNo.Location = new System.Drawing.Point(20, 52); + this.lb_workNo.Name = "lb_workNo"; + this.lb_workNo.Size = new System.Drawing.Size(73, 21); + this.lb_workNo.TabIndex = 387; + this.lb_workNo.Text = "浠诲姟鍗曞彿 "; + // + // txt_workNo + // + this.txt_workNo.Location = new System.Drawing.Point(98, 48); + this.txt_workNo.Name = "txt_workNo"; + this.txt_workNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_workNo.Properties.Appearance.Options.UseFont = true; + this.txt_workNo.Size = new System.Drawing.Size(150, 28); + this.txt_workNo.TabIndex = 387; + // + // gv_workNo + // + this.gv_workNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_workNo.AppearanceCell.Options.UseFont = true; + this.gv_workNo.Caption = "浠诲姟鍗曞彿"; + this.gv_workNo.FieldName = "workNo"; + this.gv_workNo.MinWidth = 100; + this.gv_workNo.Name = "gv_workNo"; + this.gv_workNo.OptionsColumn.AllowEdit = false; + this.gv_workNo.Tag = "query_a.work_no"; + this.gv_workNo.Visible = true; + this.gv_workNo.VisibleIndex = 2; + this.gv_workNo.Width = 100; + // + // gv_receiver + // + this.gv_receiver.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_receiver.AppearanceCell.Options.UseFont = true; + this.gv_receiver.Caption = "棰嗘枡浜�"; + this.gv_receiver.FieldName = "receiver"; + this.gv_receiver.MinWidth = 50; + this.gv_receiver.Name = "gv_receiver"; + this.gv_receiver.OptionsColumn.AllowEdit = false; + this.gv_receiver.Tag = "query_a.receiver"; + this.gv_receiver.Visible = true; + this.gv_receiver.VisibleIndex = 10; + this.gv_receiver.Width = 94; + // + // lb_outPart + // + this.lb_outPart.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_outPart.Appearance.Options.UseFont = true; + this.lb_outPart.Location = new System.Drawing.Point(263, 20); + this.lb_outPart.Name = "lb_outPart"; + this.lb_outPart.Size = new System.Drawing.Size(73, 21); + this.lb_outPart.TabIndex = 319; + this.lb_outPart.Text = "棰嗘枡閮ㄩ棬 "; + // + // gv_outPart + // + this.gv_outPart.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_outPart.AppearanceCell.Options.UseFont = true; + this.gv_outPart.Caption = "棰嗘枡閮ㄩ棬 "; + this.gv_outPart.FieldName = "outPart"; + this.gv_outPart.MinWidth = 50; + this.gv_outPart.Name = "gv_outPart"; + this.gv_outPart.OptionsColumn.AllowEdit = false; + this.gv_outPart.Tag = "query_a.out_part"; + this.gv_outPart.Visible = true; + this.gv_outPart.VisibleIndex = 11; + this.gv_outPart.Width = 94; + // + // gv_outDate + // + this.gv_outDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_outDate.AppearanceCell.Options.UseFont = true; + this.gv_outDate.Caption = "鍑哄簱鏃ユ湡 "; + this.gv_outDate.FieldName = "outDate"; + this.gv_outDate.MinWidth = 120; + this.gv_outDate.Name = "gv_outDate"; + this.gv_outDate.OptionsColumn.AllowEdit = false; + this.gv_outDate.Tag = "query_a.out_date"; + this.gv_outDate.Visible = true; + this.gv_outDate.VisibleIndex = 6; + this.gv_outDate.Width = 120; + // + // lb_checkDate + // + this.lb_checkDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_checkDate.Appearance.Options.UseFont = true; + this.lb_checkDate.Location = new System.Drawing.Point(773, 52); + this.lb_checkDate.Name = "lb_checkDate"; + this.lb_checkDate.Size = new System.Drawing.Size(73, 21); + this.lb_checkDate.TabIndex = 262; + this.lb_checkDate.Text = "瀹℃牳鏃ユ湡 "; + // + // txt_checkDate + // + this.txt_checkDate.Location = new System.Drawing.Point(850, 48); + this.txt_checkDate.Name = "txt_checkDate"; + this.txt_checkDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_checkDate.Properties.Appearance.Options.UseFont = true; + this.txt_checkDate.Size = new System.Drawing.Size(168, 28); + this.txt_checkDate.TabIndex = 262; + // + // gv_checkDate + // + this.gv_checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_checkDate.AppearanceCell.Options.UseFont = true; + this.gv_checkDate.Caption = "瀹℃牳鏃ユ湡 "; + this.gv_checkDate.FieldName = "checkDate"; + this.gv_checkDate.MinWidth = 120; + this.gv_checkDate.Name = "gv_checkDate"; + this.gv_checkDate.OptionsColumn.AllowEdit = false; + this.gv_checkDate.Tag = "query_a.check_date"; + this.gv_checkDate.Visible = true; + this.gv_checkDate.VisibleIndex = 9; + this.gv_checkDate.Width = 120; + // + // lb_checkUser + // + this.lb_checkUser.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_checkUser.Appearance.Options.UseFont = true; + this.lb_checkUser.Location = new System.Drawing.Point(790, 20); + this.lb_checkUser.Name = "lb_checkUser"; + this.lb_checkUser.Size = new System.Drawing.Size(56, 21); + this.lb_checkUser.TabIndex = 258; + this.lb_checkUser.Text = "瀹℃牳浜� "; + // + // txt_checkUser + // + this.txt_checkUser.Location = new System.Drawing.Point(850, 16); + this.txt_checkUser.Name = "txt_checkUser"; + this.txt_checkUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_checkUser.Properties.Appearance.Options.UseFont = true; + this.txt_checkUser.Size = new System.Drawing.Size(168, 28); + this.txt_checkUser.TabIndex = 258; + // + // gv_checkUser + // + this.gv_checkUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_checkUser.AppearanceCell.Options.UseFont = true; + this.gv_checkUser.Caption = "瀹℃牳浜� "; + this.gv_checkUser.FieldName = "checkUser"; + this.gv_checkUser.MinWidth = 50; + this.gv_checkUser.Name = "gv_checkUser"; + this.gv_checkUser.OptionsColumn.AllowEdit = false; + this.gv_checkUser.Tag = "query_a.check_user"; + this.gv_checkUser.Visible = true; + this.gv_checkUser.VisibleIndex = 8; + this.gv_checkUser.Width = 94; + // + // gv_reason + // + this.gv_reason.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_reason.AppearanceCell.Options.UseFont = true; + this.gv_reason.Caption = "鍑哄簱鍘熷洜 "; + this.gv_reason.FieldName = "reason"; + this.gv_reason.MinWidth = 50; + this.gv_reason.Name = "gv_reason"; + this.gv_reason.OptionsColumn.AllowEdit = false; + this.gv_reason.Tag = "query_a.reason"; + this.gv_reason.Visible = true; + this.gv_reason.VisibleIndex = 15; + this.gv_reason.Width = 94; + // + // lb_remark + // + this.lb_remark.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_remark.Appearance.Options.UseFont = true; + this.lb_remark.Location = new System.Drawing.Point(522, 83); + this.lb_remark.Name = "lb_remark"; + this.lb_remark.Size = new System.Drawing.Size(73, 21); + this.lb_remark.TabIndex = 243; + this.lb_remark.Text = "澶囨敞淇℃伅 "; + // + // txt_remark + // + this.txt_remark.Location = new System.Drawing.Point(599, 79); + this.txt_remark.Name = "txt_remark"; + this.txt_remark.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_remark.Properties.Appearance.Options.UseFont = true; + this.txt_remark.Size = new System.Drawing.Size(171, 28); + this.txt_remark.TabIndex = 243; + // + // gv_remark + // + this.gv_remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_remark.AppearanceCell.Options.UseFont = true; + this.gv_remark.Caption = "澶囨敞淇℃伅 "; + this.gv_remark.FieldName = "remark"; + this.gv_remark.MinWidth = 50; + this.gv_remark.Name = "gv_remark"; + this.gv_remark.OptionsColumn.AllowEdit = false; + this.gv_remark.Tag = "query_a.remark"; + this.gv_remark.Visible = true; + this.gv_remark.VisibleIndex = 14; + this.gv_remark.Width = 94; + // + // lb_createDate + // + this.lb_createDate.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createDate.Appearance.Options.UseFont = true; + this.lb_createDate.Location = new System.Drawing.Point(522, 52); + this.lb_createDate.Name = "lb_createDate"; + this.lb_createDate.Size = new System.Drawing.Size(73, 21); + this.lb_createDate.TabIndex = 226; + this.lb_createDate.Text = "鍒涘缓鏃堕棿 "; + // + // txt_createDate + // + this.txt_createDate.Location = new System.Drawing.Point(599, 48); + this.txt_createDate.Name = "txt_createDate"; + this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createDate.Properties.Appearance.Options.UseFont = true; + this.txt_createDate.Size = new System.Drawing.Size(171, 28); + this.txt_createDate.TabIndex = 226; + // + // gv_createDate + // + this.gv_createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createDate.AppearanceCell.Options.UseFont = true; + this.gv_createDate.Caption = "鍒涘缓鏃堕棿"; + this.gv_createDate.FieldName = "createDate"; + this.gv_createDate.MinWidth = 50; + this.gv_createDate.Name = "gv_createDate"; + this.gv_createDate.OptionsColumn.AllowEdit = false; + this.gv_createDate.Tag = "query_a.create_date"; + this.gv_createDate.Visible = true; + this.gv_createDate.VisibleIndex = 13; + this.gv_createDate.Width = 94; + // + // lb_createBy + // + this.lb_createBy.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_createBy.Appearance.Options.UseFont = true; + this.lb_createBy.Location = new System.Drawing.Point(539, 20); + this.lb_createBy.Name = "lb_createBy"; + this.lb_createBy.Size = new System.Drawing.Size(56, 21); + this.lb_createBy.TabIndex = 222; + this.lb_createBy.Text = "鍒涘缓浜� "; + // + // txt_createBy + // + this.txt_createBy.Location = new System.Drawing.Point(599, 16); + this.txt_createBy.Name = "txt_createBy"; + this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_createBy.Properties.Appearance.Options.UseFont = true; + this.txt_createBy.Size = new System.Drawing.Size(171, 28); + this.txt_createBy.TabIndex = 222; + // + // gv_createBy + // + this.gv_createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_createBy.AppearanceCell.Options.UseFont = true; + this.gv_createBy.Caption = "鍒涘缓浜�"; + this.gv_createBy.FieldName = "createBy"; + this.gv_createBy.MinWidth = 50; + this.gv_createBy.Name = "gv_createBy"; + this.gv_createBy.OptionsColumn.AllowEdit = false; + this.gv_createBy.Tag = "query_a.create_by"; + this.gv_createBy.Visible = true; + this.gv_createBy.VisibleIndex = 12; + this.gv_createBy.Width = 94; + // + // lb_status + // + this.lb_status.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_status.Appearance.Options.UseFont = true; + this.lb_status.Location = new System.Drawing.Point(807, 86); + this.lb_status.Name = "lb_status"; + this.lb_status.Size = new System.Drawing.Size(39, 21); + this.lb_status.TabIndex = 219; + this.lb_status.Text = "瀹℃牳 "; + // + // gv_status + // + this.gv_status.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_status.AppearanceCell.Options.UseFont = true; + this.gv_status.Caption = "瀹℃牳鏍囪瘑"; + this.gv_status.FieldName = "status"; + this.gv_status.MinWidth = 50; + this.gv_status.Name = "gv_status"; + this.gv_status.OptionsColumn.AllowEdit = false; + this.gv_status.Tag = "query_a.status"; + this.gv_status.Visible = true; + this.gv_status.VisibleIndex = 0; + this.gv_status.Width = 94; + // + // lb_taskNo + // + this.lb_taskNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_taskNo.Appearance.Options.UseFont = true; + this.lb_taskNo.Location = new System.Drawing.Point(20, 86); + this.lb_taskNo.Name = "lb_taskNo"; + this.lb_taskNo.Size = new System.Drawing.Size(73, 21); + this.lb_taskNo.TabIndex = 216; + this.lb_taskNo.Text = "鐢熶骇璁㈠崟 "; + // + // txt_taskNo + // + this.txt_taskNo.Location = new System.Drawing.Point(98, 82); + this.txt_taskNo.Name = "txt_taskNo"; + this.txt_taskNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_taskNo.Properties.Appearance.Options.UseFont = true; + this.txt_taskNo.Size = new System.Drawing.Size(150, 28); + this.txt_taskNo.TabIndex = 216; + // + // lb_itemOutNo + // + this.lb_itemOutNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.lb_itemOutNo.Appearance.Options.UseFont = true; + this.lb_itemOutNo.Location = new System.Drawing.Point(20, 20); + this.lb_itemOutNo.Name = "lb_itemOutNo"; + this.lb_itemOutNo.Size = new System.Drawing.Size(73, 21); + this.lb_itemOutNo.TabIndex = 213; + this.lb_itemOutNo.Text = "鍑哄簱鍗曞彿 "; + // + // txt_itemOutNo + // + this.txt_itemOutNo.Location = new System.Drawing.Point(98, 16); + this.txt_itemOutNo.Name = "txt_itemOutNo"; + this.txt_itemOutNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_itemOutNo.Properties.Appearance.Options.UseFont = true; + this.txt_itemOutNo.Size = new System.Drawing.Size(150, 28); + this.txt_itemOutNo.TabIndex = 213; + // + // gv_itemOutNo + // + this.gv_itemOutNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_itemOutNo.AppearanceCell.Options.UseFont = true; + this.gv_itemOutNo.Caption = "鍑哄簱鍗曞彿"; + this.gv_itemOutNo.FieldName = "itemOutNo"; + this.gv_itemOutNo.MinWidth = 100; + this.gv_itemOutNo.Name = "gv_itemOutNo"; + this.gv_itemOutNo.OptionsColumn.AllowEdit = false; + this.gv_itemOutNo.Tag = "query_a.item_out_no"; + this.gv_itemOutNo.Visible = true; + this.gv_itemOutNo.VisibleIndex = 1; + this.gv_itemOutNo.Width = 150; + // + // 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_status, + this.gv_itemOutNo, + this.gv_workNo, + this.gv_pbillNo, + this.gv_boardItem, + this.gridColumn1, + this.gv_outDate, + this.gv_outType, + this.gv_checkUser, + this.gv_checkDate, + this.gv_receiver, + this.gv_outPart, + this.gv_createBy, + this.gv_createDate, + this.gv_remark, + this.gv_reason}); + 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; + // + // gridColumn1 + // + this.gridColumn1.Caption = "浜у搧鍚嶇О"; + this.gridColumn1.MinWidth = 120; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 5; + this.gridColumn1.Width = 120; + // + // 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.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, 121); + this.tabMx.Name = "tabMx"; + this.tabMx.SelectedTabPage = this.tabMxPage1; + this.tabMx.Size = new System.Drawing.Size(1126, 449); + this.tabMx.TabIndex = 2; + this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabMxPage1, + this.tabMxPage2}); + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.White; + this.panel1.Controls.Add(this.txt_outPart); + this.panel1.Controls.Add(this.depot_id); + this.panel1.Controls.Add(this.txt_status); + this.panel1.Controls.Add(this.labelControl11); + this.panel1.Controls.Add(this.lbGuid); + this.panel1.Controls.Add(this.lb_depotId); + this.panel1.Controls.Add(this.lb_outType); + this.panel1.Controls.Add(this.txt_outType); + this.panel1.Controls.Add(this.lb_workNo); + this.panel1.Controls.Add(this.txt_workNo); + this.panel1.Controls.Add(this.lb_outPart); + this.panel1.Controls.Add(this.lb_checkDate); + this.panel1.Controls.Add(this.txt_checkDate); + this.panel1.Controls.Add(this.lb_checkUser); + this.panel1.Controls.Add(this.txt_checkUser); + this.panel1.Controls.Add(this.lb_remark); + this.panel1.Controls.Add(this.txt_remark); + this.panel1.Controls.Add(this.lb_createDate); + this.panel1.Controls.Add(this.txt_createDate); + this.panel1.Controls.Add(this.lb_createBy); + this.panel1.Controls.Add(this.txt_createBy); + this.panel1.Controls.Add(this.lb_status); + this.panel1.Controls.Add(this.lb_taskNo); + this.panel1.Controls.Add(this.txt_taskNo); + this.panel1.Controls.Add(this.lb_itemOutNo); + this.panel1.Controls.Add(this.txt_itemOutNo); + 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, 121); + this.panel1.TabIndex = 1; + // + // txt_outPart + // + this.txt_outPart.IsReadly = false; + this.txt_outPart.Location = new System.Drawing.Point(342, 19); + this.txt_outPart.Name = "txt_outPart"; + this.txt_outPart.Size = new System.Drawing.Size(174, 28); + this.txt_outPart.TabIndex = 574; + // + // depot_id + // + this.depot_id.IsReadly = false; + this.depot_id.Location = new System.Drawing.Point(342, 51); + this.depot_id.Margin = new System.Windows.Forms.Padding(0); + this.depot_id.Name = "depot_id"; + this.depot_id.Size = new System.Drawing.Size(174, 28); + this.depot_id.TabIndex = 573; + // + // txt_status + // + this.txt_status.Location = new System.Drawing.Point(850, 84); + this.txt_status.Name = "txt_status"; + this.txt_status.Properties.Caption = ""; + this.txt_status.Size = new System.Drawing.Size(44, 24); + this.txt_status.TabIndex = 572; + // + // labelControl11 + // + this.labelControl11.Location = new System.Drawing.Point(919, 86); + 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 = "涓婚敭锛�"; + this.labelControl11.Visible = false; + // + // lbGuid + // + this.lbGuid.AutoSize = true; + this.lbGuid.Location = new System.Drawing.Point(970, 86); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(0, 21); + this.lbGuid.TabIndex = 1; + this.lbGuid.Visible = false; + // + // Frm_MesInvItemOut_SCLL + // + 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_MesInvItemOut_SCLL"; + this.Text = "鐢熶骇棰嗘枡鍗�"; + this.tabMxPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit(); + this.tabMxPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_outType.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_workNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createDate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_createBy.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_taskNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_itemOutNo.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_status.Properties)).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; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2remark; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotSectionCode; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotCode; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2quantity; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2lotNo; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemNo; + private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemBarcode; + private DevExpress.XtraTab.XtraTabPage tabMxPage2; + private DevExpress.XtraGrid.GridControl gcMx2; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx2; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemId; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1tlQty; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1rkQty; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1workNo; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1remark; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1createDate; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1createBy; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1quantity; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemNo; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid; + private DevExpress.XtraTab.XtraTabPage tabMxPage1; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraEditors.LabelControl lb_depotId; + private DevExpress.XtraGrid.Columns.GridColumn gv_pbillNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_boardItem; + + private DevExpress.XtraEditors.LabelControl lb_outType; + private DevExpress.XtraEditors.TextEdit txt_outType; + private DevExpress.XtraGrid.Columns.GridColumn gv_outType; + + private DevExpress.XtraEditors.LabelControl lb_workNo; + private DevExpress.XtraEditors.TextEdit txt_workNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_workNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_receiver; + + private DevExpress.XtraEditors.LabelControl lb_outPart; + private DevExpress.XtraGrid.Columns.GridColumn gv_outPart; + private DevExpress.XtraGrid.Columns.GridColumn gv_outDate; + + private DevExpress.XtraEditors.LabelControl lb_checkDate; + private DevExpress.XtraEditors.TextEdit txt_checkDate; + private DevExpress.XtraGrid.Columns.GridColumn gv_checkDate; + + private DevExpress.XtraEditors.LabelControl lb_checkUser; + private DevExpress.XtraEditors.TextEdit txt_checkUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_checkUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_reason; + + private DevExpress.XtraEditors.LabelControl lb_remark; + private DevExpress.XtraEditors.TextEdit txt_remark; + private DevExpress.XtraGrid.Columns.GridColumn gv_remark; + + private DevExpress.XtraEditors.LabelControl lb_createDate; + private DevExpress.XtraEditors.TextEdit txt_createDate; + private DevExpress.XtraGrid.Columns.GridColumn gv_createDate; + + private DevExpress.XtraEditors.LabelControl lb_createBy; + private DevExpress.XtraEditors.TextEdit txt_createBy; + private DevExpress.XtraGrid.Columns.GridColumn gv_createBy; + + private DevExpress.XtraEditors.LabelControl lb_status; + private DevExpress.XtraGrid.Columns.GridColumn gv_status; + + private DevExpress.XtraEditors.LabelControl lb_taskNo; + private DevExpress.XtraEditors.TextEdit txt_taskNo; + + private DevExpress.XtraEditors.LabelControl lb_itemOutNo; + private DevExpress.XtraEditors.TextEdit txt_itemOutNo; + private DevExpress.XtraGrid.Columns.GridColumn gv_itemOutNo; + private DevExpress.XtraEditors.CheckEdit txt_status; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + private UserControl.UcLookCk depot_id; + private UserControl.UcLookDepartment txt_outPart; + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.cs new file mode 100644 index 0000000..47b0a86 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.cs @@ -0,0 +1,337 @@ +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_MesItemClDj : DevExpress.XtraEditors.XtraForm + { + string _webServiceName = "MesItemBlDJManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); + public Frm_MesItemClDj() + { + InitializeComponent(); + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; + toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + 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; + depot_id.getSuppler(""); + } + + 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_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="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_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="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "item_out_no", "asc", "", _sbSqlWhere.ToString()); + string json = JsonConvert.SerializeObject(pgq); + try + { + string 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.Warning("鎻愮ず锛�" + 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); + gvList.Add(gvMx2); + 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); + } + JArray array1 = new JArray(); + foreach (var a in _job["rtnData"]["list2"]) + { + array1.Add(a); + } + DataTable dt1 = JsonConvert.DeserializeObject<DataTable>(array1.ToString()); + if (dt1.Rows.Count > 0) + { + gcMx2.BindingContext = new BindingContext(); + gcMx2.DataSource = dt1; + gcMx2.ForceInitialize(); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2); + } + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) + { + gvMx2.CloseEditor(); + gvMx2.UpdateCurrentRow(); + var rowhandle = gvMx2.FocusedRowHandle; + if (rowhandle < 0) + return; + if (e.Button.Index == 0) + { + var dr = gvMx2.GetDataRow(rowhandle); + var mxGuid = dr["guid"].ToString(); + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) + return; + if (string.IsNullOrEmpty(mxGuid)) + { + gvMx2.DeleteRow(rowhandle); + return; + } + var strJson = ""; + var lst = new List<string>(); + lst.Add(mxGuid); + try + { + strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelMx2", + JsonConvert.SerializeObject(lst)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) getModel(lbGuid.Text); + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } + + /// <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_itemOutNo, gridView1, "billNo"); + 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); + } + + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.resx b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.resx new file mode 100644 index 0000000..d58980a --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemClDj.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 0424053..a9e2f14 100644 --- a/DevApp/Gs.DevApp/Gs.DevApp.csproj +++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj @@ -254,17 +254,29 @@ <Compile Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.Designer.cs"> <DependentUpon>Frm_MesInvItemOut_SCLL.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_MesItemBlDJ.cs"> <SubType>Form</SubType> </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemBlDJ.Designer.cs"> <DependentUpon>Frm_MesItemBlDJ.cs</DependentUpon> </Compile> - <Compile Include="DevFrm\Ck\Frm_MesItemBl.cs"> + <Compile Include="DevFrm\Ck\Frm_MesItemClDj.cs"> <SubType>Form</SubType> </Compile> - <Compile Include="DevFrm\Ck\Frm_MesItemBl.Designer.cs"> - <DependentUpon>Frm_MesItemBl.cs</DependentUpon> + <Compile Include="DevFrm\Ck\Frm_MesItemClDj.Designer.cs"> + <DependentUpon>Frm_MesItemClDj.cs</DependentUpon> + </Compile> + <Compile Include="DevFrm\Ck\Frm_MesItemCl.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DevFrm\Ck\Frm_MesItemCl.Designer.cs"> + <DependentUpon>Frm_MesItemCl.cs</DependentUpon> </Compile> <Compile Include="DevFrm\Ck\Frm_MesItemQtCk.cs"> <SubType>Form</SubType> @@ -809,11 +821,17 @@ <EmbeddedResource Include="DevFrm\Ck\Frm_MesInvItemOut_SCLL.resx"> <DependentUpon>Frm_MesInvItemOut_SCLL.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBl.resx"> + <DependentUpon>Frm_MesItemBl.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBlDJ.resx"> <DependentUpon>Frm_MesItemBlDJ.cs</DependentUpon> </EmbeddedResource> - <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemBl.resx"> - <DependentUpon>Frm_MesItemBl.cs</DependentUpon> + <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemClDj.resx"> + <DependentUpon>Frm_MesItemClDj.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemCl.resx"> + <DependentUpon>Frm_MesItemCl.cs</DependentUpon> </EmbeddedResource> <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemQtCk.resx"> <DependentUpon>Frm_MesItemQtCk.cs</DependentUpon> -- Gitblit v1.9.3