lu
2024-12-26 418a7e4fadb14ac4e22394c497d7b88530c18df0
委外
已添加3个文件
已修改3个文件
2745 ■■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.Designer.cs 269 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.Designer.cs 1663 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs 652 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.resx 120 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/Gs.DevApp.csproj 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.Designer.cs
@@ -29,11 +29,11 @@
        /// </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();
            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();
            this.gvMx1tld009 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld007 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld006 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -114,7 +114,6 @@
            this.lb_billNo = new DevExpress.XtraEditors.LabelControl();
            this.txt_billNo = new DevExpress.XtraEditors.TextEdit();
            this.gv_billNo = 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();
@@ -124,6 +123,13 @@
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.tabMx = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx2 = new DevExpress.XtraGrid.GridControl();
            this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1quantity = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1createBy = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1lotDate = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panel1 = new System.Windows.Forms.Panel();
            this.txt_tbl020 = new DevExpress.XtraEditors.CheckEdit();
            this.txt_tbl013 = new DevExpress.XtraEditors.CheckEdit();
@@ -133,6 +139,10 @@
            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.lbGuid = new System.Windows.Forms.Label();
            this.picCheckBox = new System.Windows.Forms.PictureBox();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.tabMxPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
@@ -163,6 +173,9 @@
            this.xtraTabPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
            this.tabMx.SuspendLayout();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl020.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl013.Properties)).BeginInit();
@@ -180,7 +193,7 @@
            this.gvMx1tld009.Name = "gvMx1tld009";
            this.gvMx1tld009.Tag = "query_a.tld009";
            this.gvMx1tld009.Visible = true;
            this.gvMx1tld009.VisibleIndex = 8;
            this.gvMx1tld009.VisibleIndex = 7;
            this.gvMx1tld009.Width = 94;
            // 
            // gvMx1tld007
@@ -193,7 +206,7 @@
            this.gvMx1tld007.Name = "gvMx1tld007";
            this.gvMx1tld007.Tag = "query_a.tld007";
            this.gvMx1tld007.Visible = true;
            this.gvMx1tld007.VisibleIndex = 7;
            this.gvMx1tld007.VisibleIndex = 6;
            this.gvMx1tld007.Width = 94;
            // 
            // gvMx1tld006
@@ -206,7 +219,7 @@
            this.gvMx1tld006.Name = "gvMx1tld006";
            this.gvMx1tld006.Tag = "query_a.tld006";
            this.gvMx1tld006.Visible = true;
            this.gvMx1tld006.VisibleIndex = 6;
            this.gvMx1tld006.VisibleIndex = 5;
            this.gvMx1tld006.Width = 94;
            // 
            // gvMx1tld005
@@ -223,7 +236,7 @@
            this.gvMx1tld005.Name = "gvMx1tld005";
            this.gvMx1tld005.Tag = "edit";
            this.gvMx1tld005.Visible = true;
            this.gvMx1tld005.VisibleIndex = 5;
            this.gvMx1tld005.VisibleIndex = 4;
            this.gvMx1tld005.Width = 94;
            // 
            // gvMx1tld004
@@ -236,7 +249,7 @@
            this.gvMx1tld004.Name = "gvMx1tld004";
            this.gvMx1tld004.Tag = "query_a.tld004";
            this.gvMx1tld004.Visible = true;
            this.gvMx1tld004.VisibleIndex = 4;
            this.gvMx1tld004.VisibleIndex = 3;
            this.gvMx1tld004.Width = 94;
            // 
            // gvMx1tld003
@@ -249,7 +262,7 @@
            this.gvMx1tld003.Name = "gvMx1tld003";
            this.gvMx1tld003.Tag = "query_a.tld003";
            this.gvMx1tld003.Visible = true;
            this.gvMx1tld003.VisibleIndex = 3;
            this.gvMx1tld003.VisibleIndex = 2;
            this.gvMx1tld003.Width = 94;
            // 
            // gvMx1tld002
@@ -262,7 +275,7 @@
            this.gvMx1tld002.Name = "gvMx1tld002";
            this.gvMx1tld002.Tag = "query_a.tld002";
            this.gvMx1tld002.Visible = true;
            this.gvMx1tld002.VisibleIndex = 2;
            this.gvMx1tld002.VisibleIndex = 1;
            this.gvMx1tld002.Width = 94;
            // 
            // gvMx1tld001
@@ -275,7 +288,7 @@
            this.gvMx1tld001.Name = "gvMx1tld001";
            this.gvMx1tld001.Tag = "query_a.tld001";
            this.gvMx1tld001.Visible = true;
            this.gvMx1tld001.VisibleIndex = 1;
            this.gvMx1tld001.VisibleIndex = 0;
            this.gvMx1tld001.Width = 94;
            // 
            // gvMx1tlid
@@ -287,8 +300,6 @@
            this.gvMx1tlid.MinWidth = 50;
            this.gvMx1tlid.Name = "gvMx1tlid";
            this.gvMx1tlid.Tag = "query_a.tlid";
            this.gvMx1tlid.Visible = true;
            this.gvMx1tlid.VisibleIndex = 0;
            this.gvMx1tlid.Width = 94;
            // 
            // tabMxPage1
@@ -341,8 +352,6 @@
            this.gridColumn3.FieldName = "aboutGuid";
            this.gridColumn3.MinWidth = 25;
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.Visible = true;
            this.gridColumn3.VisibleIndex = 11;
            this.gridColumn3.Width = 94;
            // 
            // gridColumn1
@@ -351,7 +360,7 @@
            this.gridColumn1.MinWidth = 25;
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 9;
            this.gridColumn1.VisibleIndex = 8;
            this.gridColumn1.Width = 94;
            // 
            // gridColumn2
@@ -360,7 +369,7 @@
            this.gridColumn2.MinWidth = 25;
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 10;
            this.gridColumn2.VisibleIndex = 9;
            this.gridColumn2.Width = 94;
            // 
            // gvMxDel
@@ -370,16 +379,16 @@
            this.gvMxDel.MinWidth = 25;
            this.gvMxDel.Name = "gvMxDel";
            this.gvMxDel.Visible = true;
            this.gvMxDel.VisibleIndex = 12;
            this.gvMxDel.VisibleIndex = 10;
            this.gvMxDel.Width = 94;
            // 
            // repositoryItemButtonEdit1
            // 
            this.repositoryItemButtonEdit1.AutoHeight = false;
            editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
            editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
            editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
            editorButtonImageOptions2.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)});
            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)});
            this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
            this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
            this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick);
@@ -581,7 +590,7 @@
            this.gv_tbl022.OptionsColumn.AllowEdit = false;
            this.gv_tbl022.Tag = "query_a.tbl022";
            this.gv_tbl022.Visible = true;
            this.gv_tbl022.VisibleIndex = 24;
            this.gv_tbl022.VisibleIndex = 23;
            this.gv_tbl022.Width = 94;
            // 
            // gv_itemId
@@ -595,7 +604,7 @@
            this.gv_itemId.OptionsColumn.AllowEdit = false;
            this.gv_itemId.Tag = "query_a.item_id";
            this.gv_itemId.Visible = true;
            this.gv_itemId.VisibleIndex = 23;
            this.gv_itemId.VisibleIndex = 22;
            this.gv_itemId.Width = 94;
            // 
            // lb_tbl021
@@ -629,7 +638,7 @@
            this.gv_tbl021.OptionsColumn.AllowEdit = false;
            this.gv_tbl021.Tag = "query_a.tbl021";
            this.gv_tbl021.Visible = true;
            this.gv_tbl021.VisibleIndex = 22;
            this.gv_tbl021.VisibleIndex = 21;
            this.gv_tbl021.Width = 94;
            // 
            // lb_tbl020
@@ -653,7 +662,7 @@
            this.gv_tbl020.OptionsColumn.AllowEdit = false;
            this.gv_tbl020.Tag = "query_a.tbl020";
            this.gv_tbl020.Visible = true;
            this.gv_tbl020.VisibleIndex = 21;
            this.gv_tbl020.VisibleIndex = 20;
            this.gv_tbl020.Width = 94;
            // 
            // gv_tbl019
@@ -667,7 +676,7 @@
            this.gv_tbl019.OptionsColumn.AllowEdit = false;
            this.gv_tbl019.Tag = "query_a.tbl019";
            this.gv_tbl019.Visible = true;
            this.gv_tbl019.VisibleIndex = 20;
            this.gv_tbl019.VisibleIndex = 19;
            this.gv_tbl019.Width = 94;
            // 
            // gv_tbl018
@@ -681,7 +690,7 @@
            this.gv_tbl018.OptionsColumn.AllowEdit = false;
            this.gv_tbl018.Tag = "query_a.tbl018";
            this.gv_tbl018.Visible = true;
            this.gv_tbl018.VisibleIndex = 19;
            this.gv_tbl018.VisibleIndex = 18;
            this.gv_tbl018.Width = 94;
            // 
            // gv_tbl017
@@ -695,7 +704,7 @@
            this.gv_tbl017.OptionsColumn.AllowEdit = false;
            this.gv_tbl017.Tag = "query_a.tbl017";
            this.gv_tbl017.Visible = true;
            this.gv_tbl017.VisibleIndex = 18;
            this.gv_tbl017.VisibleIndex = 17;
            this.gv_tbl017.Width = 94;
            // 
            // gv_tbl016
@@ -709,7 +718,7 @@
            this.gv_tbl016.OptionsColumn.AllowEdit = false;
            this.gv_tbl016.Tag = "query_a.tbl016";
            this.gv_tbl016.Visible = true;
            this.gv_tbl016.VisibleIndex = 17;
            this.gv_tbl016.VisibleIndex = 16;
            this.gv_tbl016.Width = 94;
            // 
            // gv_tbl015
@@ -723,7 +732,7 @@
            this.gv_tbl015.OptionsColumn.AllowEdit = false;
            this.gv_tbl015.Tag = "query_a.tbl015";
            this.gv_tbl015.Visible = true;
            this.gv_tbl015.VisibleIndex = 16;
            this.gv_tbl015.VisibleIndex = 15;
            this.gv_tbl015.Width = 94;
            // 
            // gv_tbl014
@@ -737,7 +746,7 @@
            this.gv_tbl014.OptionsColumn.AllowEdit = false;
            this.gv_tbl014.Tag = "query_a.tbl014";
            this.gv_tbl014.Visible = true;
            this.gv_tbl014.VisibleIndex = 15;
            this.gv_tbl014.VisibleIndex = 14;
            this.gv_tbl014.Width = 94;
            // 
            // lb_tbl013
@@ -761,7 +770,7 @@
            this.gv_tbl013.OptionsColumn.AllowEdit = false;
            this.gv_tbl013.Tag = "query_a.tbl013";
            this.gv_tbl013.Visible = true;
            this.gv_tbl013.VisibleIndex = 14;
            this.gv_tbl013.VisibleIndex = 13;
            this.gv_tbl013.Width = 94;
            // 
            // lb_tbl012
