bug
lu
2025-07-31 d0f32cf641c751e6b926d2169fc1b17c155c6c82
bug
已修改8个文件
已删除3个文件
4899 ■■■■■ 文件已修改
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.Designer.cs 99 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs 33 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.Designer.cs 151 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.cs 34 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.resx 4035 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/WOM/Frm_WomFanGong.Designer.cs 385 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/WOM/Frm_WomFanGong.cs 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/Gs.DevApp.csproj 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/Program.cs 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/XtraForm1.Designer.cs 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/XtraForm1.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.Designer.cs
@@ -108,6 +108,7 @@
            this.txt_daa014 = new DevExpress.XtraEditors.TextEdit();
            this.txt_tbl026 = new DevExpress.XtraEditors.TextEdit();
            this.txt_tbl025 = new DevExpress.XtraEditors.TextEdit();
            this.txt_chkOut = new DevExpress.XtraEditors.CheckEdit();
            this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -130,6 +131,7 @@
            this.lab_daa014 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem34 = new DevExpress.XtraLayout.LayoutControlItem();
            this.tabMx = new DevExpress.XtraTab.XtraTabControl();
            this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.split99 = new DevExpress.XtraEditors.SplitContainerControl();
@@ -180,10 +182,9 @@
            this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
            this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.rptBl = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.repositoryItemMemoEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx2 = new DevExpress.XtraGrid.GridControl();
            this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView();
@@ -238,6 +239,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.txt_daa014.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl026.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl025.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_chkOut.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
@@ -260,6 +262,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.lab_daa014)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem34)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
            this.tabMx.SuspendLayout();
            this.tabMxPage1.SuspendLayout();
@@ -301,8 +304,8 @@
            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rptBl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).BeginInit();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
@@ -687,6 +690,7 @@
            this.layoutMx1.Controls.Add(this.txt_daa014);
            this.layoutMx1.Controls.Add(this.txt_tbl026);
            this.layoutMx1.Controls.Add(this.txt_tbl025);
            this.layoutMx1.Controls.Add(this.txt_chkOut);
            this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
            this.layoutControlItem7,
@@ -906,6 +910,15 @@
            this.txt_tbl025.TabIndex = 471;
            this.txt_tbl025.Tag = "readonly";
            // 
            // txt_chkOut
            //
            this.txt_chkOut.Location = new System.Drawing.Point(316, 136);
            this.txt_chkOut.Name = "txt_chkOut";
            this.txt_chkOut.Properties.Caption = "是否自动生成补料单";
            this.txt_chkOut.Size = new System.Drawing.Size(300, 24);
            this.txt_chkOut.StyleController = this.layoutMx1;
            this.txt_chkOut.TabIndex = 472;
            //
            // layoutControlItem7
            // 
            this.layoutControlItem7.Control = this.txt_id;
@@ -963,7 +976,8 @@
            this.layoutControlItem2,
            this.lab_daa014,
            this.layoutControlItem19,
            this.layoutControlItem20});
            this.layoutControlItem20,
            this.layoutControlItem34});
            this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
            this.Root.Name = "Root";
            columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -1192,6 +1206,17 @@
            this.layoutControlItem20.Text = "批准时间";
            this.layoutControlItem20.TextSize = new System.Drawing.Size(60, 18);
            // 
            // layoutControlItem34
            //
            this.layoutControlItem34.Control = this.txt_chkOut;
            this.layoutControlItem34.Location = new System.Drawing.Point(304, 124);
            this.layoutControlItem34.Name = "layoutControlItem34";
            this.layoutControlItem34.OptionsTableLayoutItem.ColumnIndex = 1;
            this.layoutControlItem34.OptionsTableLayoutItem.RowIndex = 4;
            this.layoutControlItem34.Size = new System.Drawing.Size(304, 31);
            this.layoutControlItem34.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem34.TextVisible = false;
            //
            // tabMx
            // 
            this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -1227,7 +1252,6 @@
            // 
            this.split99.Panel2.Controls.Add(this.gcMx1);
            this.split99.Panel2.Text = "Panel2";
            this.split99.ShowSplitGlyph = DevExpress.Utils.DefaultBoolean.True;
            this.split99.Size = new System.Drawing.Size(1256, 378);
            this.split99.SplitterPosition = 138;
@@ -1253,7 +1277,7 @@
            this.lay99.Name = "lay99";
            this.lay99.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(306, 272, 812, 500);
            this.lay99.Root = this.layoutControlGroup1;
            this.lay99.Size = new System.Drawing.Size(0, 0);
            this.lay99.Size = new System.Drawing.Size(1256, 138);
            this.lay99.TabIndex = 0;
            this.lay99.Text = "layoutControl1";
            // 
@@ -1627,7 +1651,7 @@
            this.repositoryItemButtonEdit1,
            this.rptBl,
            this.repositoryItemMemoEdit1});
            this.gcMx1.Size = new System.Drawing.Size(1256, 378);
            this.gcMx1.Size = new System.Drawing.Size(1256, 228);
            this.gcMx1.TabIndex = 0;
            this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gvMx1});
@@ -1651,7 +1675,6 @@
            this.gridColumn2,
            this.gvMxDel,
            this.gridColumn18,
            this.gridColumn20,
            this.gridColumn19});
            this.gvMx1.GridControl = this.gcMx1;
            this.gvMx1.Name = "gvMx1";
@@ -1748,7 +1771,7 @@
            this.gridColumn13.MinWidth = 25;
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 8;
            this.gridColumn13.VisibleIndex = 7;
            this.gridColumn13.Width = 84;
            // 
            // gvMx1tld006
@@ -1760,7 +1783,7 @@
            this.gvMx1tld006.Name = "gvMx1tld006";
            this.gvMx1tld006.Tag = "query_a.tld006";
            this.gvMx1tld006.Visible = true;
            this.gvMx1tld006.VisibleIndex = 9;
            this.gvMx1tld006.VisibleIndex = 8;
            this.gvMx1tld006.Width = 84;
            // 
            // gvMx1tld007
@@ -1772,7 +1795,7 @@
            this.gvMx1tld007.Name = "gvMx1tld007";
            this.gvMx1tld007.Tag = "query_a.tld007";
            this.gvMx1tld007.Visible = true;
            this.gvMx1tld007.VisibleIndex = 10;
            this.gvMx1tld007.VisibleIndex = 9;
            this.gvMx1tld007.Width = 84;
            // 
            // gvMx1tld009
