From e3b7fd23fa49bc0329e43d274d9a3e0563e4420d Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期五, 30 五月 2025 13:57:19 +0800
Subject: [PATCH] 缺陷描述

---
 DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.Designer.cs |   57 ++++++++++++++
 DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.cs                 |    4 
 DevApp/Gs.DevApp/Gs.DevApp.csproj                          |    6 +
 DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.Designer.cs        |  120 ++++++++++++++---------------
 DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.cs          |   21 +++++
 5 files changed, 144 insertions(+), 64 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.Designer.cs
new file mode 100644
index 0000000..ffc0376
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.Designer.cs
@@ -0,0 +1,57 @@
+锘縩amespace Gs.DevApp.DevFrm.QC
+{
+    partial class DefectCodeXianChang
+    {
+        /// <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()
+        {
+            this.defectCode1 = new Gs.DevApp.DevFrm.QC.DefectCode("鐜板満淇℃伅");
+            this.SuspendLayout();
+            // 
+            // defectCode1
+            // 
+            this.defectCode1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.defectCode1.Location = new System.Drawing.Point(0, 0);
+            this.defectCode1.Name = "defectCode1";
+            this.defectCode1.Size = new System.Drawing.Size(1001, 568);
+            this.defectCode1.TabIndex = 0;
+            // 
+            // DefectCodeDic
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(1001, 568);
+            this.Controls.Add(this.defectCode1);
+            this.Name = "DefectCodeDic";
+            this.Text = "DefectCodeDic";
+            this.ResumeLayout(false);
+        }
+
+        #endregion
+
+        private DefectCode defectCode1;
+    }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.cs b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.cs
new file mode 100644
index 0000000..3fdc742
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeXianChang.cs
@@ -0,0 +1,21 @@
+锘縰sing DevExpress.XtraEditors;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Gs.DevApp.DevFrm.QC
+{
+    public partial class DefectCodeXianChang : DevExpress.XtraEditors.XtraForm
+    {
+        public DefectCodeXianChang()
+        {
+            InitializeComponent();
+        }
+    }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.Designer.cs
index 4ac8769..d671e5a 100644
--- a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.Designer.cs
@@ -31,17 +31,17 @@
         private void InitializeComponent()
         {
             this.components = new System.ComponentModel.Container();
-            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.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition5 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition6 = new DevExpress.XtraLayout.RowDefinition();
-            DevExpress.XtraLayout.RowDefinition rowDefinition7 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition5 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition6 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition7 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.ColumnDefinition columnDefinition8 = new DevExpress.XtraLayout.ColumnDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition8 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition9 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition10 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition11 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition12 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition13 = new DevExpress.XtraLayout.RowDefinition();
+            DevExpress.XtraLayout.RowDefinition rowDefinition14 = new DevExpress.XtraLayout.RowDefinition();
             this.toolBarMenu1 = new Gs.DevApp.UserControl.UcToolBarMenu();
             this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
             this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
@@ -321,7 +321,7 @@
             this.gv_operationTime.OptionsColumn.AllowEdit = false;
             this.gv_operationTime.Tag = "query_OPERATION_TIME";
             this.gv_operationTime.Visible = true;
-            this.gv_operationTime.VisibleIndex = 0;
+            this.gv_operationTime.VisibleIndex = 1;
             this.gv_operationTime.Width = 180;
             // 
             // gv_userName
@@ -333,7 +333,7 @@
             this.gv_userName.OptionsColumn.AllowEdit = false;
             this.gv_userName.Tag = "query_USER_NAME";
             this.gv_userName.Visible = true;
-            this.gv_userName.VisibleIndex = 1;
+            this.gv_userName.VisibleIndex = 2;
             this.gv_userName.Width = 94;
             // 
             // gv_operationTable
@@ -345,17 +345,17 @@
             this.gv_operationTable.OptionsColumn.AllowEdit = false;
             this.gv_operationTable.Tag = "query_OPERATION_TABLE";
             this.gv_operationTable.Visible = true;
-            this.gv_operationTable.VisibleIndex = 2;
+            this.gv_operationTable.VisibleIndex = 0;
             this.gv_operationTable.Width = 100;
             // 
             // gridColumn1
             // 
-            this.gridColumn1.Caption = "寮傚父鎻愪氦鏃ユ湡";
+            this.gridColumn1.Caption = "涓婃姤鏃堕棿";
             this.gridColumn1.FieldName = "createDate";
             this.gridColumn1.MinWidth = 25;
             this.gridColumn1.Name = "gridColumn1";
             this.gridColumn1.Visible = true;
-            this.gridColumn1.VisibleIndex = 3;
+            this.gridColumn1.VisibleIndex = 4;
             this.gridColumn1.Width = 94;
             // 
             // gridColumn22
@@ -364,8 +364,6 @@
             this.gridColumn22.FieldName = "itemId";
             this.gridColumn22.MinWidth = 25;
             this.gridColumn22.Name = "gridColumn22";
-            this.gridColumn22.Visible = true;
-            this.gridColumn22.VisibleIndex = 4;
             this.gridColumn22.Width = 94;
             // 
             // gridColumn11
@@ -375,7 +373,7 @@
             this.gridColumn11.MinWidth = 25;
             this.gridColumn11.Name = "gridColumn11";
             this.gridColumn11.Visible = true;
-            this.gridColumn11.VisibleIndex = 5;
+            this.gridColumn11.VisibleIndex = 6;
             this.gridColumn11.Width = 94;
             // 
             // gridColumn13
@@ -385,7 +383,7 @@
             this.gridColumn13.MinWidth = 25;
             this.gridColumn13.Name = "gridColumn13";
             this.gridColumn13.Visible = true;
-            this.gridColumn13.VisibleIndex = 6;
+            this.gridColumn13.VisibleIndex = 7;
             this.gridColumn13.Width = 94;
             // 
             // gridColumn18
@@ -395,7 +393,7 @@
             this.gridColumn18.MinWidth = 25;
             this.gridColumn18.Name = "gridColumn18";
             this.gridColumn18.Visible = true;
-            this.gridColumn18.VisibleIndex = 7;
+            this.gridColumn18.VisibleIndex = 8;
             this.gridColumn18.Width = 94;
             // 
             // gridColumn19
@@ -404,13 +402,11 @@
             this.gridColumn19.FieldName = "daaCl";
             this.gridColumn19.MinWidth = 25;
             this.gridColumn19.Name = "gridColumn19";
-            this.gridColumn19.Visible = true;
-            this.gridColumn19.VisibleIndex = 8;
             this.gridColumn19.Width = 94;
             // 
             // gridColumn20
             // 
-            this.gridColumn20.Caption = "棰勮寮�宸ユ棩";
+            this.gridColumn20.Caption = "Mes棰勮寮�宸�";
             this.gridColumn20.FieldName = "mesStartProd";
             this.gridColumn20.MinWidth = 25;
             this.gridColumn20.Name = "gridColumn20";
@@ -423,27 +419,27 @@
             this.gridColumn21.MinWidth = 25;
             this.gridColumn21.Name = "gridColumn21";
             this.gridColumn21.Visible = true;
-            this.gridColumn21.VisibleIndex = 9;
+            this.gridColumn21.VisibleIndex = 5;
             this.gridColumn21.Width = 94;
             // 
             // gridColumn23
             // 
-            this.gridColumn23.Caption = "宸ュ簭鐐�";
+            this.gridColumn23.Caption = "涓婃姤宸ュ簭";
             this.gridColumn23.FieldName = "processNo";
             this.gridColumn23.MinWidth = 25;
             this.gridColumn23.Name = "gridColumn23";
             this.gridColumn23.Visible = true;
-            this.gridColumn23.VisibleIndex = 10;
+            this.gridColumn23.VisibleIndex = 3;
             this.gridColumn23.Width = 94;
             // 
             // gridColumn37
             // 
-            this.gridColumn37.Caption = "娴佹按鐮�";
+            this.gridColumn37.Caption = "杩芥函鐮�";
             this.gridColumn37.FieldName = "barCode";
             this.gridColumn37.MinWidth = 25;
             this.gridColumn37.Name = "gridColumn37";
             this.gridColumn37.Visible = true;
-            this.gridColumn37.VisibleIndex = 11;
+            this.gridColumn37.VisibleIndex = 9;
             this.gridColumn37.Width = 94;
             // 
             // repositoryItemMemoEdit1
@@ -710,41 +706,41 @@
             this.layoutControlItem3});
             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;
+            columnDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition5.Width = 100D;
+            columnDefinition6.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition6.Width = 100D;
+            columnDefinition7.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition7.Width = 100D;
+            columnDefinition8.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition8.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;
-            rowDefinition4.Height = 100D;
-            rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition5.Height = 100D;
-            rowDefinition5.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition6.Height = 100D;
-            rowDefinition6.SizeType = System.Windows.Forms.SizeType.Percent;
-            rowDefinition7.Height = 100D;
-            rowDefinition7.SizeType = System.Windows.Forms.SizeType.Percent;
+            columnDefinition5,
+            columnDefinition6,
+            columnDefinition7,
+            columnDefinition8});
+            rowDefinition8.Height = 100D;
+            rowDefinition8.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition9.Height = 100D;
+            rowDefinition9.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition10.Height = 100D;
+            rowDefinition10.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition11.Height = 100D;
+            rowDefinition11.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition12.Height = 100D;
+            rowDefinition12.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition13.Height = 100D;
+            rowDefinition13.SizeType = System.Windows.Forms.SizeType.Percent;
+            rowDefinition14.Height = 100D;
+            rowDefinition14.SizeType = System.Windows.Forms.SizeType.Percent;
             this.Root.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
