From 794e8cba6af8fc33146bf34caa6940fcaab5f42f Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 04 四月 2025 17:35:12 +0800 Subject: [PATCH] 打印按钮 --- DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.Designer.cs | 371 +++++++++++++++++++++++++++------------------------- 1 files changed, 195 insertions(+), 176 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.Designer.cs b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.Designer.cs index 586a779..5efa506 100644 --- a/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.Designer.cs +++ b/DevApp/Gs.DevApp/DevFrm/WOM/Frm_Wompba.Designer.cs @@ -87,16 +87,15 @@ this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn(); this.caaGuid = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gvMx1fstatus = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gvMx1daa016 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); - this.gvMx1daa018 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.gvMx1daa002 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa010 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa005 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa003 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa004 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gvMx1daa010 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa018 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemDateEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); + this.gvMx1daa016 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.repositoryItemDateEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.gvMx1daa008 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa006 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa007 = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -104,6 +103,7 @@ this.gvMx1daa011 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa012 = new DevExpress.XtraGrid.Columns.GridColumn(); this.rptJYBZ = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); + this.gvMx1reporttime = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa017 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa019 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1checkDate = new DevExpress.XtraGrid.Columns.GridColumn(); @@ -117,10 +117,11 @@ this.gvMx1daa026 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1isReportcheck = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1daa014 = new DevExpress.XtraGrid.Columns.GridColumn(); - this.gvMx1reporttime = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMx1machineNo = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemDateEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1fstatus = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gvMxDel = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.picCheckBox = new System.Windows.Forms.PictureBox(); @@ -163,10 +164,10 @@ this.tabMxPage1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).BeginInit(); @@ -178,6 +179,7 @@ // this.toolBarMenu1.chkParameter = null; this.toolBarMenu1.currentAction = null; + this.toolBarMenu1.defaultActions = null; this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBarMenu1.guidKey = null; this.toolBarMenu1.isSetBtn = false; @@ -231,7 +233,7 @@ // gcMain1 // this.gcMain1.Dock = System.Windows.Forms.DockStyle.Fill; - this.gcMain1.Font = new System.Drawing.Font("Tahoma", 10F); + this.gcMain1.Location = new System.Drawing.Point(0, 0); this.gcMain1.MainView = this.gridView1; this.gcMain1.Name = "gcMain1"; @@ -244,7 +246,7 @@ // this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; - this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F); + this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.ColumnPanelRowHeight = 50; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { @@ -267,7 +269,7 @@ // // gv_fstatus // - this.gv_fstatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_fstatus.AppearanceCell.Options.UseFont = true; this.gv_fstatus.Caption = "瀹℃牳鏍囪瘑"; this.gv_fstatus.FieldName = "fstatus"; @@ -312,7 +314,7 @@ // // gv_checkUser // - this.gv_checkUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_checkUser.AppearanceCell.Options.UseFont = true; this.gv_checkUser.Caption = "瀹℃牳浜�"; this.gv_checkUser.FieldName = "checkUser"; @@ -325,7 +327,7 @@ // // gv_checkDate // - this.gv_checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_checkDate.AppearanceCell.Options.UseFont = true; this.gv_checkDate.Caption = "瀹℃牳鏃ユ湡"; this.gv_checkDate.FieldName = "checkDate"; @@ -338,7 +340,7 @@ // // gv_pba005 // - this.gv_pba005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_pba005.AppearanceCell.Options.UseFont = true; this.gv_pba005.Caption = "鍒涘缓浜�"; this.gv_pba005.FieldName = "pba005"; @@ -351,7 +353,7 @@ // // gv_pba006 // - this.gv_pba006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_pba006.AppearanceCell.Options.UseFont = true; this.gv_pba006.Caption = "鍒涘缓鏃堕棿"; this.gv_pba006.FieldName = "pba006"; @@ -364,7 +366,7 @@ // // gv_pba009 // - this.gv_pba009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gv_pba009.AppearanceCell.Options.UseFont = true; this.gv_pba009.Caption = "澶囨敞"; this.gv_pba009.FieldName = "pba009"; @@ -483,7 +485,7 @@ // this.txt_hNo.Location = new System.Drawing.Point(360, 12); this.txt_hNo.Name = "txt_hNo"; - this.txt_hNo.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_hNo.Properties.Appearance.Options.UseFont = true; this.txt_hNo.Size = new System.Drawing.Size(190, 28); this.txt_hNo.StyleController = this.layoutMx1; @@ -494,7 +496,7 @@ // this.txt_pba009.Location = new System.Drawing.Point(360, 44); this.txt_pba009.Name = "txt_pba009"; - this.txt_pba009.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_pba009.Properties.Appearance.Options.UseFont = true; this.txt_pba009.Size = new System.Drawing.Size(461, 28); this.txt_pba009.StyleController = this.layoutMx1; @@ -504,7 +506,7 @@ // this.txt_checkUser.Location = new System.Drawing.Point(902, 12); this.txt_checkUser.Name = "txt_checkUser"; - this.txt_checkUser.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_checkUser.Properties.Appearance.Options.UseFont = true; this.txt_checkUser.Size = new System.Drawing.Size(191, 28); this.txt_checkUser.StyleController = this.layoutMx1; @@ -515,7 +517,7 @@ // this.txt_checkDate.Location = new System.Drawing.Point(631, 12); this.txt_checkDate.Name = "txt_checkDate"; - this.txt_checkDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); + this.txt_checkDate.Properties.Appearance.Options.UseFont = true; this.txt_checkDate.Size = new System.Drawing.Size(190, 28); this.txt_checkDate.StyleController = this.layoutMx1; @@ -530,6 +532,7 @@ this.txt_fstatus.Size = new System.Drawing.Size(268, 24); this.txt_fstatus.StyleController = this.layoutMx1; this.txt_fstatus.TabIndex = 461; + this.txt_fstatus.Tag = "readonly"; // // layoutControlItem9 // @@ -714,20 +717,20 @@ this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gvMx1guid, this.caaGuid, - this.gvMx1fstatus, - this.gvMx1daa016, - this.gvMx1daa018, this.gvMx1daa002, + this.gvMx1daa010, this.gvMx1daa005, this.gvMx1daa003, this.gvMx1daa004, - this.gvMx1daa010, + this.gvMx1daa016, + this.gvMx1daa018, this.gvMx1daa008, this.gvMx1daa006, this.gvMx1daa007, this.gvMx1daa009, this.gvMx1daa011, this.gvMx1daa012, + this.gvMx1reporttime, this.gvMx1daa017, this.gvMx1daa019, this.gvMx1checkDate, @@ -741,9 +744,10 @@ this.gvMx1daa026, this.gvMx1isReportcheck, this.gvMx1daa014, - this.gvMx1reporttime, this.gvMx1machineNo, this.gridColumn3, + this.gvMx1fstatus, + this.gridColumn6, this.gvMxDel}); this.gvMx1.GridControl = this.gcMx1; this.gvMx1.Name = "gvMx1"; @@ -753,7 +757,7 @@ // // gvMx1guid // - this.gvMx1guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1guid.AppearanceCell.Options.UseFont = true; this.gvMx1guid.Caption = "guid"; this.gvMx1guid.FieldName = "guid"; @@ -772,50 +776,79 @@ this.caaGuid.OptionsColumn.ReadOnly = true; this.caaGuid.Width = 94; // - // gvMx1fstatus + // gvMx1daa002 // - this.gvMx1fstatus.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1fstatus.AppearanceCell.Options.UseFont = true; - this.gvMx1fstatus.Caption = "闇�姹傚崟鍙�"; - this.gvMx1fstatus.FieldName = "caa015"; - this.gvMx1fstatus.MinWidth = 50; - this.gvMx1fstatus.Name = "gvMx1fstatus"; - this.gvMx1fstatus.OptionsColumn.ReadOnly = true; - this.gvMx1fstatus.Tag = "query_a.fstatus"; - this.gvMx1fstatus.Visible = true; - this.gvMx1fstatus.VisibleIndex = 0; - this.gvMx1fstatus.Width = 76; + + this.gvMx1daa002.AppearanceCell.Options.UseFont = true; + this.gvMx1daa002.Caption = "宸ュ崟鍗曞彿"; + this.gvMx1daa002.FieldName = "daa001"; + this.gvMx1daa002.MinWidth = 50; + this.gvMx1daa002.Name = "gvMx1daa002"; + this.gvMx1daa002.OptionsColumn.ReadOnly = true; + this.gvMx1daa002.Tag = "query_a.daa002"; + this.gvMx1daa002.Visible = true; + this.gvMx1daa002.VisibleIndex = 0; + this.gvMx1daa002.Width = 50; // - // gvMx1daa016 + // gvMx1daa010 // - this.gvMx1daa016.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1daa016.AppearanceCell.ForeColor = System.Drawing.Color.Blue; - this.gvMx1daa016.AppearanceCell.Options.UseFont = true; - this.gvMx1daa016.AppearanceCell.Options.UseForeColor = true; - this.gvMx1daa016.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; - this.gvMx1daa016.AppearanceHeader.Options.UseForeColor = true; - this.gvMx1daa016.Caption = "棰勮寮�宸ユ棩鏃堕棿"; - this.gvMx1daa016.ColumnEdit = this.repositoryItemDateEdit2; - this.gvMx1daa016.FieldName = "mesStartProd"; - this.gvMx1daa016.MinWidth = 50; - this.gvMx1daa016.Name = "gvMx1daa016"; - this.gvMx1daa016.Tag = "edit"; - this.gvMx1daa016.Visible = true; - this.gvMx1daa016.VisibleIndex = 1; - this.gvMx1daa016.Width = 78; + + this.gvMx1daa010.AppearanceCell.Options.UseFont = true; + this.gvMx1daa010.Caption = "浠诲姟鍗曞彿"; + this.gvMx1daa010.FieldName = "daa021"; + 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 = 50; // - // repositoryItemDateEdit2 + // gvMx1daa005 // - this.repositoryItemDateEdit2.AutoHeight = false; - this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { - new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2"; + + this.gvMx1daa005.AppearanceCell.Options.UseFont = true; + this.gvMx1daa005.Caption = "鐗╂枡缂栫爜"; + this.gvMx1daa005.FieldName = "itemNo"; + this.gvMx1daa005.MinWidth = 50; + this.gvMx1daa005.Name = "gvMx1daa005"; + this.gvMx1daa005.OptionsColumn.ReadOnly = true; + this.gvMx1daa005.Tag = "query_a.daa005"; + this.gvMx1daa005.Visible = true; + this.gvMx1daa005.VisibleIndex = 2; + this.gvMx1daa005.Width = 50; + // + // gvMx1daa003 + // + + this.gvMx1daa003.AppearanceCell.Options.UseFont = true; + this.gvMx1daa003.Caption = "浜у搧鍚嶇О"; + this.gvMx1daa003.FieldName = "daa003"; + this.gvMx1daa003.MinWidth = 50; + this.gvMx1daa003.Name = "gvMx1daa003"; + this.gvMx1daa003.OptionsColumn.ReadOnly = true; + this.gvMx1daa003.Tag = "query_a.daa003"; + this.gvMx1daa003.Visible = true; + this.gvMx1daa003.VisibleIndex = 3; + this.gvMx1daa003.Width = 50; + // + // gvMx1daa004 + // + + this.gvMx1daa004.AppearanceCell.Options.UseFont = true; + this.gvMx1daa004.Caption = "浜у搧瑙勬牸"; + this.gvMx1daa004.FieldName = "daa004"; + this.gvMx1daa004.MinWidth = 50; + this.gvMx1daa004.Name = "gvMx1daa004"; + this.gvMx1daa004.OptionsColumn.ReadOnly = true; + this.gvMx1daa004.Tag = "query_a.daa004"; + this.gvMx1daa004.Visible = true; + this.gvMx1daa004.VisibleIndex = 4; + this.gvMx1daa004.Width = 50; // // gvMx1daa018 // - this.gvMx1daa018.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa018.AppearanceCell.ForeColor = System.Drawing.Color.Blue; this.gvMx1daa018.AppearanceCell.Options.UseFont = true; this.gvMx1daa018.AppearanceCell.Options.UseForeColor = true; @@ -828,7 +861,7 @@ this.gvMx1daa018.Name = "gvMx1daa018"; this.gvMx1daa018.Tag = "edit"; this.gvMx1daa018.Visible = true; - this.gvMx1daa018.VisibleIndex = 2; + this.gvMx1daa018.VisibleIndex = 6; this.gvMx1daa018.Width = 50; // // repositoryItemDateEdit3 @@ -840,79 +873,36 @@ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3"; // - // gvMx1daa002 + // gvMx1daa016 // - this.gvMx1daa002.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1daa002.AppearanceCell.Options.UseFont = true; - this.gvMx1daa002.Caption = "宸ュ崟鍗曞彿"; - this.gvMx1daa002.FieldName = "daa001"; - this.gvMx1daa002.MinWidth = 50; - this.gvMx1daa002.Name = "gvMx1daa002"; - this.gvMx1daa002.OptionsColumn.ReadOnly = true; - this.gvMx1daa002.Tag = "query_a.daa002"; - this.gvMx1daa002.Visible = true; - this.gvMx1daa002.VisibleIndex = 3; - this.gvMx1daa002.Width = 50; + + this.gvMx1daa016.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa016.AppearanceCell.Options.UseFont = true; + this.gvMx1daa016.AppearanceCell.Options.UseForeColor = true; + this.gvMx1daa016.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa016.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1daa016.Caption = "棰勮寮�宸ユ棩鏃堕棿"; + this.gvMx1daa016.ColumnEdit = this.repositoryItemDateEdit2; + this.gvMx1daa016.FieldName = "mesStartProd"; + this.gvMx1daa016.MinWidth = 50; + this.gvMx1daa016.Name = "gvMx1daa016"; + this.gvMx1daa016.Tag = "edit"; + this.gvMx1daa016.Visible = true; + this.gvMx1daa016.VisibleIndex = 5; + this.gvMx1daa016.Width = 78; // - // gvMx1daa005 + // repositoryItemDateEdit2 // - this.gvMx1daa005.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1daa005.AppearanceCell.Options.UseFont = true; - this.gvMx1daa005.Caption = "鐗╂枡缂栫爜"; - this.gvMx1daa005.FieldName = "itemNo"; - this.gvMx1daa005.MinWidth = 50; - this.gvMx1daa005.Name = "gvMx1daa005"; - this.gvMx1daa005.OptionsColumn.ReadOnly = true; - this.gvMx1daa005.Tag = "query_a.daa005"; - this.gvMx1daa005.Visible = true; - this.gvMx1daa005.VisibleIndex = 4; - this.gvMx1daa005.Width = 50; - // - // gvMx1daa003 - // - this.gvMx1daa003.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1daa003.AppearanceCell.Options.UseFont = true; - this.gvMx1daa003.Caption = "浜у搧鍚嶇О"; - this.gvMx1daa003.FieldName = "daa003"; - this.gvMx1daa003.MinWidth = 50; - this.gvMx1daa003.Name = "gvMx1daa003"; - this.gvMx1daa003.OptionsColumn.ReadOnly = true; - this.gvMx1daa003.Tag = "query_a.daa003"; - this.gvMx1daa003.Visible = true; - this.gvMx1daa003.VisibleIndex = 5; - this.gvMx1daa003.Width = 50; - // - // gvMx1daa004 - // - this.gvMx1daa004.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1daa004.AppearanceCell.Options.UseFont = true; - this.gvMx1daa004.Caption = "浜у搧瑙勬牸"; - this.gvMx1daa004.FieldName = "daa004"; - this.gvMx1daa004.MinWidth = 50; - this.gvMx1daa004.Name = "gvMx1daa004"; - this.gvMx1daa004.OptionsColumn.ReadOnly = true; - this.gvMx1daa004.Tag = "query_a.daa004"; - this.gvMx1daa004.Visible = true; - this.gvMx1daa004.VisibleIndex = 6; - this.gvMx1daa004.Width = 50; - // - // gvMx1daa010 - // - this.gvMx1daa010.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1daa010.AppearanceCell.Options.UseFont = true; - this.gvMx1daa010.Caption = "浠诲姟鍗曞彿"; - this.gvMx1daa010.FieldName = "daa021"; - 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 = 7; - this.gvMx1daa010.Width = 50; + this.repositoryItemDateEdit2.AutoHeight = false; + this.repositoryItemDateEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemDateEdit2.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemDateEdit2.Name = "repositoryItemDateEdit2"; // // gvMx1daa008 // - this.gvMx1daa008.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa008.AppearanceCell.Options.UseFont = true; this.gvMx1daa008.Caption = "宸ュ崟鎬绘暟"; this.gvMx1daa008.FieldName = "caa012"; @@ -922,12 +912,12 @@ this.gvMx1daa008.OptionsColumn.ReadOnly = true; this.gvMx1daa008.Tag = "query_a.daa008"; this.gvMx1daa008.Visible = true; - this.gvMx1daa008.VisibleIndex = 8; + this.gvMx1daa008.VisibleIndex = 7; this.gvMx1daa008.Width = 50; // // gvMx1daa006 // - this.gvMx1daa006.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa006.AppearanceCell.Options.UseFont = true; this.gvMx1daa006.Caption = "鍗曚綅"; this.gvMx1daa006.FieldName = "fname"; @@ -937,12 +927,12 @@ this.gvMx1daa006.OptionsColumn.ReadOnly = true; this.gvMx1daa006.Tag = "query_a.daa006"; this.gvMx1daa006.Visible = true; - this.gvMx1daa006.VisibleIndex = 9; + this.gvMx1daa006.VisibleIndex = 8; this.gvMx1daa006.Width = 50; // // gvMx1daa007 // - this.gvMx1daa007.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa007.AppearanceCell.Options.UseFont = true; this.gvMx1daa007.Caption = "宸叉帓"; this.gvMx1daa007.FieldName = "yp"; @@ -952,12 +942,12 @@ this.gvMx1daa007.OptionsColumn.ReadOnly = true; this.gvMx1daa007.Tag = "query_a.daa007"; this.gvMx1daa007.Visible = true; - this.gvMx1daa007.VisibleIndex = 10; + this.gvMx1daa007.VisibleIndex = 9; this.gvMx1daa007.Width = 50; // // gvMx1daa009 // - this.gvMx1daa009.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa009.AppearanceCell.Options.UseFont = true; this.gvMx1daa009.Caption = "鏈帓"; this.gvMx1daa009.FieldName = "wp"; @@ -967,12 +957,12 @@ this.gvMx1daa009.OptionsColumn.ReadOnly = true; this.gvMx1daa009.Tag = "query_a.daa009"; this.gvMx1daa009.Visible = true; - this.gvMx1daa009.VisibleIndex = 11; + this.gvMx1daa009.VisibleIndex = 10; this.gvMx1daa009.Width = 50; // // gvMx1daa011 // - this.gvMx1daa011.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa011.AppearanceCell.ForeColor = System.Drawing.Color.Blue; this.gvMx1daa011.AppearanceCell.Options.UseFont = true; this.gvMx1daa011.AppearanceCell.Options.UseForeColor = true; @@ -985,12 +975,12 @@ this.gvMx1daa011.Name = "gvMx1daa011"; this.gvMx1daa011.Tag = "yz_quantity_0_edit"; this.gvMx1daa011.Visible = true; - this.gvMx1daa011.VisibleIndex = 12; + this.gvMx1daa011.VisibleIndex = 11; this.gvMx1daa011.Width = 60; // // gvMx1daa012 // - this.gvMx1daa012.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa012.AppearanceCell.ForeColor = System.Drawing.Color.Blue; this.gvMx1daa012.AppearanceCell.Options.UseFont = true; this.gvMx1daa012.AppearanceCell.Options.UseForeColor = true; @@ -1003,7 +993,7 @@ this.gvMx1daa012.Name = "gvMx1daa012"; this.gvMx1daa012.Tag = "edit"; this.gvMx1daa012.Visible = true; - this.gvMx1daa012.VisibleIndex = 13; + this.gvMx1daa012.VisibleIndex = 12; this.gvMx1daa012.Width = 153; // // rptJYBZ @@ -1012,10 +1002,30 @@ this.rptJYBZ.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rptJYBZ.Name = "rptJYBZ"; + this.rptJYBZ.NullText = "-璇烽�夋嫨-"; + this.rptJYBZ.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; + this.rptJYBZ.SelectedIndexChanged += new System.EventHandler(this.rptJYBZ_SelectedIndexChanged); + // + // gvMx1reporttime + // + + this.gvMx1reporttime.AppearanceCell.ForeColor = System.Drawing.Color.Blue; + this.gvMx1reporttime.AppearanceCell.Options.UseFont = true; + this.gvMx1reporttime.AppearanceCell.Options.UseForeColor = true; + this.gvMx1reporttime.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1reporttime.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1reporttime.Caption = "澶囨敞"; + this.gvMx1reporttime.FieldName = "daa009"; + this.gvMx1reporttime.MinWidth = 50; + this.gvMx1reporttime.Name = "gvMx1reporttime"; + this.gvMx1reporttime.Tag = "edit"; + this.gvMx1reporttime.Visible = true; + this.gvMx1reporttime.VisibleIndex = 13; + this.gvMx1reporttime.Width = 102; // // gvMx1daa017 // - this.gvMx1daa017.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa017.AppearanceCell.ForeColor = System.Drawing.Color.Blue; this.gvMx1daa017.AppearanceCell.Options.UseFont = true; this.gvMx1daa017.AppearanceCell.Options.UseForeColor = true; @@ -1030,7 +1040,7 @@ // // gvMx1daa019 // - this.gvMx1daa019.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa019.AppearanceCell.Options.UseFont = true; this.gvMx1daa019.Caption = "鎺掍骇鏃ユ湡"; this.gvMx1daa019.FieldName = "daa024"; @@ -1042,7 +1052,7 @@ // // gvMx1checkDate // - this.gvMx1checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1checkDate.AppearanceCell.Options.UseFont = true; this.gvMx1checkDate.Caption = "绾夸綋绫诲埆"; this.gvMx1checkDate.FieldName = "lineType"; @@ -1054,7 +1064,7 @@ // // gvMx1checkUser // - this.gvMx1checkUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1checkUser.AppearanceCell.Options.UseFont = true; this.gvMx1checkUser.Caption = "鏍囧噯浜烘暟"; this.gvMx1checkUser.FieldName = "personnel"; @@ -1066,7 +1076,7 @@ // // gvMx1daa020 // - this.gvMx1daa020.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa020.AppearanceCell.Options.UseFont = true; this.gvMx1daa020.Caption = "鏍囧噯宸ユ椂"; this.gvMx1daa020.FieldName = "prodHour"; @@ -1078,7 +1088,7 @@ // // gvMx1daa021 // - this.gvMx1daa021.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa021.AppearanceCell.Options.UseFont = true; this.gvMx1daa021.Caption = "鍗曚汉灏忔椂浜ц兘"; this.gvMx1daa021.FieldName = "personHourCapactity"; @@ -1090,7 +1100,7 @@ // // gvMx1daa022 // - this.gvMx1daa022.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa022.AppearanceCell.Options.UseFont = true; this.gvMx1daa022.Caption = "鐞嗚鏍囦骇"; this.gvMx1daa022.FieldName = "theCapactity"; @@ -1102,7 +1112,7 @@ // // gvMx1daa023 // - this.gvMx1daa023.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa023.AppearanceCell.Options.UseFont = true; this.gvMx1daa023.Caption = "璁″垝鏍囧噯浜ц兘"; this.gvMx1daa023.FieldName = "planCapactity"; @@ -1114,7 +1124,7 @@ // // gvMx1daa024 // - this.gvMx1daa024.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa024.AppearanceCell.Options.UseFont = true; this.gvMx1daa024.Caption = "鍒嗛挓"; this.gvMx1daa024.FieldName = "theMin"; @@ -1126,7 +1136,7 @@ // // gvMx1daa025 // - this.gvMx1daa025.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa025.AppearanceCell.Options.UseFont = true; this.gvMx1daa025.Caption = "灏忔椂"; this.gvMx1daa025.FieldName = "theHour"; @@ -1138,7 +1148,7 @@ // // gvMx1daa026 // - this.gvMx1daa026.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa026.AppearanceCell.ForeColor = System.Drawing.Color.Blue; this.gvMx1daa026.AppearanceCell.Options.UseFont = true; this.gvMx1daa026.AppearanceCell.Options.UseForeColor = true; @@ -1153,7 +1163,7 @@ // // gvMx1isReportcheck // - this.gvMx1isReportcheck.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1isReportcheck.AppearanceCell.ForeColor = System.Drawing.Color.Black; this.gvMx1isReportcheck.AppearanceCell.Options.UseFont = true; this.gvMx1isReportcheck.AppearanceCell.Options.UseForeColor = true; @@ -1169,7 +1179,7 @@ // // gvMx1daa014 // - this.gvMx1daa014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa014.AppearanceCell.Options.UseFont = true; this.gvMx1daa014.Caption = "鎶曟枡鍗曞崟鍙�"; this.gvMx1daa014.FieldName = "daa014"; @@ -1181,26 +1191,9 @@ this.gvMx1daa014.VisibleIndex = 14; this.gvMx1daa014.Width = 51; // - // gvMx1reporttime - // - this.gvMx1reporttime.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); - this.gvMx1reporttime.AppearanceCell.ForeColor = System.Drawing.Color.Blue; - this.gvMx1reporttime.AppearanceCell.Options.UseFont = true; - this.gvMx1reporttime.AppearanceCell.Options.UseForeColor = true; - this.gvMx1reporttime.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; - this.gvMx1reporttime.AppearanceHeader.Options.UseForeColor = true; - this.gvMx1reporttime.Caption = "澶囨敞"; - this.gvMx1reporttime.FieldName = "daa009"; - this.gvMx1reporttime.MinWidth = 50; - this.gvMx1reporttime.Name = "gvMx1reporttime"; - this.gvMx1reporttime.Tag = "edit"; - this.gvMx1reporttime.Visible = true; - this.gvMx1reporttime.VisibleIndex = 15; - this.gvMx1reporttime.Width = 102; - // // gvMx1machineNo // - this.gvMx1machineNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1machineNo.AppearanceCell.ForeColor = System.Drawing.Color.Blue; this.gvMx1machineNo.AppearanceCell.Options.UseFont = true; this.gvMx1machineNo.AppearanceCell.Options.UseForeColor = true; @@ -1231,6 +1224,30 @@ this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Width = 94; // + // gvMx1fstatus + // + + this.gvMx1fstatus.AppearanceCell.Options.UseFont = true; + this.gvMx1fstatus.Caption = "闇�姹傚崟鍙�"; + this.gvMx1fstatus.FieldName = "caa015"; + this.gvMx1fstatus.MinWidth = 50; + this.gvMx1fstatus.Name = "gvMx1fstatus"; + this.gvMx1fstatus.OptionsColumn.ReadOnly = true; + this.gvMx1fstatus.Tag = "query_a.fstatus"; + this.gvMx1fstatus.Visible = true; + this.gvMx1fstatus.VisibleIndex = 15; + this.gvMx1fstatus.Width = 76; + // + // gridColumn6 + // + this.gridColumn6.Caption = "娆″簭"; + this.gridColumn6.FieldName = "scheduleOrder"; + this.gridColumn6.MinWidth = 25; + this.gridColumn6.Name = "gridColumn6"; + this.gridColumn6.Visible = true; + this.gridColumn6.VisibleIndex = 16; + this.gridColumn6.Width = 94; + // // gvMxDel // this.gvMxDel.Caption = "绉诲嚭"; @@ -1238,7 +1255,7 @@ this.gvMxDel.MinWidth = 80; this.gvMxDel.Name = "gvMxDel"; this.gvMxDel.Visible = true; - this.gvMxDel.VisibleIndex = 16; + this.gvMxDel.VisibleIndex = 17; this.gvMxDel.Width = 84; // // repositoryItemButtonEdit1 @@ -1250,6 +1267,7 @@ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)}); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; + this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); // // picCheckBox // @@ -1311,10 +1329,10 @@ this.tabMxPage1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rptJYBZ)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEdit1)).EndInit(); @@ -1406,5 +1424,6 @@ private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; private DevExpress.XtraGrid.Columns.GridColumn gridColumn5; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn6; } } \ No newline at end of file -- Gitblit v1.9.3