@@ -1792,7 +1815,7 @@
            this.gridColumn1.MinWidth = 25;
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 11;
            this.gridColumn1.VisibleIndex = 10;
            this.gridColumn1.Width = 84;
            // 
            // gridColumn2
@@ -1802,7 +1825,7 @@
            this.gridColumn2.MinWidth = 25;
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 12;
            this.gridColumn2.VisibleIndex = 11;
            this.gridColumn2.Width = 84;
            // 
            // gvMxDel
@@ -1812,7 +1835,7 @@
            this.gvMxDel.MinWidth = 25;
            this.gvMxDel.Name = "gvMxDel";
            this.gvMxDel.Visible = true;
            this.gvMxDel.VisibleIndex = 13;
            this.gvMxDel.VisibleIndex = 12;
            this.gvMxDel.Width = 88;
            // 
            // repositoryItemButtonEdit1
@@ -1834,42 +1857,28 @@
            this.gridColumn18.AppearanceHeader.Options.UseForeColor = true;
            this.gridColumn18.Caption = "备注";
            this.gridColumn18.FieldName = "tld014";
            this.gridColumn18.MinWidth = 25;
            this.gridColumn18.MinWidth = 80;
            this.gridColumn18.Name = "gridColumn18";
            this.gridColumn18.Tag = "edit";
            this.gridColumn18.Visible = true;
            this.gridColumn18.VisibleIndex = 5;
            this.gridColumn18.Width = 78;
            //
            // gridColumn20
            //
            this.gridColumn20.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
            this.gridColumn20.AppearanceCell.Options.UseForeColor = true;
            this.gridColumn20.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
            this.gridColumn20.AppearanceHeader.Options.UseForeColor = true;
            this.gridColumn20.Caption = "不良类别";
            this.gridColumn20.ColumnEdit = this.repositoryItemMemoEdit1;
            this.gridColumn20.FieldName = "tld015";
            this.gridColumn20.MinWidth = 25;
            this.gridColumn20.Name = "gridColumn20";
            this.gridColumn20.Tag = "edit";
            this.gridColumn20.Visible = true;
            this.gridColumn20.VisibleIndex = 7;
            this.gridColumn20.Width = 78;
            //
            // repositoryItemMemoEdit1
            //
            this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
            this.gridColumn18.Width = 80;
            // 
            // gridColumn19
            // 
            this.gridColumn19.Caption = "选择";
            this.gridColumn19.AppearanceCell.ForeColor = System.Drawing.Color.Blue;
            this.gridColumn19.AppearanceCell.Options.UseForeColor = true;
            this.gridColumn19.AppearanceHeader.ForeColor = System.Drawing.Color.Blue;
            this.gridColumn19.AppearanceHeader.Options.UseForeColor = true;
            this.gridColumn19.Caption = "选择不良类别";
            this.gridColumn19.ColumnEdit = this.rptBl;
            this.gridColumn19.MinWidth = 25;
            this.gridColumn19.FieldName = "tld015";
            this.gridColumn19.MinWidth = 100;
            this.gridColumn19.Name = "gridColumn19";
            this.gridColumn19.Tag = "edit";
            this.gridColumn19.Visible = true;
            this.gridColumn19.VisibleIndex = 6;
            this.gridColumn19.Width = 40;
            this.gridColumn19.Width = 100;
            // 
            // rptBl
            // 
@@ -1878,8 +1887,11 @@
            this.rptBl.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.rptBl.Name = "rptBl";
            this.rptBl.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
            this.rptBl.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.rptBl_ButtonClick);
            //
            // repositoryItemMemoEdit1
            //
            this.repositoryItemMemoEdit1.Name = "repositoryItemMemoEdit1";
            // 
            // xtraTabPage3
            // 
@@ -2117,6 +2129,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.txt_daa014.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl026.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_tbl025.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_chkOut.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
@@ -2139,6 +2152,7 @@
            ((System.ComponentModel.ISupportInitialize)(this.lab_daa014)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem34)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
            this.tabMx.ResumeLayout(false);
            this.tabMxPage1.ResumeLayout(false);
@@ -2180,8 +2194,8 @@
            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rptBl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoEdit1)).EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
@@ -2294,7 +2308,6 @@
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
        private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit rptBl;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn20;
        private DevExpress.XtraEditors.Repository.RepositoryItemMemoEdit repositoryItemMemoEdit1;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
        private DevExpress.XtraLayout.LayoutControlItem lab_daa014;
@@ -2333,5 +2346,7 @@
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem32;
        private DevExpress.XtraEditors.LabelControl lbMxGuid;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem33;
        private DevExpress.XtraEditors.CheckEdit txt_chkOut;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem34;
    }
}
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs
@@ -448,6 +448,7 @@
                yy = txt_tbl005.Text.Trim(),//原因
                inDaaGuid = workId,//工单
                inOrgId = orgId,//组织
                chkOut = (txt_chkOut.Checked ? "1" : "0"),
                list = new List<dynamic>(),
            };
            gvMx1.CloseEditor();
@@ -584,14 +585,6 @@
                    gvList.Add(gvMx2);
                    UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList);
                    _ucGg = "";
                    if (txt_tbl005.Text == "良品退料")
                    {
                        this.split99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Panel2;
                    }
                    else
                    {
                        this.split99.PanelVisibility = DevExpress.XtraEditors.SplitPanelVisibility.Both;
                    }
                    JObject _job = JObject.Parse(strJson);
                    JArray array = new JArray();
                    foreach (var a in _job["rtnData"]["list"])
@@ -720,32 +713,11 @@
            }
            if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定" + strMsg + "吗?"))
                return;
            //如果是审核,询问要不要生成补料beg
            string txt_chkOut = "0";
            if (_inFieldValue == 1 && txt_tbl005.Text.Trim() != "良品退料")
            {
                var frm = new Frm_MesItemTblShow();
                frm.UpdateParent += (ss, ee) =>
                {
                    try
                    {
                        txt_chkOut = ee.StringSingle;
                    }
                    catch (Exception ex)
                    {
                        MessageBox.Show(ex.Message);
                    }
                };
                frm.ShowDialog();
            }
            //如果是审核,询问要不要生成补料end
            var _obj = new
            {
                guid = rowGuid,
                inFieldValue = _inFieldValue,
                chkOut = txt_chkOut
            };
            try
            {
@@ -797,7 +769,6 @@
                    stringBuilder.Append(dym.dicTxt);
                }
                gvMx1.SetFocusedRowCellValue("tld015", stringBuilder.ToString());
                // this.TextTxt = ;
            };
            frm.ShowDialog();
        }
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.Designer.cs
ÎļþÒÑɾ³ý
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.cs
ÎļþÒÑɾ³ý
DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTblShow.resx
ÎļþÒÑɾ³ý
DevApp/Gs.DevApp/DevFrm/WOM/Frm_WomFanGong.Designer.cs
@@ -29,14 +29,15 @@
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition13 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition14 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition15 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.ColumnDefinition columnDefinition16 = new DevExpress.XtraLayout.ColumnDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition13 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition14 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition15 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraLayout.RowDefinition rowDefinition16 = new DevExpress.XtraLayout.RowDefinition();
            DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
            this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
            this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
            this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
