From b73c48f8aac079b85551d6fc05772c3b335c917f Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期四, 20 三月 2025 17:18:53 +0800 Subject: [PATCH] 用户管理 --- DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesUnit.Designer.cs | 158 +++++++++++++++++++++++++--------------------------- 1 files changed, 75 insertions(+), 83 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesUnit.Designer.cs b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesUnit.Designer.cs index 92acf4d..5dd9d1d 100644 --- a/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesUnit.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/BasicData/Frm_MesUnit.Designer.cs @@ -66,7 +66,6 @@ this.lb_oldunit = new DevExpress.XtraEditors.LabelControl(); this.lb_id = new DevExpress.XtraEditors.LabelControl(); this.txt_id = new DevExpress.XtraEditors.TextEdit(); - this.gv_id = new DevExpress.XtraGrid.Columns.GridColumn(); this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); this.gcMain = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); @@ -75,12 +74,13 @@ this.pageBar1 = new UserControls.Data.UcPageBar(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.panel1 = new System.Windows.Forms.Panel(); + this.txt_fcurrentunitid = new Gs.DevApp.UserControl.UcLookUnit(); + this.txt_fbaseunit = new Gs.DevApp.UserControl.UcLookUnit(); + this.txt_newunit = new Gs.DevApp.UserControl.UcLookUnit(); + this.txt_oldunit = new Gs.DevApp.UserControl.UcLookUnit(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.lbGuid = new System.Windows.Forms.Label(); - this.txt_oldunit = new Gs.DevApp.UserControl.UcLookUnit(); - this.txt_newunit = new Gs.DevApp.UserControl.UcLookUnit(); - this.txt_fbaseunit = new Gs.DevApp.UserControl.UcLookUnit(); - this.txt_fcurrentunitid = new Gs.DevApp.UserControl.UcLookUnit(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.txt_fforbidstatus.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fdescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fprecision.Properties)).BeginInit(); @@ -129,11 +129,10 @@ this.gv_fforbidstatus.FieldName = "fforbidstatus"; this.gv_fforbidstatus.MinWidth = 50; this.gv_fforbidstatus.Name = "gv_fforbidstatus"; - this.gv_fforbidstatus.OptionsColumn.AllowEdit = false; this.gv_fforbidstatus.Tag = "query_a.fforbidstatus"; this.gv_fforbidstatus.Visible = true; - this.gv_fforbidstatus.VisibleIndex = 9; - this.gv_fforbidstatus.Width = 94; + this.gv_fforbidstatus.VisibleIndex = 8; + this.gv_fforbidstatus.Width = 91; // // lb_fdescription // @@ -162,11 +161,10 @@ this.gv_fdescription.FieldName = "fdescription"; this.gv_fdescription.MinWidth = 50; this.gv_fdescription.Name = "gv_fdescription"; - this.gv_fdescription.OptionsColumn.AllowEdit = false; this.gv_fdescription.Tag = "query_a.fdescription"; this.gv_fdescription.Visible = true; - this.gv_fdescription.VisibleIndex = 8; - this.gv_fdescription.Width = 94; + this.gv_fdescription.VisibleIndex = 7; + this.gv_fdescription.Width = 91; // // lb_fprecision // @@ -195,11 +193,10 @@ this.gv_fprecision.FieldName = "fprecision"; this.gv_fprecision.MinWidth = 50; this.gv_fprecision.Name = "gv_fprecision"; - this.gv_fprecision.OptionsColumn.AllowEdit = false; this.gv_fprecision.Tag = "query_a.fprecision"; this.gv_fprecision.Visible = true; - this.gv_fprecision.VisibleIndex = 7; - this.gv_fprecision.Width = 94; + this.gv_fprecision.VisibleIndex = 6; + this.gv_fprecision.Width = 91; // // lb_froundtype // @@ -228,11 +225,10 @@ this.gv_froundtype.FieldName = "froundtype"; this.gv_froundtype.MinWidth = 50; this.gv_froundtype.Name = "gv_froundtype"; - this.gv_froundtype.OptionsColumn.AllowEdit = false; this.gv_froundtype.Tag = "query_a.froundtype"; this.gv_froundtype.Visible = true; - this.gv_froundtype.VisibleIndex = 6; - this.gv_froundtype.Width = 94; + this.gv_froundtype.VisibleIndex = 5; + this.gv_froundtype.Width = 91; // // lb_fbaseunit // @@ -271,11 +267,10 @@ this.gv_fconvertnumerator.FieldName = "fconvertnumerator"; this.gv_fconvertnumerator.MinWidth = 50; this.gv_fconvertnumerator.Name = "gv_fconvertnumerator"; - this.gv_fconvertnumerator.OptionsColumn.AllowEdit = false; this.gv_fconvertnumerator.Tag = "query_a.fconvertnumerator"; this.gv_fconvertnumerator.Visible = true; - this.gv_fconvertnumerator.VisibleIndex = 5; - this.gv_fconvertnumerator.Width = 94; + this.gv_fconvertnumerator.VisibleIndex = 4; + this.gv_fconvertnumerator.Width = 91; // // lb_fcurrentunitid // @@ -314,11 +309,11 @@ this.gv_fconvertdenominator.FieldName = "fconvertdenominator"; this.gv_fconvertdenominator.MinWidth = 50; this.gv_fconvertdenominator.Name = "gv_fconvertdenominator"; - this.gv_fconvertdenominator.OptionsColumn.AllowEdit = false; + this.gv_fconvertdenominator.OptionsColumn.ReadOnly = true; this.gv_fconvertdenominator.Tag = "query_a.fconvertdenominator"; this.gv_fconvertdenominator.Visible = true; - this.gv_fconvertdenominator.VisibleIndex = 4; - this.gv_fconvertdenominator.Width = 94; + this.gv_fconvertdenominator.VisibleIndex = 3; + this.gv_fconvertdenominator.Width = 91; // // lb_funitgroupid // @@ -347,11 +342,11 @@ this.gv_funitgroupid.FieldName = "funitgroupid"; this.gv_funitgroupid.MinWidth = 50; this.gv_funitgroupid.Name = "gv_funitgroupid"; - this.gv_funitgroupid.OptionsColumn.AllowEdit = false; + this.gv_funitgroupid.OptionsColumn.ReadOnly = true; this.gv_funitgroupid.Tag = "query_a.funitgroupid"; this.gv_funitgroupid.Visible = true; - this.gv_funitgroupid.VisibleIndex = 3; - this.gv_funitgroupid.Width = 94; + this.gv_funitgroupid.VisibleIndex = 2; + this.gv_funitgroupid.Width = 91; // // lb_fname // @@ -380,11 +375,11 @@ this.gv_fname.FieldName = "fname"; this.gv_fname.MinWidth = 50; this.gv_fname.Name = "gv_fname"; - this.gv_fname.OptionsColumn.AllowEdit = false; + this.gv_fname.OptionsColumn.ReadOnly = true; this.gv_fname.Tag = "query_a.fname"; this.gv_fname.Visible = true; - this.gv_fname.VisibleIndex = 2; - this.gv_fname.Width = 94; + this.gv_fname.VisibleIndex = 1; + this.gv_fname.Width = 91; // // lb_fnumber // @@ -413,11 +408,11 @@ this.gv_fnumber.FieldName = "fnumber"; this.gv_fnumber.MinWidth = 50; this.gv_fnumber.Name = "gv_fnumber"; - this.gv_fnumber.OptionsColumn.AllowEdit = false; + this.gv_fnumber.OptionsColumn.ReadOnly = true; this.gv_fnumber.Tag = "query_a.fnumber"; this.gv_fnumber.Visible = true; - this.gv_fnumber.VisibleIndex = 1; - this.gv_fnumber.Width = 94; + this.gv_fnumber.VisibleIndex = 0; + this.gv_fnumber.Width = 91; // // lb_newqty // @@ -496,23 +491,10 @@ this.txt_id.Size = new System.Drawing.Size(150, 28); this.txt_id.TabIndex = 211; // - // gv_id - // - this.gv_id.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gv_id.AppearanceCell.Options.UseFont = true; - this.gv_id.Caption = "鍗曚綅ID"; - this.gv_id.FieldName = "id"; - this.gv_id.MinWidth = 50; - this.gv_id.Name = "gv_id"; - this.gv_id.OptionsColumn.AllowEdit = false; - this.gv_id.Tag = "query_a.id"; - this.gv_id.Visible = true; - this.gv_id.VisibleIndex = 0; - this.gv_id.Width = 94; - // // toolBarMenu1 // this.toolBarMenu1.chkParameter = null; + this.toolBarMenu1.currentAction = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.guidKey = null; this.toolBarMenu1.isSetBtn = false; @@ -541,7 +523,6 @@ this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.gv_id, this.gv_fnumber, this.gv_fname, this.gv_funitgroupid, @@ -550,7 +531,8 @@ this.gv_froundtype, this.gv_fprecision, this.gv_fdescription, - this.gv_fforbidstatus}); + this.gv_fforbidstatus, + this.gridColumn1}); this.gridView1.GridControl = this.gcMain; this.gridView1.IndicatorWidth = 50; this.gridView1.Name = "gridView1"; @@ -576,7 +558,7 @@ this.xtraTabPage1.Controls.Add(this.pageBar1); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(970, 570); - this.xtraTabPage1.Text = "鏁版嵁鏌ヨ"; + this.xtraTabPage1.Text = "鏁版嵁鍒楄〃"; // // pageBar1 // @@ -586,7 +568,6 @@ this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); this.pageBar1.Name = "pageBar1"; this.pageBar1.RecordCount = 0; - this.pageBar1.RowsCount = 50; this.pageBar1.Size = new System.Drawing.Size(970, 39); this.pageBar1.TabIndex = 3; this.pageBar1.TotalPages = 0; @@ -595,9 +576,8 @@ // this.xtraTabPage2.Controls.Add(this.panel1); this.xtraTabPage2.Name = "xtraTabPage2"; - this.xtraTabPage2.PageEnabled = false; this.xtraTabPage2.Size = new System.Drawing.Size(970, 570); - this.xtraTabPage2.Text = "鏁版嵁缂栬緫"; + this.xtraTabPage2.Text = "鏁版嵁璇︾粏"; // // panel1 // @@ -642,6 +622,38 @@ this.panel1.Size = new System.Drawing.Size(814, 426); this.panel1.TabIndex = 1; // + // txt_fcurrentunitid + // + this.txt_fcurrentunitid.IsReadly = false; + this.txt_fcurrentunitid.Location = new System.Drawing.Point(368, 160); + this.txt_fcurrentunitid.Name = "txt_fcurrentunitid"; + this.txt_fcurrentunitid.Size = new System.Drawing.Size(150, 28); + this.txt_fcurrentunitid.TabIndex = 302; + // + // txt_fbaseunit + // + this.txt_fbaseunit.IsReadly = false; + this.txt_fbaseunit.Location = new System.Drawing.Point(368, 119); + this.txt_fbaseunit.Name = "txt_fbaseunit"; + this.txt_fbaseunit.Size = new System.Drawing.Size(150, 28); + this.txt_fbaseunit.TabIndex = 301; + // + // txt_newunit + // + this.txt_newunit.IsReadly = false; + this.txt_newunit.Location = new System.Drawing.Point(123, 200); + this.txt_newunit.Name = "txt_newunit"; + this.txt_newunit.Size = new System.Drawing.Size(150, 28); + this.txt_newunit.TabIndex = 300; + // + // txt_oldunit + // + this.txt_oldunit.IsReadly = false; + this.txt_oldunit.Location = new System.Drawing.Point(123, 119); + this.txt_oldunit.Name = "txt_oldunit"; + this.txt_oldunit.Size = new System.Drawing.Size(150, 28); + this.txt_oldunit.TabIndex = 299; + // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(53, 373); @@ -661,37 +673,16 @@ this.lbGuid.TabIndex = 1; this.lbGuid.Visible = false; // - // txt_oldunit + // gridColumn1 // - this.txt_oldunit.IsReadly = false; - this.txt_oldunit.Location = new System.Drawing.Point(123, 119); - this.txt_oldunit.Name = "txt_oldunit"; - this.txt_oldunit.Size = new System.Drawing.Size(150, 28); - this.txt_oldunit.TabIndex = 299; - // - // txt_newunit - // - this.txt_newunit.IsReadly = false; - this.txt_newunit.Location = new System.Drawing.Point(123, 200); - this.txt_newunit.Name = "txt_newunit"; - this.txt_newunit.Size = new System.Drawing.Size(150, 28); - this.txt_newunit.TabIndex = 300; - // - // txt_fbaseunit - // - this.txt_fbaseunit.IsReadly = false; - this.txt_fbaseunit.Location = new System.Drawing.Point(368, 119); - this.txt_fbaseunit.Name = "txt_fbaseunit"; - this.txt_fbaseunit.Size = new System.Drawing.Size(150, 28); - this.txt_fbaseunit.TabIndex = 301; - // - // txt_fcurrentunitid - // - this.txt_fcurrentunitid.IsReadly = false; - this.txt_fcurrentunitid.Location = new System.Drawing.Point(368, 160); - this.txt_fcurrentunitid.Name = "txt_fcurrentunitid"; - this.txt_fcurrentunitid.Size = new System.Drawing.Size(150, 28); - this.txt_fcurrentunitid.TabIndex = 302; + this.gridColumn1.Caption = "鍚屾鏃堕棿"; + this.gridColumn1.FieldName = "lastupdateDate"; + this.gridColumn1.MinWidth = 25; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Tag = "query_a.lastupdate_date"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 9; + this.gridColumn1.Width = 180; // // Frm_MesUnit // @@ -701,6 +692,7 @@ this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.toolBarMenu1); this.Name = "Frm_MesUnit"; + this.Text = "鍗曚綅淇℃伅"; ((System.ComponentModel.ISupportInitialize)(this.txt_fforbidstatus.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fdescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txt_fprecision.Properties)).EndInit(); @@ -788,10 +780,10 @@ private DevExpress.XtraEditors.LabelControl lb_id; private DevExpress.XtraEditors.TextEdit txt_id; - private DevExpress.XtraGrid.Columns.GridColumn gv_id; private UserControl.UcLookUnit txt_oldunit; private UserControl.UcLookUnit txt_newunit; private UserControl.UcLookUnit txt_fcurrentunitid; private UserControl.UcLookUnit txt_fbaseunit; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; } } \ No newline at end of file -- Gitblit v1.9.3