@@ -795,7 +804,7 @@
            this.gv_tbl012.OptionsColumn.AllowEdit = false;
            this.gv_tbl012.Tag = "query_a.tbl012";
            this.gv_tbl012.Visible = true;
            this.gv_tbl012.VisibleIndex = 13;
            this.gv_tbl012.VisibleIndex = 12;
            this.gv_tbl012.Width = 94;
            // 
            // lb_tbl011
@@ -829,7 +838,7 @@
            this.gv_tbl011.OptionsColumn.AllowEdit = false;
            this.gv_tbl011.Tag = "query_a.tbl011";
            this.gv_tbl011.Visible = true;
            this.gv_tbl011.VisibleIndex = 12;
            this.gv_tbl011.VisibleIndex = 11;
            this.gv_tbl011.Width = 94;
            // 
            // gv_tbl010
@@ -843,7 +852,7 @@
            this.gv_tbl010.OptionsColumn.AllowEdit = false;
            this.gv_tbl010.Tag = "query_a.tbl010";
            this.gv_tbl010.Visible = true;
            this.gv_tbl010.VisibleIndex = 11;
            this.gv_tbl010.VisibleIndex = 10;
            this.gv_tbl010.Width = 94;
            // 
            // gv_tbl009
@@ -857,7 +866,7 @@
            this.gv_tbl009.OptionsColumn.AllowEdit = false;
            this.gv_tbl009.Tag = "query_a.tbl009";
            this.gv_tbl009.Visible = true;
            this.gv_tbl009.VisibleIndex = 10;
            this.gv_tbl009.VisibleIndex = 9;
            this.gv_tbl009.Width = 94;
            // 
            // gv_tbl008
@@ -871,7 +880,7 @@
            this.gv_tbl008.OptionsColumn.AllowEdit = false;
            this.gv_tbl008.Tag = "query_a.tbl008";
            this.gv_tbl008.Visible = true;
            this.gv_tbl008.VisibleIndex = 9;
            this.gv_tbl008.VisibleIndex = 8;
            this.gv_tbl008.Width = 94;
            // 
            // gv_tbl007
@@ -885,7 +894,7 @@
            this.gv_tbl007.OptionsColumn.AllowEdit = false;
            this.gv_tbl007.Tag = "query_a.tbl007";
            this.gv_tbl007.Visible = true;
            this.gv_tbl007.VisibleIndex = 8;
            this.gv_tbl007.VisibleIndex = 7;
            this.gv_tbl007.Width = 94;
            // 
            // lb_tbl006
@@ -918,7 +927,7 @@
            this.gv_tbl006.OptionsColumn.AllowEdit = false;
            this.gv_tbl006.Tag = "query_a.tbl006";
            this.gv_tbl006.Visible = true;
            this.gv_tbl006.VisibleIndex = 7;
            this.gv_tbl006.VisibleIndex = 6;
            this.gv_tbl006.Width = 94;
            // 
            // lb_tbl005
@@ -942,7 +951,7 @@
            this.gv_tbl005.OptionsColumn.AllowEdit = false;
            this.gv_tbl005.Tag = "query_a.tbl005";
            this.gv_tbl005.Visible = true;
            this.gv_tbl005.VisibleIndex = 6;
            this.gv_tbl005.VisibleIndex = 5;
            this.gv_tbl005.Width = 94;
            // 
            // lb_tbl004
@@ -976,7 +985,7 @@
            this.gv_tbl004.OptionsColumn.AllowEdit = false;
            this.gv_tbl004.Tag = "query_a.tbl004";
            this.gv_tbl004.Visible = true;
            this.gv_tbl004.VisibleIndex = 5;
            this.gv_tbl004.VisibleIndex = 4;
            this.gv_tbl004.Width = 94;
            // 
            // lb_tbl003
@@ -1010,7 +1019,7 @@
            this.gv_tbl003.OptionsColumn.AllowEdit = false;
            this.gv_tbl003.Tag = "query_a.tbl003";
            this.gv_tbl003.Visible = true;
            this.gv_tbl003.VisibleIndex = 4;
            this.gv_tbl003.VisibleIndex = 3;
            this.gv_tbl003.Width = 94;
            // 
            // lb_tbl002
@@ -1034,7 +1043,7 @@
            this.gv_tbl002.OptionsColumn.AllowEdit = false;
            this.gv_tbl002.Tag = "query_a.tbl002";
            this.gv_tbl002.Visible = true;
            this.gv_tbl002.VisibleIndex = 3;
            this.gv_tbl002.VisibleIndex = 2;
            this.gv_tbl002.Width = 94;
            // 
            // lb_tbl001
@@ -1068,7 +1077,7 @@
            this.gv_tbl001.OptionsColumn.AllowEdit = false;
            this.gv_tbl001.Tag = "query_a.tbl001";
            this.gv_tbl001.Visible = true;
            this.gv_tbl001.VisibleIndex = 2;
            this.gv_tbl001.VisibleIndex = 1;
            this.gv_tbl001.Width = 94;
            // 
            // lb_billNo
@@ -1102,22 +1111,8 @@
            this.gv_billNo.OptionsColumn.AllowEdit = false;
            this.gv_billNo.Tag = "query_a.bill_no";
            this.gv_billNo.Visible = true;
            this.gv_billNo.VisibleIndex = 1;
            this.gv_billNo.VisibleIndex = 0;
            this.gv_billNo.Width = 94;
            //
            // gv_id
            //
            this.gv_id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_id.AppearanceCell.Options.UseFont = true;
            this.gv_id.Caption = "ID ";
            this.gv_id.FieldName = "id";
            this.gv_id.MinWidth = 50;
            this.gv_id.Name = "gv_id";
            this.gv_id.OptionsColumn.AllowEdit = false;
            this.gv_id.Tag = "query_a.id";
            this.gv_id.Visible = true;
            this.gv_id.VisibleIndex = 0;
            this.gv_id.Width = 94;
            // 
            // toolBarMenu1
            // 
@@ -1151,7 +1146,6 @@
            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_billNo,
            this.gv_tbl001,
            this.gv_tbl002,
@@ -1237,9 +1231,103 @@
            // 
            // xtraTabPage3
            // 
            this.xtraTabPage3.Controls.Add(this.gcMx2);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new System.Drawing.Size(1124, 370);
            this.xtraTabPage3.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, 370);
            this.gcMx2.TabIndex = 1;
            this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gvMx2});
            //
            // gvMx2
            //
            this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gvMx1guid,
            this.gvMx1itemBarcode,
            this.gvMx1quantity,
            this.gridColumn7,
            this.gridColumn4,
            this.gridColumn9,
            this.gridColumn8,
            this.gvMx1createBy,
            this.gvMx1lotDate});
            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;
            //
            // 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.Width = 94;
            //
            // gvMx1itemBarcode
            //
            this.gvMx1itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1itemBarcode.AppearanceCell.Options.UseFont = true;
            this.gvMx1itemBarcode.Caption = "物料条码";
            this.gvMx1itemBarcode.FieldName = "itemBarcode";
            this.gvMx1itemBarcode.MinWidth = 300;
            this.gvMx1itemBarcode.Name = "gvMx1itemBarcode";
            this.gvMx1itemBarcode.Tag = "query_a.ITEM_BARCODE";
            this.gvMx1itemBarcode.Visible = true;
            this.gvMx1itemBarcode.VisibleIndex = 0;
            this.gvMx1itemBarcode.Width = 300;
            //
            // 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 = 1;
            this.gvMx1quantity.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 = 5;
            this.gvMx1createBy.Width = 94;
            //
            // gvMx1lotDate
            //
            this.gvMx1lotDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1lotDate.AppearanceCell.Options.UseFont = true;
            this.gvMx1lotDate.Caption = "创建日期";
            this.gvMx1lotDate.FieldName = "createDate";
            this.gvMx1lotDate.MinWidth = 50;
            this.gvMx1lotDate.Name = "gvMx1lotDate";
            this.gvMx1lotDate.Tag = "query_a.LOT_DATE";
            this.gvMx1lotDate.Visible = true;
            this.gvMx1lotDate.VisibleIndex = 7;
            this.gvMx1lotDate.Width = 94;
            // 
            // panel1
            // 
@@ -1356,6 +1444,46 @@
            this.picCheckBox.TabStop = false;
            this.picCheckBox.Visible = false;
            // 
            // gridColumn7
            //
            this.gridColumn7.Caption = "单位";
            this.gridColumn7.FieldName = "dwName";
            this.gridColumn7.MinWidth = 25;
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 2;
            this.gridColumn7.Width = 94;
            //
            // gridColumn8
            //
            this.gridColumn8.Caption = "规格型号";
            this.gridColumn8.FieldName = "wlgg";
            this.gridColumn8.MinWidth = 25;
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 5;
            this.gridColumn8.Width = 94;
            //
            // gridColumn9
            //
            this.gridColumn9.Caption = "物料名称";
            this.gridColumn9.FieldName = "wlmc";
            this.gridColumn9.MinWidth = 25;
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 4;
            this.gridColumn9.Width = 94;
            //
            // gridColumn4
            //
            this.gridColumn4.Caption = "物料编码";
            this.gridColumn4.FieldName = "wlbm";
            this.gridColumn4.MinWidth = 25;
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 3;
            this.gridColumn4.Width = 94;
            //
            // Frm_MesItemTbl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -1397,6 +1525,9 @@
            this.xtraTabPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
            this.tabMx.ResumeLayout(false);
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl020.Properties)).EndInit();
@@ -1486,7 +1617,6 @@
        private DevExpress.XtraEditors.LabelControl lb_billNo;
        private DevExpress.XtraEditors.TextEdit txt_billNo;
        private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
        private DevExpress.XtraGrid.Columns.GridColumn gv_id;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
@@ -1518,5 +1648,16 @@
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
        private System.Windows.Forms.PictureBox picCheckBox;
        private UserControl.UcBtnPrint ucBtnPrint1;
        private DevExpress.XtraGrid.GridControl gcMx2;
        private DevExpress.XtraGrid.Views.Grid.GridView gvMx2;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemBarcode;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1quantity;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1createBy;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1lotDate;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
    }
}
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -323,7 +323,18 @@
                return;
            }
            Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3);
            UtilityHelper.ChangeEnableByControl(panel1.Controls, true);
            if (xtraTabControl1.SelectedTabPageIndex == 1)
            {
                getModel(rowGuid);
            }
            else
            {
                List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                gvList.Add(gvMx1);
                gvList.Add(gvMx2);
                UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList);
            }
        }
        /// <summary>
        /// æ–°å¢žäº‹ä»¶