@@ -53,6 +54,9 @@
            this.gv_purchaseDept = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gv_purchaser = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvcol6 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.pageBar1 = new UserControls.Data.UcPageBar();
            this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
            this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
@@ -69,7 +73,6 @@
            this.txt_mrmodeTxt = new DevExpress.XtraEditors.TextEdit();
            this.txt_itemModel = new DevExpress.XtraEditors.TextEdit();
            this.txt_erpCheckBy = new DevExpress.XtraEditors.TextEdit();
            this.btnZsm = new DevExpress.XtraEditors.SimpleButton();
            this.txt_aboutGuid = new DevExpress.XtraEditors.TextEdit();
            this.txt_lineName = new DevExpress.XtraEditors.TextEdit();
            this.txt_workNo = new DevExpress.XtraEditors.TextEdit();
@@ -88,12 +91,10 @@
            this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem();
            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
            this.tabMx = new DevExpress.XtraTab.XtraTabControl();
            this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx1 = new DevExpress.XtraGrid.GridControl();
@@ -114,7 +115,6 @@
            this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn22 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn47 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -122,6 +122,17 @@
            this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.tips = new DevExpress.Utils.ToolTipController(this.components);
            this.picCheckBox = new System.Windows.Forms.PictureBox();
            this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem();
            this.xtraTabPage3 = new DevExpress.XtraTab.XtraTabPage();
            this.gcMx7 = new DevExpress.XtraGrid.GridControl();
            this.gvMx7 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gvMx1daa002 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1daa010 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gvMx1daa004 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn63 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn64 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn65 = new DevExpress.XtraGrid.Columns.GridColumn();
            ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
            this.xtraTabControl1.SuspendLayout();
            this.xtraTabPage1.SuspendLayout();
@@ -169,12 +180,10 @@
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
            this.tabMx.SuspendLayout();
            this.tabMxPage1.SuspendLayout();
@@ -183,6 +192,11 @@
            this.tabMxPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit();
            this.xtraTabPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gcMx7)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx7)).BeginInit();
            this.SuspendLayout();
            // 
            // toolBarMenu1
@@ -270,7 +284,10 @@
            this.bandedGridColumn2,
            this.gv_purchaseDept,
            this.gv_purchaser,
            this.gvcol6});
            this.gvcol6,
            this.gridColumn10,
            this.gridColumn11,
            this.gridColumn13});
            this.gridView1.GridControl = this.gcMain1;
            this.gridView1.IndicatorWidth = 50;
            this.gridView1.Name = "gridView1";
@@ -302,7 +319,7 @@
            this.gv_documentStatus.OptionsColumn.AllowEdit = false;
            this.gv_documentStatus.Tag = "query_a.DOCUMENT_STATUS";
            this.gv_documentStatus.Visible = true;
            this.gv_documentStatus.VisibleIndex = 1;
            this.gv_documentStatus.VisibleIndex = 4;
            this.gv_documentStatus.Width = 70;
            // 
            // gv_documentType
@@ -315,7 +332,7 @@
            this.gv_documentType.OptionsColumn.AllowEdit = false;
            this.gv_documentType.Tag = "query_a.DOCUMENT_TYPE";
            this.gv_documentType.Visible = true;
            this.gv_documentType.VisibleIndex = 2;
            this.gv_documentType.VisibleIndex = 5;
            this.gv_documentType.Width = 80;
            // 
            // gv_businessType
@@ -328,7 +345,7 @@
            this.gv_businessType.OptionsColumn.AllowEdit = false;
            this.gv_businessType.Tag = "query_a.BUSINESS_TYPE";
            this.gv_businessType.Visible = true;
            this.gv_businessType.VisibleIndex = 3;
            this.gv_businessType.VisibleIndex = 6;
            this.gv_businessType.Width = 80;
            // 
            // bandedGridColumn1
@@ -340,7 +357,7 @@
            this.bandedGridColumn1.OptionsColumn.AllowEdit = false;
            this.bandedGridColumn1.Tag = "query_a.suppName";
            this.bandedGridColumn1.Visible = true;
            this.bandedGridColumn1.VisibleIndex = 4;
            this.bandedGridColumn1.VisibleIndex = 7;
            this.bandedGridColumn1.Width = 134;
            // 
            // gv_closeStatus
@@ -353,7 +370,7 @@
            this.gv_closeStatus.OptionsColumn.AllowEdit = false;
            this.gv_closeStatus.Tag = "query_a.CLOSE_STATUS";
            this.gv_closeStatus.Visible = true;
            this.gv_closeStatus.VisibleIndex = 5;
            this.gv_closeStatus.VisibleIndex = 8;
            this.gv_closeStatus.Width = 80;
            // 
            // bandedGridColumn2
@@ -365,7 +382,7 @@
            this.bandedGridColumn2.OptionsColumn.AllowEdit = false;
            this.bandedGridColumn2.Tag = "query_a.departmentname";
            this.bandedGridColumn2.Visible = true;
            this.bandedGridColumn2.VisibleIndex = 6;
            this.bandedGridColumn2.VisibleIndex = 9;
            this.bandedGridColumn2.Width = 80;
            // 
            // gv_purchaseDept
@@ -378,7 +395,7 @@
            this.gv_purchaseDept.OptionsColumn.AllowEdit = false;
            this.gv_purchaseDept.Tag = "query_a.PURCHASE_DEPT";
            this.gv_purchaseDept.Visible = true;
            this.gv_purchaseDept.VisibleIndex = 7;
            this.gv_purchaseDept.VisibleIndex = 10;
            this.gv_purchaseDept.Width = 50;
            // 
            // gv_purchaser
@@ -391,7 +408,7 @@
            this.gv_purchaser.OptionsColumn.AllowEdit = false;
            this.gv_purchaser.Tag = "query_a.PURCHASER";
            this.gv_purchaser.Visible = true;
            this.gv_purchaser.VisibleIndex = 8;
            this.gv_purchaser.VisibleIndex = 11;
            this.gv_purchaser.Width = 60;
            // 
            // gvcol6
