From b2dd0023553dd4308b94f8ceeece031754d70f14 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期三, 19 三月 2025 15:46:45 +0800 Subject: [PATCH] 异常提交 --- DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.resx | 120 +++ DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs | 643 +++++++++++++++++ DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs | 7 DevApp/Gs.DevApp/Gs.DevApp.csproj | 9 DevApp/Gs.DevApp/Properties/licenses.licx | 15 DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs | 1425 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 2,209 insertions(+), 10 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs new file mode 100644 index 0000000..0267736 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.Designer.cs @@ -0,0 +1,1425 @@ +锘縩amespace Gs.DevApp.DevFrm.QC +{ + partial class MesQcExceptional + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + DevExpress.XtraLayout.ColumnDefinition columnDefinition1 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition2 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition3 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.ColumnDefinition columnDefinition4 = new DevExpress.XtraLayout.ColumnDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition(); + DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); + DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); + this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu(); + this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); + this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.split1 = new DevExpress.XtraEditors.SplitContainerControl(); + this.gcMain1 = new DevExpress.XtraGrid.GridControl(); + this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gv_fstatus = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_checkUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_checkDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_pba005 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_pba006 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gv_pba009 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.pageBar1 = new UserControls.Data.UcPageBar(); + this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); + this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl(); + this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl(); + this.lbGuid = new System.Windows.Forms.Label(); + this.btnSelect = new DevExpress.XtraEditors.SimpleButton(); + this.txt_pba013 = new Gs.DevApp.UserControl.UcLookWorkshop(); + this.txt_erpSczz = new Gs.DevApp.UserControl.UcLookOrg(); + this.txt_hNo = new DevExpress.XtraEditors.TextEdit(); + this.txt_pba009 = new DevExpress.XtraEditors.TextEdit(); + this.txt_checkUser = new DevExpress.XtraEditors.TextEdit(); + this.txt_checkDate = new DevExpress.XtraEditors.TextEdit(); + this.txt_fstatus = new DevExpress.XtraEditors.CheckEdit(); + this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); + this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); + this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); + this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); + this.tabMx = new DevExpress.XtraTab.XtraTabControl(); + this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage(); + this.gcMx1 = new DevExpress.XtraGrid.GridControl(); + this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn(); + this.caaGuid = new DevExpress.XtraGrid.Columns.GridColumn(); + 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.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(); + this.gvMx1daa009 = new DevExpress.XtraGrid.Columns.GridColumn(); + 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(); + this.gvMx1checkUser = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa020 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa021 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa022 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa023 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa024 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa025 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa026 = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1isReportcheck = new DevExpress.XtraGrid.Columns.GridColumn(); + this.gvMx1daa014 = 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(); + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); + this.xtraTabControl1.SuspendLayout(); + this.xtraTabPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.split1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).BeginInit(); + this.split1.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).BeginInit(); + this.split1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); + this.xtraTabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).BeginInit(); + this.splitMx1.Panel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).BeginInit(); + this.splitMx1.Panel2.SuspendLayout(); + this.splitMx1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).BeginInit(); + this.layoutMx1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.txt_hNo.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_pba009.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fstatus.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit(); + this.tabMx.SuspendLayout(); + this.tabMxPage1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).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(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit(); + this.SuspendLayout(); + // + // toolBarMenu1 + // + 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; + this.toolBarMenu1.Location = new System.Drawing.Point(0, 0); + this.toolBarMenu1.Name = "toolBarMenu1"; + this.toolBarMenu1.rptParameter = null; + this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80); + this.toolBarMenu1.TabIndex = 0; + this.toolBarMenu1.xlsInService = null; + this.toolBarMenu1.xlsOutParameter = null; + // + // xtraTabControl1 + // + this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; + this.xtraTabControl1.Location = new System.Drawing.Point(0, 80); + this.xtraTabControl1.Name = "xtraTabControl1"; + this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; + this.xtraTabControl1.Size = new System.Drawing.Size(1128, 602); + this.xtraTabControl1.TabIndex = 3; + this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.xtraTabPage1, + this.xtraTabPage2}); + // + // xtraTabPage1 + // + this.xtraTabPage1.Controls.Add(this.split1); + this.xtraTabPage1.Name = "xtraTabPage1"; + this.xtraTabPage1.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage1.Text = "鏁版嵁鍒楄〃"; + // + // split1 + // + this.split1.Dock = System.Windows.Forms.DockStyle.Fill; + this.split1.Horizontal = false; + this.split1.Location = new System.Drawing.Point(0, 0); + this.split1.Name = "split1"; + // + // split1.Panel1 + // + this.split1.Panel1.Controls.Add(this.gcMain1); + this.split1.Panel1.Controls.Add(this.pageBar1); + this.split1.Panel1.Text = "Panel1"; + // + // split1.Panel2 + // + this.split1.Panel2.Text = "Panel2"; + this.split1.Size = new System.Drawing.Size(1126, 570); + this.split1.SplitterPosition = 551; + this.split1.TabIndex = 4; + // + // 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"; + this.gcMain1.Size = new System.Drawing.Size(1126, 512); + this.gcMain1.TabIndex = 2; + this.gcMain1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gridView1}); + // + // gridView1 + // + 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[] { + this.gv_fstatus, + this.gridColumn4, + this.gridColumn1, + this.gridColumn2, + this.gv_checkUser, + this.gv_checkDate, + this.gv_pba005, + this.gv_pba006, + this.gv_pba009, + this.gridColumn5}); + this.gridView1.GridControl = this.gcMain1; + this.gridView1.IndicatorWidth = 50; + this.gridView1.Name = "gridView1"; + this.gridView1.OptionsFind.ShowSearchNavButtons = false; + this.gridView1.OptionsView.ShowAutoFilterRow = true; + this.gridView1.OptionsView.ShowGroupPanel = false; + // + // 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"; + this.gv_fstatus.MaxWidth = 50; + this.gv_fstatus.MinWidth = 50; + this.gv_fstatus.Name = "gv_fstatus"; + this.gv_fstatus.OptionsColumn.AllowEdit = false; + this.gv_fstatus.Tag = "query_a.fstatus"; + this.gv_fstatus.Visible = true; + this.gv_fstatus.VisibleIndex = 0; + this.gv_fstatus.Width = 50; + // + // gridColumn4 + // + this.gridColumn4.Caption = "鐢熶骇缁勭粐"; + this.gridColumn4.FieldName = "fSubsidiary"; + this.gridColumn4.Name = "gridColumn4"; + this.gridColumn4.Tag = "org.fnamber"; + this.gridColumn4.Visible = true; + this.gridColumn4.VisibleIndex = 1; + this.gridColumn4.Width = 250; + // + // gridColumn1 + // + this.gridColumn1.Caption = "杞﹂棿鍚嶇О"; + this.gridColumn1.FieldName = "dptName"; + this.gridColumn1.MinWidth = 25; + this.gridColumn1.Name = "gridColumn1"; + this.gridColumn1.Visible = true; + this.gridColumn1.VisibleIndex = 2; + this.gridColumn1.Width = 94; + // + // gridColumn2 + // + this.gridColumn2.Caption = "鎺掍骇鍗曞彿"; + this.gridColumn2.FieldName = "hNo"; + this.gridColumn2.Name = "gridColumn2"; + this.gridColumn2.OptionsColumn.AllowEdit = false; + this.gridColumn2.Visible = true; + this.gridColumn2.VisibleIndex = 3; + this.gridColumn2.Width = 150; + // + // 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"; + this.gv_checkUser.Name = "gv_checkUser"; + this.gv_checkUser.OptionsColumn.AllowEdit = false; + this.gv_checkUser.Tag = "query_a.check_user"; + this.gv_checkUser.Visible = true; + this.gv_checkUser.VisibleIndex = 4; + this.gv_checkUser.Width = 94; + // + // 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"; + this.gv_checkDate.Name = "gv_checkDate"; + this.gv_checkDate.OptionsColumn.AllowEdit = false; + this.gv_checkDate.Tag = "query_a.check_date"; + this.gv_checkDate.Visible = true; + this.gv_checkDate.VisibleIndex = 5; + this.gv_checkDate.Width = 180; + // + // 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"; + this.gv_pba005.Name = "gv_pba005"; + this.gv_pba005.OptionsColumn.AllowEdit = false; + this.gv_pba005.Tag = "query_a.pba005"; + this.gv_pba005.Visible = true; + this.gv_pba005.VisibleIndex = 6; + this.gv_pba005.Width = 94; + // + // 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"; + this.gv_pba006.Name = "gv_pba006"; + this.gv_pba006.OptionsColumn.AllowEdit = false; + this.gv_pba006.Tag = "query_a.pba006"; + this.gv_pba006.Visible = true; + this.gv_pba006.VisibleIndex = 7; + this.gv_pba006.Width = 180; + // + // 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"; + this.gv_pba009.Name = "gv_pba009"; + this.gv_pba009.OptionsColumn.AllowEdit = false; + this.gv_pba009.Tag = "query_a.pba009"; + this.gv_pba009.Visible = true; + this.gv_pba009.VisibleIndex = 8; + this.gv_pba009.Width = 100; + // + // gridColumn5 + // + this.gridColumn5.Caption = "涓婚敭GUID"; + this.gridColumn5.FieldName = "guid"; + this.gridColumn5.MinWidth = 25; + this.gridColumn5.Name = "gridColumn5"; + this.gridColumn5.Width = 94; + // + // pageBar1 + // + this.pageBar1.CurrentPage = 1; + this.pageBar1.Dock = System.Windows.Forms.DockStyle.Bottom; + this.pageBar1.Location = new System.Drawing.Point(0, 512); + this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5); + this.pageBar1.Name = "pageBar1"; + this.pageBar1.RecordCount = 0; + this.pageBar1.Size = new System.Drawing.Size(1126, 39); + this.pageBar1.TabIndex = 4; + this.pageBar1.TotalPages = 0; + // + // xtraTabPage2 + // + this.xtraTabPage2.Controls.Add(this.splitMx1); + this.xtraTabPage2.Name = "xtraTabPage2"; + this.xtraTabPage2.Size = new System.Drawing.Size(1126, 570); + this.xtraTabPage2.Text = "鏁版嵁璇︾粏"; + // + // splitMx1 + // + this.splitMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.splitMx1.Horizontal = false; + this.splitMx1.Location = new System.Drawing.Point(0, 0); + this.splitMx1.Name = "splitMx1"; + // + // splitMx1.Panel1 + // + this.splitMx1.Panel1.Controls.Add(this.layoutMx1); + this.splitMx1.Panel1.Text = "Panel1"; + // + // splitMx1.Panel2 + // + this.splitMx1.Panel2.Controls.Add(this.tabMx); + this.splitMx1.Panel2.Text = "Panel2"; + this.splitMx1.Size = new System.Drawing.Size(1126, 570); + this.splitMx1.SplitterPosition = 109; + this.splitMx1.TabIndex = 0; + // + // layoutMx1 + // + this.layoutMx1.Controls.Add(this.lbGuid); + this.layoutMx1.Controls.Add(this.btnSelect); + this.layoutMx1.Controls.Add(this.txt_pba013); + this.layoutMx1.Controls.Add(this.txt_erpSczz); + this.layoutMx1.Controls.Add(this.txt_hNo); + this.layoutMx1.Controls.Add(this.txt_pba009); + this.layoutMx1.Controls.Add(this.txt_checkUser); + this.layoutMx1.Controls.Add(this.txt_checkDate); + this.layoutMx1.Controls.Add(this.txt_fstatus); + this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill; + this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem9}); + this.layoutMx1.Location = new System.Drawing.Point(0, 0); + this.layoutMx1.Name = "layoutMx1"; + this.layoutMx1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(816, 394, 812, 500); + this.layoutMx1.Root = this.Root; + this.layoutMx1.Size = new System.Drawing.Size(1126, 109); + this.layoutMx1.TabIndex = 0; + this.layoutMx1.Text = "layoutControl1"; + // + // lbGuid + // + this.lbGuid.Location = new System.Drawing.Point(840, 99); + this.lbGuid.Name = "lbGuid"; + this.lbGuid.Size = new System.Drawing.Size(274, 40); + this.lbGuid.TabIndex = 1; + this.lbGuid.Text = "lbGuid"; + this.lbGuid.Visible = false; + // + // btnSelect + // + this.btnSelect.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.lookup_reference_16x16; + this.btnSelect.Location = new System.Drawing.Point(12, 76); + this.btnSelect.Name = "btnSelect"; + this.btnSelect.Size = new System.Drawing.Size(101, 27); + this.btnSelect.StyleController = this.layoutMx1; + this.btnSelect.TabIndex = 456; + this.btnSelect.Text = "閫夊彇鎶曟枡鍗�"; + // + // txt_pba013 + // + this.txt_pba013.IsReadly = false; + this.txt_pba013.Location = new System.Drawing.Point(89, 44); + this.txt_pba013.Name = "txt_pba013"; + this.txt_pba013.Size = new System.Drawing.Size(195, 28); + this.txt_pba013.TabIndex = 459; + // + // txt_erpSczz + // + this.txt_erpSczz.IsReadly = false; + this.txt_erpSczz.Location = new System.Drawing.Point(89, 12); + this.txt_erpSczz.Name = "txt_erpSczz"; + this.txt_erpSczz.Size = new System.Drawing.Size(195, 28); + this.txt_erpSczz.TabIndex = 460; + // + // txt_hNo + // + this.txt_hNo.Location = new System.Drawing.Point(365, 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(195, 28); + this.txt_hNo.StyleController = this.layoutMx1; + this.txt_hNo.TabIndex = 458; + this.txt_hNo.Tag = "readonly"; + // + // txt_pba009 + // + this.txt_pba009.Location = new System.Drawing.Point(365, 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(471, 28); + this.txt_pba009.StyleController = this.layoutMx1; + this.txt_pba009.TabIndex = 240; + // + // txt_checkUser + // + this.txt_checkUser.Location = new System.Drawing.Point(917, 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(197, 28); + this.txt_checkUser.StyleController = this.layoutMx1; + this.txt_checkUser.TabIndex = 273; + this.txt_checkUser.Tag = "readonly"; + // + // txt_checkDate + // + this.txt_checkDate.Location = new System.Drawing.Point(641, 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(195, 28); + this.txt_checkDate.StyleController = this.layoutMx1; + this.txt_checkDate.TabIndex = 267; + this.txt_checkDate.Tag = "readonly"; + // + // txt_fstatus + // + this.txt_fstatus.Location = new System.Drawing.Point(840, 44); + this.txt_fstatus.Name = "txt_fstatus"; + this.txt_fstatus.Properties.Caption = "瀹℃牳鐘舵��"; + this.txt_fstatus.Size = new System.Drawing.Size(274, 24); + this.txt_fstatus.StyleController = this.layoutMx1; + this.txt_fstatus.TabIndex = 461; + // + // layoutControlItem9 + // + this.layoutControlItem9.Control = this.lbGuid; + this.layoutControlItem9.Location = new System.Drawing.Point(828, 87); + this.layoutControlItem9.Name = "layoutControlItem9"; + this.layoutControlItem9.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem9.Size = new System.Drawing.Size(278, 44); + this.layoutControlItem9.Text = "lbGuid"; + this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem9.TextVisible = false; + // + // Root + // + this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + this.Root.GroupBordersVisible = false; + this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.layoutControlItem1, + this.layoutControlItem2, + this.layoutControlItem3, + this.layoutControlItem4, + this.layoutControlItem5, + this.layoutControlItem6, + this.layoutControlItem7, + this.layoutControlItem8}); + this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table; + this.Root.Name = "Root"; + columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition1.Width = 100D; + columnDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition2.Width = 100D; + columnDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition3.Width = 100D; + columnDefinition4.SizeType = System.Windows.Forms.SizeType.Percent; + columnDefinition4.Width = 100D; + this.Root.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] { + columnDefinition1, + columnDefinition2, + columnDefinition3, + columnDefinition4}); + rowDefinition1.Height = 100D; + rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition2.Height = 100D; + rowDefinition2.SizeType = System.Windows.Forms.SizeType.Percent; + rowDefinition3.Height = 100D; + rowDefinition3.SizeType = System.Windows.Forms.SizeType.Percent; + this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] { + rowDefinition1, + rowDefinition2, + rowDefinition3}); + this.Root.Size = new System.Drawing.Size(1126, 116); + this.Root.TextVisible = false; + // + // layoutControlItem1 + // + this.layoutControlItem1.Control = this.txt_erpSczz; + this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); + this.layoutControlItem1.Name = "layoutControlItem1"; + this.layoutControlItem1.Size = new System.Drawing.Size(276, 32); + this.layoutControlItem1.Text = "鐢熶骇缁勭粐"; + this.layoutControlItem1.TextSize = new System.Drawing.Size(65, 18); + // + // layoutControlItem2 + // + this.layoutControlItem2.Control = this.txt_hNo; + this.layoutControlItem2.Location = new System.Drawing.Point(276, 0); + this.layoutControlItem2.Name = "layoutControlItem2"; + this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem2.Size = new System.Drawing.Size(276, 32); + this.layoutControlItem2.Text = "鎺掍骇缂栧彿"; + this.layoutControlItem2.TextSize = new System.Drawing.Size(65, 18); + // + // layoutControlItem3 + // + this.layoutControlItem3.Control = this.txt_checkDate; + this.layoutControlItem3.Location = new System.Drawing.Point(552, 0); + this.layoutControlItem3.Name = "layoutControlItem3"; + this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 2; + this.layoutControlItem3.Size = new System.Drawing.Size(276, 32); + this.layoutControlItem3.Text = "瀹℃牳鏃ユ湡 "; + this.layoutControlItem3.TextSize = new System.Drawing.Size(65, 18); + // + // layoutControlItem4 + // + this.layoutControlItem4.Control = this.txt_pba013; + this.layoutControlItem4.Location = new System.Drawing.Point(0, 32); + this.layoutControlItem4.Name = "layoutControlItem4"; + this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem4.Size = new System.Drawing.Size(276, 32); + this.layoutControlItem4.Text = "宸ヤ綔杞﹂棿"; + this.layoutControlItem4.TextSize = new System.Drawing.Size(65, 18); + // + // layoutControlItem5 + // + this.layoutControlItem5.Control = this.txt_checkUser; + this.layoutControlItem5.Location = new System.Drawing.Point(828, 0); + this.layoutControlItem5.Name = "layoutControlItem5"; + this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem5.Size = new System.Drawing.Size(278, 32); + this.layoutControlItem5.Text = "瀹℃牳浜�"; + this.layoutControlItem5.TextSize = new System.Drawing.Size(65, 18); + // + // layoutControlItem6 + // + this.layoutControlItem6.Control = this.txt_fstatus; + this.layoutControlItem6.Location = new System.Drawing.Point(828, 32); + this.layoutControlItem6.Name = "layoutControlItem6"; + this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 3; + this.layoutControlItem6.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem6.Size = new System.Drawing.Size(278, 32); + this.layoutControlItem6.Text = "瀹℃牳鐘舵��"; + this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem6.TextVisible = false; + // + // layoutControlItem7 + // + this.layoutControlItem7.Control = this.txt_pba009; + this.layoutControlItem7.Location = new System.Drawing.Point(276, 32); + this.layoutControlItem7.Name = "layoutControlItem7"; + this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 1; + this.layoutControlItem7.OptionsTableLayoutItem.ColumnSpan = 2; + this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1; + this.layoutControlItem7.Size = new System.Drawing.Size(552, 32); + this.layoutControlItem7.Text = "鎺掍骇澶囨敞"; + this.layoutControlItem7.TextSize = new System.Drawing.Size(65, 18); + // + // layoutControlItem8 + // + this.layoutControlItem8.Control = this.btnSelect; + this.layoutControlItem8.Location = new System.Drawing.Point(0, 64); + this.layoutControlItem8.MaxSize = new System.Drawing.Size(105, 31); + this.layoutControlItem8.MinSize = new System.Drawing.Size(105, 31); + this.layoutControlItem8.Name = "layoutControlItem8"; + this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2; + this.layoutControlItem8.Size = new System.Drawing.Size(276, 32); + this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; + this.layoutControlItem8.Text = "閫夋嫨鎶曟枡鍗�"; + this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); + this.layoutControlItem8.TextVisible = false; + // + // tabMx + // + this.tabMx.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabMx.Location = new System.Drawing.Point(0, 0); + this.tabMx.Name = "tabMx"; + this.tabMx.SelectedTabPage = this.tabMxPage1; + this.tabMx.Size = new System.Drawing.Size(1126, 449); + this.tabMx.TabIndex = 3; + this.tabMx.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { + this.tabMxPage1}); + // + // tabMxPage1 + // + this.tabMxPage1.Controls.Add(this.gcMx1); + this.tabMxPage1.Name = "tabMxPage1"; + this.tabMxPage1.Size = new System.Drawing.Size(1124, 417); + this.tabMxPage1.Text = "浠诲姟鍗曟槑缁�"; + // + // gcMx1 + // + 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.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { + this.repositoryItemDateEdit1, + this.repositoryItemDateEdit2, + this.repositoryItemButtonEdit1, + this.rptJYBZ, + this.repositoryItemDateEdit3}); + this.gcMx1.Size = new System.Drawing.Size(1124, 417); + this.gcMx1.TabIndex = 0; + this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.gvMx1}); + // + // gvMx1 + // + this.gvMx1.Appearance.HeaderPanel.Options.UseTextOptions = true; + this.gvMx1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; + this.gvMx1.ColumnPanelRowHeight = 50; + this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { + this.gvMx1guid, + this.caaGuid, + this.gvMx1daa002, + this.gvMx1daa010, + this.gvMx1daa005, + this.gvMx1daa003, + this.gvMx1daa004, + this.gvMx1daa018, + this.gvMx1daa016, + this.gvMx1daa008, + this.gvMx1daa006, + this.gvMx1daa007, + this.gvMx1daa009, + this.gvMx1daa011, + this.gvMx1daa012, + this.gvMx1reporttime, + this.gvMx1daa017, + this.gvMx1daa019, + this.gvMx1checkDate, + this.gvMx1checkUser, + this.gvMx1daa020, + this.gvMx1daa021, + this.gvMx1daa022, + this.gvMx1daa023, + this.gvMx1daa024, + this.gvMx1daa025, + this.gvMx1daa026, + this.gvMx1isReportcheck, + this.gvMx1daa014, + this.gvMx1machineNo, + this.gridColumn3, + this.gvMx1fstatus, + this.gridColumn6, + this.gvMxDel}); + this.gvMx1.GridControl = this.gcMx1; + this.gvMx1.Name = "gvMx1"; + this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; + this.gvMx1.OptionsFind.ShowSearchNavButtons = false; + this.gvMx1.OptionsView.ShowGroupPanel = false; + // + // 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"; + this.gvMx1guid.MinWidth = 50; + this.gvMx1guid.Name = "gvMx1guid"; + this.gvMx1guid.OptionsColumn.ReadOnly = true; + this.gvMx1guid.Tag = "query_a.guid"; + this.gvMx1guid.Width = 94; + // + // caaGuid + // + this.caaGuid.Caption = "caaGuid"; + this.caaGuid.FieldName = "caaGuid"; + this.caaGuid.MinWidth = 25; + this.caaGuid.Name = "caaGuid"; + this.caaGuid.OptionsColumn.ReadOnly = true; + this.caaGuid.Width = 94; + // + // gvMx1daa002 + // + 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 = 0; + this.gvMx1daa002.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 = 1; + this.gvMx1daa010.Width = 50; + // + // gvMx1daa005 + // + 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 = 2; + 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 = 3; + 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 = 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; + this.gvMx1daa018.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa018.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1daa018.Caption = "棰勮瀹屽伐鏃堕棿"; + this.gvMx1daa018.ColumnEdit = this.repositoryItemDateEdit3; + this.gvMx1daa018.FieldName = "mesEndProd"; + this.gvMx1daa018.MinWidth = 50; + this.gvMx1daa018.Name = "gvMx1daa018"; + this.gvMx1daa018.Tag = "edit"; + this.gvMx1daa018.Visible = true; + this.gvMx1daa018.VisibleIndex = 5; + this.gvMx1daa018.Width = 50; + // + // repositoryItemDateEdit3 + // + this.repositoryItemDateEdit3.AutoHeight = false; + this.repositoryItemDateEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemDateEdit3.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemDateEdit3.Name = "repositoryItemDateEdit3"; + // + // gvMx1daa016 + // + 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 = 6; + this.gvMx1daa016.Width = 78; + // + // repositoryItemDateEdit2 + // + 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"; + this.gvMx1daa008.MaxWidth = 50; + this.gvMx1daa008.MinWidth = 50; + this.gvMx1daa008.Name = "gvMx1daa008"; + this.gvMx1daa008.OptionsColumn.ReadOnly = true; + this.gvMx1daa008.Tag = "query_a.daa008"; + this.gvMx1daa008.Visible = true; + 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"; + this.gvMx1daa006.MaxWidth = 50; + this.gvMx1daa006.MinWidth = 50; + this.gvMx1daa006.Name = "gvMx1daa006"; + this.gvMx1daa006.OptionsColumn.ReadOnly = true; + this.gvMx1daa006.Tag = "query_a.daa006"; + this.gvMx1daa006.Visible = true; + 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"; + this.gvMx1daa007.MaxWidth = 50; + this.gvMx1daa007.MinWidth = 50; + this.gvMx1daa007.Name = "gvMx1daa007"; + this.gvMx1daa007.OptionsColumn.ReadOnly = true; + this.gvMx1daa007.Tag = "query_a.daa007"; + this.gvMx1daa007.Visible = true; + 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"; + this.gvMx1daa009.MaxWidth = 50; + this.gvMx1daa009.MinWidth = 50; + this.gvMx1daa009.Name = "gvMx1daa009"; + this.gvMx1daa009.OptionsColumn.ReadOnly = true; + this.gvMx1daa009.Tag = "query_a.daa009"; + this.gvMx1daa009.Visible = true; + 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; + this.gvMx1daa011.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa011.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1daa011.Caption = "鏈鎺掓暟閲�"; + this.gvMx1daa011.FieldName = "daa008"; + this.gvMx1daa011.MaxWidth = 50; + this.gvMx1daa011.MinWidth = 60; + this.gvMx1daa011.Name = "gvMx1daa011"; + this.gvMx1daa011.Tag = "yz_quantity_0_edit"; + this.gvMx1daa011.Visible = true; + 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; + this.gvMx1daa012.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa012.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1daa012.Caption = "绾垮埆缂栫爜"; + this.gvMx1daa012.ColumnEdit = this.rptJYBZ; + this.gvMx1daa012.FieldName = "daa015LineName"; + this.gvMx1daa012.MinWidth = 150; + this.gvMx1daa012.Name = "gvMx1daa012"; + this.gvMx1daa012.Tag = "edit"; + this.gvMx1daa012.Visible = true; + this.gvMx1daa012.VisibleIndex = 12; + this.gvMx1daa012.Width = 153; + // + // rptJYBZ + // + this.rptJYBZ.AutoHeight = false; + 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.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 = 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; + this.gvMx1daa017.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa017.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1daa017.Caption = "璁″垝浜烘暟"; + this.gvMx1daa017.FieldName = "planPersonnel"; + this.gvMx1daa017.MinWidth = 50; + this.gvMx1daa017.Name = "gvMx1daa017"; + this.gvMx1daa017.Tag = "yz_quantity_0"; + this.gvMx1daa017.Width = 50; + // + // gvMx1daa019 + // + this.gvMx1daa019.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa019.AppearanceCell.Options.UseFont = true; + this.gvMx1daa019.Caption = "鎺掍骇鏃ユ湡"; + this.gvMx1daa019.FieldName = "daa024"; + this.gvMx1daa019.MinWidth = 50; + this.gvMx1daa019.Name = "gvMx1daa019"; + this.gvMx1daa019.OptionsColumn.ReadOnly = true; + this.gvMx1daa019.Tag = "query_a.daa019"; + this.gvMx1daa019.Width = 50; + // + // gvMx1checkDate + // + this.gvMx1checkDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1checkDate.AppearanceCell.Options.UseFont = true; + this.gvMx1checkDate.Caption = "绾夸綋绫诲埆"; + this.gvMx1checkDate.FieldName = "lineType"; + this.gvMx1checkDate.MinWidth = 50; + this.gvMx1checkDate.Name = "gvMx1checkDate"; + this.gvMx1checkDate.OptionsColumn.ReadOnly = true; + this.gvMx1checkDate.Tag = "query_a.check_date"; + this.gvMx1checkDate.Width = 50; + // + // gvMx1checkUser + // + this.gvMx1checkUser.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1checkUser.AppearanceCell.Options.UseFont = true; + this.gvMx1checkUser.Caption = "鏍囧噯浜烘暟"; + this.gvMx1checkUser.FieldName = "personnel"; + this.gvMx1checkUser.MinWidth = 50; + this.gvMx1checkUser.Name = "gvMx1checkUser"; + this.gvMx1checkUser.OptionsColumn.ReadOnly = true; + this.gvMx1checkUser.Tag = "query_a.check_user"; + this.gvMx1checkUser.Width = 50; + // + // gvMx1daa020 + // + this.gvMx1daa020.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa020.AppearanceCell.Options.UseFont = true; + this.gvMx1daa020.Caption = "鏍囧噯宸ユ椂"; + this.gvMx1daa020.FieldName = "prodHour"; + this.gvMx1daa020.MinWidth = 50; + this.gvMx1daa020.Name = "gvMx1daa020"; + this.gvMx1daa020.OptionsColumn.ReadOnly = true; + this.gvMx1daa020.Tag = "query_a.daa020"; + this.gvMx1daa020.Width = 50; + // + // gvMx1daa021 + // + this.gvMx1daa021.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa021.AppearanceCell.Options.UseFont = true; + this.gvMx1daa021.Caption = "鍗曚汉灏忔椂浜ц兘"; + this.gvMx1daa021.FieldName = "personHourCapactity"; + this.gvMx1daa021.MinWidth = 50; + this.gvMx1daa021.Name = "gvMx1daa021"; + this.gvMx1daa021.OptionsColumn.ReadOnly = true; + this.gvMx1daa021.Tag = "query_a.daa021"; + this.gvMx1daa021.Width = 50; + // + // gvMx1daa022 + // + this.gvMx1daa022.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa022.AppearanceCell.Options.UseFont = true; + this.gvMx1daa022.Caption = "鐞嗚鏍囦骇"; + this.gvMx1daa022.FieldName = "theCapactity"; + this.gvMx1daa022.MinWidth = 50; + this.gvMx1daa022.Name = "gvMx1daa022"; + this.gvMx1daa022.OptionsColumn.ReadOnly = true; + this.gvMx1daa022.Tag = "query_a.daa022"; + this.gvMx1daa022.Width = 50; + // + // gvMx1daa023 + // + this.gvMx1daa023.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa023.AppearanceCell.Options.UseFont = true; + this.gvMx1daa023.Caption = "璁″垝鏍囧噯浜ц兘"; + this.gvMx1daa023.FieldName = "planCapactity"; + this.gvMx1daa023.MinWidth = 50; + this.gvMx1daa023.Name = "gvMx1daa023"; + this.gvMx1daa023.OptionsColumn.ReadOnly = true; + this.gvMx1daa023.Tag = "query_a.daa023"; + this.gvMx1daa023.Width = 50; + // + // gvMx1daa024 + // + this.gvMx1daa024.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa024.AppearanceCell.Options.UseFont = true; + this.gvMx1daa024.Caption = "鍒嗛挓"; + this.gvMx1daa024.FieldName = "theMin"; + this.gvMx1daa024.MinWidth = 50; + this.gvMx1daa024.Name = "gvMx1daa024"; + this.gvMx1daa024.OptionsColumn.ReadOnly = true; + this.gvMx1daa024.Tag = "query_a.daa024"; + this.gvMx1daa024.Width = 50; + // + // gvMx1daa025 + // + this.gvMx1daa025.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa025.AppearanceCell.Options.UseFont = true; + this.gvMx1daa025.Caption = "灏忔椂"; + this.gvMx1daa025.FieldName = "theHour"; + this.gvMx1daa025.MinWidth = 50; + this.gvMx1daa025.Name = "gvMx1daa025"; + this.gvMx1daa025.OptionsColumn.ReadOnly = true; + this.gvMx1daa025.Tag = "query_a.daa025"; + this.gvMx1daa025.Width = 50; + // + // 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; + this.gvMx1daa026.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1daa026.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1daa026.Caption = "鎹㈢嚎鏃堕棿"; + this.gvMx1daa026.FieldName = "changeLineTime"; + this.gvMx1daa026.MinWidth = 50; + this.gvMx1daa026.Name = "gvMx1daa026"; + this.gvMx1daa026.Tag = "yz_quantity_0"; + this.gvMx1daa026.Width = 50; + // + // 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; + this.gvMx1isReportcheck.AppearanceHeader.ForeColor = System.Drawing.Color.Black; + this.gvMx1isReportcheck.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1isReportcheck.Caption = "浼戞伅鏃堕棿"; + this.gvMx1isReportcheck.FieldName = "restTime"; + this.gvMx1isReportcheck.MinWidth = 50; + this.gvMx1isReportcheck.Name = "gvMx1isReportcheck"; + this.gvMx1isReportcheck.OptionsColumn.ReadOnly = true; + this.gvMx1isReportcheck.Tag = "query_a.is_reportcheck"; + this.gvMx1isReportcheck.Width = 50; + // + // gvMx1daa014 + // + this.gvMx1daa014.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F); + this.gvMx1daa014.AppearanceCell.Options.UseFont = true; + this.gvMx1daa014.Caption = "鎶曟枡鍗曞崟鍙�"; + this.gvMx1daa014.FieldName = "daa014"; + this.gvMx1daa014.MinWidth = 50; + this.gvMx1daa014.Name = "gvMx1daa014"; + this.gvMx1daa014.OptionsColumn.ReadOnly = true; + this.gvMx1daa014.Tag = "query_a.daa014"; + this.gvMx1daa014.Visible = true; + this.gvMx1daa014.VisibleIndex = 14; + this.gvMx1daa014.Width = 51; + // + // 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; + this.gvMx1machineNo.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; + this.gvMx1machineNo.AppearanceHeader.Options.UseForeColor = true; + this.gvMx1machineNo.Caption = "棰勮澶囨枡鏃堕棿"; + this.gvMx1machineNo.ColumnEdit = this.repositoryItemDateEdit1; + this.gvMx1machineNo.FieldName = "prepareTime"; + this.gvMx1machineNo.MinWidth = 50; + this.gvMx1machineNo.Name = "gvMx1machineNo"; + this.gvMx1machineNo.Tag = "query_a.machine_no"; + this.gvMx1machineNo.Width = 200; + // + // repositoryItemDateEdit1 + // + this.repositoryItemDateEdit1.AutoHeight = false; + this.repositoryItemDateEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemDateEdit1.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.repositoryItemDateEdit1.Name = "repositoryItemDateEdit1"; + // + // gridColumn3 + // + this.gridColumn3.Caption = "绾夸綋ID"; + this.gridColumn3.FieldName = "daa015"; + this.gridColumn3.MinWidth = 25; + this.gridColumn3.Name = "gridColumn3"; + this.gridColumn3.Width = 94; + // + // gvMx1fstatus + // + 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 = 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 = "绉诲嚭"; + this.gvMxDel.ColumnEdit = this.repositoryItemButtonEdit1; + this.gvMxDel.MinWidth = 80; + this.gvMxDel.Name = "gvMxDel"; + this.gvMxDel.Visible = true; + this.gvMxDel.VisibleIndex = 17; + this.gvMxDel.Width = 84; + // + // repositoryItemButtonEdit1 + // + this.repositoryItemButtonEdit1.AutoHeight = false; + editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16; + editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter; + this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + 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 + // + this.picCheckBox.Location = new System.Drawing.Point(1024, 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; + // + // MesQcExceptional + // + this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(1128, 682); + this.Controls.Add(this.picCheckBox); + this.Controls.Add(this.xtraTabControl1); + this.Controls.Add(this.toolBarMenu1); + this.Name = "MesQcExceptional"; + this.Text = "IQC寮傚父鎶ュ憡"; + ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); + this.xtraTabControl1.ResumeLayout(false); + this.xtraTabPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel1)).EndInit(); + this.split1.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.split1.Panel2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.split1)).EndInit(); + this.split1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMain1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); + this.xtraTabPage2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel1)).EndInit(); + this.splitMx1.Panel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1.Panel2)).EndInit(); + this.splitMx1.Panel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.splitMx1)).EndInit(); + this.splitMx1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.layoutMx1)).EndInit(); + this.layoutMx1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.txt_hNo.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_pba009.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkUser.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.txt_fstatus.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit(); + this.tabMx.ResumeLayout(false); + this.tabMxPage1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).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(); + ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit(); + this.ResumeLayout(false); + + } + #endregion + private UserControl.UcToolBarMenu toolBarMenu1; + private DevExpress.XtraTab.XtraTabControl xtraTabControl1; + private System.Windows.Forms.PictureBox picCheckBox; + private DevExpress.XtraTab.XtraTabPage xtraTabPage1; + private DevExpress.XtraEditors.SplitContainerControl split1; + private DevExpress.XtraGrid.GridControl gcMain1; + private DevExpress.XtraGrid.Views.Grid.GridView gridView1; + private DevExpress.XtraGrid.Columns.GridColumn gv_fstatus; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn4; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn2; + private DevExpress.XtraGrid.Columns.GridColumn gv_checkUser; + private DevExpress.XtraGrid.Columns.GridColumn gv_checkDate; + private DevExpress.XtraGrid.Columns.GridColumn gv_pba005; + private DevExpress.XtraGrid.Columns.GridColumn gv_pba006; + private DevExpress.XtraGrid.Columns.GridColumn gv_pba009; + private UserControls.Data.UcPageBar pageBar1; + private DevExpress.XtraTab.XtraTabPage xtraTabPage2; + private DevExpress.XtraEditors.SplitContainerControl splitMx1; + private DevExpress.XtraLayout.LayoutControl layoutMx1; + private DevExpress.XtraLayout.LayoutControlGroup Root; + private UserControl.UcLookOrg txt_erpSczz; + private UserControl.UcLookWorkshop txt_pba013; + private DevExpress.XtraEditors.TextEdit txt_hNo; + private DevExpress.XtraEditors.SimpleButton btnSelect; + private System.Windows.Forms.Label lbGuid; + private DevExpress.XtraEditors.TextEdit txt_checkUser; + private DevExpress.XtraEditors.TextEdit txt_checkDate; + private DevExpress.XtraEditors.TextEdit txt_pba009; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; + private DevExpress.XtraEditors.CheckEdit txt_fstatus; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; + private DevExpress.XtraTab.XtraTabControl tabMx; + private DevExpress.XtraTab.XtraTabPage tabMxPage1; + private DevExpress.XtraGrid.GridControl gcMx1; + private DevExpress.XtraGrid.Views.Grid.GridView gvMx1; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid; + private DevExpress.XtraGrid.Columns.GridColumn caaGuid; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1fstatus; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa016; + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit2; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa018; + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit3; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa002; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa005; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa003; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa004; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa010; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa008; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa006; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa007; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa009; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa011; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa012; + private DevExpress.XtraEditors.Repository.RepositoryItemComboBox rptJYBZ; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa017; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa019; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1checkDate; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1checkUser; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa020; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa021; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa022; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa023; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa024; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa025; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa026; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1isReportcheck; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1daa014; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1reporttime; + private DevExpress.XtraGrid.Columns.GridColumn gvMx1machineNo; + private DevExpress.XtraEditors.Repository.RepositoryItemDateEdit repositoryItemDateEdit1; + private DevExpress.XtraGrid.Columns.GridColumn gridColumn3; + private DevExpress.XtraGrid.Columns.GridColumn gvMxDel; + private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit1; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; + private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; + 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 diff --git a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs new file mode 100644 index 0000000..89ec0b2 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.cs @@ -0,0 +1,643 @@ +锘縰sing DevExpress.XtraEditors; +using DevExpress.XtraGrid.Views.Grid; +using Gs.DevApp.Entity; +using Gs.DevApp.ToolBox; +using Gs.DevApp.UserControl; +using Newtonsoft.Json; +using Newtonsoft.Json.Linq; +using System; +using System.Collections.Generic; +using System.Data; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace Gs.DevApp.DevFrm.QC +{ + public partial class MesQcExceptional : DevExpress.XtraEditors.XtraForm + { + string _webServiceName = "WompbaManager/"; + List<FilterEntity> _filterList = new List<FilterEntity>(); + string _cjBm = "";//杞﹂棿 + public MesQcExceptional() + { + InitializeComponent(); + this.toolBarMenu1.btnAddClick += ToolBarMenu1_btnAddClick; + this.toolBarMenu1.btnEdtClick += ToolBarMenu1_btnEdtClick; + this.toolBarMenu1.btnSaveClick += ToolBarMenu1_btnSaveClick; + this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick; + this.toolBarMenu1.btnDelClick += ToolBarMenu1_btnDelClick1; + this.toolBarMenu1.btnEscClick += ToolBarMenu1_btnEscClick; + this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick; + toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick; + toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick; + this.toolBarMenu1.getXmlConfig(); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1); + Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "fstatus", "", (value) => + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0); + }); + Gs.DevApp.ToolBox.UtilityHelper.SetTabParameter(gridView1, xtraTabControl1, pageBar1, (value) => + { + getModel(value); + }, (value) => + { + getPageList(this.pageBar1.CurrentPage); + }); + getPageList(1); + pageBar1.PagerEvent += PageBar1_PagerEvent; + //閫夊瓨缁勭粐锛堝彉鏄庣粏涓殑鐗╂枡鍜岃溅闂达級 + txt_erpSczz.EditChanged += (s, e) => + { + string _orgId = txt_erpSczz.GetId(); + if (string.IsNullOrEmpty(_orgId)) + return; + txt_pba013.getSuppler(_orgId, _cjBm); + }; + // 閫夋嫨杞﹂棿锛堝彉鏄庣粏涓骇绾匡級 + txt_pba013.EditChanged += (s, e) => + { + string workGuid = this.txt_pba013.GetId(); + _getListJybz(workGuid); + }; + //閫夋嫨闇�瑕佺殑鏄庣粏 + btnSelect.Click += (s, e) => + { + if (string.IsNullOrEmpty(this.txt_pba013.GetId())) + { + Gs.DevApp.ToolBox.MsgHelper.ShowError("璇峰厛閫夋嫨杞﹂棿锛屾墠鑳介�夋嫨浠诲姟鍗曪紒"); + return; + } + var frm = new SelectWompba(this.txt_pba013.GetId()); + //璧嬪�肩粰鏄庣粏琛� + frm.UpdateParent += (ss, ee) => + { + try + { + var lst = new List<string>(); + lst = ee.StringList; + var _obj = lst; + var strReturn = UtilityHelper.HttpPost("", + "WompbaManager/SelectPbaToView", + JsonConvert.SerializeObject(_obj)); + var dt = UtilityHelper.ReturnToList(strReturn); + DataTable _newTable = dt.rtnData; + DataTable _oldTable = (DataTable)gcMx1.DataSource; + DataRow[] sourceRows = _newTable.Select(); + for (int i = 0; i < sourceRows.Length; i++) + { + _oldTable.ImportRow(sourceRows[i]); + } + gcMx1.BindingContext = new BindingContext(); + gcMx1.DataSource = _oldTable; + gvMx1.CloseEditor(); + gvMx1.PostEditor(); + gvMx1.UpdateCurrentRow(); + gcMx1.ForceInitialize(); + gvMx1.BestFitColumns(); + } + catch (Exception ex) + { + MessageBox.Show(ex.Message); + } + }; + frm.ShowDialog(); + }; + } + private void GridView1_ColumnFilterChanged(object sender, EventArgs e) + { + Gs.DevApp.ToolBox.UtilityHelper.GetDilter(gridView1.Columns, gridView1); + Task.Delay(100); + getPageList(1); + } + + /// <summary> + /// 鍒嗛〉浜嬩欢 + /// </summary> + /// <param name="curPage"></param> + /// <param name="pageSize"></param> + private void PageBar1_PagerEvent(int curPage, int pageSize) + { + getPageList(curPage); + } + /// <summary> + /// 鏌ヨ浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnQueryClick(object sender, EventArgs e) + { + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + gridView1.ActiveFilter.Clear(); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + var frm = new ShowFilter(gridView1.Columns, _filterList); + frm.UpdateParent += Frm_UpdateParent; + frm.ShowDialog(); + } + + /// <summary> + /// 鏌ヨ鍥炶皟 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void Frm_UpdateParent(object sender, UpdateParentEventArgs e) + { + _filterList = e.FilterList; + getPageList(1); + } + + /// <summary> + /// 鍙栨秷浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEscClick(object sender, EventArgs e) + { + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 1); + } + + /// <summary> + /// 鍒犻櫎浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnDelClick1(object sender, EventArgs e) + { + string rowGuid = "", rowName = ""; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_hNo, gridView1, "hNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + mxGuid = Guid.Empty.ToString(), + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 0) + { } + else + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 2); + getPageList(this.pageBar1.CurrentPage); + } + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + /// <summary> + /// 鍒锋柊浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnLoadClick(object sender, EventArgs e) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + getModel(lbGuid.Text.Trim()); + else + { + //_filterList.Clear(); + //if (gridView1.ActiveFilter.Count > 0) + //{ + // gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + // gridView1.ActiveFilter.Clear(); + // gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + //} + //getPageList(1); + getPageList(this.pageBar1.CurrentPage); + } + } + /// <summary> + /// 瀹℃牳浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnChkClick(object sender, EventArgs e) + { + _toolCk(1, "EditModelSubmit"); + } + + /// <summary> + /// 鍙嶅鏍� + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + /// <exception cref="NotImplementedException"></exception> + private void ToolBarMenu1_btnFChkClick(object sender, EventArgs e) + { + _toolCk(0, "EditModelSubmitFSH"); + } + + + /// <summary> + /// 淇敼浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnEdtClick(object sender, EventArgs e) + { + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, + lbGuid, txt_hNo, gridView1); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 3); + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(rowGuid); + } + else + { + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, true, gvList); + } + } + /// <summary> + /// 鏂板浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnAddClick(object sender, EventArgs e) + { + 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); + UtilityHelper.CleanValueByControl(this.layoutMx1.Controls, true, gridViews); + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + } + /// <summary> + /// 淇濆瓨浜嬩欢 + /// </summary> + /// <param name="sender"></param> + /// <param name="e"></param> + private void ToolBarMenu1_btnSaveClick(object sender, EventArgs e) + { + toolBarMenu1.isSetBtn = false; + string workId = txt_pba013.GetId(); + if (string.IsNullOrEmpty(workId.Trim())) + { + Gs.DevApp.ToolBox.MsgHelper.Warning("璇烽�夋嫨杞﹂棿锛�"); + txt_pba013.Focus(); + return; + } + var _obj = new + { + guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 + bz = txt_pba009.Text.Trim(), + cjId = workId, + list = new List<dynamic>(), + }; + gvMx1.CloseEditor(); + gvMx1.PostEditor(); + gvMx1.UpdateCurrentRow(); + if (gvMx1.DataRowCount <= 0) + { + MsgHelper.ShowError("鏄庣粏涓嶈兘涓虹┖锛岃閫夋嫨鏄庣粏锛�"); + return; + } + for (var i = 0; i < gvMx1.DataRowCount; i++) + { + var row = gvMx1.GetDataRow(i); + if (row != null) + { + Guid? _guid = UtilityHelper.ToGuid(row["guid"].ToString()); + //string _LineId = row["daa015"].ToString(); + //if (string.IsNullOrEmpty(_LineId)) + //{ + // MsgHelper.ShowError("浜х嚎缂栫爜涓嶈兘涓虹┖锛�"); + // return; + //} + string _Pcsl = row["daa008"].ToString(); + if (string.IsNullOrEmpty(_Pcsl)) + { + MsgHelper.ShowError("鎺掍骇鏁伴噺涓嶈兘涓虹┖锛�"); + return; + } + string _Yjkgsj = row["mesStartProd"].ToString(); + if (string.IsNullOrEmpty(_Yjkgsj)) + { + MsgHelper.ShowError("棰勮寮�宸ユ椂闂翠笉鑳戒负绌猴紒"); + return; + } + //string _prepareTime = row["prepareTime"].ToString(); + //if (string.IsNullOrEmpty(_prepareTime)) + //{ + // MsgHelper.ShowError("棰勮澶囨枡鏃堕棿涓嶈兘涓虹┖锛�"); + // return; + //} + //string _planPersonnel = row["planPersonnel"].ToString(); + //if (string.IsNullOrEmpty(_planPersonnel)) + //{ + // MsgHelper.ShowError("璁″垝浜烘暟锛�"); + // return; + //} + //string _changeLinetime = row["changeLinetime"].ToString(); + //if (string.IsNullOrEmpty(_changeLinetime)) + //{ + // MsgHelper.ShowError("鎹㈢嚎鏃堕棿涓嶈兘涓虹┖锛�"); + // return; + //} + string _mesEndProd = row["mesEndProd"].ToString(); + if (string.IsNullOrEmpty(_mesEndProd)) + { + MsgHelper.ShowError("棰勮瀹屽伐鏃堕棿涓嶈兘涓虹┖锛�"); + return; + } + //string _restTime = row["restTime"].ToString(); + //if (string.IsNullOrEmpty(_prepareTime)) + //{ + // MsgHelper.ShowError("浼戞伅鏃堕棿涓嶈兘涓虹┖锛�"); + // return; + //} + _obj.list.Add(new + { + Guid = _guid, + AboutGuid = Gs.DevApp.ToolBox.UtilityHelper.ToGuid(row["caaGuid"].ToString()), + LineId = row["daa015"].ToString(),//浜х嚎id + Yjkgsj = (row["mesStartProd"].ToString()),//棰勮寮�宸ユ椂闂� + Jhrs = row["planPersonnel"].ToString(),//璁″垝浜烘暟 + Hxsj = row["changeLinetime"].ToString(),//鎹㈢嚎鏃堕棿 + Bz = row["daa009"].ToString(),//澶囨敞 + Blsj = row["prepareTime"].ToString(),//棰勮澶囨枡鏃堕棿 + Pcsl = row["daa008"].ToString(),//鎺掍骇鏁伴噺 + Yjwgsj = row["mesEndProd"].ToString()//棰勮瀹屽伐鏃堕棿 + }); + } + } + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "EditModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + if (_rtn.rtnCode > 0) + { + lbGuid.Text = _rtn.rtnData.outGuid; + txt_hNo.Text = _rtn.rtnData.outNo; + toolBarMenu1.isSetBtn = true; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.ChangeEnableByControl(this.layoutMx1.Controls, false, gvList); + toolBarMenu1.currentAction = ""; + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + + /// <summary> + /// + /// </summary> + /// <param name="curPage">绗嚑椤�</param> + /// <param name="pageSize">姣忛〉鍑犳潯</param> + private void getPageList(int curPage) + { + var _sbSqlWhere = UtilityHelper.GetSearchWhere(_filterList); + PageQueryModel pgq = new PageQueryModel(curPage, this.pageBar1.RowsCount, "create_date", "asc", "", _sbSqlWhere.ToString()); + string json = JsonConvert.SerializeObject(pgq); + try + { + var strReturn = UtilityHelper.HttpPost("", + _webServiceName + "GetListPage", json); + ReturnModel<PageListModel> dd = UtilityHelper.ReturnToTablePage(strReturn); + if (dd.rtnCode > 0) + { + DataTable dt = dd.rtnData.list; + gcMain1.BindingContext = new BindingContext(); + gridView1.ColumnFilterChanged -= GridView1_ColumnFilterChanged; + if (dt.Rows.Count > 0) + { + gcMain1.DataSource = dt; + gcMain1.ForceInitialize(); + gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); + } + else + UtilityHelper.SetDefaultTable(gcMain1, gridView1); + gridView1.ColumnFilterChanged += GridView1_ColumnFilterChanged; + pageBar1.TotalPages = dd.rtnData.pages;//鎬婚〉 + pageBar1.CurrentPage = curPage;//褰撳墠椤� + pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 + } + else + { + ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + dd.rtnMsg); + } + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + + } + private void getModel(string strGuid) + { + bool isEdit = false; + if (toolBarMenu1.currentAction == "add") return; + if (toolBarMenu1.currentAction == "edit") isEdit = true; + if (string.IsNullOrEmpty(strGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + var _obj = new + { + guid = strGuid,//涓诲缓 + }; + try + { + string strJson = UtilityHelper.HttpPost("", _webServiceName + "GetModel", JsonConvert.SerializeObject(_obj)); + ReturnModel<dynamic> _rtn = ToolBox.UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + dynamic dy = _rtn.rtnData; + _cjBm = dy.pba013; + lbGuid.Text = strGuid; + List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>(); + gvList.Add(gvMx1); + UtilityHelper.SetValueByObj(this.layoutMx1.Controls, dy, isEdit, gvList); + _cjBm = ""; + JObject _job = JObject.Parse(strJson); + JArray array = new JArray(); + foreach (var a in _job["rtnData"]["list"]) + { + array.Add(a); + } + DataTable dt = JsonConvert.DeserializeObject<DataTable>(array.ToString()); + if (dt.Rows.Count > 0) + { + gcMx1.BindingContext = new BindingContext(); + gcMx1.DataSource = dt; + gcMx1.ForceInitialize(); + gvMx1.BestFitColumns(); + } + else + { + Gs.DevApp.ToolBox.UtilityHelper.SetDefaultTable(gcMx1, gvMx1); + } + } + else + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e) + { + var rowhandle = gvMx1.FocusedRowHandle; + if (rowhandle < 0) + return; + if (e.Button.Index == 0) + { + var dr = gvMx1.GetDataRow(rowhandle); + var mxGuid = dr["guid"].ToString(); + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜�1鏉℃暟鎹紝纭畾鍒犻櫎鍚楋紵")) + return; + if (string.IsNullOrEmpty(mxGuid)) + { + gvMx1.DeleteRow(rowhandle); + return; + } + var _obj = new + { + guid = lbGuid.Text.Trim(), + mxGuid = mxGuid, + }; + try + { + var strJson = UtilityHelper.HttpPost("", + _webServiceName + "DeleteModelOrMx", + JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + if (_rtn.rtnCode > 0) + { + if (_rtn.rtnCode > 0) getModel(lbGuid.Text); + } + MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg); + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } + + /// <summary> + /// 鏍规嵁杞﹂棿璇讳骇绾� + /// </summary> + /// <param name="workGuid"></param> + private void _getListJybz(string workGuid) + { + rptJYBZ.Items.Clear(); + if (string.IsNullOrEmpty(workGuid)) + return; + var _sbSqlWhere = " and 1=1 and dpt_id=" + workGuid; + var pgq = new PageQueryModel(1, 999999, "a.line_no", "asc", "", _sbSqlWhere.ToString()); + var json = JsonConvert.SerializeObject(pgq); + try + { + var strReturn = UtilityHelper.HttpPost("", "MesWorkshopLineManager/GetListPage", json); + var dd = UtilityHelper.ReturnToTablePage(strReturn); + DataTable dt = dd.rtnData.list; + foreach (DataRow dr in dt.Rows) + { + rptJYBZ.Items.Add((new CboItemEntity(dr["id"].ToString(), dr["name"].ToString()))); + } + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + private void rptJYBZ_SelectedIndexChanged(object sender, EventArgs e) + { + ComboBoxEdit comboBox = sender as ComboBoxEdit; + if (comboBox != null) + { + GridView myView = (gcMx1.MainView as GridView); + int dataIndex = myView.GetDataSourceRowIndex(myView.FocusedRowHandle); + CboItemEntity _itm = comboBox.EditValue as CboItemEntity; + string _val = _itm.Value.ToString(); + string _txt = _itm.Text.ToString(); + gvMx1.CloseEditor(); + gvMx1.PostEditor(); + gvMx1.UpdateCurrentRow(); + gvMx1.SetRowCellValue(dataIndex, "daa015LineName", _txt); + gvMx1.SetRowCellValue(dataIndex, "daa015", _val); + } + } + + /// <summary> + /// 宸ュ叿鏉′簨浠� + /// </summary> + /// <param name="inFieldValue"></param> + private void _toolCk(int _inFieldValue, string _mth) + { + string strMsg = ""; + switch (_inFieldValue) + { + case 1: + strMsg = "瀹℃牳"; + break; + case 0: + strMsg = "鍙嶅鏍�"; + break; + }; + toolBarMenu1.guidKey = ""; + string rowGuid, rowName; + (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1, lbGuid, txt_hNo, gridView1, "hNo"); + if (string.IsNullOrEmpty(rowGuid)) + { + MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); + return; + } + if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵")) + return; + var _obj = new + { + guid = rowGuid, + inFieldValue = _inFieldValue, + }; + try + { + var strJson = UtilityHelper.HttpPost("", _webServiceName + _mth, JsonConvert.SerializeObject(_obj)); + var _rtn = UtilityHelper.ReturnToDynamic(strJson); + MsgHelper.Warning(_rtn.rtnData.outMsg.ToString()); + if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0) + { + if (xtraTabControl1.SelectedTabPageIndex == 1) + { + getModel(lbGuid.Text.Trim()); + } + int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid); + gridView1.FocusedRowHandle = rowHandle; + UtilityHelper.SetCheckIco(gridView1, "fstatus", "checkUser", "checkDate", picCheckBox, this, _inFieldValue.ToString()); + } + } + catch (Exception ex) + { + MsgHelper.Warning("鎻愮ず锛�" + ex.Message); + } + } + } +} \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.resx b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/DevApp/Gs.DevApp/DevFrm/QC/MesQcExceptional.resx @@ -0,0 +1,120 @@ +锘�<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root> \ No newline at end of file diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs b/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs index 9eea23a..20d6c22 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sys/DocNoRule.cs @@ -68,7 +68,7 @@ /// <param name="pageSize"></param> private void PageBar1_PagerEvent(int curPage, int pageSize) { - getPageList(1); + getPageList(curPage); } /// <summary> @@ -295,8 +295,6 @@ pageBar1.CurrentPage = curPage;//褰撳墠椤� pageBar1.RecordCount = dd.rtnData.total;//鎬昏褰曟暟 gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1); - - } else { @@ -414,6 +412,9 @@ dataTable.Rows.Add("STRK(鍙楁墭鍏ュ簱)"); dataTable.Rows.Add("STTLSQ(鍙楁墭閫�鏂欑敵璇�)"); dataTable.Rows.Add("STTL(鍙楁墭閫�鏂�)"); + dataTable.Rows.Add("IQCYC(IQC寮傚父)"); + dataTable.Rows.Add("IPQCYC(IPQC寮傚父)"); + dataTable.Rows.Add("FQCYC(FQC寮傚父)"); txt_docCode.Properties.DataSource = dataTable; txt_docCode.Properties.DisplayMember = "docCode"; // 鏄剧ず鐨勫垪 txt_docCode.Properties.ValueMember = "docCode"; // 瀹為檯鍊肩殑鍒� diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj index a61cd9a..3c53740 100644 --- a/DevApp/Gs.DevApp/Gs.DevApp.csproj +++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj @@ -411,6 +411,12 @@ <Compile Include="DevFrm\QC\Jyxm.Designer.cs"> <DependentUpon>Jyxm.cs</DependentUpon> </Compile> + <Compile Include="DevFrm\QC\MesQcExceptional.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DevFrm\QC\MesQcExceptional.Designer.cs"> + <DependentUpon>MesQcExceptional.cs</DependentUpon> + </Compile> <Compile Include="DevFrm\QC\Models\MesDefectCode.cs" /> <Compile Include="DevFrm\QC\Models\MesDefectType.cs" /> <Compile Include="DevFrm\QC\Models\MesQaMj.cs" /> @@ -1210,6 +1216,9 @@ <EmbeddedResource Include="DevFrm\QC\Jyxm.resx"> <DependentUpon>Jyxm.cs</DependentUpon> </EmbeddedResource> + <EmbeddedResource Include="DevFrm\QC\MesQcExceptional.resx"> + <DependentUpon>MesQcExceptional.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="DevFrm\Rk\Frm_MesInvItemIns.resx"> <DependentUpon>Frm_MesInvItemIns.cs</DependentUpon> </EmbeddedResource> diff --git a/DevApp/Gs.DevApp/Properties/licenses.licx b/DevApp/Gs.DevApp/Properties/licenses.licx index d5ab7b5..5f4b7a0 100644 --- a/DevApp/Gs.DevApp/Properties/licenses.licx +++ b/DevApp/Gs.DevApp/Properties/licenses.licx @@ -1,12 +1,13 @@ DevExpress.XtraLayout.LayoutControl, DevExpress.XtraLayout.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a DevExpress.XtraEditors.SearchLookUpEdit, DevExpress.XtraGrid.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit, DevExpress.XtraGrid.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraEditors.Repository.RepositoryItemDateEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a DevExpress.XtraDataLayout.DataLayoutControl, DevExpress.XtraLayout.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraEditors.Repository.RepositoryItemSearchLookUpEdit, DevExpress.XtraGrid.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraEditors.ComboBoxEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a DevExpress.XtraEditors.CheckEdit, DevExpress.XtraEditors.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -DevExpress.XtraBars.Ribbon.RibbonControl, DevExpress.XtraBars.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a +DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v22.2, Version=22.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a -- Gitblit v1.9.3