From c2248f08e9bdc75cac6a329bf37234c7af17f16c Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 01 十一月 2024 15:20:47 +0800 Subject: [PATCH] 小细节 --- DevApp/Gs.DevApp/UserControl/UcLookItems.cs | 2 +- DevApp/Gs.DevApp/UserControl/UcLookItems.Designer.cs | 2 +- DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs | 34 +++++++++++++++++++++------------- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs index ccd0487..f76cb27 100644 --- a/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/QC/Frm_MesQaMj.Designer.cs @@ -106,7 +106,7 @@ this.gv_suppNo.OptionsColumn.AllowEdit = false; this.gv_suppNo.Tag = "query_a.SUPP_NO"; this.gv_suppNo.Visible = true; - this.gv_suppNo.VisibleIndex = 9; + this.gv_suppNo.VisibleIndex = 2; this.gv_suppNo.Width = 94; // // lb_itemId @@ -130,7 +130,7 @@ this.gv_itemId.OptionsColumn.AllowEdit = false; this.gv_itemId.Tag = "query_a.ITEM_ID"; this.gv_itemId.Visible = true; - this.gv_itemId.VisibleIndex = 8; + this.gv_itemId.VisibleIndex = 0; this.gv_itemId.Width = 94; // // lb_status @@ -169,6 +169,7 @@ // // txt_checkDate // + this.txt_checkDate.Enabled = false; this.txt_checkDate.Location = new System.Drawing.Point(606, 47); this.txt_checkDate.Name = "txt_checkDate"; this.txt_checkDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -187,7 +188,7 @@ this.gv_checkDate.OptionsColumn.AllowEdit = false; this.gv_checkDate.Tag = "query_a.CHECK_DATE"; this.gv_checkDate.Visible = true; - this.gv_checkDate.VisibleIndex = 6; + this.gv_checkDate.VisibleIndex = 9; this.gv_checkDate.Width = 94; // // lb_checkUser @@ -202,6 +203,7 @@ // // txt_checkUser // + this.txt_checkUser.Enabled = false; this.txt_checkUser.Location = new System.Drawing.Point(606, 9); this.txt_checkUser.Name = "txt_checkUser"; this.txt_checkUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -220,7 +222,7 @@ this.gv_checkUser.OptionsColumn.AllowEdit = false; this.gv_checkUser.Tag = "query_a.CHECK_USER"; this.gv_checkUser.Visible = true; - this.gv_checkUser.VisibleIndex = 5; + this.gv_checkUser.VisibleIndex = 8; this.gv_checkUser.Width = 94; // // lb_lastupdateDate @@ -235,6 +237,7 @@ // // txt_lastupdateDate // + this.txt_lastupdateDate.Enabled = false; this.txt_lastupdateDate.Location = new System.Drawing.Point(882, 47); this.txt_lastupdateDate.Name = "txt_lastupdateDate"; this.txt_lastupdateDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -253,7 +256,7 @@ this.gv_lastupdateDate.OptionsColumn.AllowEdit = false; this.gv_lastupdateDate.Tag = "query_a.LASTUPDATE_DATE"; this.gv_lastupdateDate.Visible = true; - this.gv_lastupdateDate.VisibleIndex = 4; + this.gv_lastupdateDate.VisibleIndex = 6; this.gv_lastupdateDate.Width = 94; // // lb_lastupdateBy @@ -268,6 +271,7 @@ // // txt_lastupdateBy // + this.txt_lastupdateBy.Enabled = false; this.txt_lastupdateBy.Location = new System.Drawing.Point(882, 9); this.txt_lastupdateBy.Name = "txt_lastupdateBy"; this.txt_lastupdateBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -286,7 +290,7 @@ this.gv_lastupdateBy.OptionsColumn.AllowEdit = false; this.gv_lastupdateBy.Tag = "query_a.LASTUPDATE_BY"; this.gv_lastupdateBy.Visible = true; - this.gv_lastupdateBy.VisibleIndex = 3; + this.gv_lastupdateBy.VisibleIndex = 5; this.gv_lastupdateBy.Width = 94; // // lb_createDate @@ -301,6 +305,7 @@ // // txt_createDate // + this.txt_createDate.Enabled = false; this.txt_createDate.Location = new System.Drawing.Point(365, 47); this.txt_createDate.Name = "txt_createDate"; this.txt_createDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -319,7 +324,7 @@ this.gv_createDate.OptionsColumn.AllowEdit = false; this.gv_createDate.Tag = "query_a.CREATE_DATE"; this.gv_createDate.Visible = true; - this.gv_createDate.VisibleIndex = 2; + this.gv_createDate.VisibleIndex = 4; this.gv_createDate.Width = 94; // // lb_createBy @@ -334,6 +339,7 @@ // // txt_createBy // + this.txt_createBy.Enabled = false; this.txt_createBy.Location = new System.Drawing.Point(365, 9); this.txt_createBy.Name = "txt_createBy"; this.txt_createBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -352,7 +358,7 @@ this.gv_createBy.OptionsColumn.AllowEdit = false; this.gv_createBy.Tag = "query_a.CREATE_BY"; this.gv_createBy.Visible = true; - this.gv_createBy.VisibleIndex = 1; + this.gv_createBy.VisibleIndex = 3; this.gv_createBy.Width = 94; // // lb_itemNo @@ -367,6 +373,7 @@ // // txt_itemNo // + this.txt_itemNo.Enabled = false; this.txt_itemNo.Location = new System.Drawing.Point(114, 47); this.txt_itemNo.Name = "txt_itemNo"; this.txt_itemNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); @@ -385,7 +392,7 @@ this.gv_itemNo.OptionsColumn.AllowEdit = false; this.gv_itemNo.Tag = "query_a.ITEM_NO"; this.gv_itemNo.Visible = true; - this.gv_itemNo.VisibleIndex = 0; + this.gv_itemNo.VisibleIndex = 1; this.gv_itemNo.Width = 94; // // toolBarMenu1 @@ -419,16 +426,16 @@ this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gv_itemId, this.gv_itemNo, + this.gv_suppNo, this.gv_createBy, this.gv_createDate, this.gv_lastupdateBy, this.gv_lastupdateDate, - this.gv_checkUser, - this.gv_checkDate, this.gv_status, - this.gv_itemId, - this.gv_suppNo}); + this.gv_checkUser, + this.gv_checkDate}); this.gridView1.GridControl = this.gcMain; this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; @@ -526,6 +533,7 @@ // // txt_status // + this.txt_status.Enabled = false; this.txt_status.Location = new System.Drawing.Point(364, 87); this.txt_status.Name = "txt_status"; this.txt_status.Properties.Caption = ""; diff --git a/DevApp/Gs.DevApp/UserControl/UcLookItems.Designer.cs b/DevApp/Gs.DevApp/UserControl/UcLookItems.Designer.cs index 0d50e11..7acc0b8 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookItems.Designer.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookItems.Designer.cs @@ -72,7 +72,7 @@ this.gridColumn1.FieldName = "id"; this.gridColumn1.MaxWidth = 80; this.gridColumn1.Name = "gridColumn1"; - this.gridColumn1.UnboundDataType = typeof(long); + this.gridColumn1.UnboundDataType = typeof(string); this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 42; diff --git a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs index 5a5f814..f201939 100644 --- a/DevApp/Gs.DevApp/UserControl/UcLookItems.cs +++ b/DevApp/Gs.DevApp/UserControl/UcLookItems.cs @@ -115,7 +115,7 @@ } if (KeyFile == "id") { - lookSearchSupplier.EditValue = Int64.Parse((Code.ToString().Trim())); + lookSearchSupplier.EditValue =((Code.ToString().Trim())); } else lookSearchSupplier.EditValue = ((Code.ToString().Trim())); -- Gitblit v1.9.3