@@ -401,6 +418,36 @@
            this.gvcol6.MinWidth = 25;
            this.gvcol6.Name = "gvcol6";
            this.gvcol6.Width = 94;
            //
            // gridColumn10
            //
            this.gridColumn10.Caption = "审核状态";
            this.gridColumn10.FieldName = "fgCheckStatusChk";
            this.gridColumn10.MinWidth = 25;
            this.gridColumn10.Name = "gridColumn10";
            this.gridColumn10.Visible = true;
            this.gridColumn10.VisibleIndex = 1;
            this.gridColumn10.Width = 94;
            //
            // gridColumn11
            //
            this.gridColumn11.Caption = "审核人";
            this.gridColumn11.FieldName = "fgCheckBy";
            this.gridColumn11.MinWidth = 25;
            this.gridColumn11.Name = "gridColumn11";
            this.gridColumn11.Visible = true;
            this.gridColumn11.VisibleIndex = 2;
            this.gridColumn11.Width = 94;
            //
            // gridColumn13
            //
            this.gridColumn13.Caption = "审核时间";
            this.gridColumn13.FieldName = "fgCheckDatet";
            this.gridColumn13.MinWidth = 25;
            this.gridColumn13.Name = "gridColumn13";
            this.gridColumn13.Visible = true;
            this.gridColumn13.VisibleIndex = 3;
            this.gridColumn13.Width = 94;
            // 
            // pageBar1
            // 
@@ -456,7 +503,6 @@
            this.layoutMx1.Controls.Add(this.txt_mrmodeTxt);
            this.layoutMx1.Controls.Add(this.txt_itemModel);
            this.layoutMx1.Controls.Add(this.txt_erpCheckBy);
            this.layoutMx1.Controls.Add(this.btnZsm);
            this.layoutMx1.Controls.Add(this.txt_aboutGuid);
            this.layoutMx1.Controls.Add(this.txt_lineName);
            this.layoutMx1.Controls.Add(this.txt_workNo);
@@ -479,11 +525,11 @@
            // 
            this.ucBtnPrint98.allClickKey = null;
            this.ucBtnPrint98.guidKey = null;
            this.ucBtnPrint98.Location = new System.Drawing.Point(1002, 111);
            this.ucBtnPrint98.Location = new System.Drawing.Point(672, 109);
            this.ucBtnPrint98.Margin = new System.Windows.Forms.Padding(0);
            this.ucBtnPrint98.Name = "ucBtnPrint98";
            this.ucBtnPrint98.rptParameter = null;
            this.ucBtnPrint98.Size = new System.Drawing.Size(328, 29);
            this.ucBtnPrint98.Size = new System.Drawing.Size(326, 29);
            this.ucBtnPrint98.TabIndex = 9;
            // 
            // lbGuid
@@ -496,7 +542,7 @@
            // 
            // txt_releaseNo
            // 
            this.txt_releaseNo.Location = new System.Drawing.Point(99, 12);
            this.txt_releaseNo.Location = new System.Drawing.Point(99, 10);
            this.txt_releaseNo.Name = "txt_releaseNo";
            this.txt_releaseNo.Properties.Appearance.Options.UseFont = true;
            this.txt_releaseNo.Size = new System.Drawing.Size(239, 24);
@@ -513,7 +559,7 @@
            // 
            // txt_itemName
            // 
            this.txt_itemName.Location = new System.Drawing.Point(759, 12);
            this.txt_itemName.Location = new System.Drawing.Point(759, 10);
            this.txt_itemName.Name = "txt_itemName";
            this.txt_itemName.Size = new System.Drawing.Size(239, 24);
            this.txt_itemName.StyleController = this.layoutMx1;
@@ -521,7 +567,7 @@
            // 
            // txt_itemNo2
            // 
            this.txt_itemNo2.Location = new System.Drawing.Point(429, 12);
            this.txt_itemNo2.Location = new System.Drawing.Point(429, 10);
            this.txt_itemNo2.Name = "txt_itemNo2";
            this.txt_itemNo2.Size = new System.Drawing.Size(239, 24);
            this.txt_itemNo2.StyleController = this.layoutMx1;
@@ -529,7 +575,7 @@
            // 
            // txt_createBy
            // 
            this.txt_createBy.Location = new System.Drawing.Point(759, 45);
            this.txt_createBy.Location = new System.Drawing.Point(759, 43);
            this.txt_createBy.Name = "txt_createBy";
            this.txt_createBy.Size = new System.Drawing.Size(239, 24);
            this.txt_createBy.StyleController = this.layoutMx1;
@@ -537,7 +583,7 @@
            // 
            // txt_createDate
            // 
            this.txt_createDate.Location = new System.Drawing.Point(1089, 45);
            this.txt_createDate.Location = new System.Drawing.Point(1089, 43);
            this.txt_createDate.Name = "txt_createDate";
            this.txt_createDate.Size = new System.Drawing.Size(241, 24);
            this.txt_createDate.StyleController = this.layoutMx1;
@@ -545,7 +591,7 @@
            // 
            // txt_fbatchQty
            // 
            this.txt_fbatchQty.Location = new System.Drawing.Point(99, 45);
            this.txt_fbatchQty.Location = new System.Drawing.Point(99, 43);
            this.txt_fbatchQty.Name = "txt_fbatchQty";
            this.txt_fbatchQty.Size = new System.Drawing.Size(239, 24);
            this.txt_fbatchQty.StyleController = this.layoutMx1;
@@ -553,7 +599,7 @@
            // 
            // txt_mrmodeTxt
            // 
            this.txt_mrmodeTxt.Location = new System.Drawing.Point(429, 111);
            this.txt_mrmodeTxt.Location = new System.Drawing.Point(429, 109);
            this.txt_mrmodeTxt.Name = "txt_mrmodeTxt";
            this.txt_mrmodeTxt.Size = new System.Drawing.Size(239, 24);
            this.txt_mrmodeTxt.StyleController = this.layoutMx1;
@@ -561,7 +607,7 @@
            // 
            // txt_itemModel
            // 
            this.txt_itemModel.Location = new System.Drawing.Point(1089, 12);
            this.txt_itemModel.Location = new System.Drawing.Point(1089, 10);
            this.txt_itemModel.Name = "txt_itemModel";
            this.txt_itemModel.Size = new System.Drawing.Size(241, 24);
            this.txt_itemModel.StyleController = this.layoutMx1;