-            rowDefinition1,
-            rowDefinition2,
-            rowDefinition3,
-            rowDefinition4,
-            rowDefinition5,
-            rowDefinition6,
-            rowDefinition7});
+            rowDefinition8,
+            rowDefinition9,
+            rowDefinition10,
+            rowDefinition11,
+            rowDefinition12,
+            rowDefinition13,
+            rowDefinition14});
             this.Root.Size = new System.Drawing.Size(849, 226);
             this.Root.TextVisible = false;
             // 
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.cs
index 84a9e62..ec270ad 100644
--- a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Repair.cs
@@ -23,6 +23,8 @@
             this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
             this.toolBarMenu1.getXmlConfig();
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, this, null, "", (value) =>
             {
                 Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
@@ -250,7 +252,5 @@
                 ToolBox.MsgHelper.ShowError("鎻愮ず锛�" + ex.Message);
             }
         }
-
-       
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj
index d4254b3..f52719c 100644
--- a/DevApp/Gs.DevApp/Gs.DevApp.csproj
+++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -437,6 +437,12 @@
     <Compile Include="DevFrm\QC\DefectCodeRenZheng.Designer.cs">
       <DependentUpon>DefectCodeRenZheng.cs</DependentUpon>
     </Compile>
+    <Compile Include="DevFrm\QC\DefectCodeXianChang.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="DevFrm\QC\DefectCodeXianChang.Designer.cs">
+      <DependentUpon>DefectCodeXianChang.cs</DependentUpon>
+    </Compile>
     <Compile Include="DevFrm\QC\Frm_IQCLookups.cs">
       <SubType>Form</SubType>
     </Compile>

--
Gitblit v1.9.3