@@ -336,6 +347,7 @@
            lbGuid.Text = "";
            List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
            gridViews.Add(gvMx1);
            gridViews.Add(gvMx2);
            UtilityHelper.CleanValueByControl(this.panel1.Controls, true, gridViews);
            Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
        }
@@ -419,7 +431,6 @@
        /// <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);
@@ -479,6 +490,7 @@
                    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();
@@ -497,6 +509,22 @@
                    {
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1);
                    }
                    JArray array2 = new JArray();
                    foreach (var a in _job["rtnData"]["list2"])
                    {
                        array2.Add(a);
                    }
                    DataTable dt2 = JsonConvert.DeserializeObject<DataTable>(array2.ToString());
                    if (dt2.Rows.Count > 0)
                    {
                        gcMx2.BindingContext = new BindingContext();
                        gcMx2.DataSource = dt2;
                        gcMx2.ForceInitialize();
                    }
                    else
                    {
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx2, gvMx2);
                    }
                }
                else
                    ToolBox.MsgHelper.Warning("提示:" + _rtn.rtnMsg);
DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.Designer.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,1663 @@
/* Create By GS EasyCode */
namespace Gs.DevApp.DevFrm
{
    partial class Frm_WwTbl
    {
        /// <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 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();
            this.gvMx1tld009 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld007 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld006 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld005 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld004 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld003 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld002 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tld001 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1tlid = 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.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.panelMx1 = new DevExpress.XtraEditors.PanelControl();
            this.ucBtnPrint1 = new Gs.DevApp.UserControl.UcBtnPrint();
            this.lbMxGuid = new DevExpress.XtraEditors.LabelControl();
            this.txt_iCount_1 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
            this.txt_psnQty_1 = new DevExpress.XtraEditors.TextEdit();
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
            this.kyPrtQty = new DevExpress.XtraEditors.TextEdit();
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
            this.txtYdy = new DevExpress.XtraEditors.TextEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.txtQuantity = new DevExpress.XtraEditors.TextEdit();
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
            this.txtWlgg = new DevExpress.XtraEditors.TextEdit();
            this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
            this.txtWlmc = new DevExpress.XtraEditors.TextEdit();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.txtWlid = new DevExpress.XtraEditors.TextEdit();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.gv_tbl022 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_itemId = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl021 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl021 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl021 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl020 = new DevExpress.XtraEditors.LabelControl();
            this.gv_tbl020 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl019 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl018 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl017 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl016 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl015 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl014 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl013 = new DevExpress.XtraEditors.LabelControl();
            this.gv_tbl013 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl012 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl012 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl012 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl011 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl011 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl011 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl010 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl009 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl008 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_tbl007 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl006 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl006 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl006 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl005 = new DevExpress.XtraEditors.LabelControl();
            this.gv_tbl005 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl004 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl004 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl004 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl003 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl003 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl003 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl002 = new DevExpress.XtraEditors.LabelControl();
            this.gv_tbl002 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_tbl001 = new DevExpress.XtraEditors.LabelControl();
            this.txt_tbl001 = new DevExpress.XtraEditors.TextEdit();
            this.gv_tbl001 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.lb_billNo = new DevExpress.XtraEditors.LabelControl();
            this.txt_billNo = new DevExpress.XtraEditors.TextEdit();
            this.gv_billNo = 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.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx2 = new DevExpress.XtraGrid.GridControl();
            this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1quantity = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1createBy = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1lotDate = new DevExpress.XtraGrid.Columns.GridColumn();
            this.panel1 = new System.Windows.Forms.Panel();
            this.txt_tbl020 = new DevExpress.XtraEditors.CheckEdit();
            this.txt_tbl013 = new DevExpress.XtraEditors.CheckEdit();
            this.txt_tbl005 = new DevExpress.XtraEditors.ComboBoxEdit();
            this.txt_tbl002 = new Gs.DevApp.UserControl.UcLookDaa();
            this.btnSelect = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.lbGuid = new System.Windows.Forms.Label();
            this.picCheckBox = new System.Windows.Forms.PictureBox();
            this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
            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.panelMx1)).BeginInit();
            this.panelMx1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_iCount_1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_psnQty_1.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.kyPrtQty.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtYdy.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQuantity.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWlgg.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWlmc.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWlid.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl021.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl012.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl011.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl006.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl004.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl003.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl001.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.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.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl020.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl013.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl005.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit();
            this.SuspendLayout();
            //
            // gvMx1tld009
            //
            this.gvMx1tld009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld009.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld009.Caption = "物料id";
            this.gvMx1tld009.FieldName = "tld009";
            this.gvMx1tld009.MinWidth = 50;
            this.gvMx1tld009.Name = "gvMx1tld009";
            this.gvMx1tld009.Tag = "query_a.tld009";
            this.gvMx1tld009.Visible = true;
            this.gvMx1tld009.VisibleIndex = 7;
            this.gvMx1tld009.Width = 94;
            //
            // gvMx1tld007
            //
            this.gvMx1tld007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld007.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld007.Caption = "单位";
            this.gvMx1tld007.FieldName = "tld007";
            this.gvMx1tld007.MinWidth = 50;
            this.gvMx1tld007.Name = "gvMx1tld007";
            this.gvMx1tld007.Tag = "query_a.tld007";
            this.gvMx1tld007.Visible = true;
            this.gvMx1tld007.VisibleIndex = 6;
            this.gvMx1tld007.Width = 94;
            //
            // gvMx1tld006
            //
            this.gvMx1tld006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld006.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld006.Caption = "已退数量";
            this.gvMx1tld006.FieldName = "tld006";
            this.gvMx1tld006.MinWidth = 50;
            this.gvMx1tld006.Name = "gvMx1tld006";
            this.gvMx1tld006.Tag = "query_a.tld006";
            this.gvMx1tld006.Visible = true;
            this.gvMx1tld006.VisibleIndex = 5;
            this.gvMx1tld006.Width = 94;
            //
            // gvMx1tld005
            //
            this.gvMx1tld005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld005.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
            this.gvMx1tld005.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld005.AppearanceCell.Options.UseForeColor = true;
            this.gvMx1tld005.AppearanceHeader.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
            this.gvMx1tld005.AppearanceHeader.Options.UseForeColor = true;
            this.gvMx1tld005.Caption = "申请数量";
            this.gvMx1tld005.FieldName = "tld005";
            this.gvMx1tld005.MinWidth = 50;
            this.gvMx1tld005.Name = "gvMx1tld005";
            this.gvMx1tld005.Tag = "edit";
            this.gvMx1tld005.Visible = true;
            this.gvMx1tld005.VisibleIndex = 4;
            this.gvMx1tld005.Width = 94;
            //
            // gvMx1tld004
            //
            this.gvMx1tld004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld004.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld004.Caption = "规格型号";
            this.gvMx1tld004.FieldName = "tld004";
            this.gvMx1tld004.MinWidth = 50;
            this.gvMx1tld004.Name = "gvMx1tld004";
            this.gvMx1tld004.Tag = "query_a.tld004";
            this.gvMx1tld004.Visible = true;
            this.gvMx1tld004.VisibleIndex = 3;
            this.gvMx1tld004.Width = 94;
            //
            // gvMx1tld003
            //
            this.gvMx1tld003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld003.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld003.Caption = "物料名称";
            this.gvMx1tld003.FieldName = "tld003";
            this.gvMx1tld003.MinWidth = 50;
            this.gvMx1tld003.Name = "gvMx1tld003";
            this.gvMx1tld003.Tag = "query_a.tld003";
            this.gvMx1tld003.Visible = true;
            this.gvMx1tld003.VisibleIndex = 2;
            this.gvMx1tld003.Width = 94;
            //
            // gvMx1tld002
            //
            this.gvMx1tld002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld002.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld002.Caption = "物料编码";
            this.gvMx1tld002.FieldName = "tld002";
            this.gvMx1tld002.MinWidth = 50;
            this.gvMx1tld002.Name = "gvMx1tld002";
            this.gvMx1tld002.Tag = "query_a.tld002";
            this.gvMx1tld002.Visible = true;
            this.gvMx1tld002.VisibleIndex = 1;
            this.gvMx1tld002.Width = 94;
            //
            // gvMx1tld001
            //
            this.gvMx1tld001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tld001.AppearanceCell.Options.UseFont = true;
            this.gvMx1tld001.Caption = "工单号";
            this.gvMx1tld001.FieldName = "tld001";
            this.gvMx1tld001.MinWidth = 50;
            this.gvMx1tld001.Name = "gvMx1tld001";
            this.gvMx1tld001.Tag = "query_a.tld001";
            this.gvMx1tld001.Visible = true;
            this.gvMx1tld001.VisibleIndex = 0;
            this.gvMx1tld001.Width = 94;
            //
            // gvMx1tlid
            //
            this.gvMx1tlid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1tlid.AppearanceCell.Options.UseFont = true;
            this.gvMx1tlid.Caption = "tlid";
            this.gvMx1tlid.FieldName = "tlid";
            this.gvMx1tlid.MinWidth = 50;
            this.gvMx1tlid.Name = "gvMx1tlid";
            this.gvMx1tlid.Tag = "query_a.tlid";
            this.gvMx1tlid.Width = 94;
            //
            // tabMxPage1
            //
            this.tabMxPage1.Controls.Add(this.gcMx1);
            this.tabMxPage1.Controls.Add(this.panelMx1);
            this.tabMxPage1.Name = "tabMxPage1";
            this.tabMxPage1.Size = new System.Drawing.Size(1124, 370);
            this.tabMxPage1.Text = "退料明细";
            //
            // gcMx1
            //
            this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gcMx1.Location = new System.Drawing.Point(0, 98);
            this.gcMx1.MainView = this.gvMx1;
            this.gcMx1.Name = "gcMx1";
            this.gcMx1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemButtonEdit1});
            this.gcMx1.Size = new System.Drawing.Size(1124, 272);
            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.gvMx1tlid,
            this.gridColumn3,
            this.gvMx1tld001,
            this.gvMx1tld002,
            this.gvMx1tld003,
            this.gvMx1tld004,
            this.gvMx1tld005,
            this.gvMx1tld006,
            this.gvMx1tld007,
            this.gvMx1tld009,
            this.gridColumn1,
            this.gridColumn2,
            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;
            //
            // gridColumn3
            //
            this.gridColumn3.Caption = "dabGuid";
            this.gridColumn3.FieldName = "aboutGuid";
            this.gridColumn3.MinWidth = 25;
            this.gridColumn3.Name = "gridColumn3";
            this.gridColumn3.Width = 94;
            //
            // gridColumn1
            //
            this.gridColumn1.Caption = "已打印数量";
            this.gridColumn1.MinWidth = 25;
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 8;
            this.gridColumn1.Width = 94;
            //
            // gridColumn2
            //
            this.gridColumn2.Caption = "可打印数量";
            this.gridColumn2.MinWidth = 25;
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 9;
            this.gridColumn2.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 = 10;
            this.gvMxDel.Width = 94;
            //
            // repositoryItemButtonEdit1
            //
            this.repositoryItemButtonEdit1.AutoHeight = false;
            editorButtonImageOptions2.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
            editorButtonImageOptions2.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)});
            this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
            this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
            this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick);
            //
            // panelMx1
            //
            this.panelMx1.Controls.Add(this.ucBtnPrint1);
            this.panelMx1.Controls.Add(this.lbMxGuid);
            this.panelMx1.Controls.Add(this.txt_iCount_1);
            this.panelMx1.Controls.Add(this.labelControl14);
            this.panelMx1.Controls.Add(this.txt_psnQty_1);
            this.panelMx1.Controls.Add(this.labelControl12);
            this.panelMx1.Controls.Add(this.kyPrtQty);
            this.panelMx1.Controls.Add(this.labelControl13);
            this.panelMx1.Controls.Add(this.txtYdy);
            this.panelMx1.Controls.Add(this.labelControl1);
            this.panelMx1.Controls.Add(this.txtQuantity);
            this.panelMx1.Controls.Add(this.labelControl10);
            this.panelMx1.Controls.Add(this.txtWlgg);
            this.panelMx1.Controls.Add(this.labelControl9);
            this.panelMx1.Controls.Add(this.txtWlmc);
            this.panelMx1.Controls.Add(this.labelControl8);
            this.panelMx1.Controls.Add(this.txtWlid);
            this.panelMx1.Controls.Add(this.labelControl7);
            this.panelMx1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panelMx1.Location = new System.Drawing.Point(0, 0);
            this.panelMx1.Name = "panelMx1";
            this.panelMx1.Size = new System.Drawing.Size(1124, 98);
            this.panelMx1.TabIndex = 1;
            //
            // ucBtnPrint1
            //
            this.ucBtnPrint1.guidKey = null;
            this.ucBtnPrint1.Location = new System.Drawing.Point(543, 59);
            this.ucBtnPrint1.Name = "ucBtnPrint1";
            this.ucBtnPrint1.rptParameter = null;
            this.ucBtnPrint1.Size = new System.Drawing.Size(218, 41);
            this.ucBtnPrint1.TabIndex = 231;
            //
            // lbMxGuid
            //
            this.lbMxGuid.Location = new System.Drawing.Point(821, 14);
            this.lbMxGuid.Name = "lbMxGuid";
            this.lbMxGuid.Size = new System.Drawing.Size(58, 18);
            this.lbMxGuid.TabIndex = 229;
            this.lbMxGuid.Text = "lbMxGuid";
            this.lbMxGuid.Visible = false;
            //
            // txt_iCount_1
            //
            this.txt_iCount_1.Location = new System.Drawing.Point(654, 34);
            this.txt_iCount_1.Name = "txt_iCount_1";
            this.txt_iCount_1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_iCount_1.Properties.Appearance.Options.UseFont = true;
            this.txt_iCount_1.Size = new System.Drawing.Size(96, 28);
            this.txt_iCount_1.TabIndex = 228;
            //
            // labelControl14
            //
            this.labelControl14.Location = new System.Drawing.Point(543, 39);
            this.labelControl14.Name = "labelControl14";
            this.labelControl14.Size = new System.Drawing.Size(105, 18);
            this.labelControl14.TabIndex = 227;
            this.labelControl14.Text = "打印条码张数:";
            //
            // txt_psnQty_1
            //
            this.txt_psnQty_1.Location = new System.Drawing.Point(654, 4);
            this.txt_psnQty_1.Name = "txt_psnQty_1";
            this.txt_psnQty_1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_psnQty_1.Properties.Appearance.Options.UseFont = true;
            this.txt_psnQty_1.Size = new System.Drawing.Size(96, 28);
            this.txt_psnQty_1.TabIndex = 226;
            //
            // labelControl12
            //
            this.labelControl12.Location = new System.Drawing.Point(543, 9);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new System.Drawing.Size(105, 18);
            this.labelControl12.TabIndex = 225;
            this.labelControl12.Text = "每张条码数量:";
            //
            // kyPrtQty
            //
            this.kyPrtQty.Location = new System.Drawing.Point(430, 65);
            this.kyPrtQty.Name = "kyPrtQty";
            this.kyPrtQty.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.kyPrtQty.Properties.Appearance.Options.UseFont = true;
            this.kyPrtQty.Properties.ReadOnly = true;
            this.kyPrtQty.Size = new System.Drawing.Size(96, 28);
            this.kyPrtQty.TabIndex = 224;
            //
            // labelControl13
            //
            this.labelControl13.Location = new System.Drawing.Point(332, 70);
            this.labelControl13.Name = "labelControl13";
            this.labelControl13.Size = new System.Drawing.Size(90, 18);
            this.labelControl13.TabIndex = 223;
            this.labelControl13.Text = "可打印总数:";
            //
            // txtYdy
            //
            this.txtYdy.Location = new System.Drawing.Point(430, 34);
            this.txtYdy.Name = "txtYdy";
            this.txtYdy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txtYdy.Properties.Appearance.Options.UseFont = true;
            this.txtYdy.Properties.ReadOnly = true;
            this.txtYdy.Size = new System.Drawing.Size(96, 28);
            this.txtYdy.TabIndex = 222;
            //
            // labelControl1
            //
            this.labelControl1.Location = new System.Drawing.Point(332, 39);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(90, 18);
            this.labelControl1.TabIndex = 221;
            this.labelControl1.Text = "已打印总量:";
            //
            // txtQuantity
            //
            this.txtQuantity.Location = new System.Drawing.Point(430, 4);
            this.txtQuantity.Name = "txtQuantity";
            this.txtQuantity.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txtQuantity.Properties.Appearance.Options.UseFont = true;
            this.txtQuantity.Properties.ReadOnly = true;
            this.txtQuantity.Size = new System.Drawing.Size(96, 28);
            this.txtQuantity.TabIndex = 220;
            //
            // labelControl10
            //
            this.labelControl10.Location = new System.Drawing.Point(317, 9);
            this.labelControl10.Name = "labelControl10";
            this.labelControl10.Size = new System.Drawing.Size(105, 18);
            this.labelControl10.TabIndex = 219;
            this.labelControl10.Text = "本次收货总量:";
            //
            // txtWlgg
            //
            this.txtWlgg.Location = new System.Drawing.Point(90, 65);
            this.txtWlgg.Name = "txtWlgg";
            this.txtWlgg.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txtWlgg.Properties.Appearance.Options.UseFont = true;
            this.txtWlgg.Properties.ReadOnly = true;
            this.txtWlgg.Size = new System.Drawing.Size(215, 28);
            this.txtWlgg.TabIndex = 218;
            //
            // labelControl9
            //
            this.labelControl9.Location = new System.Drawing.Point(11, 70);
            this.labelControl9.Name = "labelControl9";
            this.labelControl9.Size = new System.Drawing.Size(75, 18);
            this.labelControl9.TabIndex = 217;
            this.labelControl9.Text = "物料规格:";
            //
            // txtWlmc
            //
            this.txtWlmc.Location = new System.Drawing.Point(90, 34);
            this.txtWlmc.Name = "txtWlmc";
            this.txtWlmc.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txtWlmc.Properties.Appearance.Options.UseFont = true;
            this.txtWlmc.Properties.ReadOnly = true;
            this.txtWlmc.Size = new System.Drawing.Size(215, 28);
            this.txtWlmc.TabIndex = 216;
            //
            // labelControl8
            //
            this.labelControl8.Location = new System.Drawing.Point(11, 39);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(75, 18);
            this.labelControl8.TabIndex = 215;
            this.labelControl8.Text = "物料名称:";
            //
            // txtWlid
            //
            this.txtWlid.Location = new System.Drawing.Point(90, 4);
            this.txtWlid.Name = "txtWlid";
            this.txtWlid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txtWlid.Properties.Appearance.Options.UseFont = true;
            this.txtWlid.Properties.ReadOnly = true;
            this.txtWlid.Size = new System.Drawing.Size(215, 28);
            this.txtWlid.TabIndex = 214;
            //
            // labelControl7
            //
            this.labelControl7.Location = new System.Drawing.Point(25, 9);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(61, 18);
            this.labelControl7.TabIndex = 213;
            this.labelControl7.Text = "物料ID:";
            //
            // gv_tbl022
            //
            this.gv_tbl022.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl022.AppearanceCell.Options.UseFont = true;
            this.gv_tbl022.Caption = "是否补料完成 ";
            this.gv_tbl022.FieldName = "tbl022";
            this.gv_tbl022.MinWidth = 50;
            this.gv_tbl022.Name = "gv_tbl022";
            this.gv_tbl022.OptionsColumn.AllowEdit = false;
            this.gv_tbl022.Tag = "query_a.tbl022";
            this.gv_tbl022.Visible = true;
            this.gv_tbl022.VisibleIndex = 23;
            this.gv_tbl022.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 = 22;
            this.gv_itemId.Width = 94;
            //
            // lb_tbl021
            //
            this.lb_tbl021.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl021.Appearance.Options.UseFont = true;
            this.lb_tbl021.Location = new System.Drawing.Point(256, 54);
            this.lb_tbl021.Name = "lb_tbl021";
            this.lb_tbl021.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl021.TabIndex = 298;
            this.lb_tbl021.Text = "生产车间 ";
            //
            // txt_tbl021
            //
            this.txt_tbl021.Enabled = false;
            this.txt_tbl021.Location = new System.Drawing.Point(331, 50);
            this.txt_tbl021.Name = "txt_tbl021";
            this.txt_tbl021.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl021.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl021.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl021.TabIndex = 298;
            //
            // gv_tbl021
            //
            this.gv_tbl021.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl021.AppearanceCell.Options.UseFont = true;
            this.gv_tbl021.Caption = "生产车间 ";
            this.gv_tbl021.FieldName = "tbl021";
            this.gv_tbl021.MinWidth = 50;
            this.gv_tbl021.Name = "gv_tbl021";
            this.gv_tbl021.OptionsColumn.AllowEdit = false;
            this.gv_tbl021.Tag = "query_a.tbl021";
            this.gv_tbl021.Visible = true;
            this.gv_tbl021.VisibleIndex = 21;
            this.gv_tbl021.Width = 94;
            //
            // lb_tbl020
            //
            this.lb_tbl020.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl020.Appearance.Options.UseFont = true;
            this.lb_tbl020.Location = new System.Drawing.Point(745, 120);
            this.lb_tbl020.Name = "lb_tbl020";
            this.lb_tbl020.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl020.TabIndex = 291;
            this.lb_tbl020.Text = "完结标识 ";
            //
            // gv_tbl020
            //
            this.gv_tbl020.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl020.AppearanceCell.Options.UseFont = true;
            this.gv_tbl020.Caption = "完结标识 ";
            this.gv_tbl020.FieldName = "tbl020";
            this.gv_tbl020.MinWidth = 50;
            this.gv_tbl020.Name = "gv_tbl020";
            this.gv_tbl020.OptionsColumn.AllowEdit = false;
            this.gv_tbl020.Tag = "query_a.tbl020";
            this.gv_tbl020.Visible = true;
            this.gv_tbl020.VisibleIndex = 20;
            this.gv_tbl020.Width = 94;
            //
            // gv_tbl019
            //
            this.gv_tbl019.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl019.AppearanceCell.Options.UseFont = true;
            this.gv_tbl019.Caption = "事务类型编码 ";
            this.gv_tbl019.FieldName = "tbl019";
            this.gv_tbl019.MinWidth = 50;
            this.gv_tbl019.Name = "gv_tbl019";
            this.gv_tbl019.OptionsColumn.AllowEdit = false;
            this.gv_tbl019.Tag = "query_a.tbl019";
            this.gv_tbl019.Visible = true;
            this.gv_tbl019.VisibleIndex = 19;
            this.gv_tbl019.Width = 94;
            //
            // gv_tbl018
            //
            this.gv_tbl018.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl018.AppearanceCell.Options.UseFont = true;
            this.gv_tbl018.Caption = "单据类型编码 ";
            this.gv_tbl018.FieldName = "tbl018";
            this.gv_tbl018.MinWidth = 50;
            this.gv_tbl018.Name = "gv_tbl018";
            this.gv_tbl018.OptionsColumn.AllowEdit = false;
            this.gv_tbl018.Tag = "query_a.tbl018";
            this.gv_tbl018.Visible = true;
            this.gv_tbl018.VisibleIndex = 18;
            this.gv_tbl018.Width = 94;
            //
            // gv_tbl017
            //
            this.gv_tbl017.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl017.AppearanceCell.Options.UseFont = true;
            this.gv_tbl017.Caption = "供应商编码 ";
            this.gv_tbl017.FieldName = "tbl017";
            this.gv_tbl017.MinWidth = 50;
            this.gv_tbl017.Name = "gv_tbl017";
            this.gv_tbl017.OptionsColumn.AllowEdit = false;
            this.gv_tbl017.Tag = "query_a.tbl017";
            this.gv_tbl017.Visible = true;
            this.gv_tbl017.VisibleIndex = 17;
            this.gv_tbl017.Width = 94;
            //
            // gv_tbl016
            //
            this.gv_tbl016.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl016.AppearanceCell.Options.UseFont = true;
            this.gv_tbl016.Caption = "ERP返回信息 ";
            this.gv_tbl016.FieldName = "tbl016";
            this.gv_tbl016.MinWidth = 50;
            this.gv_tbl016.Name = "gv_tbl016";
            this.gv_tbl016.OptionsColumn.AllowEdit = false;
            this.gv_tbl016.Tag = "query_a.tbl016";
            this.gv_tbl016.Visible = true;
            this.gv_tbl016.VisibleIndex = 16;
            this.gv_tbl016.Width = 94;
            //
            // gv_tbl015
            //
            this.gv_tbl015.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl015.AppearanceCell.Options.UseFont = true;
            this.gv_tbl015.Caption = "ERP回写单号 ";
            this.gv_tbl015.FieldName = "tbl015";
            this.gv_tbl015.MinWidth = 50;
            this.gv_tbl015.Name = "gv_tbl015";
            this.gv_tbl015.OptionsColumn.AllowEdit = false;
            this.gv_tbl015.Tag = "query_a.tbl015";
            this.gv_tbl015.Visible = true;
            this.gv_tbl015.VisibleIndex = 15;
            this.gv_tbl015.Width = 94;
            //
            // gv_tbl014
            //
            this.gv_tbl014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl014.AppearanceCell.Options.UseFont = true;
            this.gv_tbl014.Caption = "ERP回写状态 ";
            this.gv_tbl014.FieldName = "tbl014";
            this.gv_tbl014.MinWidth = 50;
            this.gv_tbl014.Name = "gv_tbl014";
            this.gv_tbl014.OptionsColumn.AllowEdit = false;
            this.gv_tbl014.Tag = "query_a.tbl014";
            this.gv_tbl014.Visible = true;
            this.gv_tbl014.VisibleIndex = 14;
            this.gv_tbl014.Width = 94;
            //
            // lb_tbl013
            //
            this.lb_tbl013.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl013.Appearance.Options.UseFont = true;
            this.lb_tbl013.Location = new System.Drawing.Point(745, 88);
            this.lb_tbl013.Name = "lb_tbl013";
            this.lb_tbl013.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl013.TabIndex = 252;
            this.lb_tbl013.Text = "审核状态 ";
            //
            // gv_tbl013
            //
            this.gv_tbl013.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl013.AppearanceCell.Options.UseFont = true;
            this.gv_tbl013.Caption = "审核状态 ";
            this.gv_tbl013.FieldName = "tbl013";
            this.gv_tbl013.MinWidth = 50;
            this.gv_tbl013.Name = "gv_tbl013";
            this.gv_tbl013.OptionsColumn.AllowEdit = false;
            this.gv_tbl013.Tag = "query_a.tbl013";
            this.gv_tbl013.Visible = true;
            this.gv_tbl013.VisibleIndex = 13;
            this.gv_tbl013.Width = 94;
            //
            // lb_tbl012
            //
            this.lb_tbl012.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl012.Appearance.Options.UseFont = true;
            this.lb_tbl012.Location = new System.Drawing.Point(745, 54);
            this.lb_tbl012.Name = "lb_tbl012";
            this.lb_tbl012.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl012.TabIndex = 247;
            this.lb_tbl012.Text = "审核时间 ";
            //
            // txt_tbl012
            //
            this.txt_tbl012.Enabled = false;
            this.txt_tbl012.Location = new System.Drawing.Point(822, 50);
            this.txt_tbl012.Name = "txt_tbl012";
            this.txt_tbl012.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl012.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl012.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl012.TabIndex = 247;
            //
            // gv_tbl012
            //
            this.gv_tbl012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl012.AppearanceCell.Options.UseFont = true;
            this.gv_tbl012.Caption = "审核时间 ";
            this.gv_tbl012.FieldName = "tbl012";
            this.gv_tbl012.MinWidth = 50;
            this.gv_tbl012.Name = "gv_tbl012";
            this.gv_tbl012.OptionsColumn.AllowEdit = false;
            this.gv_tbl012.Tag = "query_a.tbl012";
            this.gv_tbl012.Visible = true;
            this.gv_tbl012.VisibleIndex = 12;
            this.gv_tbl012.Width = 94;
            //
            // lb_tbl011
            //
            this.lb_tbl011.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl011.Appearance.Options.UseFont = true;
            this.lb_tbl011.Location = new System.Drawing.Point(762, 20);
            this.lb_tbl011.Name = "lb_tbl011";
            this.lb_tbl011.Size = new System.Drawing.Size(56, 21);
            this.lb_tbl011.TabIndex = 243;
            this.lb_tbl011.Text = "审核人 ";
            //
            // txt_tbl011
            //
            this.txt_tbl011.Enabled = false;
            this.txt_tbl011.Location = new System.Drawing.Point(822, 16);
            this.txt_tbl011.Name = "txt_tbl011";
            this.txt_tbl011.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl011.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl011.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl011.TabIndex = 243;
            //
            // gv_tbl011
            //
            this.gv_tbl011.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl011.AppearanceCell.Options.UseFont = true;
            this.gv_tbl011.Caption = "审核人 ";
            this.gv_tbl011.FieldName = "tbl011";
            this.gv_tbl011.MinWidth = 50;
            this.gv_tbl011.Name = "gv_tbl011";
            this.gv_tbl011.OptionsColumn.AllowEdit = false;
            this.gv_tbl011.Tag = "query_a.tbl011";
            this.gv_tbl011.Visible = true;
            this.gv_tbl011.VisibleIndex = 11;
            this.gv_tbl011.Width = 94;
            //
            // gv_tbl010
            //
            this.gv_tbl010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl010.AppearanceCell.Options.UseFont = true;
            this.gv_tbl010.Caption = "创建时间 ";
            this.gv_tbl010.FieldName = "tbl010";
            this.gv_tbl010.MinWidth = 50;
            this.gv_tbl010.Name = "gv_tbl010";
            this.gv_tbl010.OptionsColumn.AllowEdit = false;
            this.gv_tbl010.Tag = "query_a.tbl010";
            this.gv_tbl010.Visible = true;
            this.gv_tbl010.VisibleIndex = 10;
            this.gv_tbl010.Width = 94;
            //
            // gv_tbl009
            //
            this.gv_tbl009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl009.AppearanceCell.Options.UseFont = true;
            this.gv_tbl009.Caption = "创建人 ";
            this.gv_tbl009.FieldName = "tbl009";
            this.gv_tbl009.MinWidth = 50;
            this.gv_tbl009.Name = "gv_tbl009";
            this.gv_tbl009.OptionsColumn.AllowEdit = false;
            this.gv_tbl009.Tag = "query_a.tbl009";
            this.gv_tbl009.Visible = true;
            this.gv_tbl009.VisibleIndex = 9;
            this.gv_tbl009.Width = 94;
            //
            // gv_tbl008
            //
            this.gv_tbl008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl008.AppearanceCell.Options.UseFont = true;
            this.gv_tbl008.Caption = "事务类型 ";
            this.gv_tbl008.FieldName = "tbl008";
            this.gv_tbl008.MinWidth = 50;
            this.gv_tbl008.Name = "gv_tbl008";
            this.gv_tbl008.OptionsColumn.AllowEdit = false;
            this.gv_tbl008.Tag = "query_a.tbl008";
            this.gv_tbl008.Visible = true;
            this.gv_tbl008.VisibleIndex = 8;
            this.gv_tbl008.Width = 94;
            //
            // gv_tbl007
            //
            this.gv_tbl007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl007.AppearanceCell.Options.UseFont = true;
            this.gv_tbl007.Caption = "单据类型 ";
            this.gv_tbl007.FieldName = "tbl007";
            this.gv_tbl007.MinWidth = 50;
            this.gv_tbl007.Name = "gv_tbl007";
            this.gv_tbl007.OptionsColumn.AllowEdit = false;
            this.gv_tbl007.Tag = "query_a.tbl007";
            this.gv_tbl007.Visible = true;
            this.gv_tbl007.VisibleIndex = 7;
            this.gv_tbl007.Width = 94;
            //
            // lb_tbl006
            //
            this.lb_tbl006.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl006.Appearance.Options.UseFont = true;
            this.lb_tbl006.Location = new System.Drawing.Point(45, 120);
            this.lb_tbl006.Name = "lb_tbl006";
            this.lb_tbl006.Size = new System.Drawing.Size(39, 21);
            this.lb_tbl006.TabIndex = 226;
            this.lb_tbl006.Text = "备注 ";
            //
            // txt_tbl006
            //
            this.txt_tbl006.Location = new System.Drawing.Point(85, 116);
            this.txt_tbl006.Name = "txt_tbl006";
            this.txt_tbl006.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl006.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl006.Size = new System.Drawing.Size(650, 28);
            this.txt_tbl006.TabIndex = 226;
            //
            // gv_tbl006
            //
            this.gv_tbl006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl006.AppearanceCell.Options.UseFont = true;
            this.gv_tbl006.Caption = "备注 ";
            this.gv_tbl006.FieldName = "tbl006";
            this.gv_tbl006.MinWidth = 50;
            this.gv_tbl006.Name = "gv_tbl006";
            this.gv_tbl006.OptionsColumn.AllowEdit = false;
            this.gv_tbl006.Tag = "query_a.tbl006";
            this.gv_tbl006.Visible = true;
            this.gv_tbl006.VisibleIndex = 6;
            this.gv_tbl006.Width = 94;
            //
            // lb_tbl005
            //
            this.lb_tbl005.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl005.Appearance.Options.UseFont = true;
            this.lb_tbl005.Location = new System.Drawing.Point(11, 88);
            this.lb_tbl005.Name = "lb_tbl005";
            this.lb_tbl005.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl005.TabIndex = 222;
            this.lb_tbl005.Text = "退料原因 ";
            //
            // gv_tbl005
            //
            this.gv_tbl005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl005.AppearanceCell.Options.UseFont = true;
            this.gv_tbl005.Caption = "退料原因 ";
            this.gv_tbl005.FieldName = "tbl005";
            this.gv_tbl005.MinWidth = 50;
            this.gv_tbl005.Name = "gv_tbl005";
            this.gv_tbl005.OptionsColumn.AllowEdit = false;
            this.gv_tbl005.Tag = "query_a.tbl005";
            this.gv_tbl005.Visible = true;
            this.gv_tbl005.VisibleIndex = 5;
            this.gv_tbl005.Width = 94;
            //
            // lb_tbl004
            //
            this.lb_tbl004.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl004.Appearance.Options.UseFont = true;
            this.lb_tbl004.Location = new System.Drawing.Point(508, 54);
            this.lb_tbl004.Name = "lb_tbl004";
            this.lb_tbl004.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl004.TabIndex = 219;
            this.lb_tbl004.Text = "产品型号 ";
            //
            // txt_tbl004
            //
            this.txt_tbl004.Enabled = false;
            this.txt_tbl004.Location = new System.Drawing.Point(585, 50);
            this.txt_tbl004.Name = "txt_tbl004";
            this.txt_tbl004.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl004.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl004.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl004.TabIndex = 219;
            //
            // gv_tbl004
            //
            this.gv_tbl004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl004.AppearanceCell.Options.UseFont = true;
            this.gv_tbl004.Caption = "产品型号 ";
            this.gv_tbl004.FieldName = "tbl004";
            this.gv_tbl004.MinWidth = 50;
            this.gv_tbl004.Name = "gv_tbl004";
            this.gv_tbl004.OptionsColumn.AllowEdit = false;
            this.gv_tbl004.Tag = "query_a.tbl004";
            this.gv_tbl004.Visible = true;
            this.gv_tbl004.VisibleIndex = 4;
            this.gv_tbl004.Width = 94;
            //
            // lb_tbl003
            //
            this.lb_tbl003.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl003.Appearance.Options.UseFont = true;
            this.lb_tbl003.Location = new System.Drawing.Point(256, 20);
            this.lb_tbl003.Name = "lb_tbl003";
            this.lb_tbl003.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl003.TabIndex = 217;
            this.lb_tbl003.Text = "任务单号 ";
            //
            // txt_tbl003
            //
            this.txt_tbl003.Enabled = false;
            this.txt_tbl003.Location = new System.Drawing.Point(331, 16);
            this.txt_tbl003.Name = "txt_tbl003";
            this.txt_tbl003.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl003.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl003.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl003.TabIndex = 217;
            //
            // gv_tbl003
            //
            this.gv_tbl003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl003.AppearanceCell.Options.UseFont = true;
            this.gv_tbl003.Caption = "任务单号 ";
            this.gv_tbl003.FieldName = "tbl003";
            this.gv_tbl003.MinWidth = 50;
            this.gv_tbl003.Name = "gv_tbl003";
            this.gv_tbl003.OptionsColumn.AllowEdit = false;
            this.gv_tbl003.Tag = "query_a.tbl003";
            this.gv_tbl003.Visible = true;
            this.gv_tbl003.VisibleIndex = 3;
            this.gv_tbl003.Width = 94;
            //
            // lb_tbl002
            //
            this.lb_tbl002.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl002.Appearance.Options.UseFont = true;
            this.lb_tbl002.Location = new System.Drawing.Point(11, 54);
            this.lb_tbl002.Name = "lb_tbl002";
            this.lb_tbl002.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl002.TabIndex = 216;
            this.lb_tbl002.Text = "生产工单 ";
            //
            // gv_tbl002
            //
            this.gv_tbl002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl002.AppearanceCell.Options.UseFont = true;
            this.gv_tbl002.Caption = "生产工单 ";
            this.gv_tbl002.FieldName = "tbl002";
            this.gv_tbl002.MinWidth = 50;
            this.gv_tbl002.Name = "gv_tbl002";
            this.gv_tbl002.OptionsColumn.AllowEdit = false;
            this.gv_tbl002.Tag = "query_a.tbl002";
            this.gv_tbl002.Visible = true;
            this.gv_tbl002.VisibleIndex = 2;
            this.gv_tbl002.Width = 94;
            //
            // lb_tbl001
            //
            this.lb_tbl001.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_tbl001.Appearance.Options.UseFont = true;
            this.lb_tbl001.Location = new System.Drawing.Point(508, 20);
            this.lb_tbl001.Name = "lb_tbl001";
            this.lb_tbl001.Size = new System.Drawing.Size(73, 21);
            this.lb_tbl001.TabIndex = 213;
            this.lb_tbl001.Text = "产线名称 ";
            //
            // txt_tbl001
            //
            this.txt_tbl001.Enabled = false;
            this.txt_tbl001.Location = new System.Drawing.Point(585, 16);
            this.txt_tbl001.Name = "txt_tbl001";
            this.txt_tbl001.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_tbl001.Properties.Appearance.Options.UseFont = true;
            this.txt_tbl001.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl001.TabIndex = 213;
            //
            // gv_tbl001
            //
            this.gv_tbl001.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_tbl001.AppearanceCell.Options.UseFont = true;
            this.gv_tbl001.Caption = "产线名称 ";
            this.gv_tbl001.FieldName = "tbl001";
            this.gv_tbl001.MinWidth = 50;
            this.gv_tbl001.Name = "gv_tbl001";
            this.gv_tbl001.OptionsColumn.AllowEdit = false;
            this.gv_tbl001.Tag = "query_a.tbl001";
            this.gv_tbl001.Visible = true;
            this.gv_tbl001.VisibleIndex = 1;
            this.gv_tbl001.Width = 94;
            //
            // lb_billNo
            //
            this.lb_billNo.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.lb_billNo.Appearance.Options.UseFont = true;
            this.lb_billNo.Location = new System.Drawing.Point(11, 20);
            this.lb_billNo.Name = "lb_billNo";
            this.lb_billNo.Size = new System.Drawing.Size(73, 21);
            this.lb_billNo.TabIndex = 211;
            this.lb_billNo.Text = "退料单号 ";
            //
            // txt_billNo
            //
            this.txt_billNo.Enabled = false;
            this.txt_billNo.Location = new System.Drawing.Point(85, 16);
            this.txt_billNo.Name = "txt_billNo";
            this.txt_billNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
            this.txt_billNo.Properties.Appearance.Options.UseFont = true;
            this.txt_billNo.Size = new System.Drawing.Size(150, 28);
            this.txt_billNo.TabIndex = 211;
            //
            // gv_billNo
            //
            this.gv_billNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gv_billNo.AppearanceCell.Options.UseFont = true;
            this.gv_billNo.Caption = "单号 ";
            this.gv_billNo.FieldName = "billNo";
            this.gv_billNo.MinWidth = 50;
            this.gv_billNo.Name = "gv_billNo";
            this.gv_billNo.OptionsColumn.AllowEdit = false;
            this.gv_billNo.Tag = "query_a.bill_no";
            this.gv_billNo.Visible = true;
            this.gv_billNo.VisibleIndex = 0;
            this.gv_billNo.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, 553);
            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_billNo,
            this.gv_tbl001,
            this.gv_tbl002,
            this.gv_tbl003,
            this.gv_tbl004,
            this.gv_tbl005,
            this.gv_tbl006,
            this.gv_tbl007,
            this.gv_tbl008,
            this.gv_tbl009,
            this.gv_tbl010,
            this.gv_tbl011,
            this.gv_tbl012,
            this.gv_tbl013,
            this.gv_tbl014,
            this.gv_tbl015,
            this.gv_tbl016,
            this.gv_tbl017,
            this.gv_tbl018,
            this.gv_tbl019,
            this.gv_tbl020,
            this.gv_tbl021,
            this.gv_itemId,
            this.gv_tbl022});
            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, 624);
            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, 592);
            this.xtraTabPage1.Text = "数据查询";
            //
            // pageBar1
            //
            this.pageBar1.CurrentPage = 1;
            this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.pageBar1.Location = new System.Drawing.Point(0, 553);
            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, 592);
            this.xtraTabPage2.Text = "数据编辑";
            //
            // tabMx
            //
            this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tabMx.Location = new System.Drawing.Point(0, 190);
            this.tabMx.Name = "tabMx";
            this.tabMx.SelectedTabPage = this.tabMxPage1;
            this.tabMx.Size = new System.Drawing.Size(1126, 402);
            this.tabMx.TabIndex = 2;
            this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.tabMxPage1,
            this.xtraTabPage3});
            //
            // xtraTabPage3
            //
            this.xtraTabPage3.Controls.Add(this.gcMx2);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new System.Drawing.Size(1124, 370);
            this.xtraTabPage3.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, 370);
            this.gcMx2.TabIndex = 1;
            this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gvMx2});
            //
            // gvMx2
            //
            this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gvMx1guid,
            this.gvMx1itemBarcode,
            this.gvMx1quantity,
            this.gridColumn7,
            this.gridColumn4,
            this.gridColumn9,
            this.gridColumn8,
            this.gvMx1createBy,
            this.gvMx1lotDate});
            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;
            //
            // 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.Width = 94;
            //
            // gvMx1itemBarcode
            //
            this.gvMx1itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1itemBarcode.AppearanceCell.Options.UseFont = true;
            this.gvMx1itemBarcode.Caption = "物料条码";
            this.gvMx1itemBarcode.FieldName = "itemBarcode";
            this.gvMx1itemBarcode.MinWidth = 300;
            this.gvMx1itemBarcode.Name = "gvMx1itemBarcode";
            this.gvMx1itemBarcode.Tag = "query_a.ITEM_BARCODE";
            this.gvMx1itemBarcode.Visible = true;
            this.gvMx1itemBarcode.VisibleIndex = 0;
            this.gvMx1itemBarcode.Width = 300;
            //
            // 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 = 1;
            this.gvMx1quantity.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 = 5;
            this.gvMx1createBy.Width = 94;
            //
            // gvMx1lotDate
            //
            this.gvMx1lotDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
            this.gvMx1lotDate.AppearanceCell.Options.UseFont = true;
            this.gvMx1lotDate.Caption = "创建日期";
            this.gvMx1lotDate.FieldName = "createDate";
            this.gvMx1lotDate.MinWidth = 50;
            this.gvMx1lotDate.Name = "gvMx1lotDate";
            this.gvMx1lotDate.Tag = "query_a.LOT_DATE";
            this.gvMx1lotDate.Visible = true;
            this.gvMx1lotDate.VisibleIndex = 7;
            this.gvMx1lotDate.Width = 94;
            //
            // panel1
            //
            this.panel1.BackColor = System.Drawing.Color.White;
            this.panel1.Controls.Add(this.txt_tbl020);
            this.panel1.Controls.Add(this.txt_tbl013);
            this.panel1.Controls.Add(this.txt_tbl005);
            this.panel1.Controls.Add(this.txt_tbl002);
            this.panel1.Controls.Add(this.btnSelect);
            this.panel1.Controls.Add(this.labelControl11);
            this.panel1.Controls.Add(this.lbGuid);
            this.panel1.Controls.Add(this.lb_tbl021);
            this.panel1.Controls.Add(this.txt_tbl021);
            this.panel1.Controls.Add(this.lb_tbl020);
            this.panel1.Controls.Add(this.lb_tbl013);
            this.panel1.Controls.Add(this.lb_tbl012);
            this.panel1.Controls.Add(this.txt_tbl012);
            this.panel1.Controls.Add(this.lb_tbl011);
            this.panel1.Controls.Add(this.txt_tbl011);
            this.panel1.Controls.Add(this.lb_tbl006);
            this.panel1.Controls.Add(this.txt_tbl006);
            this.panel1.Controls.Add(this.lb_tbl005);
            this.panel1.Controls.Add(this.lb_tbl004);
            this.panel1.Controls.Add(this.txt_tbl004);
            this.panel1.Controls.Add(this.lb_tbl003);
            this.panel1.Controls.Add(this.txt_tbl003);
            this.panel1.Controls.Add(this.lb_tbl002);
            this.panel1.Controls.Add(this.lb_tbl001);
            this.panel1.Controls.Add(this.txt_tbl001);
            this.panel1.Controls.Add(this.lb_billNo);
            this.panel1.Controls.Add(this.txt_billNo);
            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, 190);
            this.panel1.TabIndex = 1;
            //
            // txt_tbl020
            //
            this.txt_tbl020.Enabled = false;
            this.txt_tbl020.Location = new System.Drawing.Point(822, 120);
            this.txt_tbl020.Name = "txt_tbl020";
            this.txt_tbl020.Properties.Caption = "";
            this.txt_tbl020.Size = new System.Drawing.Size(94, 24);
            this.txt_tbl020.TabIndex = 461;
            //
            // txt_tbl013
            //
            this.txt_tbl013.Enabled = false;
            this.txt_tbl013.Location = new System.Drawing.Point(822, 85);
            this.txt_tbl013.Name = "txt_tbl013";
            this.txt_tbl013.Properties.Caption = "";
            this.txt_tbl013.Size = new System.Drawing.Size(94, 24);
            this.txt_tbl013.TabIndex = 460;
            //
            // txt_tbl005
            //
            this.txt_tbl005.Location = new System.Drawing.Point(85, 86);
            this.txt_tbl005.Name = "txt_tbl005";
            this.txt_tbl005.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.txt_tbl005.Properties.Items.AddRange(new object[] {
            "良品退料",
            "来料不良退料",
            "作业不良退料"});
            this.txt_tbl005.Size = new System.Drawing.Size(150, 24);
            this.txt_tbl005.TabIndex = 459;
            //
            // txt_tbl002
            //
            this.txt_tbl002.IsReadly = false;
            this.txt_tbl002.Location = new System.Drawing.Point(85, 50);
            this.txt_tbl002.Name = "txt_tbl002";
            this.txt_tbl002.Size = new System.Drawing.Size(150, 28);
            this.txt_tbl002.TabIndex = 458;
            //
            // btnSelect
            //
            this.btnSelect.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.lookup_reference_16x16;
            this.btnSelect.Location = new System.Drawing.Point(12, 150);
            this.btnSelect.Name = "btnSelect";
            this.btnSelect.Size = new System.Drawing.Size(107, 29);
            this.btnSelect.TabIndex = 457;
            this.btnSelect.Text = "选取物料";
            //
            // labelControl11
            //
            this.labelControl11.Location = new System.Drawing.Point(993, 119);
            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(1044, 119);
            this.lbGuid.Name = "lbGuid";
            this.lbGuid.Size = new System.Drawing.Size(0, 21);
            this.lbGuid.TabIndex = 1;
            this.lbGuid.Visible = false;
            //
            // picCheckBox
            //
            this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck;
            this.picCheckBox.Location = new System.Drawing.Point(1016, 45);
            this.picCheckBox.Name = "picCheckBox";
            this.picCheckBox.Size = new System.Drawing.Size(100, 50);
            this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picCheckBox.TabIndex = 5;
            this.picCheckBox.TabStop = false;
            this.picCheckBox.Visible = false;
            //
            // gridColumn7
            //
            this.gridColumn7.Caption = "单位";
            this.gridColumn7.FieldName = "dwName";
            this.gridColumn7.MinWidth = 25;
            this.gridColumn7.Name = "gridColumn7";
            this.gridColumn7.Visible = true;
            this.gridColumn7.VisibleIndex = 2;
            this.gridColumn7.Width = 94;
            //
            // gridColumn8
            //
            this.gridColumn8.Caption = "规格型号";
            this.gridColumn8.FieldName = "wlgg";
            this.gridColumn8.MinWidth = 25;
            this.gridColumn8.Name = "gridColumn8";
            this.gridColumn8.Visible = true;
            this.gridColumn8.VisibleIndex = 5;
            this.gridColumn8.Width = 94;
            //
            // gridColumn9
            //
            this.gridColumn9.Caption = "物料名称";
            this.gridColumn9.FieldName = "wlmc";
            this.gridColumn9.MinWidth = 25;
            this.gridColumn9.Name = "gridColumn9";
            this.gridColumn9.Visible = true;
            this.gridColumn9.VisibleIndex = 4;
            this.gridColumn9.Width = 94;
            //
            // gridColumn4
            //
            this.gridColumn4.Caption = "物料编码";
            this.gridColumn4.FieldName = "wlbm";
            this.gridColumn4.MinWidth = 25;
            this.gridColumn4.Name = "gridColumn4";
            this.gridColumn4.Visible = true;
            this.gridColumn4.VisibleIndex = 3;
            this.gridColumn4.Width = 94;
            //
            // Frm_MesItemTbl
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1128, 704);
            this.Controls.Add(this.picCheckBox);
            this.Controls.Add(this.xtraTabControl1);
            this.Controls.Add(this.toolBarMenu1);
            this.Name = "Frm_MesItemTbl";
            this.Text = "生产退料申请";
            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.panelMx1)).EndInit();
            this.panelMx1.ResumeLayout(false);
            this.panelMx1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_iCount_1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_psnQty_1.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.kyPrtQty.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtYdy.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtQuantity.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWlgg.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWlmc.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtWlid.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl021.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl012.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl011.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl006.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl004.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl003.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl001.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_billNo.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.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
            this.panel1.ResumeLayout(false);
            this.panel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl020.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl013.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl005.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;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld009;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld007;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld006;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld005;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld004;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld003;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld002;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tld001;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tlid;
        private DevExpress.XtraTab.XtraTabPage tabMxPage1;
        private DevExpress.XtraGrid.GridControl gcMx1;
        private DevExpress.XtraGrid.Views.Grid.GridView gvMx1;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl022;
        private DevExpress.XtraGrid.Columns.GridColumn gv_itemId;
        private DevExpress.XtraEditors.LabelControl lb_tbl021;
        private DevExpress.XtraEditors.TextEdit txt_tbl021;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl021;
        private DevExpress.XtraEditors.LabelControl lb_tbl020;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl020;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl019;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl018;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl017;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl016;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl015;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl014;
        private DevExpress.XtraEditors.LabelControl lb_tbl013;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl013;
        private DevExpress.XtraEditors.LabelControl lb_tbl012;
        private DevExpress.XtraEditors.TextEdit txt_tbl012;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl012;
        private DevExpress.XtraEditors.LabelControl lb_tbl011;
        private DevExpress.XtraEditors.TextEdit txt_tbl011;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl011;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl010;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl009;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl008;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl007;
        private DevExpress.XtraEditors.LabelControl lb_tbl006;
        private DevExpress.XtraEditors.TextEdit txt_tbl006;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl006;
        private DevExpress.XtraEditors.LabelControl lb_tbl005;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl005;
        private DevExpress.XtraEditors.LabelControl lb_tbl004;
        private DevExpress.XtraEditors.TextEdit txt_tbl004;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl004;
        private DevExpress.XtraEditors.LabelControl lb_tbl003;
        private DevExpress.XtraEditors.TextEdit txt_tbl003;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl003;
        private DevExpress.XtraEditors.LabelControl lb_tbl002;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl002;
        private DevExpress.XtraEditors.LabelControl lb_tbl001;
        private DevExpress.XtraEditors.TextEdit txt_tbl001;
        private DevExpress.XtraGrid.Columns.GridColumn gv_tbl001;
        private DevExpress.XtraEditors.LabelControl lb_billNo;
        private DevExpress.XtraEditors.TextEdit txt_billNo;
        private DevExpress.XtraGrid.Columns.GridColumn gv_billNo;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
        private DevExpress.XtraEditors.SimpleButton btnSelect;
        private DevExpress.XtraEditors.PanelControl panelMx1;
        private DevExpress.XtraEditors.LabelControl lbMxGuid;
        private DevExpress.XtraEditors.TextEdit txt_iCount_1;
        private DevExpress.XtraEditors.LabelControl labelControl14;
        private DevExpress.XtraEditors.TextEdit txt_psnQty_1;
        private DevExpress.XtraEditors.LabelControl labelControl12;
        private DevExpress.XtraEditors.TextEdit kyPrtQty;
        private DevExpress.XtraEditors.LabelControl labelControl13;
        private DevExpress.XtraEditors.TextEdit txtYdy;
        private DevExpress.XtraEditors.LabelControl labelControl1;
        private DevExpress.XtraEditors.TextEdit txtQuantity;
        private DevExpress.XtraEditors.LabelControl labelControl10;
        private DevExpress.XtraEditors.TextEdit txtWlgg;
        private DevExpress.XtraEditors.LabelControl labelControl9;
        private DevExpress.XtraEditors.TextEdit txtWlmc;
        private DevExpress.XtraEditors.LabelControl labelControl8;
        private DevExpress.XtraEditors.TextEdit txtWlid;
        private DevExpress.XtraEditors.LabelControl labelControl7;
        private UserControl.UcLookDaa txt_tbl002;
        private DevExpress.XtraEditors.ComboBoxEdit txt_tbl005;
        private DevExpress.XtraEditors.CheckEdit txt_tbl020;
        private DevExpress.XtraEditors.CheckEdit txt_tbl013;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
        private DevExpress.XtraGrid.Columns.GridColumn gvMxDel;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1;
        private System.Windows.Forms.PictureBox picCheckBox;
        private UserControl.UcBtnPrint ucBtnPrint1;
        private DevExpress.XtraGrid.GridControl gcMx2;
        private DevExpress.XtraGrid.Views.Grid.GridView gvMx2;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemBarcode;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1quantity;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1createBy;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1lotDate;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn7;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn9;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn8;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
    }
}
DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.cs
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,652 @@
using DevExpress.XtraGrid.Views.Base.ViewInfo;
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_WwTbl : DevExpress.XtraEditors.XtraForm
    {
        string _webServiceName = "WWTblManager/";
        List<FilterEntity> _filterList = new List<FilterEntity>();
        public Frm_WwTbl()
        {
            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;
            //toolBarMenu1.btnReportClick += ToolBarMenu1_btnReportClick;
            //toolBarMenu1.btnDesignClick += ToolBarMenu1_btnDesignClick;
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "tbl013", "", (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;
            //选择需要入库的明细
            btnSelect.Click += (s, e) =>
            {
                string _tbl002 = txt_tbl002.GetId();
                if (string.IsNullOrEmpty(_tbl002))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请先选择工单!");
                    return;
                }
                var frm = new SelectItemTbl(_tbl002);
                //赋值给明细表
                frm.UpdateParent += (ss, ee) =>
                {
                    try
                    {
                        var lst = new List<string>();
                        lst = ee.StringList;
                        var _obj = lst;
                        var strReturn = UtilityHelper.HttpPost("",
                            "MesItemTblManager/SelectPbaToView",
                            JsonConvert.SerializeObject(_obj));
                        var dt = UtilityHelper.ReturnToList(strReturn);
                        DataTable _newTable = dt.rtnData;
                        DataTable _oldTable = (DataTable)gcMx1.DataSource;
                        DataRow[] sourceRows = _newTable.Select();
                        for (int i = 0; i < sourceRows.Length; i++)
                        {
                            _oldTable.ImportRow(sourceRows[i]);
                        }
                        gcMx1.BindingContext = new BindingContext();
                        gcMx1.DataSource = _oldTable;
                        gcMx1.ForceInitialize();
                    }
                    catch (Exception ex)
                    {
                        MessageBox.Show(ex.Message);
                    }
                };
                frm.ShowDialog();
            };
            gvMx1.FocusedRowChanged += GvMx1_FocusedRowChanged;
            this.ucBtnPrint1.btnDesignClick += (s, e) =>
            {
                ucBtnPrint1.rptParameter = "rpt_SCTL{}";
            };
            this.ucBtnPrint1.btnReportClick += (s, e) =>
            {
                ucBtnPrint1.guidKey = "";
                string rowGuid = lbMxGuid.Text.Trim();
                ucBtnPrint1.guidKey = rowGuid;
                if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码张数!");
                    txt_iCount_1.Focus();
                    this.ucBtnPrint1.rptParameter = "return false";
                    return;
                }
                if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码数量!");
                    txt_psnQty_1.Focus();
                    this.ucBtnPrint1.rptParameter = "return false";
                    return;
                }
                if (lbMxGuid.Text.Trim().Length < 10)
                {
                    Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印的行!");
                    this.ucBtnPrint1.rptParameter = "return false";
                    return;
                }
                this.ucBtnPrint1.rptParameter = "rpt_SCTL{" + lbMxGuid.Text.Trim()
                       + "," + ""
                       + "," + ""
                       + "," + txt_iCount_1.Text.Trim()
                       + "," + txt_psnQty_1.Text.Trim()
                       + "}";
            };
        }
        private async void GridView1_ColumnFilterChanged(object sender, EventArgs e)
        {
            _filterList = Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns);
            await 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);
        }
        private void ToolBarMenu1_btnDesignClick(object sender, EventArgs e)
        {
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_billNo, gridView1);
            toolBarMenu1.guidKey = rowGuid;
            toolBarMenu1.rptParameter = "rpt_SCTL{}";
        }
        private void ToolBarMenu1_btnReportClick(object sender, EventArgs e)
        {
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_billNo, gridView1);
            toolBarMenu1.guidKey = rowGuid;
            if (xtraTabControl1.SelectedTabPageIndex == 0)
            {
                getModel(rowGuid);
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (string.IsNullOrEmpty(txt_iCount_1.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码张数!");
                txt_iCount_1.Focus();
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (string.IsNullOrEmpty(txt_psnQty_1.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印条码数量!");
                txt_psnQty_1.Focus();
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            if (lbMxGuid.Text.Trim().Length < 10)
            {
                Gs.DevApp.ToolBox.MsgHelper.ShowError("请选择打印的行!");
                this.toolBarMenu1.rptParameter = "return false";
                return;
            }
            this.toolBarMenu1.rptParameter = "rpt_SCTL{" + lbMxGuid.Text.Trim()
                   + "," + ""
                   + "," + ""
                   + "," + txt_iCount_1.Text.Trim()
                   + "," + txt_psnQty_1.Text.Trim()
                   + "}";
        }
        /// <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_btnDelClick1(object sender, EventArgs e)
        {
            string rowGuid = "", rowName = "";
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
                lbGuid, txt_billNo, gridView1, "billNo");
            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_billNo, gridView1);
            if (string.IsNullOrEmpty(rowGuid))
            {
                ToolBox.MsgHelper.Warning("请先选择你要操作的行!");
                return;
            }
            Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3);
            if (xtraTabControl1.SelectedTabPageIndex == 1)
            {
                getModel(rowGuid);
            }
            else
            {
                List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                gvList.Add(gvMx1);
                gvList.Add(gvMx2);
                UtilityHelper.ChangeEnableByControl(panel1.Controls, true, gvList);
            }
        }
        /// <summary>
        /// æ–°å¢žäº‹ä»¶
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ToolBarMenu1_btnAddClick(object sender, EventArgs e)
        {
            UtilityHelper.JumpToTab(xtraTabControl1, 1);
            lbGuid.Text = "";
            List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
            gridViews.Add(gvMx1);
            gridViews.Add(gvMx2);
            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 workId = txt_tbl002.GetId();
            if (string.IsNullOrEmpty(workId.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.Warning("请选择工单!");
                txt_tbl002.Focus();
                return;
            }
            if (string.IsNullOrEmpty(txt_tbl005.Text.Trim()))
            {
                Gs.DevApp.ToolBox.MsgHelper.Warning("请选择原因!");
                txt_tbl005.Focus();
                return;
            }
            var _obj = new
            {
                guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //主建
                bz = txt_tbl006.Text.Trim(),//备注
                yy = txt_tbl005.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["tlid"].ToString());
                    string _sl = row["tld005"].ToString();
                    if (string.IsNullOrEmpty(_sl))
                    {
                        MsgHelper.ShowError("申请数量不能为空!");
                        return;
                    }
                    _obj.list.Add(new
                    {
                        Guid = _guid,
                        AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["aboutGuid"].ToString()),
                        Sl = _sl //申请数量
                    });
                }
            }
            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);
                    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 array2 = new JArray();
                    foreach (var a in _job["rtnData"]["list2"])
                    {
                        array2.Add(a);
                    }
                    DataTable dt2 = JsonConvert.DeserializeObject<DataTable>(array2.ToString());
                    if (dt2.Rows.Count > 0)
                    {
                        gcMx2.BindingContext = new BindingContext();
                        gcMx2.DataSource = dt2;
                        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)
        {
            var rowhandle = gvMx1.FocusedRowHandle;
            if (rowhandle < 0)
                return;
            if (e.Button.Index == 0)
            {
                var dr = gvMx1.GetDataRow(rowhandle);
                var mxGuid = dr["tlid"].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);
                }
            }
        }
        /// <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_billNo, 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(1);
                }
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + ex.Message);
            }
        }
        private void GvMx1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e)
        {
            if (e.FocusedRowHandle >= 0)
            {
                DataRow row = gvMx1.GetDataRow(e.FocusedRowHandle);
                lbMxGuid.Text = row["tlid"].ToString();
                toolBarMenu1.guidKey = row["tlid"].ToString();
                txtWlid.Text = row["tld002"].ToString();
                txtWlgg.Text = row["tld004"].ToString();
                txtWlmc.Text = row["tld003"].ToString();
                txtQuantity.Text = row["tld004"].ToString();//申请总量
                 //txtYdy.Text = row["YDYNUM"].ToString();//已打印总量
                 //kyPrtQty.Text = row["KDYNUM"].ToString();//可打印总量
                txtYdy.Text = "";//已打印总量
                kyPrtQty.Text = "";//可打印总量
            }
        }
    }
}
DevApp/Gs.DevApp/DevFrm/WW/Frm_WwTbl.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>
DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -554,6 +554,12 @@
    <Compile Include="DevFrm\Warehouse\Models\VArrivalBarcode.cs" />
    <Compile Include="DevFrm\Warehouse\Models\VArrivalBarcodeItem.cs" />
    <Compile Include="DevFrm\Warehouse\Models\VArrivalBarcodeItem3.cs" />
    <Compile Include="DevFrm\WW\Frm_WwTbl.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="DevFrm\WW\Frm_WwTbl.Designer.cs">
      <DependentUpon>Frm_WwTbl.cs</DependentUpon>
    </Compile>
    <Compile Include="DevFrm\WOM\Frm_MesWomdaahb.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -1002,6 +1008,9 @@
    <EmbeddedResource Include="DevFrm\Warehouse\Frm_MesRohIn.resx">
      <DependentUpon>Frm_MesRohIn.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="DevFrm\WW\Frm_WwTbl.resx">
      <DependentUpon>Frm_WwTbl.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="DevFrm\WOM\Frm_MesWomdaahb.resx">
      <DependentUpon>Frm_MesWomdaahb.cs</DependentUpon>
    </EmbeddedResource>