@@ -569,21 +615,11 @@
            // 
            // txt_erpCheckBy
            // 
            this.txt_erpCheckBy.Location = new System.Drawing.Point(99, 78);
            this.txt_erpCheckBy.Location = new System.Drawing.Point(99, 76);
            this.txt_erpCheckBy.Name = "txt_erpCheckBy";
            this.txt_erpCheckBy.Size = new System.Drawing.Size(239, 24);
            this.txt_erpCheckBy.StyleController = this.layoutMx1;
            this.txt_erpCheckBy.TabIndex = 241;
            //
            // btnZsm
            //
            this.btnZsm.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.insert_16x16;
            this.btnZsm.Location = new System.Drawing.Point(672, 111);
            this.btnZsm.Name = "btnZsm";
            this.btnZsm.Size = new System.Drawing.Size(196, 27);
            this.btnZsm.StyleController = this.layoutMx1;
            this.btnZsm.TabIndex = 242;
            this.btnZsm.Text = "确认反工并生成新追溯码";
            // 
            // txt_aboutGuid
            // 
@@ -595,7 +631,7 @@
            // 
            // txt_lineName
            // 
            this.txt_lineName.Location = new System.Drawing.Point(429, 45);
            this.txt_lineName.Location = new System.Drawing.Point(429, 43);
            this.txt_lineName.Name = "txt_lineName";
            this.txt_lineName.Size = new System.Drawing.Size(239, 24);
            this.txt_lineName.StyleController = this.layoutMx1;
@@ -603,7 +639,7 @@
            // 
            // txt_workNo
            // 
            this.txt_workNo.Location = new System.Drawing.Point(99, 111);
            this.txt_workNo.Location = new System.Drawing.Point(99, 109);
            this.txt_workNo.Name = "txt_workNo";
            this.txt_workNo.Size = new System.Drawing.Size(239, 24);
            this.txt_workNo.StyleController = this.layoutMx1;
@@ -611,7 +647,7 @@
            // 
            // txt_msg
            // 
            this.txt_msg.Location = new System.Drawing.Point(759, 78);
            this.txt_msg.Location = new System.Drawing.Point(759, 76);
            this.txt_msg.Name = "txt_msg";
            this.txt_msg.Size = new System.Drawing.Size(571, 24);
            this.txt_msg.StyleController = this.layoutMx1;
@@ -619,7 +655,7 @@
            // 
            // txt_fngHandle
            // 
            this.txt_fngHandle.Location = new System.Drawing.Point(429, 78);
            this.txt_fngHandle.Location = new System.Drawing.Point(429, 76);
            this.txt_fngHandle.Name = "txt_fngHandle";
            this.txt_fngHandle.Size = new System.Drawing.Size(239, 24);
            this.txt_fngHandle.StyleController = this.layoutMx1;
@@ -671,7 +707,6 @@
            this.layoutControlItem11,
            this.layoutControlItem14,
            this.layoutControlItem15,
            this.layoutControlItem8,
            this.layoutControlItem10,
            this.layoutControlItem12,
            this.layoutControlItem17,
@@ -679,32 +714,32 @@
            this.layoutControlItem13});
            this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
            this.Root.Name = "Root";
            columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition1.Width = 100D;
            columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition2.Width = 100D;
            columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition3.Width = 100D;
            columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition4.Width = 100D;
            columnDefinition13.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition13.Width = 100D;
            columnDefinition14.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition14.Width = 100D;
            columnDefinition15.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition15.Width = 100D;
            columnDefinition16.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition16.Width = 100D;
            this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
            columnDefinition1,
            columnDefinition2,
            columnDefinition3,
            columnDefinition4});
            rowDefinition1.Height = 100D;
            rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition2.Height = 100D;
            rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition3.Height = 100D;
            rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition4.Height = 100D;
            rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
            columnDefinition13,
            columnDefinition14,
            columnDefinition15,
            columnDefinition16});
            rowDefinition13.Height = 100D;
            rowDefinition13.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition14.Height = 100D;
            rowDefinition14.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition15.Height = 100D;
            rowDefinition15.SizeType = System.Windows.Forms.SizeType.Percent;
            rowDefinition16.Height = 100D;
            rowDefinition16.SizeType = System.Windows.Forms.SizeType.Percent;
            this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
            rowDefinition1,
            rowDefinition2,
            rowDefinition3,
            rowDefinition4});
            rowDefinition13,
            rowDefinition14,
            rowDefinition15,
            rowDefinition16});
            this.Root.Size = new System.Drawing.Size(1342, 152);
            this.Root.TextVisible = false;
            // 
@@ -799,21 +834,6 @@
            this.layoutControlItem15.Text = "工单单号";
            this.layoutControlItem15.TextSize = new System.Drawing.Size(75, 18);
            // 
            // layoutControlItem8
            //
            this.layoutControlItem8.Control = this.btnZsm;
            this.layoutControlItem8.Location = new System.Drawing.Point(660, 99);
            this.layoutControlItem8.MaxSize = new System.Drawing.Size(200, 31);
            this.layoutControlItem8.MinSize = new System.Drawing.Size(105, 31);
            this.layoutControlItem8.Name = "layoutControlItem8";
            this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem8.Size = new System.Drawing.Size(330, 33);
            this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
            this.layoutControlItem8.Text = "生成追溯码";
            this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem8.TextVisible = false;
            //
            // layoutControlItem10
            // 
            this.layoutControlItem10.Control = this.txt_mrmodeTxt;
@@ -859,18 +879,6 @@
            this.layoutControlItem16.Text = "违规类别";
            this.layoutControlItem16.TextSize = new System.Drawing.Size(75, 18);
            // 
            // layoutControlItem13
            //
            this.layoutControlItem13.Control = this.ucBtnPrint98;
            this.layoutControlItem13.Location = new System.Drawing.Point(990, 99);
            this.layoutControlItem13.Name = "layoutControlItem13";
            this.layoutControlItem13.OptionsTableLayoutItem.ColumnIndex = 3;
            this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem13.Size = new System.Drawing.Size(332, 33);
            this.layoutControlItem13.Text = "确定打印";
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem13.TextVisible = false;
            //
            // tabMx
            // 
            this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -881,7 +889,8 @@
            this.tabMx.TabIndex = 3;
            this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
            this.tabMxPage1,
            this.tabMxPage2});
            this.tabMxPage2,
            this.xtraTabPage3});
            // 
            // tabMxPage1
            // 
