From ec1bc0739f729e55a59d0987f3ebd23cee7f798e Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 12 二月 2025 16:58:36 +0800 Subject: [PATCH] 各种细节 --- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.Designer.cs | 100 ++++++------ DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.cs | 7 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs | 41 +++- DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs | 39 ++-- DevApp/Gs.DevApp/DevFrm/Sys/SysLog.Designer.cs | 30 ++- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.Designer.cs | 174 +++++++++++--------- DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.cs | 32 +++ DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs | 7 8 files changed, 243 insertions(+), 187 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.Designer.cs index 2507b7d..8fbc2ef 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.Designer.cs @@ -40,8 +40,8 @@ this.gvMx2quantity = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx2guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.tabMxPage2 = new DevExpress.XtraTab.XtraTabPage(); - this.gcMx2 = new DevExpress.XtraGrid.GridControl(); - this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gcMx1 = new DevExpress.XtraGrid.GridControl(); + this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gvMx1lineK3id = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1ebelnK3id = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1rbillNo = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -57,8 +57,8 @@ this.gvMx1itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); - this.gcMx1 = new DevExpress.XtraGrid.GridControl(); - this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gcMx2 = new DevExpress.XtraGrid.GridControl(); + this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.lb_suppId = new DevExpress.XtraEditors.LabelControl(); this.lb_cbillNo = new DevExpress.XtraEditors.LabelControl(); this.txt_cbillNo = new DevExpress.XtraEditors.TextEdit(); @@ -156,11 +156,11 @@ this.lbGuid = new System.Windows.Forms.Label(); this.picCheckBox = new System.Windows.Forms.PictureBox(); this.tabMxPage2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit(); - this.tabMxPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); + this.tabMxPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_cbillNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_paperBillNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).BeginInit(); @@ -311,25 +311,25 @@ // // tabMxPage2 // - this.tabMxPage2.Controls.Add(this.gcMx2); + this.tabMxPage2.Controls.Add(this.gcMx1); this.tabMxPage2.Name = "tabMxPage2"; this.tabMxPage2.Size = new System.Drawing.Size(1344, 394); this.tabMxPage2.Text = "鐗╂枡鏄庣粏"; // - // gcMx2 + // gcMx1 // - 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(1344, 394); - this.gcMx2.TabIndex = 0; - this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gvMx2}); + this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.gcMx1.Location = new System.Drawing.Point(0, 0); + this.gcMx1.MainView = this.gvMx1; + this.gcMx1.Name = "gcMx1"; + this.gcMx1.Size = new System.Drawing.Size(1344, 394); + this.gcMx1.TabIndex = 0; + this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx1}); // - // gvMx2 + // gvMx1 // - this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvMx2guid, this.gvMx2itemId, this.gvMx2itemSname, @@ -340,12 +340,12 @@ this.gvMx2itemInId, this.gvMx2ebelnK3id, this.gvMx2lineK3id}); - 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; + 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; // // gvMx1lineK3id // @@ -529,25 +529,25 @@ // // tabMxPage1 // - this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Controls.Add(this.gcMx2); this.tabMxPage1.Name = "tabMxPage1"; this.tabMxPage1.Size = new System.Drawing.Size(1344, 394); this.tabMxPage1.Text = "鍏ュ簱鏉$爜"; // - // gcMx1 + // gcMx2 // - this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMx1.Location = new System.Drawing.Point(0, 0); - this.gcMx1.MainView = this.gvMx1; - this.gcMx1.Name = "gcMx1"; - this.gcMx1.Size = new System.Drawing.Size(1344, 394); - this.gcMx1.TabIndex = 0; - this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gvMx1}); + 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(1344, 394); + this.gcMx2.TabIndex = 0; + this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx2}); // - // gvMx1 + // gvMx2 // - this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvMx1guid, this.gvMx1urgentFlag, this.gvMx1itemBarcode, @@ -562,12 +562,12 @@ this.gvMx1depotCode, this.gvMx1ebelnK3id, this.gvMx1lineK3id}); - 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; + 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; // // lb_suppId // @@ -1763,11 +1763,11 @@ this.Name = "Frm_MesItemQtrkDj"; this.Text = "鍏跺畠鍏ュ簱鍗�"; this.tabMxPage2.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit(); - this.tabMxPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); + this.tabMxPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_cbillNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_paperBillNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_remark.Properties)).EndInit(); @@ -1813,8 +1813,8 @@ private DevExpress.XtraGrid.Columns.GridColumn gvMx2quantity; private DevExpress.XtraGrid.Columns.GridColumn gvMx2guid; private DevExpress.XtraTab.XtraTabPage tabMxPage2; - private DevExpress.XtraGrid.GridControl gcMx2; - private DevExpress.XtraGrid.Views.Grid.GridView gvMx2; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; private DevExpress.XtraGrid.Columns.GridColumn gvMx1lineK3id; private DevExpress.XtraGrid.Columns.GridColumn gvMx1ebelnK3id; private DevExpress.XtraGrid.Columns.GridColumn gvMx1rbillNo; @@ -1830,8 +1830,8 @@ private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemBarcode; private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid; private DevExpress.XtraTab.XtraTabPage tabMxPage1; - private DevExpress.XtraGrid.GridControl gcMx1; - private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraGrid.GridControl gcMx2; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx2; private DevExpress.XtraEditors.LabelControl lb_suppId; private DevExpress.XtraEditors.LabelControl lb_cbillNo; diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.cs index 8b79579..8d04e64 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrkDj.cs @@ -23,8 +23,8 @@ toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "status2", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); @@ -201,8 +201,8 @@ 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); + gvList.Add(gvMx1); UtilityHelper.SetValueByObj(this.panel1.Controls, dy, isEdit, gvList); JObject _job = JObject.Parse(strJson); JArray array = new JArray(); @@ -297,8 +297,7 @@ } int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); gridView1.FocusedRowHandle = rowHandle; - Form parentForm = this.FindForm(); - UtilityHelper.SetCheckIco(gridView1, "status2", "checkUser", "checkUser", picCheckBox, parentForm, _inFieldValue.ToString()); + UtilityHelper.SetCheckIco(gridView1, "status2", "checkUser", "checkUser", picCheckBox, this, _inFieldValue.ToString()); } } catch (Exception ex) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs index 587e9e3..1990bf7 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl.cs @@ -27,6 +27,7 @@ this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2); Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "tbl013", "", (value) => @@ -137,14 +138,25 @@ + "}"; }; } - private async void GridView1_ColumnFilterChanged(object sender, EventArgs e) { Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); await Task.Delay(100); getPageList(1); } - + /// <summary> + /// 鏃ュ織 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLogClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_billNo, gridView1); + toolBarMenu1.guidKey = rowGuid; + } /// <summary> /// 鍒嗛〉浜嬩欢 /// </summary> @@ -178,7 +190,6 @@ _filterList = e.FilterList; getPageList(1); } - private void ToolBarMenu1_btnDesignClick(object sender, EventArgs e) { toolBarMenu1.guidKey = ""; @@ -228,7 +239,6 @@ + "," + txt_psnQty_1.Text.Trim() + "}"; } - /// <summary> /// 瀹℃牳浜嬩欢 @@ -362,8 +372,8 @@ /// <param name="e"></param> private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) { - UtilityHelper.JumpToTab(xtraTabControl1, 1); lbGuid.Text = ""; + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 4); List<DevExpress.XtraGrid.Views.Grid.GridView> gridViews = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); gridViews.Add(gvMx1); gridViews.Add(gvMx2); @@ -441,9 +451,13 @@ ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); if (_rtn.rtnCode > 0) { - lbGuid.Text = _rtn.rtnData; + lbGuid.Text = _rtn.rtnData.outGuid; + txt_billNo.Text = _rtn.rtnData.outNo; toolBarMenu1.isSetBtn = true; - UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false); + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + gvList.Add(gvMx2); + UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false, gvList); } } catch (Exception ex) @@ -493,7 +507,6 @@ { ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message); } - } private void getModel(string strGuid) { @@ -677,7 +690,6 @@ } if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) return; - var _obj = new { guid = rowGuid, @@ -690,19 +702,22 @@ JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); MsgHelper.Warning(_rtn.rtnData.outMsg.ToString()); - if (_rtn.rtnCode > 0) + if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0) { if (xtraTabControl1.SelectedTabPageIndex == 1) + { getModel(lbGuid.Text.Trim()); - else - getPageList(1); + } + int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); + gridView1.FocusedRowHandle = rowHandle; + Form parentForm = this.FindForm(); + UtilityHelper.SetCheckIco(gridView1, "isChk", "tbl011", "tbl012", picCheckBox, parentForm, _inFieldValue.ToString()); } } catch (Exception ex) { MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } - } private void GvMx1_FocusedRowChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventArgs e) diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.Designer.cs index 54fd462..ab6e3f6 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.Designer.cs @@ -155,6 +155,7 @@ this.txt_checkDate = new DevExpress.XtraEditors.TextEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); + this.picCheckBox = new System.Windows.Forms.PictureBox(); this.tabMxPage2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit(); @@ -178,6 +179,7 @@ this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); this.SuspendLayout(); // // gvMx2itemInId @@ -186,7 +188,7 @@ this.gvMx2itemInId.AppearanceCell.Options.UseFont = true; this.gvMx2itemInId.Caption = "鍏ュ簱鍗昳d"; this.gvMx2itemInId.FieldName = "itemInId"; - this.gvMx2itemInId.MinWidth = 50; + this.gvMx2itemInId.MinWidth = 25; this.gvMx2itemInId.Name = "gvMx2itemInId"; this.gvMx2itemInId.Tag = "query_a.ITEM_IN_ID"; this.gvMx2itemInId.Visible = true; @@ -199,7 +201,7 @@ this.gvMx2itemId.AppearanceCell.Options.UseFont = true; this.gvMx2itemId.Caption = "鐗╂枡ID"; this.gvMx2itemId.FieldName = "itemId"; - this.gvMx2itemId.MinWidth = 50; + this.gvMx2itemId.MinWidth = 25; this.gvMx2itemId.Name = "gvMx2itemId"; this.gvMx2itemId.Tag = "query_a.ITEM_ID"; this.gvMx2itemId.Visible = true; @@ -212,7 +214,7 @@ this.gvMx2lineK3id.AppearanceCell.Options.UseFont = true; this.gvMx2lineK3id.Caption = "閲囪喘璁㈠崟琛孖D"; this.gvMx2lineK3id.FieldName = "lineK3id"; - this.gvMx2lineK3id.MinWidth = 50; + this.gvMx2lineK3id.MinWidth = 25; this.gvMx2lineK3id.Name = "gvMx2lineK3id"; this.gvMx2lineK3id.Tag = "query_a.LINE_K3ID"; this.gvMx2lineK3id.Visible = true; @@ -225,7 +227,7 @@ this.gvMx2ebelnK3id.AppearanceCell.Options.UseFont = true; this.gvMx2ebelnK3id.Caption = "閲囪喘璁㈠崟ID"; this.gvMx2ebelnK3id.FieldName = "ebelnK3id"; - this.gvMx2ebelnK3id.MinWidth = 50; + this.gvMx2ebelnK3id.MinWidth = 25; this.gvMx2ebelnK3id.Name = "gvMx2ebelnK3id"; this.gvMx2ebelnK3id.Tag = "query_a.EBELN_K3ID"; this.gvMx2ebelnK3id.Visible = true; @@ -238,7 +240,7 @@ this.gvMx2workNo.AppearanceCell.Options.UseFont = true; this.gvMx2workNo.Caption = "浠诲姟鍗曡鍙�"; this.gvMx2workNo.FieldName = "workLine"; - this.gvMx2workNo.MinWidth = 50; + this.gvMx2workNo.MinWidth = 25; this.gvMx2workNo.Name = "gvMx2workNo"; this.gvMx2workNo.Tag = "query_a.WORK_NO"; this.gvMx2workNo.Visible = true; @@ -251,7 +253,7 @@ this.gvMx2ebeln.AppearanceCell.Options.UseFont = true; this.gvMx2ebeln.Caption = "閲囪喘璁㈠崟"; this.gvMx2ebeln.FieldName = "ebeln"; - this.gvMx2ebeln.MinWidth = 50; + this.gvMx2ebeln.MinWidth = 25; this.gvMx2ebeln.Name = "gvMx2ebeln"; this.gvMx2ebeln.Tag = "query_a.EBELN"; this.gvMx2ebeln.Visible = true; @@ -264,7 +266,7 @@ this.gvMx2unit.AppearanceCell.Options.UseFont = true; this.gvMx2unit.Caption = "搴撳瓨鍗曚綅"; this.gvMx2unit.FieldName = "kcUnit"; - this.gvMx2unit.MinWidth = 50; + this.gvMx2unit.MinWidth = 25; this.gvMx2unit.Name = "gvMx2unit"; this.gvMx2unit.Tag = "query_a.UNIT"; this.gvMx2unit.Visible = true; @@ -277,7 +279,7 @@ this.gvMx2itemSname.AppearanceCell.Options.UseFont = true; this.gvMx2itemSname.Caption = "鐗╂枡鍚嶇О"; this.gvMx2itemSname.FieldName = "itemName"; - this.gvMx2itemSname.MinWidth = 50; + this.gvMx2itemSname.MinWidth = 25; this.gvMx2itemSname.Name = "gvMx2itemSname"; this.gvMx2itemSname.Tag = "query_a.ITEM_SNAME"; this.gvMx2itemSname.Visible = true; @@ -290,7 +292,7 @@ this.gvMx2quantity.AppearanceCell.Options.UseFont = true; this.gvMx2quantity.Caption = "鏁伴噺"; this.gvMx2quantity.FieldName = "quantity"; - this.gvMx2quantity.MinWidth = 50; + this.gvMx2quantity.MinWidth = 25; this.gvMx2quantity.Name = "gvMx2quantity"; this.gvMx2quantity.Tag = "query_a.QUANTITY"; this.gvMx2quantity.Visible = true; @@ -861,10 +863,10 @@ this.gridBand1.Columns.Add(this.gv_fcheckUser); this.gridBand1.Columns.Add(this.gv_rbillNo); this.gridBand1.Columns.Add(this.gv_bgr); - this.gridBand1.MinWidth = 150; + this.gridBand1.MinWidth = 50; this.gridBand1.Name = "gridBand1"; this.gridBand1.VisibleIndex = 0; - this.gridBand1.Width = 150; + this.gridBand1.Width = 50; // // gv_status // @@ -872,7 +874,7 @@ this.gv_status.AppearanceCell.Options.UseFont = true; this.gv_status.Caption = "鐘舵�亅0-鏈鏍�1-瀹℃牳鍏ュ簱\\缁撴 "; this.gv_status.FieldName = "status2"; - this.gv_status.MinWidth = 50; + this.gv_status.MinWidth = 25; this.gv_status.Name = "gv_status"; this.gv_status.OptionsColumn.AllowEdit = false; this.gv_status.Tag = "query_a.STATUS"; @@ -885,7 +887,7 @@ this.gv_fstatus.AppearanceCell.Options.UseFont = true; this.gv_fstatus.Caption = "f鐘舵�� | 0-鏈鏍� 1-瀹℃牳鍏ュ簱/缁撴 "; this.gv_fstatus.FieldName = "fstatus"; - this.gv_fstatus.MinWidth = 50; + this.gv_fstatus.MinWidth = 25; this.gv_fstatus.Name = "gv_fstatus"; this.gv_fstatus.OptionsColumn.AllowEdit = false; this.gv_fstatus.Tag = "query_a.FSTATUS"; @@ -897,7 +899,7 @@ this.gv_guid.AppearanceCell.Options.UseFont = true; this.gv_guid.Caption = "ID(SEQ_INV_ID) "; this.gv_guid.FieldName = "guid"; - this.gv_guid.MinWidth = 50; + this.gv_guid.MinWidth = 25; this.gv_guid.Name = "gv_guid"; this.gv_guid.OptionsColumn.AllowEdit = false; this.gv_guid.Tag = "query_a.GUID"; @@ -909,7 +911,7 @@ this.gv_reason.AppearanceCell.Options.UseFont = true; this.gv_reason.Caption = "鍘熷洜 "; this.gv_reason.FieldName = "reason"; - this.gv_reason.MinWidth = 50; + this.gv_reason.MinWidth = 25; this.gv_reason.Name = "gv_reason"; this.gv_reason.OptionsColumn.AllowEdit = false; this.gv_reason.Tag = "query_a.REASON"; @@ -921,7 +923,7 @@ this.gv_lastupdateBy.AppearanceCell.Options.UseFont = true; this.gv_lastupdateBy.Caption = "鏈�鍚庢洿鏂颁汉 "; this.gv_lastupdateBy.FieldName = "lastupdateBy"; - this.gv_lastupdateBy.MinWidth = 50; + this.gv_lastupdateBy.MinWidth = 25; this.gv_lastupdateBy.Name = "gv_lastupdateBy"; this.gv_lastupdateBy.OptionsColumn.AllowEdit = false; this.gv_lastupdateBy.Tag = "query_a.LASTUPDATE_BY"; @@ -933,7 +935,7 @@ this.gv_lastupdateDate.AppearanceCell.Options.UseFont = true; this.gv_lastupdateDate.Caption = "鏈�鍚庢洿鏂版椂闂� "; this.gv_lastupdateDate.FieldName = "lastupdateDate"; - this.gv_lastupdateDate.MinWidth = 50; + this.gv_lastupdateDate.MinWidth = 25; this.gv_lastupdateDate.Name = "gv_lastupdateDate"; this.gv_lastupdateDate.OptionsColumn.AllowEdit = false; this.gv_lastupdateDate.Tag = "query_a.LASTUPDATE_DATE"; @@ -945,7 +947,7 @@ this.gv_billTypeId.AppearanceCell.Options.UseFont = true; this.gv_billTypeId.Caption = "鍗曟嵁绫诲瀷ID "; this.gv_billTypeId.FieldName = "billTypeId"; - this.gv_billTypeId.MinWidth = 50; + this.gv_billTypeId.MinWidth = 25; this.gv_billTypeId.Name = "gv_billTypeId"; this.gv_billTypeId.OptionsColumn.AllowEdit = false; this.gv_billTypeId.Tag = "query_a.BILL_TYPE_ID"; @@ -957,7 +959,7 @@ this.gv_transactionId.AppearanceCell.Options.UseFont = true; this.gv_transactionId.Caption = "浜嬪姟绫诲瀷ID "; this.gv_transactionId.FieldName = "transactionId"; - this.gv_transactionId.MinWidth = 50; + this.gv_transactionId.MinWidth = 25; this.gv_transactionId.Name = "gv_transactionId"; this.gv_transactionId.OptionsColumn.AllowEdit = false; this.gv_transactionId.Tag = "query_a.TRANSACTION_ID"; @@ -969,7 +971,7 @@ this.gv_userNoBack.AppearanceCell.Options.UseFont = true; this.gv_userNoBack.Caption = "閫�鏂欎汉宸ュ彿 "; this.gv_userNoBack.FieldName = "userNoBack"; - this.gv_userNoBack.MinWidth = 50; + this.gv_userNoBack.MinWidth = 25; this.gv_userNoBack.Name = "gv_userNoBack"; this.gv_userNoBack.OptionsColumn.AllowEdit = false; this.gv_userNoBack.Tag = "query_a.USER_NO_BACK"; @@ -981,7 +983,7 @@ this.gv_checkUser.AppearanceCell.Options.UseFont = true; this.gv_checkUser.Caption = "瀹℃牳浜� "; this.gv_checkUser.FieldName = "checkUser"; - this.gv_checkUser.MinWidth = 50; + this.gv_checkUser.MinWidth = 25; this.gv_checkUser.Name = "gv_checkUser"; this.gv_checkUser.OptionsColumn.AllowEdit = false; this.gv_checkUser.Tag = "query_a.CHECK_USER"; @@ -993,7 +995,7 @@ this.gv_taskNo.AppearanceCell.Options.UseFont = true; this.gv_taskNo.Caption = "TASK_NO "; this.gv_taskNo.FieldName = "taskNo"; - this.gv_taskNo.MinWidth = 50; + this.gv_taskNo.MinWidth = 25; this.gv_taskNo.Name = "gv_taskNo"; this.gv_taskNo.OptionsColumn.AllowEdit = false; this.gv_taskNo.Tag = "query_a.TASK_NO"; @@ -1005,7 +1007,7 @@ this.gv_checkRes.AppearanceCell.Options.UseFont = true; this.gv_checkRes.Caption = "CHECK_RES "; this.gv_checkRes.FieldName = "checkRes"; - this.gv_checkRes.MinWidth = 50; + this.gv_checkRes.MinWidth = 25; this.gv_checkRes.Name = "gv_checkRes"; this.gv_checkRes.OptionsColumn.AllowEdit = false; this.gv_checkRes.Tag = "query_a.CHECK_RES"; @@ -1017,7 +1019,7 @@ this.gv_checkQty.AppearanceCell.Options.UseFont = true; this.gv_checkQty.Caption = "CHECK_QTY "; this.gv_checkQty.FieldName = "checkQty"; - this.gv_checkQty.MinWidth = 50; + this.gv_checkQty.MinWidth = 25; this.gv_checkQty.Name = "gv_checkQty"; this.gv_checkQty.OptionsColumn.AllowEdit = false; this.gv_checkQty.Tag = "query_a.CHECK_QTY"; @@ -1029,7 +1031,7 @@ this.gv_mmlist.AppearanceCell.Options.UseFont = true; this.gv_mmlist.Caption = "MMLIST "; this.gv_mmlist.FieldName = "mmlist"; - this.gv_mmlist.MinWidth = 50; + this.gv_mmlist.MinWidth = 25; this.gv_mmlist.Name = "gv_mmlist"; this.gv_mmlist.OptionsColumn.AllowEdit = false; this.gv_mmlist.Tag = "query_a.MMLIST"; @@ -1041,7 +1043,7 @@ this.gv_ebeln.AppearanceCell.Options.UseFont = true; this.gv_ebeln.Caption = "EBELN "; this.gv_ebeln.FieldName = "ebeln"; - this.gv_ebeln.MinWidth = 50; + this.gv_ebeln.MinWidth = 25; this.gv_ebeln.Name = "gv_ebeln"; this.gv_ebeln.OptionsColumn.AllowEdit = false; this.gv_ebeln.Tag = "query_a.EBELN"; @@ -1053,7 +1055,7 @@ this.gv_depotsCode.AppearanceCell.Options.UseFont = true; this.gv_depotsCode.Caption = "DEPOTS_CODE "; this.gv_depotsCode.FieldName = "depotsCode"; - this.gv_depotsCode.MinWidth = 50; + this.gv_depotsCode.MinWidth = 25; this.gv_depotsCode.Name = "gv_depotsCode"; this.gv_depotsCode.OptionsColumn.AllowEdit = false; this.gv_depotsCode.Tag = "query_a.DEPOTS_CODE"; @@ -1065,7 +1067,7 @@ this.gv_transctionNo.AppearanceCell.Options.UseFont = true; this.gv_transctionNo.Caption = "TRANSCTION_NO "; this.gv_transctionNo.FieldName = "transctionNo"; - this.gv_transctionNo.MinWidth = 50; + this.gv_transctionNo.MinWidth = 25; this.gv_transctionNo.Name = "gv_transctionNo"; this.gv_transctionNo.OptionsColumn.AllowEdit = false; this.gv_transctionNo.Tag = "query_a.TRANSCTION_NO"; @@ -1077,7 +1079,7 @@ this.gv_suppNo.AppearanceCell.Options.UseFont = true; this.gv_suppNo.Caption = "SUPP_NO "; this.gv_suppNo.FieldName = "suppNo"; - this.gv_suppNo.MinWidth = 50; + this.gv_suppNo.MinWidth = 25; this.gv_suppNo.Name = "gv_suppNo"; this.gv_suppNo.OptionsColumn.AllowEdit = false; this.gv_suppNo.Tag = "query_a.SUPP_NO"; @@ -1089,7 +1091,7 @@ this.gv_factory.AppearanceCell.Options.UseFont = true; this.gv_factory.Caption = "FACTORY "; this.gv_factory.FieldName = "factory"; - this.gv_factory.MinWidth = 50; + this.gv_factory.MinWidth = 25; this.gv_factory.Name = "gv_factory"; this.gv_factory.OptionsColumn.AllowEdit = false; this.gv_factory.Tag = "query_a.FACTORY"; @@ -1101,7 +1103,7 @@ this.gv_sapstatus.AppearanceCell.Options.UseFont = true; this.gv_sapstatus.Caption = "SAPSTATUS "; this.gv_sapstatus.FieldName = "sapstatus"; - this.gv_sapstatus.MinWidth = 50; + this.gv_sapstatus.MinWidth = 25; this.gv_sapstatus.Name = "gv_sapstatus"; this.gv_sapstatus.OptionsColumn.AllowEdit = false; this.gv_sapstatus.Tag = "query_a.SAPSTATUS"; @@ -1113,7 +1115,7 @@ this.gv_sapno.AppearanceCell.Options.UseFont = true; this.gv_sapno.Caption = "SAPNO "; this.gv_sapno.FieldName = "sapno"; - this.gv_sapno.MinWidth = 50; + this.gv_sapno.MinWidth = 25; this.gv_sapno.Name = "gv_sapno"; this.gv_sapno.OptionsColumn.AllowEdit = false; this.gv_sapno.Tag = "query_a.SAPNO"; @@ -1125,7 +1127,7 @@ this.gv_sapyear.AppearanceCell.Options.UseFont = true; this.gv_sapyear.Caption = "SAPYEAR "; this.gv_sapyear.FieldName = "sapyear"; - this.gv_sapyear.MinWidth = 50; + this.gv_sapyear.MinWidth = 25; this.gv_sapyear.Name = "gv_sapyear"; this.gv_sapyear.OptionsColumn.AllowEdit = false; this.gv_sapyear.Tag = "query_a.SAPYEAR"; @@ -1137,7 +1139,7 @@ this.gv_saptext.AppearanceCell.Options.UseFont = true; this.gv_saptext.Caption = "SAPTEXT "; this.gv_saptext.FieldName = "saptext"; - this.gv_saptext.MinWidth = 50; + this.gv_saptext.MinWidth = 25; this.gv_saptext.Name = "gv_saptext"; this.gv_saptext.OptionsColumn.AllowEdit = false; this.gv_saptext.Tag = "query_a.SAPTEXT"; @@ -1149,7 +1151,7 @@ this.gv_ischeck.AppearanceCell.Options.UseFont = true; this.gv_ischeck.Caption = "ISCHECK "; this.gv_ischeck.FieldName = "ischeck"; - this.gv_ischeck.MinWidth = 50; + this.gv_ischeck.MinWidth = 25; this.gv_ischeck.Name = "gv_ischeck"; this.gv_ischeck.OptionsColumn.AllowEdit = false; this.gv_ischeck.Tag = "query_a.ISCHECK"; @@ -1161,7 +1163,7 @@ this.gv_insby.AppearanceCell.Options.UseFont = true; this.gv_insby.Caption = "INSBY "; this.gv_insby.FieldName = "insby"; - this.gv_insby.MinWidth = 50; + this.gv_insby.MinWidth = 25; this.gv_insby.Name = "gv_insby"; this.gv_insby.OptionsColumn.AllowEdit = false; this.gv_insby.Tag = "query_a.INSBY"; @@ -1173,7 +1175,7 @@ this.gv_isVisual.AppearanceCell.Options.UseFont = true; this.gv_isVisual.Caption = "IS_VISUAL "; this.gv_isVisual.FieldName = "isVisual"; - this.gv_isVisual.MinWidth = 50; + this.gv_isVisual.MinWidth = 25; this.gv_isVisual.Name = "gv_isVisual"; this.gv_isVisual.OptionsColumn.AllowEdit = false; this.gv_isVisual.Tag = "query_a.IS_VISUAL"; @@ -1185,7 +1187,7 @@ this.gv_company.AppearanceCell.Options.UseFont = true; this.gv_company.Caption = "COMPANY "; this.gv_company.FieldName = "company"; - this.gv_company.MinWidth = 50; + this.gv_company.MinWidth = 25; this.gv_company.Name = "gv_company"; this.gv_company.OptionsColumn.AllowEdit = false; this.gv_company.Tag = "query_a.COMPANY"; @@ -1197,7 +1199,7 @@ this.gv_urgentFlag.AppearanceCell.Options.UseFont = true; this.gv_urgentFlag.Caption = "URGENT_FLAG "; this.gv_urgentFlag.FieldName = "urgentFlag"; - this.gv_urgentFlag.MinWidth = 50; + this.gv_urgentFlag.MinWidth = 25; this.gv_urgentFlag.Name = "gv_urgentFlag"; this.gv_urgentFlag.OptionsColumn.AllowEdit = false; this.gv_urgentFlag.Tag = "query_a.URGENT_FLAG"; @@ -1209,7 +1211,7 @@ this.gv_lineNo.AppearanceCell.Options.UseFont = true; this.gv_lineNo.Caption = "LINE_NO "; this.gv_lineNo.FieldName = "lineNo"; - this.gv_lineNo.MinWidth = 50; + this.gv_lineNo.MinWidth = 25; this.gv_lineNo.Name = "gv_lineNo"; this.gv_lineNo.OptionsColumn.AllowEdit = false; this.gv_lineNo.Tag = "query_a.LINE_NO"; @@ -1221,7 +1223,7 @@ this.gv_mttransctionNo.AppearanceCell.Options.UseFont = true; this.gv_mttransctionNo.Caption = "鍐查攢浜嬪姟绫诲瀷缂栫爜 "; this.gv_mttransctionNo.FieldName = "mttransctionNo"; - this.gv_mttransctionNo.MinWidth = 50; + this.gv_mttransctionNo.MinWidth = 25; this.gv_mttransctionNo.Name = "gv_mttransctionNo"; this.gv_mttransctionNo.OptionsColumn.AllowEdit = false; this.gv_mttransctionNo.Tag = "query_a.MTTRANSCTION_NO"; @@ -1233,7 +1235,7 @@ this.gv_taskLino.AppearanceCell.Options.UseFont = true; this.gv_taskLino.Caption = "宸ュ崟琛屽彿 "; this.gv_taskLino.FieldName = "taskLino"; - this.gv_taskLino.MinWidth = 50; + this.gv_taskLino.MinWidth = 25; this.gv_taskLino.Name = "gv_taskLino"; this.gv_taskLino.OptionsColumn.AllowEdit = false; this.gv_taskLino.Tag = "query_a.TASK_LINO"; @@ -1245,7 +1247,7 @@ this.gv_fbillno.AppearanceCell.Options.UseFont = true; this.gv_fbillno.Caption = "鎶曟枡閫氱煡鍗曞崟鍙� "; this.gv_fbillno.FieldName = "fbillno"; - this.gv_fbillno.MinWidth = 50; + this.gv_fbillno.MinWidth = 25; this.gv_fbillno.Name = "gv_fbillno"; this.gv_fbillno.OptionsColumn.AllowEdit = false; this.gv_fbillno.Tag = "query_a.FBILLNO"; @@ -1257,7 +1259,7 @@ this.gv_fbillLino.AppearanceCell.Options.UseFont = true; this.gv_fbillLino.Caption = "鎶曟枡鍗曡鍙� "; this.gv_fbillLino.FieldName = "fbillLino"; - this.gv_fbillLino.MinWidth = 50; + this.gv_fbillLino.MinWidth = 25; this.gv_fbillLino.Name = "gv_fbillLino"; this.gv_fbillLino.OptionsColumn.AllowEdit = false; this.gv_fbillLino.Tag = "query_a.FBILL_LINO"; @@ -1269,7 +1271,7 @@ this.gv_custNo.AppearanceCell.Options.UseFont = true; this.gv_custNo.Caption = "瀹㈡埛缂栧彿 "; this.gv_custNo.FieldName = "custNo"; - this.gv_custNo.MinWidth = 50; + this.gv_custNo.MinWidth = 25; this.gv_custNo.Name = "gv_custNo"; this.gv_custNo.OptionsColumn.AllowEdit = false; this.gv_custNo.Tag = "query_a.CUST_NO"; @@ -1281,7 +1283,7 @@ this.gv_custName.AppearanceCell.Options.UseFont = true; this.gv_custName.Caption = "瀹㈡埛鍚嶇О "; this.gv_custName.FieldName = "custName"; - this.gv_custName.MinWidth = 50; + this.gv_custName.MinWidth = 25; this.gv_custName.Name = "gv_custName"; this.gv_custName.OptionsColumn.AllowEdit = false; this.gv_custName.Tag = "query_a.CUST_NAME"; @@ -1293,7 +1295,7 @@ this.gv_iqcReleaseNo.AppearanceCell.Options.UseFont = true; this.gv_iqcReleaseNo.Caption = "IQC妫�楠屽崟鍙� "; this.gv_iqcReleaseNo.FieldName = "iqcReleaseNo"; - this.gv_iqcReleaseNo.MinWidth = 50; + this.gv_iqcReleaseNo.MinWidth = 25; this.gv_iqcReleaseNo.Name = "gv_iqcReleaseNo"; this.gv_iqcReleaseNo.OptionsColumn.AllowEdit = false; this.gv_iqcReleaseNo.Tag = "query_a.IQC_RELEASE_NO"; @@ -1305,7 +1307,7 @@ this.gv_pickIns.AppearanceCell.Options.UseFont = true; this.gv_pickIns.Caption = "0 鐢宠鍗曪紝1鍏ュ簱鍗曟爣璇� "; this.gv_pickIns.FieldName = "pickIns"; - this.gv_pickIns.MinWidth = 50; + this.gv_pickIns.MinWidth = 25; this.gv_pickIns.Name = "gv_pickIns"; this.gv_pickIns.OptionsColumn.AllowEdit = false; this.gv_pickIns.Tag = "query_a.PICK_INS"; @@ -1317,7 +1319,7 @@ this.gv_fcheckUser.AppearanceCell.Options.UseFont = true; this.gv_fcheckUser.Caption = "鍏ュ簱瀹℃牳浜� "; this.gv_fcheckUser.FieldName = "fcheckUser"; - this.gv_fcheckUser.MinWidth = 50; + this.gv_fcheckUser.MinWidth = 25; this.gv_fcheckUser.Name = "gv_fcheckUser"; this.gv_fcheckUser.OptionsColumn.AllowEdit = false; this.gv_fcheckUser.Tag = "query_a.FCHECK_USER"; @@ -1329,7 +1331,7 @@ this.gv_rbillNo.AppearanceCell.Options.UseFont = true; this.gv_rbillNo.Caption = "浠诲姟姹囨姤鍗�/宸ュ崟鍙凤紙鎴愬搧鍏ュ簱銆侀��鏂欙級 "; this.gv_rbillNo.FieldName = "rbillNo"; - this.gv_rbillNo.MinWidth = 50; + this.gv_rbillNo.MinWidth = 25; this.gv_rbillNo.Name = "gv_rbillNo"; this.gv_rbillNo.OptionsColumn.AllowEdit = false; this.gv_rbillNo.Tag = "query_a.RBILL_NO"; @@ -1341,7 +1343,7 @@ this.gv_bgr.AppearanceCell.Options.UseFont = true; this.gv_bgr.Caption = "鎶ュ伐浜� "; this.gv_bgr.FieldName = "bgr"; - this.gv_bgr.MinWidth = 50; + this.gv_bgr.MinWidth = 25; this.gv_bgr.Name = "gv_bgr"; this.gv_bgr.OptionsColumn.AllowEdit = false; this.gv_bgr.Tag = "query_a.BGR"; @@ -1351,10 +1353,10 @@ // this.gridBand2.Caption = "鍏ュ簱鍗曞彿"; this.gridBand2.Columns.Add(this.gv_billNo); - this.gridBand2.MinWidth = 180; + this.gridBand2.MinWidth = 25; this.gridBand2.Name = "gridBand2"; this.gridBand2.VisibleIndex = 1; - this.gridBand2.Width = 180; + this.gridBand2.Width = 114; // // gv_billNo // @@ -1362,7 +1364,7 @@ this.gv_billNo.AppearanceCell.Options.UseFont = true; this.gv_billNo.Caption = "鍏ュ簱鍗曞彿 "; this.gv_billNo.FieldName = "billNo"; - this.gv_billNo.MinWidth = 50; + this.gv_billNo.MinWidth = 25; this.gv_billNo.Name = "gv_billNo"; this.gv_billNo.OptionsColumn.AllowEdit = false; this.gv_billNo.Tag = "query_a.BILL_NO"; @@ -1373,10 +1375,10 @@ // this.gridBand3.Caption = "鍒拌揣鍗曞彿"; this.gridBand3.Columns.Add(this.gv_cbillNo); - this.gridBand3.MinWidth = 180; + this.gridBand3.MinWidth = 25; this.gridBand3.Name = "gridBand3"; this.gridBand3.VisibleIndex = 2; - this.gridBand3.Width = 180; + this.gridBand3.Width = 114; // // gv_cbillNo // @@ -1384,7 +1386,7 @@ this.gv_cbillNo.AppearanceCell.Options.UseFont = true; this.gv_cbillNo.Caption = "鍒拌揣鍗曞彿/鍏跺畠鍏ュ簱鍗曞彿 "; this.gv_cbillNo.FieldName = "cbillNo"; - this.gv_cbillNo.MinWidth = 50; + this.gv_cbillNo.MinWidth = 25; this.gv_cbillNo.Name = "gv_cbillNo"; this.gv_cbillNo.OptionsColumn.AllowEdit = false; this.gv_cbillNo.Tag = "query_a.CBILL_NO"; @@ -1395,10 +1397,10 @@ // this.gridBand4.Caption = "鍒涘缓鏃堕棿"; this.gridBand4.Columns.Add(this.gv_createDate); - this.gridBand4.MinWidth = 180; + this.gridBand4.MinWidth = 25; this.gridBand4.Name = "gridBand4"; this.gridBand4.VisibleIndex = 3; - this.gridBand4.Width = 180; + this.gridBand4.Width = 146; // // gv_createDate // @@ -1406,7 +1408,7 @@ this.gv_createDate.AppearanceCell.Options.UseFont = true; this.gv_createDate.Caption = "鍒涘缓鏃堕棿 "; this.gv_createDate.FieldName = "createDate"; - this.gv_createDate.MinWidth = 50; + this.gv_createDate.MinWidth = 25; this.gv_createDate.Name = "gv_createDate"; this.gv_createDate.OptionsColumn.AllowEdit = false; this.gv_createDate.Tag = "query_a.CREATE_DATE"; @@ -1417,10 +1419,10 @@ // this.gridBand5.Caption = "鍒涘缓浜�"; this.gridBand5.Columns.Add(this.gv_createBy); - this.gridBand5.MinWidth = 80; + this.gridBand5.MinWidth = 25; this.gridBand5.Name = "gridBand5"; this.gridBand5.VisibleIndex = 4; - this.gridBand5.Width = 80; + this.gridBand5.Width = 66; // // gv_createBy // @@ -1428,7 +1430,7 @@ this.gv_createBy.AppearanceCell.Options.UseFont = true; this.gv_createBy.Caption = "鍒涘缓浜� "; this.gv_createBy.FieldName = "createBy"; - this.gv_createBy.MinWidth = 50; + this.gv_createBy.MinWidth = 25; this.gv_createBy.Name = "gv_createBy"; this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.CREATE_BY"; @@ -1441,10 +1443,10 @@ this.gridBand6.Columns.Add(this.gv_checkDate); this.gridBand6.Columns.Add(this.gv_insDate); this.gridBand6.Columns.Add(this.gv_fcheckDate); - this.gridBand6.MinWidth = 180; + this.gridBand6.MinWidth = 25; this.gridBand6.Name = "gridBand6"; this.gridBand6.VisibleIndex = 5; - this.gridBand6.Width = 180; + this.gridBand6.Width = 94; // // gv_checkDate // @@ -1452,7 +1454,7 @@ this.gv_checkDate.AppearanceCell.Options.UseFont = true; this.gv_checkDate.Caption = "CHECK_DATE "; this.gv_checkDate.FieldName = "checkDate"; - this.gv_checkDate.MinWidth = 50; + this.gv_checkDate.MinWidth = 25; this.gv_checkDate.Name = "gv_checkDate"; this.gv_checkDate.OptionsColumn.AllowEdit = false; this.gv_checkDate.Tag = "query_a.CHECK_DATE"; @@ -1465,7 +1467,7 @@ this.gv_insDate.AppearanceCell.Options.UseFont = true; this.gv_insDate.Caption = "insDate瀹℃牳鏃ユ湡"; this.gv_insDate.FieldName = "insDate"; - this.gv_insDate.MinWidth = 50; + this.gv_insDate.MinWidth = 25; this.gv_insDate.Name = "gv_insDate"; this.gv_insDate.OptionsColumn.AllowEdit = false; this.gv_insDate.Tag = "query_a.INS_DATE"; @@ -1477,7 +1479,7 @@ this.gv_fcheckDate.AppearanceCell.Options.UseFont = true; this.gv_fcheckDate.Caption = "鍏ュ簱瀹℃牳鏃ユ湡 "; this.gv_fcheckDate.FieldName = "fcheckDate"; - this.gv_fcheckDate.MinWidth = 50; + this.gv_fcheckDate.MinWidth = 25; this.gv_fcheckDate.Name = "gv_fcheckDate"; this.gv_fcheckDate.OptionsColumn.AllowEdit = false; this.gv_fcheckDate.Tag = "query_a.FCHECK_DATE"; @@ -1510,7 +1512,7 @@ this.gv_depotsId.AppearanceCell.Options.UseFont = true; this.gv_depotsId.Caption = "浠撳簱 "; this.gv_depotsId.FieldName = "depotsId"; - this.gv_depotsId.MinWidth = 50; + this.gv_depotsId.MinWidth = 25; this.gv_depotsId.Name = "gv_depotsId"; this.gv_depotsId.OptionsColumn.AllowEdit = false; this.gv_depotsId.Tag = "query_a.DEPOTS_ID"; @@ -1562,7 +1564,7 @@ this.gv_suppId.AppearanceCell.Options.UseFont = true; this.gv_suppId.Caption = "渚涘簲鍟咺D"; this.gv_suppId.FieldName = "suppId"; - this.gv_suppId.MinWidth = 50; + this.gv_suppId.MinWidth = 25; this.gv_suppId.Name = "gv_suppId"; this.gv_suppId.OptionsColumn.AllowEdit = false; this.gv_suppId.Tag = "query_a.SUPP_ID"; @@ -1591,10 +1593,10 @@ // this.gridBand13.Caption = "閫佽揣鍗曞彿"; this.gridBand13.Columns.Add(this.gv_paperBillNo); - this.gridBand13.MinWidth = 120; + this.gridBand13.MinWidth = 25; this.gridBand13.Name = "gridBand13"; this.gridBand13.VisibleIndex = 8; - this.gridBand13.Width = 120; + this.gridBand13.Width = 95; // // gv_paperBillNo // @@ -1602,7 +1604,7 @@ this.gv_paperBillNo.AppearanceCell.Options.UseFont = true; this.gv_paperBillNo.Caption = "閫佽揣鍗曞彿 "; this.gv_paperBillNo.FieldName = "paperBillNo"; - this.gv_paperBillNo.MinWidth = 50; + this.gv_paperBillNo.MinWidth = 25; this.gv_paperBillNo.Name = "gv_paperBillNo"; this.gv_paperBillNo.OptionsColumn.AllowEdit = false; this.gv_paperBillNo.Tag = "query_a.PAPER_BILL_NO"; @@ -1613,10 +1615,10 @@ // this.gridBand14.Caption = "澶囨敞淇℃伅"; this.gridBand14.Columns.Add(this.gv_remark); - this.gridBand14.MinWidth = 120; + this.gridBand14.MinWidth = 25; this.gridBand14.Name = "gridBand14"; this.gridBand14.VisibleIndex = 9; - this.gridBand14.Width = 120; + this.gridBand14.Width = 119; // // gv_remark // @@ -1624,7 +1626,7 @@ this.gv_remark.AppearanceCell.Options.UseFont = true; this.gv_remark.Caption = "澶囨敞 "; this.gv_remark.FieldName = "remark"; - this.gv_remark.MinWidth = 50; + this.gv_remark.MinWidth = 25; this.gv_remark.Name = "gv_remark"; this.gv_remark.OptionsColumn.AllowEdit = false; this.gv_remark.Tag = "query_a.REMARK"; @@ -1768,11 +1770,23 @@ 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(1106, 55); + this.picCheckBox.Name = "picCheckBox"; + this.picCheckBox.Size = new System.Drawing.Size(100, 50); + this.picCheckBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage; + this.picCheckBox.TabIndex = 7; + this.picCheckBox.TabStop = false; + this.picCheckBox.Visible = false; + // // Frm_MesItemTbl_RK // this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1348, 682); + this.Controls.Add(this.picCheckBox); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); this.Name = "Frm_MesItemTbl_RK"; @@ -1801,6 +1815,7 @@ this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); this.ResumeLayout(false); } @@ -1925,6 +1940,9 @@ private DevExpress.XtraEditors.LabelControl labelControl1; private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn bandedGridColumn1; private DevExpress.XtraGrid.Views.BandedGrid.BandedGridColumn bandedGridColumn2; + private UserControl.UcLookSupplier txt_suppId; + private UserControl.UcLookCk txt_depotsId; + private DevExpress.XtraEditors.CheckEdit txt_status; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand1; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand2; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand3; @@ -1939,8 +1957,6 @@ private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand12; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand13; private DevExpress.XtraGrid.Views.BandedGrid.GridBand gridBand14; - private UserControl.UcLookSupplier txt_suppId; - private UserControl.UcLookCk txt_depotsId; - private DevExpress.XtraEditors.CheckEdit txt_status; + private System.Windows.Forms.PictureBox picCheckBox; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.cs index 2919f8f..7249da0 100644 --- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.cs +++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemTbl_RK.cs @@ -1,4 +1,5 @@ -锘縰sing Gs.DevApp.Entity; +锘縰sing DevExpress.RichEdit.Export; +using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Gs.DevApp.UserControl; using Newtonsoft.Json; @@ -23,8 +24,9 @@ toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick; Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); - Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, "", "", (value) => + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "status2", "", (value) => { Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); }); @@ -43,6 +45,19 @@ Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); Task.Delay(100); getPageList(1); + } + /// <summary> + /// 鏃ュ織 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLogClick(object sender, EventArgs e) + { + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_billNo, gridView1); + toolBarMenu1.guidKey = rowGuid; } /// <summary> /// 鍒嗛〉浜嬩欢 @@ -186,6 +201,7 @@ { gcMain.DataSource = dt; gcMain.ForceInitialize(); + gridView1.BestFitColumns(); } else UtilityHelper.SetDefaultTable(gcMain, gridView1); @@ -243,6 +259,7 @@ gcMx1.BindingContext = new BindingContext(); gcMx1.DataSource = dt; gcMx1.ForceInitialize(); + gvMx1.BestFitColumns(); } else { @@ -259,6 +276,7 @@ gcMx2.BindingContext = new BindingContext(); gcMx2.DataSource = dt2; gcMx2.ForceInitialize(); + gvMx2.BestFitColumns(); } else { @@ -272,7 +290,6 @@ { ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); } - } /// <summary> @@ -314,12 +331,15 @@ JsonConvert.SerializeObject(_obj)); var _rtn = UtilityHelper.ReturnToDynamic(strJson); MsgHelper.Warning(_rtn.rtnData.outMsg.ToString()); - if (_rtn.rtnCode > 0) + if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0) { if (xtraTabControl1.SelectedTabPageIndex == 1) + { getModel(lbGuid.Text.Trim()); - else - getPageList(this.pageBar1.CurrentPage); + } + int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); + gridView1.FocusedRowHandle = rowHandle; + UtilityHelper.SetCheckIco(gridView1, "status2", "checkUser", "checkUser", picCheckBox, this, _inFieldValue.ToString()); } } catch (Exception ex) diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.Designer.cs index f16ba10..617a312 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.Designer.cs @@ -36,6 +36,7 @@ this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.pageBar1 = new UserControls.Data.UcPageBar(); @@ -52,14 +53,13 @@ this.gv_msg.AppearanceCell.Options.UseFont = true; this.gv_msg.Caption = "鎿嶄綔璇︽儏"; this.gv_msg.FieldName = "msg"; - this.gv_msg.MaxWidth = 500; - this.gv_msg.MinWidth = 100; + this.gv_msg.MaxWidth = 800; this.gv_msg.Name = "gv_msg"; this.gv_msg.OptionsColumn.AllowEdit = false; this.gv_msg.Tag = "query_MSG"; this.gv_msg.Visible = true; - this.gv_msg.VisibleIndex = 3; - this.gv_msg.Width = 200; + this.gv_msg.VisibleIndex = 4; + this.gv_msg.Width = 20; // // gv_userName // @@ -67,12 +67,11 @@ this.gv_userName.AppearanceCell.Options.UseFont = true; this.gv_userName.Caption = "鎿嶄綔浜哄憳"; this.gv_userName.FieldName = "userName"; - this.gv_userName.MinWidth = 50; this.gv_userName.Name = "gv_userName"; this.gv_userName.OptionsColumn.AllowEdit = false; this.gv_userName.Tag = "query_USER_NAME"; this.gv_userName.Visible = true; - this.gv_userName.VisibleIndex = 2; + this.gv_userName.VisibleIndex = 1; this.gv_userName.Width = 94; // // gv_operationTable @@ -81,12 +80,11 @@ this.gv_operationTable.AppearanceCell.Options.UseFont = true; this.gv_operationTable.Caption = "鐩稿叧琛�"; this.gv_operationTable.FieldName = "operationTable"; - this.gv_operationTable.MinWidth = 100; this.gv_operationTable.Name = "gv_operationTable"; this.gv_operationTable.OptionsColumn.AllowEdit = false; this.gv_operationTable.Tag = "query_OPERATION_TABLE"; this.gv_operationTable.Visible = true; - this.gv_operationTable.VisibleIndex = 1; + this.gv_operationTable.VisibleIndex = 2; this.gv_operationTable.Width = 100; // // gv_operationTime @@ -95,7 +93,6 @@ this.gv_operationTime.AppearanceCell.Options.UseFont = true; this.gv_operationTime.Caption = "鎿嶄綔鏃堕棿"; this.gv_operationTime.FieldName = "operationTime"; - this.gv_operationTime.MinWidth = 180; this.gv_operationTime.Name = "gv_operationTime"; this.gv_operationTime.OptionsColumn.AllowEdit = false; this.gv_operationTime.Tag = "query_OPERATION_TIME"; @@ -136,14 +133,25 @@ this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gv_operationTime, - this.gv_operationTable, this.gv_userName, + this.gv_operationTable, + this.gridColumn1, this.gv_msg}); this.gridView1.GridControl = this.gcMain; this.gridView1.Name = "gridView1"; this.gridView1.OptionsFind.ShowSearchNavButtons = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; + // + // gridColumn1 + // + this.gridColumn1.Caption = "鐩稿叧鍗曞彿"; + this.gridColumn1.FieldName = "abtHno"; + this.gridColumn1.MinWidth = 25; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 3; + this.gridColumn1.Width = 94; // // xtraTabControl1 // @@ -204,6 +212,6 @@ private DevExpress.XtraGrid.Columns.GridColumn gv_userName; private DevExpress.XtraGrid.Columns.GridColumn gv_operationTable; private DevExpress.XtraGrid.Columns.GridColumn gv_operationTime; - + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; } } \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs b/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs index ba6ae3c..d0bb60c 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sys/SysLog.cs @@ -23,10 +23,10 @@ Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1); pageBar1.PagerEvent += PageBar1_PagerEvent; } - private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) { Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); - Task.Delay(100); + Task.Delay(100); getPageList(1); } /// <summary> @@ -79,7 +79,7 @@ /// </summary> /// <param name="curPage">绗嚑椤�</param> /// <param name="pageSize">姣忛〉鍑犳潯</param> - private void getPageList(int curPage) + private void getPageList(int curPage) { var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); var pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "OPERATION_TIME", @@ -112,7 +112,6 @@ { ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg); } - } catch (Exception ex) { diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs index 853b003..3a0d915 100644 --- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.Designer.cs @@ -31,8 +31,8 @@ this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gv_operationTime = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gv_operationTable = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_userName = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_operationTable = new DevExpress.XtraGrid.Columns.GridColumn(); this.gv_msg = new DevExpress.XtraGrid.Columns.GridColumn(); this.pageBar1 = new UserControls.Data.UcPageBar(); ((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit(); @@ -57,8 +57,8 @@ this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gv_operationTime, - this.gv_operationTable, this.gv_userName, + this.gv_operationTable, this.gv_msg}); this.gridView1.GridControl = this.gcMain; this.gridView1.Name = "gridView1"; @@ -72,13 +72,27 @@ this.gv_operationTime.AppearanceCell.Options.UseFont = true; this.gv_operationTime.Caption = "鎿嶄綔鏃堕棿"; this.gv_operationTime.FieldName = "operationTime"; - this.gv_operationTime.MinWidth = 120; + this.gv_operationTime.MinWidth = 180; this.gv_operationTime.Name = "gv_operationTime"; this.gv_operationTime.OptionsColumn.ReadOnly = true; this.gv_operationTime.ToolTip = "query_a.OPERATION_TIME"; this.gv_operationTime.Visible = true; this.gv_operationTime.VisibleIndex = 0; - this.gv_operationTime.Width = 120; + this.gv_operationTime.Width = 280; + // + // gv_userName + // + this.gv_userName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_userName.AppearanceCell.Options.UseFont = true; + this.gv_userName.Caption = "鎿嶄綔浜哄憳"; + this.gv_userName.FieldName = "userName"; + this.gv_userName.MinWidth = 80; + this.gv_userName.Name = "gv_userName"; + this.gv_userName.OptionsColumn.ReadOnly = true; + this.gv_userName.Tag = "query_a.USER_NAME"; + this.gv_userName.Visible = true; + this.gv_userName.VisibleIndex = 1; + this.gv_userName.Width = 80; // // gv_operationTable // @@ -91,22 +105,8 @@ this.gv_operationTable.OptionsColumn.ReadOnly = true; this.gv_operationTable.Tag = "query_a.OPERATION_TABLE"; this.gv_operationTable.Visible = true; - this.gv_operationTable.VisibleIndex = 1; + this.gv_operationTable.VisibleIndex = 2; this.gv_operationTable.Width = 80; - // - // gv_userName - // - this.gv_userName.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_userName.AppearanceCell.Options.UseFont = true; - this.gv_userName.Caption = "鎿嶄綔浜哄憳"; - this.gv_userName.FieldName = "userName"; - this.gv_userName.MinWidth = 40; - this.gv_userName.Name = "gv_userName"; - this.gv_userName.OptionsColumn.ReadOnly = true; - this.gv_userName.Tag = "query_a.USER_NAME"; - this.gv_userName.Visible = true; - this.gv_userName.VisibleIndex = 2; - this.gv_userName.Width = 80; // // gv_msg // @@ -114,7 +114,6 @@ this.gv_msg.AppearanceCell.Options.UseFont = true; this.gv_msg.Caption = "鎿嶄綔璇︽儏"; this.gv_msg.FieldName = "msg"; - this.gv_msg.MinWidth = 50; this.gv_msg.Name = "gv_msg"; this.gv_msg.OptionsColumn.ReadOnly = true; this.gv_msg.Tag = "query_a.MSG"; -- Gitblit v1.9.3