@@ -1022,7 +1031,6 @@
            this.gridColumn16,
            this.gridColumn17,
            this.gridColumn22,
            this.gridColumn47,
            this.gridColumn12,
            this.gridColumn5,
            this.gridColumn6,
@@ -1099,16 +1107,6 @@
            this.gridColumn22.VisibleIndex = 3;
            this.gridColumn22.Width = 37;
            // 
            // gridColumn47
            //
            this.gridColumn47.Caption = "旧的追溯码";
            this.gridColumn47.FieldName = "barCodeOld";
            this.gridColumn47.MinWidth = 25;
            this.gridColumn47.Name = "gridColumn47";
            this.gridColumn47.Visible = true;
            this.gridColumn47.VisibleIndex = 1;
            this.gridColumn47.Width = 67;
            //
            // gridColumn12
            // 
            this.gridColumn12.Caption = "绑定时间";
@@ -1169,11 +1167,149 @@
            this.gridColumn9.VisibleIndex = 11;
            this.gridColumn9.Width = 94;
            // 
            // picCheckBox
            //
            this.picCheckBox.Image = global::Gs.DevApp.Properties.Resources.ico_noCheck;
            this.picCheckBox.Location = new System.Drawing.Point(1133, 30);
            this.picCheckBox.Name = "picCheckBox";
            this.picCheckBox.Size = new System.Drawing.Size(100, 50);
            this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.picCheckBox.TabIndex = 9;
            this.picCheckBox.TabStop = false;
            this.picCheckBox.Visible = false;
            //
            // layoutControlItem13
            //
            this.layoutControlItem13.Control = this.ucBtnPrint98;
            this.layoutControlItem13.Location = new System.Drawing.Point(660, 99);
            this.layoutControlItem13.Name = "layoutControlItem13";
            this.layoutControlItem13.OptionsTableLayoutItem.ColumnIndex = 2;
            this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 3;
            this.layoutControlItem13.Size = new System.Drawing.Size(330, 33);
            this.layoutControlItem13.Text = "确定打印";
            this.layoutControlItem13.TextSize = new System.Drawing.Size(0, 0);
            this.layoutControlItem13.TextVisible = false;
            //
            // xtraTabPage3
            //
            this.xtraTabPage3.Controls.Add(this.gcMx7);
            this.xtraTabPage3.Name = "xtraTabPage3";
            this.xtraTabPage3.Size = new System.Drawing.Size(1361, 376);
            this.xtraTabPage3.Text = "该工单的工序明细";
            //
            // gcMx7
            //
            this.gcMx7.Dock = System.Windows.Forms.DockStyle.Fill;
            gridLevelNode1.RelationName = "Level1";
            this.gcMx7.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
            gridLevelNode1});
            this.gcMx7.Location = new System.Drawing.Point(0, 0);
            this.gcMx7.MainView = this.gvMx7;
            this.gcMx7.Name = "gcMx7";
            this.gcMx7.Size = new System.Drawing.Size(1361, 376);
            this.gcMx7.TabIndex = 2;
            this.gcMx7.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.gvMx7});
            //
            // gvMx7
            //
            this.gvMx7.Appearance.HeaderPanel.Options.UseTextOptions = true;
            this.gvMx7.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
            this.gvMx7.ColumnPanelRowHeight = 50;
            this.gvMx7.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gvMx1daa002,
            this.gvMx1daa010,
            this.gvMx1daa004,
            this.gridColumn63,
            this.gridColumn64,
            this.gridColumn65});
            this.gvMx7.GridControl = this.gcMx7;
            this.gvMx7.Name = "gvMx7";
            this.gvMx7.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False;
            this.gvMx7.OptionsFind.ShowSearchNavButtons = false;
            this.gvMx7.OptionsView.ShowGroupPanel = false;
            //
            // gvMx1daa002
            //
            this.gvMx1daa002.AppearanceCell.Options.UseFont = true;
            this.gvMx1daa002.Caption = "序号";
            this.gvMx1daa002.FieldName = "fSeq";
            this.gvMx1daa002.MinWidth = 50;
            this.gvMx1daa002.Name = "gvMx1daa002";
            this.gvMx1daa002.OptionsColumn.ReadOnly = true;
            this.gvMx1daa002.Tag = "query_a.daa010";
            this.gvMx1daa002.Visible = true;
            this.gvMx1daa002.VisibleIndex = 0;
            this.gvMx1daa002.Width = 54;
            //
            // gvMx1daa010
            //
            this.gvMx1daa010.AppearanceCell.Options.UseFont = true;
            this.gvMx1daa010.Caption = "工序";
            this.gvMx1daa010.FieldName = "processNo";
            this.gvMx1daa010.MinWidth = 50;
            this.gvMx1daa010.Name = "gvMx1daa010";
            this.gvMx1daa010.OptionsColumn.ReadOnly = true;
            this.gvMx1daa010.Tag = "query_a.daa010";
            this.gvMx1daa010.Visible = true;
            this.gvMx1daa010.VisibleIndex = 1;
            this.gvMx1daa010.Width = 129;
            //
            // gvMx1daa004
            //
            this.gvMx1daa004.AppearanceCell.Options.UseFont = true;
            this.gvMx1daa004.Caption = "上工序";
            this.gvMx1daa004.FieldName = "frontProcessNo";
            this.gvMx1daa004.MinWidth = 150;
            this.gvMx1daa004.Name = "gvMx1daa004";
            this.gvMx1daa004.OptionsColumn.ReadOnly = true;
            this.gvMx1daa004.Tag = "query_a.daa010";
            this.gvMx1daa004.Visible = true;
            this.gvMx1daa004.VisibleIndex = 2;
            this.gvMx1daa004.Width = 150;
            //
            // gridColumn63
            //
            this.gridColumn63.Caption = "是否可返工";
            this.gridColumn63.FieldName = "isBack";
            this.gridColumn63.MinWidth = 25;
            this.gridColumn63.Name = "gridColumn63";
            this.gridColumn63.OptionsColumn.ReadOnly = true;
            this.gridColumn63.Tag = "query_a.daa010";
            this.gridColumn63.Visible = true;
            this.gridColumn63.VisibleIndex = 3;
            this.gridColumn63.Width = 94;
            //
            // gridColumn64
            //
            this.gridColumn64.Caption = "是否返追溯码";
            this.gridColumn64.FieldName = "isZsm";
            this.gridColumn64.MinWidth = 25;
            this.gridColumn64.Name = "gridColumn64";
            this.gridColumn64.OptionsColumn.ReadOnly = true;
            this.gridColumn64.Tag = "query_a.daa010";
            this.gridColumn64.Visible = true;
            this.gridColumn64.VisibleIndex = 4;
            this.gridColumn64.Width = 94;
            //
            // gridColumn65
            //
            this.gridColumn65.Caption = "是否返托板码";
            this.gridColumn65.FieldName = "isTbm";
            this.gridColumn65.MinWidth = 25;
            this.gridColumn65.Name = "gridColumn65";
            this.gridColumn65.OptionsColumn.ReadOnly = true;
            this.gridColumn65.Tag = "query_a.daa010";
            this.gridColumn65.Visible = true;
            this.gridColumn65.VisibleIndex = 5;
            this.gridColumn65.Width = 94;
            //
            // Frm_WomFanGong
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(1365, 682);
            this.Controls.Add(this.picCheckBox);
            this.Controls.Add(this.xtraTabControl1);
            this.Controls.Add(this.toolBarMenu1);
            this.Name = "Frm_WomFanGong";
@@ -1225,12 +1361,10 @@
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
            this.tabMx.ResumeLayout(false);
            this.tabMxPage1.ResumeLayout(false);
@@ -1239,6 +1373,11 @@
            this.tabMxPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit();
            this.xtraTabPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gcMx7)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gvMx7)).EndInit();
            this.ResumeLayout(false);
        }
@@ -1297,7 +1436,6 @@
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
        private DevExpress.XtraEditors.TextEdit txt_erpCheckBy;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14;
        private DevExpress.XtraEditors.SimpleButton btnZsm;
        private UserControl.UcBtnPrint ucBtnPrint98;
        private DevExpress.XtraEditors.TextEdit txt_aboutGuid;
        private DevExpress.XtraLayout.LayoutControlItem txt_daa00111111;
@@ -1310,7 +1448,6 @@
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn16;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn17;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn22;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn47;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn12;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn6;
@@ -1322,11 +1459,23 @@
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15;
        private DevExpress.XtraEditors.TextEdit txt_msg;
        private DevExpress.XtraEditors.TextEdit txt_fngHandle;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn10;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn11;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn13;
        private System.Windows.Forms.PictureBox picCheckBox;
        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
        private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
        private DevExpress.XtraGrid.GridControl gcMx7;
        private DevExpress.XtraGrid.Views.Grid.GridView gvMx7;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa002;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa010;
        private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa004;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn63;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn64;
        private DevExpress.XtraGrid.Columns.GridColumn gridColumn65;
    }
}
DevApp/Gs.DevApp/DevFrm/WOM/Frm_WomFanGong.cs
@@ -1,6 +1,8 @@
using DevExpress.Utils.MVVM.Services;
using DevExpress.XtraGrid.Views.Base.ViewInfo;
using DevExpress.XtraGrid.Views.Grid;
using DevExpress.XtraLayout.Customization;
using DevExpress.XtraPivotGrid.Data;
using DevExpress.XtraRichEdit.Model;
using Gs.DevApp.DevFrm.Rpt;
using Gs.DevApp.Entity;
@@ -26,10 +28,11 @@
            InitializeComponent();
            toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
            toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
            toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
            this.toolBarMenu1.getXmlConfig();
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, "docStusTxt", "", (value) =>
            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "fgCheckStatusChk", "", (value) =>
            {
                Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
            }, tips);
@@ -42,34 +45,6 @@
            }, lbGuid);
            getPageList(1);
            pageBar1.PagerEvent += PageBar1_PagerEvent;
            //确定反工
            btnZsm.Click += (s, e) =>
            {
                if (!MsgHelper.AskQuestion("确定生成新的追溯码吗?"))
                    return;
                var _obj = new
                {
                    guid = lbGuid.Text.Trim(),
                };
                try
                {
                    var strJson = UtilityHelper.HttpPost("",
                        _webServiceName + "CreateTrace",
                        JsonConvert.SerializeObject(_obj));
                    var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                    if (_rtn.rtnCode > 0)
                    {
                        MsgHelper.ShowInformation("提示:" + _rtn.rtnMsg);
                        getModel(lbGuid.Text.Trim());
                    }
                    else
                        MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
                }
                catch (Exception ex)
                {
                    MsgHelper.ShowError("提示:" + ex.Message);
                }
            };
            //这是打印,这和其它页面是不一样的,不能复制这里
            this.ucBtnPrint98.SetPrintButton(false);
            this.ucBtnPrint98.btnAllClick += (s, e) =>
@@ -119,6 +94,48 @@
            };
        }
        private void ToolBarMenu1_btnChkClick(object sender, EventArgs e)
        {
            string strMsg = "审核";
            toolBarMenu1.guidKey = "";
            string rowGuid, rowName;
            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_releaseNo, gridView1, "releaseNo");
            if (string.IsNullOrEmpty(rowGuid))
            {
                MsgHelper.ShowError("请先选择你要操作的行!");
                return;
            }
            if (!MsgHelper.AskQuestion("你选择了【" + rowName + "】,确定" + strMsg + "吗?"))
                return;
            var _obj = new
            {
                guid = rowGuid,
            };
            try
            {
                var strJson = UtilityHelper.HttpPost("",
                    _webServiceName + "CreateTrace",
                    JsonConvert.SerializeObject(_obj));
                var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                if (_rtn.rtnCode > 0)
                {
                    MsgHelper.ShowInformation(_rtn.rtnMsg);
                    if (xtraTabControl1.SelectedTabPageIndex == 1)
                    {
                        getModel(lbGuid.Text.Trim());
                    }
                    int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid);
                    gridView1.FocusedRowHandle = rowHandle;
                    UtilityHelper.SetCheckIco(gridView1, "fgCheckStatusChk", "fgCheckBy", "fgCheckDatet", picCheckBox, this, 1.ToString());
                }
                else
                    MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
            }
            catch (Exception ex)
            {
                MsgHelper.ShowError("提示:" + ex.Message);
            }
        }
        private void GridView1_ColumnFilterChanged(object sender, EventArgs e)
        {
@@ -226,7 +243,7 @@
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + ex.Message);
                MsgHelper.ShowError("提示:" + ex.Message);
            }
        }
        /// <summary>
@@ -240,7 +257,7 @@
            if (toolBarMenu1.currentAction == "edit") isEdit = true;
            if (string.IsNullOrEmpty(strGuid))
            {
                MsgHelper.Warning("请先选择你要操作的行!");
                MsgHelper.ShowError("请先选择你要操作的行!");
                return;
            }
            var _obj = new
@@ -293,18 +310,35 @@
                    {
                        UtilityHelper.SetDefaultTable(gcMx2, gvMx2);
                    }
                    JArray array7 = new JArray();
                    foreach (var a in _job["rtnData"]["list3"])
                    {
                        array7.Add(a);
                    }
                    DataTable dt7 = JsonConvert.DeserializeObject<DataTable>(array7.ToString());
                    if (dt7.Rows.Count > 0)
                    {
                        gcMx7.BindingContext = new BindingContext();
                        gcMx7.DataSource = dt7;
                        gcMx7.ForceInitialize();
                        gvMx7.BestFitColumns();
                        Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gvMx7);
                    }
                    else
                    {
                        Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx7, gvMx7);
                    }
                }
                else
                {
                    MsgHelper.Warning("提示:" + _rtn.rtnMsg);
                    MsgHelper.ShowError("提示:" + _rtn.rtnMsg);
                }
            }
            catch (Exception ex)
            {
                MsgHelper.Warning("提示:" + ex.Message);
                MsgHelper.ShowError("提示:" + ex.Message);
            }
        }
    }
}
DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -725,12 +725,6 @@
    <Compile Include="DevFrm\Rk\Frm_MesItemQtrkDj.Designer.cs">
      <DependentUpon>Frm_MesItemQtrkDj.cs</DependentUpon>
    </Compile>
    <Compile Include="DevFrm\Rk\Frm_MesItemTblShow.cs">
      <SubType>Form</SubType>
    </Compile>
    <Compile Include="DevFrm\Rk\Frm_MesItemTblShow.Designer.cs">
      <DependentUpon>Frm_MesItemTblShow.cs</DependentUpon>
    </Compile>
    <Compile Include="DevFrm\Rk\HistoryDhmxcs.cs">
      <SubType>Form</SubType>
    </Compile>
@@ -1758,9 +1752,6 @@
    </EmbeddedResource>
    <EmbeddedResource Include="DevFrm\Rk\Frm_MesItemQtrkDj.resx">
      <DependentUpon>Frm_MesItemQtrkDj.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="DevFrm\Rk\Frm_MesItemTblShow.resx">
      <DependentUpon>Frm_MesItemTblShow.cs</DependentUpon>
    </EmbeddedResource>
    <EmbeddedResource Include="DevFrm\Rk\HistoryDhmxcs.resx">
      <DependentUpon>HistoryDhmxcs.cs</DependentUpon>
DevApp/Gs.DevApp/Program.cs
@@ -40,7 +40,7 @@
        /// </summary>
        private static void _startLogin()
        {
            //Application.Run(new Gs.DevApp.DevFrm.QC.Xls(@"C:\123.xls"));
            //Application.Run(new XtraForm1());
            //return;
            CefSettings settings = new CefSettings();
            settings.Locale = "zh-CN";
DevApp/Gs.DevApp/XtraForm1.Designer.cs
@@ -35,14 +35,16 @@
            this.label1 = new System.Windows.Forms.Label();
            this.txt_slaveAddress = new DevExpress.XtraEditors.ComboBoxEdit();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.txtGWM = new DevExpress.XtraEditors.TextEdit();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.txtGWM = new DevExpress.XtraEditors.TextEdit();
            this.btnEdit = new DevExpress.XtraEditors.ButtonEdit();
            ((System.ComponentModel.ISupportInitialize)(this.txtGs.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_slaveAddress.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtGWM.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnEdit.Properties)).BeginInit();
            this.SuspendLayout();
            // 
            // simpleButton2
@@ -111,6 +113,7 @@
            // 
            // panelControl1
            // 
            this.panelControl1.Controls.Add(this.btnEdit);
            this.panelControl1.Controls.Add(this.simpleButton1);
            this.panelControl1.Controls.Add(this.labelControl2);
            this.panelControl1.Controls.Add(this.txtGWM);
@@ -125,12 +128,14 @@
            this.panelControl1.Size = new System.Drawing.Size(887, 120);
            this.panelControl1.TabIndex = 7;
            // 
            // txtGWM
            // simpleButton1
            // 
            this.txtGWM.Location = new System.Drawing.Point(250, 81);
            this.txtGWM.Name = "txtGWM";
            this.txtGWM.Size = new System.Drawing.Size(183, 24);
            this.txtGWM.TabIndex = 7;
            this.simpleButton1.Location = new System.Drawing.Point(523, 84);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(94, 29);
            this.simpleButton1.TabIndex = 9;
            this.simpleButton1.Text = "确定读取";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            // 
            // labelControl2
            // 
@@ -140,14 +145,22 @@
            this.labelControl2.TabIndex = 8;
            this.labelControl2.Text = "工位码";
            // 
            // simpleButton1
            // txtGWM
            // 
            this.simpleButton1.Location = new System.Drawing.Point(523, 84);
            this.simpleButton1.Name = "simpleButton1";
            this.simpleButton1.Size = new System.Drawing.Size(94, 29);
            this.simpleButton1.TabIndex = 9;
            this.simpleButton1.Text = "确定读取";
            this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
            this.txtGWM.Location = new System.Drawing.Point(250, 81);
            this.txtGWM.Name = "txtGWM";
            this.txtGWM.Size = new System.Drawing.Size(183, 24);
            this.txtGWM.TabIndex = 7;
            //
            // btnEdit
            //
            this.btnEdit.Location = new System.Drawing.Point(683, 82);
            this.btnEdit.Name = "btnEdit";
            this.btnEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton()});
            this.btnEdit.Size = new System.Drawing.Size(125, 24);
            this.btnEdit.TabIndex = 10;
            this.btnEdit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnEdit_ButtonClick);
            // 
            // XtraForm1
            // 
@@ -164,6 +177,7 @@
            this.panelControl1.ResumeLayout(false);
            this.panelControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtGWM.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnEdit.Properties)).EndInit();
            this.ResumeLayout(false);
        }
@@ -179,5 +193,6 @@
        private DevExpress.XtraEditors.LabelControl labelControl2;
        private DevExpress.XtraEditors.TextEdit txtGWM;
        private DevExpress.XtraEditors.SimpleButton simpleButton1;
        private DevExpress.XtraEditors.ButtonEdit btnEdit;
    }
}
DevApp/Gs.DevApp/XtraForm1.cs
@@ -258,5 +258,9 @@
            }
        }
        private void btnEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            MessageBox.Show("d");
        }
    }
}