From ad87d724397c7e7b839be9570abe458e627bf655 Mon Sep 17 00:00:00 2001
From: lg <123456>
Date: 星期五, 12 十二月 2025 13:40:00 +0800
Subject: [PATCH] 其它入库,其它出库单据和出入库类型改为可维护

---
 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.Designer.cs |  130 +++++-----
 DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.cs           |   21 +
 DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.Designer.cs  |   58 ++++
 DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs          |    9 
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs   |  399 +++++++++++++++-----------------
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs            |   22 +
 DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs     |   38 ++
 7 files changed, 381 insertions(+), 296 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs
index 2a84e6b..c063b73 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs
@@ -1,7 +1,7 @@
 /* Create By GS EasyCode */
 namespace Gs.DevApp.DevFrm
 {
-    partial class Frm_MesItemQt 
+    partial class Frm_MesItemQt
     {
         /// <summary>
         /// Required designer variable.
@@ -84,6 +84,7 @@
             this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
             this.splitMx1 = new DevExpress.XtraEditors.SplitContainerControl();
             this.layoutMx1 = new DevExpress.XtraLayout.LayoutControl();
+            this.txt_qt019 = new Gs.DevApp.UserControl.UcDictionaryComBox();
             this.txt_wwgys = new Gs.DevApp.UserControl.UcLookSupplier();
             this.btnCopyXls = new DevExpress.XtraEditors.SimpleButton();
             this.lbGuid = new System.Windows.Forms.Label();
@@ -92,7 +93,6 @@
             this.txt_qt009 = new Gs.DevApp.UserControl.UcLookDepartment();
             this.txt_qt013 = new Gs.DevApp.UserControl.UcLookCustomer();
             this.txt_qtck = new DevExpress.XtraEditors.TextEdit();
-            this.txt_qt019 = new DevExpress.XtraEditors.ComboBoxEdit();
             this.txt_qt020 = new DevExpress.XtraEditors.ComboBoxEdit();
             this.txt_qt023 = new Gs.DevApp.UserControl.UcLookOrg();
             this.txt_qt016Name = new DevExpress.XtraEditors.TextEdit();
@@ -108,11 +108,10 @@
             this.txt_qt033 = new DevExpress.XtraEditors.TextEdit();
             this.txt_qt032 = new DevExpress.XtraEditors.CheckEdit();
             this.txt_qt035 = new DevExpress.XtraEditors.ButtonEdit();
-            this.txt_qtlx = new DevExpress.XtraEditors.ComboBoxEdit();
             this.txt_lyRemark = new DevExpress.XtraEditors.MemoEdit();
+            this.btnDown = new DevExpress.XtraEditors.SimpleButton();
             this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
             this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
-            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -134,8 +133,10 @@
             this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layItemWwgys = new DevExpress.XtraLayout.LayoutControlItem();
+            this.txt_lyRemarklb = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
             this.tabMx = new DevExpress.XtraTab.XtraTabControl();
             this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
             this.gcMx1 = new DevExpress.XtraGrid.GridControl();
@@ -168,9 +169,8 @@
             this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.picCheckBox = new System.Windows.Forms.PictureBox();
             this.tips = new DevExpress.Utils.ToolTipController(this.components);
-            this.txt_lyRemarklb = new DevExpress.XtraLayout.LayoutControlItem();
-            this.btnDown = new DevExpress.XtraEditors.SimpleButton();
-            this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
+            this.txt_qtlx = new Gs.DevApp.UserControl.UcDictionaryComBox();
+            this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
             this.xtraTabPage1.SuspendLayout();
@@ -192,7 +192,6 @@
             this.layoutMx1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt010.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qtck.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_qt019.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt020.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt016Name.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt002.Properties)).BeginInit();
@@ -207,11 +206,9 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt033.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt032.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt035.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_qtlx.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_lyRemark.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit();
@@ -233,8 +230,10 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layItemWwgys)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_lyRemarklb)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
             this.tabMx.SuspendLayout();
             this.tabMxPage1.SuspendLayout();
@@ -245,8 +244,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.rptCk)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_lyRemarklb)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
             this.SuspendLayout();
             // 
             // toolBarMenu1
@@ -258,7 +256,7 @@
             this.toolBarMenu1.guidKey = null;
             this.toolBarMenu1.isSetBtn = false;
             this.toolBarMenu1.Location = new System.Drawing.Point(0, 0);
-            this.toolBarMenu1.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.toolBarMenu1.Margin = new System.Windows.Forms.Padding(4);
             this.toolBarMenu1.Name = "toolBarMenu1";
             this.toolBarMenu1.rptParameter = null;
             this.toolBarMenu1.Size = new System.Drawing.Size(1128, 80);
@@ -648,6 +646,8 @@
             // 
             // layoutMx1
             // 
+            this.layoutMx1.Controls.Add(this.txt_qtlx);
+            this.layoutMx1.Controls.Add(this.txt_qt019);
             this.layoutMx1.Controls.Add(this.txt_wwgys);
             this.layoutMx1.Controls.Add(this.btnCopyXls);
             this.layoutMx1.Controls.Add(this.lbGuid);
@@ -656,7 +656,6 @@
             this.layoutMx1.Controls.Add(this.txt_qt009);
             this.layoutMx1.Controls.Add(this.txt_qt013);
             this.layoutMx1.Controls.Add(this.txt_qtck);
-            this.layoutMx1.Controls.Add(this.txt_qt019);
             this.layoutMx1.Controls.Add(this.txt_qt020);
             this.layoutMx1.Controls.Add(this.txt_qt023);
             this.layoutMx1.Controls.Add(this.txt_qt016Name);
@@ -672,7 +671,6 @@
             this.layoutMx1.Controls.Add(this.txt_qt033);
             this.layoutMx1.Controls.Add(this.txt_qt032);
             this.layoutMx1.Controls.Add(this.txt_qt035);
-            this.layoutMx1.Controls.Add(this.txt_qtlx);
             this.layoutMx1.Controls.Add(this.txt_lyRemark);
             this.layoutMx1.Controls.Add(this.btnDown);
             this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -686,19 +684,28 @@
             this.layoutMx1.TabIndex = 0;
             this.layoutMx1.Text = "layoutControl1";
             // 
+            // txt_qt019
+            // 
+            this.txt_qt019.Location = new System.Drawing.Point(385, 12);
+            this.txt_qt019.Name = "txt_qt019";
+            this.txt_qt019.Size = new System.Drawing.Size(165, 24);
+            this.txt_qt019.TabIndex = 449;
+            this.txt_qt019.TextTxt = "";
+            this.txt_qt019.WhereTxt = "a.s_type=\'鍏跺畠鍑哄簱鍗曟嵁绫诲瀷\'  and a.pid<>\'00000000-0000-0000-0000-000000000000\'";
+            // 
             // txt_wwgys
             // 
             this.txt_wwgys.IsReadly = false;
-            this.txt_wwgys.Location = new System.Drawing.Point(387, 165);
+            this.txt_wwgys.Location = new System.Drawing.Point(385, 167);
             this.txt_wwgys.Margin = new System.Windows.Forms.Padding(0);
             this.txt_wwgys.Name = "txt_wwgys";
-            this.txt_wwgys.Size = new System.Drawing.Size(173, 24);
+            this.txt_wwgys.Size = new System.Drawing.Size(165, 24);
             this.txt_wwgys.TabIndex = 446;
             // 
             // btnCopyXls
             // 
             this.btnCopyXls.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("btnCopyXls.ImageOptions.Image")));
-            this.btnCopyXls.Location = new System.Drawing.Point(10, 196);
+            this.btnCopyXls.Location = new System.Drawing.Point(12, 198);
             this.btnCopyXls.Name = "btnCopyXls";
             this.btnCopyXls.Size = new System.Drawing.Size(116, 27);
             this.btnCopyXls.StyleController = this.layoutMx1;
@@ -718,72 +725,54 @@
             // 
             this.ucLookHuoZhu1.HzId = null;
             this.ucLookHuoZhu1.IsReadly = false;
-            this.ucLookHuoZhu1.Location = new System.Drawing.Point(10, 72);
+            this.ucLookHuoZhu1.Location = new System.Drawing.Point(12, 74);
             this.ucLookHuoZhu1.Margin = new System.Windows.Forms.Padding(0);
             this.ucLookHuoZhu1.Name = "ucLookHuoZhu1";
             this.ucLookHuoZhu1.OrgId = null;
-            this.ucLookHuoZhu1.Size = new System.Drawing.Size(273, 58);
+            this.ucLookHuoZhu1.Size = new System.Drawing.Size(267, 58);
             this.ucLookHuoZhu1.TabIndex = 318;
             // 
             // txt_qt010
             // 
-            this.txt_qt010.Location = new System.Drawing.Point(110, 134);
+            this.txt_qt010.Location = new System.Drawing.Point(114, 136);
             this.txt_qt010.Name = "txt_qt010";
             this.txt_qt010.Properties.Appearance.Options.UseFont = true;
-            this.txt_qt010.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt010.Size = new System.Drawing.Size(165, 24);
             this.txt_qt010.StyleController = this.layoutMx1;
             this.txt_qt010.TabIndex = 235;
             // 
             // txt_qt009
             // 
             this.txt_qt009.IsReadly = false;
-            this.txt_qt009.Location = new System.Drawing.Point(387, 103);
-            this.txt_qt009.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txt_qt009.Location = new System.Drawing.Point(385, 105);
+            this.txt_qt009.Margin = new System.Windows.Forms.Padding(4);
             this.txt_qt009.Name = "txt_qt009";
-            this.txt_qt009.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt009.Size = new System.Drawing.Size(165, 24);
             this.txt_qt009.TabIndex = 316;
             // 
             // txt_qt013
             // 
             this.txt_qt013.IsReadly = false;
-            this.txt_qt013.Location = new System.Drawing.Point(387, 72);
-            this.txt_qt013.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txt_qt013.Location = new System.Drawing.Point(385, 74);
+            this.txt_qt013.Margin = new System.Windows.Forms.Padding(4);
             this.txt_qt013.Name = "txt_qt013";
-            this.txt_qt013.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt013.Size = new System.Drawing.Size(165, 24);
             this.txt_qt013.TabIndex = 304;
             // 
             // txt_qtck
             // 
-            this.txt_qtck.Location = new System.Drawing.Point(110, 10);
+            this.txt_qtck.Location = new System.Drawing.Point(114, 12);
             this.txt_qtck.Name = "txt_qtck";
             this.txt_qtck.Properties.Appearance.Options.UseFont = true;
-            this.txt_qtck.Size = new System.Drawing.Size(173, 24);
+            this.txt_qtck.Size = new System.Drawing.Size(165, 24);
             this.txt_qtck.StyleController = this.layoutMx1;
             this.txt_qtck.TabIndex = 211;
             this.txt_qtck.Tag = "readonly";
             // 
-            // txt_qt019
-            // 
-            this.txt_qt019.EditValue = "鏍囧噯鍏朵粬鍑哄簱鍗�(QTCKD01_SYS)";
-            this.txt_qt019.Location = new System.Drawing.Point(387, 10);
-            this.txt_qt019.Name = "txt_qt019";
-            this.txt_qt019.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txt_qt019.Properties.Items.AddRange(new object[] {
-            "鏍囧噯鍏朵粬鍑哄簱鍗�(QTCKD01_SYS)",
-            "璧勪骇鍑哄簱(QTCKD02_SYS)",
-            "VMI鍑哄簱(QTCKD03_SYS)",
-            "璐圭敤鐗╂枡鍑哄簱(QTCKD04_SYS)",
-            "搴撳瓨璋冩暣(QTCKD05_SYS)"});
-            this.txt_qt019.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qt019.Size = new System.Drawing.Size(173, 24);
-            this.txt_qt019.StyleController = this.layoutMx1;
-            this.txt_qt019.TabIndex = 301;
-            // 
             // txt_qt020
             // 
             this.txt_qt020.EditValue = "鏅��(GENERAL)";
-            this.txt_qt020.Location = new System.Drawing.Point(387, 41);
+            this.txt_qt020.Location = new System.Drawing.Point(385, 43);
             this.txt_qt020.Name = "txt_qt020";
             this.txt_qt020.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -791,174 +780,161 @@
             "鏅��(GENERAL)",
             "閫�璐�(RETURN)"});
             this.txt_qt020.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qt020.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt020.Size = new System.Drawing.Size(165, 24);
             this.txt_qt020.StyleController = this.layoutMx1;
             this.txt_qt020.TabIndex = 300;
             // 
             // txt_qt023
             // 
             this.txt_qt023.IsReadly = false;
-            this.txt_qt023.Location = new System.Drawing.Point(110, 41);
-            this.txt_qt023.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
+            this.txt_qt023.Location = new System.Drawing.Point(114, 43);
+            this.txt_qt023.Margin = new System.Windows.Forms.Padding(4);
             this.txt_qt023.Name = "txt_qt023";
-            this.txt_qt023.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt023.Size = new System.Drawing.Size(165, 24);
             this.txt_qt023.TabIndex = 307;
             // 
             // txt_qt016Name
             // 
-            this.txt_qt016Name.Location = new System.Drawing.Point(941, 10);
+            this.txt_qt016Name.Location = new System.Drawing.Point(927, 12);
             this.txt_qt016Name.Name = "txt_qt016Name";
             this.txt_qt016Name.Properties.Appearance.Options.UseFont = true;
-            this.txt_qt016Name.Size = new System.Drawing.Size(175, 24);
+            this.txt_qt016Name.Size = new System.Drawing.Size(166, 24);
             this.txt_qt016Name.StyleController = this.layoutMx1;
             this.txt_qt016Name.TabIndex = 262;
             this.txt_qt016Name.Tag = "readonly";
             // 
             // txt_qt002
             // 
-            this.txt_qt002.Location = new System.Drawing.Point(941, 41);
+            this.txt_qt002.Location = new System.Drawing.Point(927, 43);
             this.txt_qt002.Name = "txt_qt002";
             this.txt_qt002.Properties.Appearance.Options.UseFont = true;
-            this.txt_qt002.Size = new System.Drawing.Size(175, 24);
+            this.txt_qt002.Size = new System.Drawing.Size(166, 24);
             this.txt_qt002.StyleController = this.layoutMx1;
             this.txt_qt002.TabIndex = 216;
             this.txt_qt002.Tag = "readonly";
             // 
             // txt_qt015
             // 
-            this.txt_qt015.Location = new System.Drawing.Point(841, 72);
+            this.txt_qt015.Location = new System.Drawing.Point(825, 74);
             this.txt_qt015.Name = "txt_qt015";
             this.txt_qt015.Properties.Caption = "瀹℃牳鐘舵��";
-            this.txt_qt015.Size = new System.Drawing.Size(275, 24);
+            this.txt_qt015.Size = new System.Drawing.Size(268, 24);
             this.txt_qt015.StyleController = this.layoutMx1;
             this.txt_qt015.TabIndex = 310;
             this.txt_qt015.Tag = "readonly";
             // 
             // txt_qt031Name
             // 
-            this.txt_qt031Name.Location = new System.Drawing.Point(941, 103);
+            this.txt_qt031Name.Location = new System.Drawing.Point(927, 105);
             this.txt_qt031Name.Name = "txt_qt031Name";
-            this.txt_qt031Name.Size = new System.Drawing.Size(175, 24);
+            this.txt_qt031Name.Size = new System.Drawing.Size(166, 24);
             this.txt_qt031Name.StyleController = this.layoutMx1;
             this.txt_qt031Name.TabIndex = 321;
             this.txt_qt031Name.Tag = "readonly";
             // 
             // txt_qt030
             // 
-            this.txt_qt030.Location = new System.Drawing.Point(941, 134);
+            this.txt_qt030.Location = new System.Drawing.Point(927, 136);
             this.txt_qt030.Name = "txt_qt030";
-            this.txt_qt030.Size = new System.Drawing.Size(175, 24);
+            this.txt_qt030.Size = new System.Drawing.Size(166, 24);
             this.txt_qt030.StyleController = this.layoutMx1;
             this.txt_qt030.TabIndex = 322;
             this.txt_qt030.Tag = "readonly";
             // 
             // txt_qt029
             // 
-            this.txt_qt029.Location = new System.Drawing.Point(841, 165);
+            this.txt_qt029.Location = new System.Drawing.Point(825, 167);
             this.txt_qt029.Name = "txt_qt029";
             this.txt_qt029.Properties.Caption = "璐㈠姟瀹℃牳鐘舵��";
-            this.txt_qt029.Size = new System.Drawing.Size(275, 24);
+            this.txt_qt029.Size = new System.Drawing.Size(268, 24);
             this.txt_qt029.StyleController = this.layoutMx1;
             this.txt_qt029.TabIndex = 323;
             this.txt_qt029.Tag = "readonly";
             // 
             // txt_qt028Name
             // 
-            this.txt_qt028Name.Location = new System.Drawing.Point(664, 103);
+            this.txt_qt028Name.Location = new System.Drawing.Point(656, 105);
             this.txt_qt028Name.Name = "txt_qt028Name";
-            this.txt_qt028Name.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt028Name.Size = new System.Drawing.Size(165, 24);
             this.txt_qt028Name.StyleController = this.layoutMx1;
             this.txt_qt028Name.TabIndex = 324;
             this.txt_qt028Name.Tag = "readonly";
             // 
             // txt_qt027
             // 
-            this.txt_qt027.Location = new System.Drawing.Point(664, 134);
+            this.txt_qt027.Location = new System.Drawing.Point(656, 136);
             this.txt_qt027.Name = "txt_qt027";
-            this.txt_qt027.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt027.Size = new System.Drawing.Size(165, 24);
             this.txt_qt027.StyleController = this.layoutMx1;
             this.txt_qt027.TabIndex = 325;
             this.txt_qt027.Tag = "readonly";
             // 
             // txt_qt034Name
             // 
-            this.txt_qt034Name.Location = new System.Drawing.Point(664, 10);
+            this.txt_qt034Name.Location = new System.Drawing.Point(656, 12);
             this.txt_qt034Name.Name = "txt_qt034Name";
-            this.txt_qt034Name.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt034Name.Size = new System.Drawing.Size(165, 24);
             this.txt_qt034Name.StyleController = this.layoutMx1;
             this.txt_qt034Name.TabIndex = 326;
             this.txt_qt034Name.Tag = "readonly";
             // 
             // txt_qt026
             // 
-            this.txt_qt026.Location = new System.Drawing.Point(564, 165);
+            this.txt_qt026.Location = new System.Drawing.Point(554, 167);
             this.txt_qt026.Name = "txt_qt026";
             this.txt_qt026.Properties.Caption = "鍞悗瀹℃牳鏍囪瘑";
-            this.txt_qt026.Size = new System.Drawing.Size(273, 24);
+            this.txt_qt026.Size = new System.Drawing.Size(267, 24);
             this.txt_qt026.StyleController = this.layoutMx1;
             this.txt_qt026.TabIndex = 327;
             this.txt_qt026.Tag = "readonly";
             // 
             // txt_qt033
             // 
-            this.txt_qt033.Location = new System.Drawing.Point(664, 41);
+            this.txt_qt033.Location = new System.Drawing.Point(656, 43);
             this.txt_qt033.Name = "txt_qt033";
-            this.txt_qt033.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt033.Size = new System.Drawing.Size(165, 24);
             this.txt_qt033.StyleController = this.layoutMx1;
             this.txt_qt033.TabIndex = 328;
             this.txt_qt033.Tag = "readonly";
             // 
             // txt_qt032
             // 
-            this.txt_qt032.Location = new System.Drawing.Point(564, 72);
+            this.txt_qt032.Location = new System.Drawing.Point(554, 74);
             this.txt_qt032.Name = "txt_qt032";
             this.txt_qt032.Properties.Caption = "閲囪喘瀹℃牳鏍囪瘑";
-            this.txt_qt032.Size = new System.Drawing.Size(273, 24);
+            this.txt_qt032.Size = new System.Drawing.Size(267, 24);
             this.txt_qt032.StyleController = this.layoutMx1;
             this.txt_qt032.TabIndex = 329;
             this.txt_qt032.Tag = "readonly";
             // 
             // txt_qt035
             // 
-            this.txt_qt035.Location = new System.Drawing.Point(110, 165);
+            this.txt_qt035.Location = new System.Drawing.Point(114, 167);
             this.txt_qt035.Name = "txt_qt035";
             this.txt_qt035.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton()});
-            this.txt_qt035.Size = new System.Drawing.Size(173, 24);
+            this.txt_qt035.Size = new System.Drawing.Size(165, 24);
             this.txt_qt035.StyleController = this.layoutMx1;
             this.txt_qt035.TabIndex = 330;
             // 
-            // txt_qtlx
-            // 
-            this.txt_qtlx.EditValue = "璇烽�夋嫨";
-            this.txt_qtlx.Location = new System.Drawing.Point(387, 134);
-            this.txt_qtlx.Name = "txt_qtlx";
-            this.txt_qtlx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txt_qtlx.Properties.Items.AddRange(new object[] {
-            "璇烽�夋嫨",
-            "1:杈呮枡棰嗙敤",
-            "2:鐮斿彂棰嗙敤",
-            "3:娴嬭瘯閮ㄩ棬鍝佽川宸ヨ壓",
-            "4:瀹㈡埛璧犻��",
-            "5:鎶ュ簾鍑哄簱",
-            "6:鏍锋満鍑哄簱",
-            "7:鏃犳簮鍗曞澶栭��鏂�",
-            "8:鐩樹簭",
-            "9:宸ュ崟瀹屾垚鍚庨��鎹㈡枡"});
-            this.txt_qtlx.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qtlx.Size = new System.Drawing.Size(173, 24);
-            this.txt_qtlx.StyleController = this.layoutMx1;
-            this.txt_qtlx.TabIndex = 331;
-            // 
             // txt_lyRemark
             // 
-            this.txt_lyRemark.Location = new System.Drawing.Point(664, 196);
+            this.txt_lyRemark.Location = new System.Drawing.Point(656, 198);
             this.txt_lyRemark.Name = "txt_lyRemark";
-            this.txt_lyRemark.Size = new System.Drawing.Size(452, 27);
+            this.txt_lyRemark.Size = new System.Drawing.Size(437, 27);
             this.txt_lyRemark.StyleController = this.layoutMx1;
             this.txt_lyRemark.TabIndex = 447;
             this.txt_lyRemark.Tag = "readonly";
+            // 
+            // btnDown
+            // 
+            this.btnDown.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.copy_16x16;
+            this.btnDown.Location = new System.Drawing.Point(283, 198);
+            this.btnDown.Name = "btnDown";
+            this.btnDown.Size = new System.Drawing.Size(196, 27);
+            this.btnDown.StyleController = this.layoutMx1;
+            this.btnDown.TabIndex = 448;
+            this.btnDown.Text = "鍚戜笅澶嶅埗浠撳簱";
             // 
             // layoutControlItem14
             // 
@@ -977,7 +953,6 @@
             this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
             this.Root.GroupBordersVisible = false;
             this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
-            this.layoutControlItem2,
             this.layoutControlItem4,
             this.layoutControlItem6,
             this.layoutControlItem7,
@@ -999,10 +974,11 @@
             this.layoutControlItem3,
             this.layoutControlItem10,
             this.layoutControlItem11,
-            this.layoutControlItem12,
             this.layItemWwgys,
             this.txt_lyRemarklb,
-            this.layoutControlItem5});
+            this.layoutControlItem5,
+            this.layoutControlItem2,
+            this.layoutControlItem12});
             this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
             this.Root.Name = "Root";
             columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -1040,18 +1016,8 @@
             rowDefinition5,
             rowDefinition6,
             rowDefinition7});
-            this.Root.Size = new System.Drawing.Size(1126, 233);
+            this.Root.Size = new System.Drawing.Size(1105, 237);
             this.Root.TextVisible = false;
-            // 
-            // layoutControlItem2
-            // 
-            this.layoutControlItem2.Control = this.txt_qt019;
-            this.layoutControlItem2.Location = new System.Drawing.Point(277, 0);
-            this.layoutControlItem2.Name = "layoutControlItem2";
-            this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem2.Size = new System.Drawing.Size(277, 31);
-            this.layoutControlItem2.Text = "鍗曟嵁绫诲瀷";
-            this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem4
             // 
@@ -1059,39 +1025,39 @@
             this.layoutControlItem4.Location = new System.Drawing.Point(0, 31);
             this.layoutControlItem4.Name = "layoutControlItem4";
             this.layoutControlItem4.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem4.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem4.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem4.Text = "搴撳瓨缁勭粐";
             this.layoutControlItem4.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem6
             // 
             this.layoutControlItem6.Control = this.txt_qt016Name;
-            this.layoutControlItem6.Location = new System.Drawing.Point(831, 0);
+            this.layoutControlItem6.Location = new System.Drawing.Point(813, 0);
             this.layoutControlItem6.Name = "layoutControlItem6";
             this.layoutControlItem6.OptionsTableLayoutItem.ColumnIndex = 3;
-            this.layoutControlItem6.Size = new System.Drawing.Size(279, 31);
+            this.layoutControlItem6.Size = new System.Drawing.Size(272, 31);
             this.layoutControlItem6.Text = "瀹℃牳浜哄憳";
             this.layoutControlItem6.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem7
             // 
             this.layoutControlItem7.Control = this.txt_qt002;
-            this.layoutControlItem7.Location = new System.Drawing.Point(831, 31);
+            this.layoutControlItem7.Location = new System.Drawing.Point(813, 31);
             this.layoutControlItem7.Name = "layoutControlItem7";
             this.layoutControlItem7.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem7.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem7.Size = new System.Drawing.Size(279, 31);
+            this.layoutControlItem7.Size = new System.Drawing.Size(272, 31);
             this.layoutControlItem7.Text = "瀹℃牳鏃堕棿";
             this.layoutControlItem7.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem8
             // 
             this.layoutControlItem8.Control = this.txt_qt015;
-            this.layoutControlItem8.Location = new System.Drawing.Point(831, 62);
+            this.layoutControlItem8.Location = new System.Drawing.Point(813, 62);
             this.layoutControlItem8.Name = "layoutControlItem8";
             this.layoutControlItem8.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem8.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem8.Size = new System.Drawing.Size(279, 31);
+            this.layoutControlItem8.Size = new System.Drawing.Size(272, 31);
             this.layoutControlItem8.Text = "瀹℃牳鏍囪瘑";
             this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem8.TextVisible = false;
@@ -1103,7 +1069,7 @@
             this.layoutControlItem9.Name = "layoutControlItem9";
             this.layoutControlItem9.OptionsTableLayoutItem.RowIndex = 2;
             this.layoutControlItem9.OptionsTableLayoutItem.RowSpan = 2;
-            this.layoutControlItem9.Size = new System.Drawing.Size(277, 62);
+            this.layoutControlItem9.Size = new System.Drawing.Size(271, 62);
             this.layoutControlItem9.Text = "璐т富绫诲瀷";
             this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem9.TextVisible = false;
@@ -1111,33 +1077,33 @@
             // layoutControlItem15
             // 
             this.layoutControlItem15.Control = this.txt_qt031Name;
-            this.layoutControlItem15.Location = new System.Drawing.Point(831, 93);
+            this.layoutControlItem15.Location = new System.Drawing.Point(813, 93);
             this.layoutControlItem15.Name = "layoutControlItem15";
             this.layoutControlItem15.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem15.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem15.Size = new System.Drawing.Size(279, 31);
+            this.layoutControlItem15.Size = new System.Drawing.Size(272, 31);
             this.layoutControlItem15.Text = "璐㈠姟瀹℃牳浜哄憳";
             this.layoutControlItem15.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem16
             // 
             this.layoutControlItem16.Control = this.txt_qt030;
-            this.layoutControlItem16.Location = new System.Drawing.Point(831, 124);
+            this.layoutControlItem16.Location = new System.Drawing.Point(813, 124);
             this.layoutControlItem16.Name = "layoutControlItem16";
             this.layoutControlItem16.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem16.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem16.Size = new System.Drawing.Size(279, 31);
+            this.layoutControlItem16.Size = new System.Drawing.Size(272, 31);
             this.layoutControlItem16.Text = "璐㈠姟瀹℃牳鏃堕棿";
             this.layoutControlItem16.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem17
             // 
             this.layoutControlItem17.Control = this.txt_qt029;
-            this.layoutControlItem17.Location = new System.Drawing.Point(831, 155);
+            this.layoutControlItem17.Location = new System.Drawing.Point(813, 155);
             this.layoutControlItem17.Name = "layoutControlItem17";
             this.layoutControlItem17.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem17.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem17.Size = new System.Drawing.Size(279, 31);
+            this.layoutControlItem17.Size = new System.Drawing.Size(272, 31);
             this.layoutControlItem17.Text = "璐㈠姟瀹℃牳鏍囪瘑";
             this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem17.TextVisible = false;
@@ -1145,33 +1111,33 @@
             // layoutControlItem18
             // 
             this.layoutControlItem18.Control = this.txt_qt028Name;
-            this.layoutControlItem18.Location = new System.Drawing.Point(554, 93);
+            this.layoutControlItem18.Location = new System.Drawing.Point(542, 93);
             this.layoutControlItem18.Name = "layoutControlItem18";
             this.layoutControlItem18.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem18.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem18.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem18.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem18.Text = "鍞悗瀹℃牳浜哄憳";
             this.layoutControlItem18.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem19
             // 
             this.layoutControlItem19.Control = this.txt_qt027;
-            this.layoutControlItem19.Location = new System.Drawing.Point(554, 124);
+            this.layoutControlItem19.Location = new System.Drawing.Point(542, 124);
             this.layoutControlItem19.Name = "layoutControlItem19";
             this.layoutControlItem19.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem19.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem19.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem19.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem19.Text = "鍞悗瀹℃牳鏃堕棿";
             this.layoutControlItem19.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem21
             // 
             this.layoutControlItem21.Control = this.txt_qt026;
-            this.layoutControlItem21.Location = new System.Drawing.Point(554, 155);
+            this.layoutControlItem21.Location = new System.Drawing.Point(542, 155);
             this.layoutControlItem21.Name = "layoutControlItem21";
             this.layoutControlItem21.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem21.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem21.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem21.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem21.Text = "鍞悗瀹℃牳鏍囪瘑";
             this.layoutControlItem21.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem21.TextVisible = false;
@@ -1179,32 +1145,32 @@
             // layoutControlItem20
             // 
             this.layoutControlItem20.Control = this.txt_qt034Name;
-            this.layoutControlItem20.Location = new System.Drawing.Point(554, 0);
+            this.layoutControlItem20.Location = new System.Drawing.Point(542, 0);
             this.layoutControlItem20.Name = "layoutControlItem20";
             this.layoutControlItem20.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem20.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem20.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem20.Text = "閲囪喘瀹℃牳浜哄憳";
             this.layoutControlItem20.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem22
             // 
             this.layoutControlItem22.Control = this.txt_qt033;
-            this.layoutControlItem22.Location = new System.Drawing.Point(554, 31);
+            this.layoutControlItem22.Location = new System.Drawing.Point(542, 31);
             this.layoutControlItem22.Name = "layoutControlItem22";
             this.layoutControlItem22.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem22.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem22.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem22.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem22.Text = "閲囪喘瀹℃牳鏃堕棿";
             this.layoutControlItem22.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem23
             // 
             this.layoutControlItem23.Control = this.txt_qt032;
-            this.layoutControlItem23.Location = new System.Drawing.Point(554, 62);
+            this.layoutControlItem23.Location = new System.Drawing.Point(542, 62);
             this.layoutControlItem23.Name = "layoutControlItem23";
             this.layoutControlItem23.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem23.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem23.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem23.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem23.Text = "閲囪喘瀹℃牳鏍囪瘑";
             this.layoutControlItem23.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem23.TextVisible = false;
@@ -1215,7 +1181,7 @@
             this.layoutControlItem13.Location = new System.Drawing.Point(0, 124);
             this.layoutControlItem13.Name = "layoutControlItem13";
             this.layoutControlItem13.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem13.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem13.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem13.Text = "鐢宠澶囨敞";
             this.layoutControlItem13.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1225,7 +1191,7 @@
             this.layoutControlItem24.Location = new System.Drawing.Point(0, 155);
             this.layoutControlItem24.Name = "layoutControlItem24";
             this.layoutControlItem24.OptionsTableLayoutItem.RowIndex = 5;
-            this.layoutControlItem24.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem24.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem24.Text = "鏉ユ簮鍗曞彿";
             this.layoutControlItem24.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1234,7 +1200,7 @@
             this.layoutControlItem1.Control = this.txt_qtck;
             this.layoutControlItem1.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem1.Name = "layoutControlItem1";
-            this.layoutControlItem1.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem1.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem1.Text = "鍗曟嵁缂栧彿";
             this.layoutControlItem1.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1246,7 +1212,7 @@
             this.layoutControlItem25.MinSize = new System.Drawing.Size(90, 31);
             this.layoutControlItem25.Name = "layoutControlItem25";
             this.layoutControlItem25.OptionsTableLayoutItem.RowIndex = 6;
-            this.layoutControlItem25.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem25.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem25.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
             this.layoutControlItem25.Text = "蹇嵎褰曞叆";
             this.layoutControlItem25.TextSize = new System.Drawing.Size(0, 0);
@@ -1255,60 +1221,86 @@
             // layoutControlItem3
             // 
             this.layoutControlItem3.Control = this.txt_qt020;
-            this.layoutControlItem3.Location = new System.Drawing.Point(277, 31);
+            this.layoutControlItem3.Location = new System.Drawing.Point(271, 31);
             this.layoutControlItem3.Name = "layoutControlItem3";
             this.layoutControlItem3.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem3.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem3.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem3.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem3.Text = "搴撳瓨鏂瑰悜";
             this.layoutControlItem3.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem10
             // 
             this.layoutControlItem10.Control = this.txt_qt013;
-            this.layoutControlItem10.Location = new System.Drawing.Point(277, 62);
+            this.layoutControlItem10.Location = new System.Drawing.Point(271, 62);
             this.layoutControlItem10.Name = "layoutControlItem10";
             this.layoutControlItem10.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem10.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem10.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem10.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem10.Text = "瀹㈡埛";
             this.layoutControlItem10.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem11
             // 
             this.layoutControlItem11.Control = this.txt_qt009;
-            this.layoutControlItem11.Location = new System.Drawing.Point(277, 93);
+            this.layoutControlItem11.Location = new System.Drawing.Point(271, 93);
             this.layoutControlItem11.Name = "layoutControlItem11";
             this.layoutControlItem11.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem11.OptionsTableLayoutItem.RowIndex = 3;
-            this.layoutControlItem11.Size = new System.Drawing.Size(277, 31);
+            this.layoutControlItem11.Size = new System.Drawing.Size(271, 31);
             this.layoutControlItem11.Text = "棰嗘枡閮ㄩ棬";
             this.layoutControlItem11.TextSize = new System.Drawing.Size(90, 18);
-            // 
-            // layoutControlItem12
-            // 
-            this.layoutControlItem12.Control = this.txt_qtlx;
-            this.layoutControlItem12.Location = new System.Drawing.Point(277, 124);
-            this.layoutControlItem12.Name = "layoutControlItem12";
-            this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 4;
-            this.layoutControlItem12.Size = new System.Drawing.Size(277, 31);
-            this.layoutControlItem12.Text = "鍑哄簱绫诲瀷";
-            this.layoutControlItem12.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layItemWwgys
             // 
             this.layItemWwgys.AppearanceItemCaption.ForeColor = System.Drawing.Color.Blue;
             this.layItemWwgys.AppearanceItemCaption.Options.UseForeColor = true;
             this.layItemWwgys.Control = this.txt_wwgys;
-            this.layItemWwgys.Location = new System.Drawing.Point(277, 155);
+            this.layItemWwgys.Location = new System.Drawing.Point(271, 155);
             this.layItemWwgys.Name = "layItemWwgys";
             this.layItemWwgys.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layItemWwgys.OptionsTableLayoutItem.RowIndex = 5;
-            this.layItemWwgys.Size = new System.Drawing.Size(277, 31);
+            this.layItemWwgys.Size = new System.Drawing.Size(271, 31);
             this.layItemWwgys.Text = "濮斿渚涘簲鍟�";
             this.layItemWwgys.TextSize = new System.Drawing.Size(90, 18);
             this.layItemWwgys.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Never;
+            // 
+            // txt_lyRemarklb
+            // 
+            this.txt_lyRemarklb.Control = this.txt_lyRemark;
+            this.txt_lyRemarklb.Location = new System.Drawing.Point(542, 186);
+            this.txt_lyRemarklb.Name = "txt_lyRemarklb";
+            this.txt_lyRemarklb.OptionsTableLayoutItem.ColumnIndex = 2;
+            this.txt_lyRemarklb.OptionsTableLayoutItem.ColumnSpan = 2;
+            this.txt_lyRemarklb.OptionsTableLayoutItem.RowIndex = 6;
+            this.txt_lyRemarklb.Size = new System.Drawing.Size(543, 31);
+            this.txt_lyRemarklb.Text = "棰嗙敤缁煎悎淇℃伅";
+            this.txt_lyRemarklb.TextSize = new System.Drawing.Size(90, 18);
+            // 
+            // layoutControlItem5
+            // 
+            this.layoutControlItem5.Control = this.btnDown;
+            this.layoutControlItem5.Location = new System.Drawing.Point(271, 186);
+            this.layoutControlItem5.MaxSize = new System.Drawing.Size(200, 31);
+            this.layoutControlItem5.MinSize = new System.Drawing.Size(96, 31);
+            this.layoutControlItem5.Name = "layoutControlItem5";
+            this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 6;
+            this.layoutControlItem5.Size = new System.Drawing.Size(271, 31);
+            this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
+            this.layoutControlItem5.Text = "澶嶅埗浠撳簱";
+            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
+            this.layoutControlItem5.TextVisible = false;
+            // 
+            // layoutControlItem2
+            // 
+            this.layoutControlItem2.Control = this.txt_qt019;
+            this.layoutControlItem2.Location = new System.Drawing.Point(271, 0);
+            this.layoutControlItem2.Name = "layoutControlItem2";
+            this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem2.Size = new System.Drawing.Size(271, 31);
+            this.layoutControlItem2.Text = "鍗曟嵁绫诲瀷";
+            this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 18);
             // 
             // tabMx
             // 
@@ -1679,42 +1671,25 @@
             this.picCheckBox.TabStop = false;
             this.picCheckBox.Visible = false;
             // 
-            // txt_lyRemarklb
+            // txt_qtlx
             // 
-            this.txt_lyRemarklb.Control = this.txt_lyRemark;
-            this.txt_lyRemarklb.Location = new System.Drawing.Point(554, 186);
-            this.txt_lyRemarklb.Name = "txt_lyRemarklb";
-            this.txt_lyRemarklb.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.txt_lyRemarklb.OptionsTableLayoutItem.ColumnSpan = 2;
-            this.txt_lyRemarklb.OptionsTableLayoutItem.RowIndex = 6;
-            this.txt_lyRemarklb.Size = new System.Drawing.Size(556, 31);
-            this.txt_lyRemarklb.Text = "棰嗙敤缁煎悎淇℃伅";
-            this.txt_lyRemarklb.TextSize = new System.Drawing.Size(90, 18);
+            this.txt_qtlx.Location = new System.Drawing.Point(385, 136);
+            this.txt_qtlx.Name = "txt_qtlx";
+            this.txt_qtlx.Size = new System.Drawing.Size(165, 24);
+            this.txt_qtlx.TabIndex = 450;
+            this.txt_qtlx.TextTxt = "";
+            this.txt_qtlx.WhereTxt = "a.s_type=\'鍏跺畠鍑哄簱鍑哄簱绫诲瀷\'  and a.pid<>\'00000000-0000-0000-0000-000000000000\'";
             // 
-            // btnDown
+            // layoutControlItem12
             // 
-            this.btnDown.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.copy_16x16;
-            this.btnDown.Location = new System.Drawing.Point(287, 196);
-            this.btnDown.Name = "btnDown";
-            this.btnDown.Size = new System.Drawing.Size(196, 27);
-            this.btnDown.StyleController = this.layoutMx1;
-            this.btnDown.TabIndex = 448;
-            this.btnDown.Text = "鍚戜笅澶嶅埗浠撳簱";
-            // 
-            // layoutControlItem5
-            // 
-            this.layoutControlItem5.Control = this.btnDown;
-            this.layoutControlItem5.Location = new System.Drawing.Point(277, 186);
-            this.layoutControlItem5.MaxSize = new System.Drawing.Size(200, 31);
-            this.layoutControlItem5.MinSize = new System.Drawing.Size(96, 31);
-            this.layoutControlItem5.Name = "layoutControlItem5";
-            this.layoutControlItem5.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem5.OptionsTableLayoutItem.RowIndex = 6;
-            this.layoutControlItem5.Size = new System.Drawing.Size(277, 31);
-            this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
-            this.layoutControlItem5.Text = "澶嶅埗浠撳簱";
-            this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0);
-            this.layoutControlItem5.TextVisible = false;
+            this.layoutControlItem12.Control = this.txt_qtlx;
+            this.layoutControlItem12.Location = new System.Drawing.Point(271, 124);
+            this.layoutControlItem12.Name = "layoutControlItem12";
+            this.layoutControlItem12.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem12.OptionsTableLayoutItem.RowIndex = 4;
+            this.layoutControlItem12.Size = new System.Drawing.Size(271, 31);
+            this.layoutControlItem12.Text = "鍑哄簱绫诲瀷";
+            this.layoutControlItem12.TextSize = new System.Drawing.Size(90, 18);
             // 
             // Frm_MesItemQt
             // 
@@ -1747,7 +1722,6 @@
             this.layoutMx1.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt010.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qtck.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_qt019.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt020.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt016Name.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt002.Properties)).EndInit();
@@ -1762,11 +1736,9 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt033.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt032.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt035.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_qtlx.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_lyRemark.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit();
@@ -1788,8 +1760,10 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layItemWwgys)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_lyRemarklb)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
             this.tabMx.ResumeLayout(false);
             this.tabMxPage1.ResumeLayout(false);
@@ -1800,13 +1774,12 @@
             ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.rptCk)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_lyRemarklb)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
             this.ResumeLayout(false);
 
         }
         #endregion
-      private UserControl.UcToolBarMenu toolBarMenu1;
+        private UserControl.UcToolBarMenu toolBarMenu1;
         private DevExpress.XtraTab.XtraTabControl xtraTabControl1;
         private System.Windows.Forms.PictureBox picCheckBox;
         private DevExpress.XtraTab.XtraTabPage xtraTabPage1;
@@ -1833,7 +1806,6 @@
         private UserControl.UcLookDepartment txt_qt009;
         private UserControl.UcLookOrg txt_qt023;
         private UserControl.UcLookCustomer txt_qt013;
-        private DevExpress.XtraEditors.ComboBoxEdit txt_qt019;
         private DevExpress.XtraEditors.ComboBoxEdit txt_qt020;
         private System.Windows.Forms.Label lbGuid;
         private DevExpress.XtraEditors.TextEdit txt_qt016Name;
@@ -1842,7 +1814,6 @@
         private DevExpress.XtraEditors.TextEdit txt_qtck;
         private DevExpress.XtraLayout.LayoutControl layoutMx1;
         private DevExpress.XtraLayout.LayoutControlGroup Root;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6;
         private DevExpress.XtraEditors.CheckEdit txt_qt015;
@@ -1903,7 +1874,6 @@
         private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit rptCk;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem24;
-        private DevExpress.XtraEditors.ComboBoxEdit txt_qtlx;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn18;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn19;
         private DevExpress.XtraEditors.SimpleButton btnCopyXls;
@@ -1920,10 +1890,13 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
         private DevExpress.XtraLayout.LayoutControlItem layItemWwgys;
         private DevExpress.XtraEditors.SimpleButton btnDown;
         private DevExpress.XtraLayout.LayoutControlItem txt_lyRemarklb;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5;
+        private UserControl.UcDictionaryComBox txt_qt019;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
+        private UserControl.UcDictionaryComBox txt_qtlx;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
index b4a358a..ee181f8 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
@@ -195,11 +195,12 @@
             };
             #endregion
 
+          
             #region 2025-08-27 澧炲姞濮斿渚涘簲鍟�
-            txt_qtlx.SelectedIndexChanged += (s, e) =>
+            txt_qtlx.ChangedEvent += (s, e) =>
             {
                 int idx = txt_qtlx.SelectedIndex;
-                if (idx == 7)
+                if (idx == 6)
                 {
                     layItemWwgys.Visibility = DevExpress.XtraLayout.Utils.LayoutVisibility.Always;
                 }
@@ -210,6 +211,7 @@
                 }
             };
             #endregion
+
 
             #region 2025-10-10 鍚戜笅澶嶅埗beg
             btnDown.Click += (s, e) =>
@@ -495,13 +497,13 @@
             string inHzlx = ucLookHuoZhu1.GetHzLx();//璐т富绫诲瀷
             string inHz = ucLookHuoZhu1.GetHzId();//璐т富
             string inRkyy = txt_qt010.Text.Trim();//鍘熷洜
-            string inDjlx = txt_qt019.Text.Trim();//鍗曟嵁绫诲瀷
+            string inDjlx = txt_qt019.TextTxt.Trim();//鍗曟嵁绫诲瀷
            // string inLyOrg = txt_qt024.GetId();//棰嗙敤缁勭粐
             string inLyOrg = inOrgId;//棰嗙敤缁勭粐绛変簬搴撳瓨缁勭粐
             string inLyCus = txt_qt013.GetId();//棰嗙敤瀹㈡埛
             string inLyDepart = txt_qt009.GetId();//棰嗙敤閮ㄩ棬
             string inKcfx = txt_qt020.Text.Trim();//搴撳瓨鏂瑰悜
-            string qtlx = txt_qtlx.Text.Trim();//鍚庢潵澧炲姞鐨勭被鍨�
+            string qtlx = txt_qtlx.TextTxt.Trim();//鍚庢潵澧炲姞鐨勭被鍨�
             string wwgys = txt_wwgys.GetId();
             if (string.IsNullOrEmpty(inOrgId))
             {
@@ -519,20 +521,26 @@
                 Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨璐т富锛�");
                 return;
             }
+            if (inDjlx.Length <= 0)
+            {
+                MsgHelper.ShowError("璇烽�夋嫨閫�鍗曟嵁绫诲瀷锛�");
+                txt_qt019.Focus();
+                return;
+            }
             //if (string.IsNullOrEmpty(inLyOrg))
             //{
             //    Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨棰嗙敤缁勭粐锛�");
             //    txt_qt024.Focus();
             //    return;
             //}
-            if (txt_qtlx.SelectedIndex <= 0)
+            if (qtlx.Length <= 0)
             {
                 Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鍑哄簱绫诲瀷锛�");
                 txt_qtlx.Focus();
                 return;
             }
             //杩欐槸闈炲澶栫殑闃插憜
-            if (txt_qtlx.SelectedIndex != 7)
+            if (txt_qtlx.SelectedIndex != 6)
             {
                 if (string.IsNullOrEmpty(inLyCus) && string.IsNullOrEmpty(inLyDepart))
                 {
@@ -546,7 +554,7 @@
                 }
             }
             //杩欐槸濮斿鐨勯槻鍛�
-            if (txt_qtlx.SelectedIndex == 7)
+            if (txt_qtlx.SelectedIndex == 6)
             {
                 if (string.IsNullOrEmpty(wwgys))
                 {
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.Designer.cs b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.Designer.cs
new file mode 100644
index 0000000..4cda16e
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.Designer.cs
@@ -0,0 +1,58 @@
+锘縩amespace Gs.DevApp.DevFrm.QC
+{
+    partial class DefectCodeQtck
+    {
+        /// <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 = "瀛楀吀-浠撳簱鍩虹璧勬枡";
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private DefectCode defectCode1;
+    }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.cs b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.cs
new file mode 100644
index 0000000..29d4d2a
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/QC/DefectCodeQtck.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 DefectCodeQtck : DevExpress.XtraEditors.XtraForm
+    {
+        public DefectCodeQtck()
+        {
+            InitializeComponent();
+        }
+    }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.Designer.cs
index 53870bb..99611ad 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.Designer.cs
@@ -116,7 +116,6 @@
             this.txt_qt032 = new DevExpress.XtraEditors.CheckEdit();
             this.txt_qt035 = new DevExpress.XtraEditors.ButtonEdit();
             this.txt_isIqc = new DevExpress.XtraEditors.CheckEdit();
-            this.txt_qtlx = new DevExpress.XtraEditors.ComboBoxEdit();
             this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem36 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem();
@@ -141,7 +140,6 @@
             this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
-            this.layoutControlItem38 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
             this.layoutControlItem39 = new DevExpress.XtraLayout.LayoutControlItem();
             this.tabMx = new DevExpress.XtraTab.XtraTabControl();
@@ -221,6 +219,8 @@
             this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn();
             this.picCheckBox = new System.Windows.Forms.PictureBox();
             this.tips = new DevExpress.Utils.ToolTipController(this.components);
+            this.txt_qtlx = new Gs.DevApp.UserControl.UcDictionaryComBox();
+            this.layoutControlItem38 = new DevExpress.XtraLayout.LayoutControlItem();
             ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
             this.xtraTabControl1.SuspendLayout();
             this.xtraTabPage1.SuspendLayout();
@@ -256,7 +256,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt032.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt035.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_isIqc.Properties)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_qtlx.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem36)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit();
@@ -281,7 +280,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem39)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.tabMx)).BeginInit();
@@ -333,6 +331,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).BeginInit();
             this.SuspendLayout();
             // 
             // toolBarMenu1
@@ -708,6 +707,7 @@
             // 
             // layoutMx1
             // 
+            this.layoutMx1.Controls.Add(this.txt_qtlx);
             this.layoutMx1.Controls.Add(this.ucBtnPrintAll1);
             this.layoutMx1.Controls.Add(this.btnCopyXls);
             this.layoutMx1.Controls.Add(this.txt_qt003);
@@ -733,7 +733,6 @@
             this.layoutMx1.Controls.Add(this.txt_qt032);
             this.layoutMx1.Controls.Add(this.txt_qt035);
             this.layoutMx1.Controls.Add(this.txt_isIqc);
-            this.layoutMx1.Controls.Add(this.txt_qtlx);
             this.layoutMx1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.layoutMx1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
             this.layoutControlItem12,
@@ -772,6 +771,7 @@
             this.txt_qt003.Location = new System.Drawing.Point(770, 43);
             this.txt_qt003.Margin = new System.Windows.Forms.Padding(4);
             this.txt_qt003.Name = "txt_qt003";
+            this.txt_qt003.SelectedIndex = -1;
             this.txt_qt003.Size = new System.Drawing.Size(222, 24);
             this.txt_qt003.TabIndex = 333;
             this.txt_qt003.TextTxt = "鍏跺畠鍏ュ簱(QTRKD01_SYS)";
@@ -993,26 +993,6 @@
             this.txt_isIqc.TabIndex = 341;
             this.txt_isIqc.Tag = "readonly";
             // 
-            // txt_qtlx
-            // 
-            this.txt_qtlx.EditValue = "璇烽�夋嫨";
-            this.txt_qtlx.Location = new System.Drawing.Point(442, 12);
-            this.txt_qtlx.Name = "txt_qtlx";
-            this.txt_qtlx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
-            this.txt_qtlx.Properties.Items.AddRange(new object[] {
-            "璇烽�夋嫨",
-            "1:鍞悗缁翠慨",
-            "2:鎷嗗嵏鍏ュ簱",
-            "3:渚涘簲鍟嗚禒閫�",
-            "4:鏃犳簮鍗曞澶栭��鏉愭枡",
-            "5:鐩樼泩",
-            "6:宸ュ崟瀹屾垚鍚庨��鎹㈡枡"});
-            this.txt_qtlx.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qtlx.Size = new System.Drawing.Size(222, 24);
-            this.txt_qtlx.StyleController = this.layoutMx1;
-            this.txt_qtlx.TabIndex = 445;
-            // 
             // layoutControlItem12
             // 
             this.layoutControlItem12.Control = this.lbGuid;
@@ -1084,9 +1064,9 @@
             this.layoutControlItem9,
             this.layoutControlItem11,
             this.layoutControlItem2,
-            this.layoutControlItem38,
             this.layoutControlItem3,
-            this.layoutControlItem39});
+            this.layoutControlItem39,
+            this.layoutControlItem38});
             this.Root.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
             this.Root.Name = "Root";
             columnDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
@@ -1336,16 +1316,6 @@
             this.layoutControlItem2.Text = "鍗曟嵁绫诲瀷";
             this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 18);
             // 
-            // layoutControlItem38
-            // 
-            this.layoutControlItem38.Control = this.txt_qtlx;
-            this.layoutControlItem38.Location = new System.Drawing.Point(328, 0);
-            this.layoutControlItem38.Name = "layoutControlItem38";
-            this.layoutControlItem38.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem38.Size = new System.Drawing.Size(328, 31);
-            this.layoutControlItem38.Text = "鍏ュ簱绫诲瀷";
-            this.layoutControlItem38.TextSize = new System.Drawing.Size(90, 18);
-            // 
             // layoutControlItem3
             // 
             this.layoutControlItem3.Control = this.txt_qt019;
@@ -1444,11 +1414,11 @@
             // 
             this.ucBtnPrint1.allClickKey = null;
             this.ucBtnPrint1.guidKey = null;
-            this.ucBtnPrint1.Location = new System.Drawing.Point(1032, 49);
+            this.ucBtnPrint1.Location = new System.Drawing.Point(1032, 48);
             this.ucBtnPrint1.Margin = new System.Windows.Forms.Padding(0);
             this.ucBtnPrint1.Name = "ucBtnPrint1";
             this.ucBtnPrint1.rptParameter = null;
-            this.ucBtnPrint1.Size = new System.Drawing.Size(336, 33);
+            this.ucBtnPrint1.Size = new System.Drawing.Size(336, 32);
             this.ucBtnPrint1.TabIndex = 480;
             // 
             // radOut
@@ -1462,7 +1432,7 @@
             new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "鍙墦鏁村紶"),
             new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "鎵嬪姩鎵�")});
             this.radOut.Properties.Padding = new System.Windows.Forms.Padding(0);
-            this.radOut.Size = new System.Drawing.Size(336, 33);
+            this.radOut.Size = new System.Drawing.Size(336, 32);
             this.radOut.StyleController = this.lay99;
             this.radOut.TabIndex = 479;
             // 
@@ -1470,10 +1440,10 @@
             // 
             this.layoutControl1.Controls.Add(this.txt_iCount_1);
             this.layoutControl1.Controls.Add(this.txt_yuliang_1);
-            this.layoutControl1.Location = new System.Drawing.Point(692, 86);
+            this.layoutControl1.Location = new System.Drawing.Point(692, 84);
             this.layoutControl1.Name = "layoutControl1";
             this.layoutControl1.Root = this.layoutControlGroup2;
-            this.layoutControl1.Size = new System.Drawing.Size(336, 33);
+            this.layoutControl1.Size = new System.Drawing.Size(336, 32);
             this.layoutControl1.TabIndex = 478;
             this.layoutControl1.Text = "layoutControl1";
             // 
@@ -1517,7 +1487,7 @@
             this.layoutControlGroup2.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
             rowDefinition7});
             this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
-            this.layoutControlGroup2.Size = new System.Drawing.Size(336, 33);
+            this.layoutControlGroup2.Size = new System.Drawing.Size(336, 32);
             this.layoutControlGroup2.TextVisible = false;
             // 
             // layoutControlItem33
@@ -1525,7 +1495,7 @@
             this.layoutControlItem33.Control = this.txt_iCount_1;
             this.layoutControlItem33.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem33.Name = "layoutControlItem33";
-            this.layoutControlItem33.Size = new System.Drawing.Size(168, 33);
+            this.layoutControlItem33.Size = new System.Drawing.Size(168, 32);
             this.layoutControlItem33.Text = "鎵撳嵃鏁村紶鏁板��";
             this.layoutControlItem33.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1535,7 +1505,7 @@
             this.layoutControlItem34.Location = new System.Drawing.Point(168, 0);
             this.layoutControlItem34.Name = "layoutControlItem34";
             this.layoutControlItem34.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem34.Size = new System.Drawing.Size(168, 33);
+            this.layoutControlItem34.Size = new System.Drawing.Size(168, 32);
             this.layoutControlItem34.Text = "鎵撳嵃浣欐暟";
             this.layoutControlItem34.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1553,7 +1523,7 @@
             // 
             // txt_psnQty_1
             // 
-            this.txt_psnQty_1.Location = new System.Drawing.Point(794, 49);
+            this.txt_psnQty_1.Location = new System.Drawing.Point(794, 48);
             this.txt_psnQty_1.Name = "txt_psnQty_1";
             this.txt_psnQty_1.Properties.Appearance.Options.UseFont = true;
             this.txt_psnQty_1.Size = new System.Drawing.Size(234, 24);
@@ -1572,7 +1542,7 @@
             // 
             // txt_yQty
             // 
-            this.txt_yQty.Location = new System.Drawing.Point(454, 49);
+            this.txt_yQty.Location = new System.Drawing.Point(454, 48);
             this.txt_yQty.Name = "txt_yQty";
             this.txt_yQty.Properties.Appearance.Options.UseFont = true;
             this.txt_yQty.Properties.ReadOnly = true;
@@ -1592,7 +1562,7 @@
             // 
             // txtWlmc
             // 
-            this.txtWlmc.Location = new System.Drawing.Point(114, 49);
+            this.txtWlmc.Location = new System.Drawing.Point(114, 48);
             this.txtWlmc.Name = "txtWlmc";
             this.txtWlmc.Properties.Appearance.Options.UseFont = true;
             this.txtWlmc.Properties.ReadOnly = true;
@@ -1602,7 +1572,7 @@
             // 
             // txtWlgg
             // 
-            this.txtWlgg.Location = new System.Drawing.Point(114, 86);
+            this.txtWlgg.Location = new System.Drawing.Point(114, 84);
             this.txtWlgg.Name = "txtWlgg";
             this.txtWlgg.Properties.Appearance.Options.UseFont = true;
             this.txtWlgg.Properties.ReadOnly = true;
@@ -1662,7 +1632,7 @@
             rowDefinition8,
             rowDefinition9,
             rowDefinition10});
-            this.layoutControlGroup1.Size = new System.Drawing.Size(1380, 131);
+            this.layoutControlGroup1.Size = new System.Drawing.Size(1380, 128);
             this.layoutControlGroup1.TextVisible = false;
             // 
             // layoutControlItem23
@@ -1671,7 +1641,7 @@
             this.layoutControlItem23.Location = new System.Drawing.Point(1020, 0);
             this.layoutControlItem23.Name = "layoutControlItem23";
             this.layoutControlItem23.OptionsTableLayoutItem.ColumnIndex = 3;
-            this.layoutControlItem23.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem23.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem23.Text = "鎵撳嵃鏂瑰紡";
             this.layoutControlItem23.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem23.TextVisible = false;
@@ -1679,11 +1649,11 @@
             // layoutControlItem22
             // 
             this.layoutControlItem22.Control = this.layoutControl1;
-            this.layoutControlItem22.Location = new System.Drawing.Point(680, 74);
+            this.layoutControlItem22.Location = new System.Drawing.Point(680, 72);
             this.layoutControlItem22.Name = "layoutControlItem22";
             this.layoutControlItem22.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem22.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem22.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem22.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem22.Text = "鎵撳嵃寮犳暟";
             this.layoutControlItem22.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem22.TextVisible = false;
@@ -1696,7 +1666,7 @@
             this.layoutControlItem27.Location = new System.Drawing.Point(680, 0);
             this.layoutControlItem27.Name = "layoutControlItem27";
             this.layoutControlItem27.OptionsTableLayoutItem.ColumnIndex = 2;
-            this.layoutControlItem27.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem27.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem27.Text = "鍙墦鍗版�绘暟";
             this.layoutControlItem27.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1705,11 +1675,11 @@
             this.layoutControlItem28.Control = this.txt_psnQty_1;
             this.layoutControlItem28.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem28.CustomizationFormText = "姣忓紶鏉$爜鏁伴噺";
-            this.layoutControlItem28.Location = new System.Drawing.Point(680, 37);
+            this.layoutControlItem28.Location = new System.Drawing.Point(680, 36);
             this.layoutControlItem28.Name = "layoutControlItem28";
             this.layoutControlItem28.OptionsTableLayoutItem.ColumnIndex = 2;
             this.layoutControlItem28.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem28.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem28.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem28.Text = "姣忓紶鏉$爜鏁伴噺";
             this.layoutControlItem28.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1721,7 +1691,7 @@
             this.layoutControlItem25.Location = new System.Drawing.Point(340, 0);
             this.layoutControlItem25.Name = "layoutControlItem25";
             this.layoutControlItem25.OptionsTableLayoutItem.ColumnIndex = 1;
-            this.layoutControlItem25.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem25.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem25.Text = "鏈鐢宠鎬婚噺";
             this.layoutControlItem25.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1730,11 +1700,11 @@
             this.layoutControlItem26.Control = this.txt_yQty;
             this.layoutControlItem26.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem26.CustomizationFormText = "宸叉墦鍗版�婚噺";
-            this.layoutControlItem26.Location = new System.Drawing.Point(340, 37);
+            this.layoutControlItem26.Location = new System.Drawing.Point(340, 36);
             this.layoutControlItem26.Name = "layoutControlItem26";
             this.layoutControlItem26.OptionsTableLayoutItem.ColumnIndex = 1;
             this.layoutControlItem26.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem26.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem26.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem26.Text = "宸叉墦鍗版�婚噺";
             this.layoutControlItem26.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1745,7 +1715,7 @@
             this.layoutControlItem24.CustomizationFormText = "鐗╂枡缂栫爜";
             this.layoutControlItem24.Location = new System.Drawing.Point(0, 0);
             this.layoutControlItem24.Name = "layoutControlItem24";
-            this.layoutControlItem24.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem24.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem24.Text = "鐗╂枡缂栫爜";
             this.layoutControlItem24.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1754,10 +1724,10 @@
             this.layoutControlItem29.Control = this.txtWlmc;
             this.layoutControlItem29.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem29.CustomizationFormText = "鐗╂枡鍚嶇О";
-            this.layoutControlItem29.Location = new System.Drawing.Point(0, 37);
+            this.layoutControlItem29.Location = new System.Drawing.Point(0, 36);
             this.layoutControlItem29.Name = "layoutControlItem29";
             this.layoutControlItem29.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem29.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem29.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem29.Text = "鐗╂枡鍚嶇О";
             this.layoutControlItem29.TextSize = new System.Drawing.Size(90, 18);
             // 
@@ -1766,22 +1736,22 @@
             this.layoutControlItem30.Control = this.txtWlgg;
             this.layoutControlItem30.ControlAlignment = System.Drawing.ContentAlignment.TopLeft;
             this.layoutControlItem30.CustomizationFormText = "鐗╂枡瑙勬牸";
-            this.layoutControlItem30.Location = new System.Drawing.Point(0, 74);
+            this.layoutControlItem30.Location = new System.Drawing.Point(0, 72);
             this.layoutControlItem30.Name = "layoutControlItem30";
             this.layoutControlItem30.OptionsTableLayoutItem.ColumnSpan = 2;
             this.layoutControlItem30.OptionsTableLayoutItem.RowIndex = 2;
-            this.layoutControlItem30.Size = new System.Drawing.Size(680, 37);
+            this.layoutControlItem30.Size = new System.Drawing.Size(680, 36);
             this.layoutControlItem30.Text = "鐗╂枡瑙勬牸";
             this.layoutControlItem30.TextSize = new System.Drawing.Size(90, 18);
             // 
             // layoutControlItem31
             // 
             this.layoutControlItem31.Control = this.ucBtnPrint1;
-            this.layoutControlItem31.Location = new System.Drawing.Point(1020, 37);
+            this.layoutControlItem31.Location = new System.Drawing.Point(1020, 36);
             this.layoutControlItem31.Name = "layoutControlItem31";
             this.layoutControlItem31.OptionsTableLayoutItem.ColumnIndex = 3;
             this.layoutControlItem31.OptionsTableLayoutItem.RowIndex = 1;
-            this.layoutControlItem31.Size = new System.Drawing.Size(340, 37);
+            this.layoutControlItem31.Size = new System.Drawing.Size(340, 36);
             this.layoutControlItem31.Text = "鎵撳嵃鎸夐挳";
             this.layoutControlItem31.TextSize = new System.Drawing.Size(0, 0);
             this.layoutControlItem31.TextVisible = false;
@@ -2309,6 +2279,27 @@
             this.picCheckBox.TabStop = false;
             this.picCheckBox.Visible = false;
             // 
+            // txt_qtlx
+            // 
+            this.txt_qtlx.Location = new System.Drawing.Point(442, 12);
+            this.txt_qtlx.Name = "txt_qtlx";
+            this.txt_qtlx.SelectedIndex = -1;
+            this.txt_qtlx.Size = new System.Drawing.Size(222, 24);
+            this.txt_qtlx.TabIndex = 447;
+            this.txt_qtlx.TextTxt = "";
+            this.txt_qtlx.WhereTxt = "a.s_type=\'鍏跺畠鍏ュ簱鍏ュ簱绫诲瀷\'  and a.pid<>\'00000000-0000-0000-0000-000000000000\'";
+
+            // 
+            // layoutControlItem38
+            // 
+            this.layoutControlItem38.Control = this.txt_qtlx;
+            this.layoutControlItem38.Location = new System.Drawing.Point(328, 0);
+            this.layoutControlItem38.Name = "layoutControlItem38";
+            this.layoutControlItem38.OptionsTableLayoutItem.ColumnIndex = 1;
+            this.layoutControlItem38.Size = new System.Drawing.Size(328, 31);
+            this.layoutControlItem38.Text = "鍏ュ簱绫诲瀷";
+            this.layoutControlItem38.TextSize = new System.Drawing.Size(90, 18);
+            // 
             // Frm_MesItemQtrk
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
@@ -2354,7 +2345,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt032.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_qt035.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_isIqc.Properties)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.txt_qtlx.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem36)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit();
@@ -2379,7 +2369,6 @@
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem39)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.tabMx)).EndInit();
@@ -2431,6 +2420,7 @@
             ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem38)).EndInit();
             this.ResumeLayout(false);
 
         }
@@ -2586,14 +2576,14 @@
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem35;
         private DevExpress.XtraEditors.SimpleButton btnCopyXls;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem37;
-        private DevExpress.XtraEditors.ComboBoxEdit txt_qtlx;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
-        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem38;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
         private DevExpress.XtraGrid.Columns.GridColumn gridColumn28;
         private UserControl.UcBtnPrintAll ucBtnPrintAll1;
         private DevExpress.XtraLayout.LayoutControlItem layoutControlItem39;
+        private UserControl.UcDictionaryComBox txt_qtlx;
+        private DevExpress.XtraLayout.LayoutControlItem layoutControlItem38;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
index 4f02fcb..3504af0 100644
--- a/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Rk/Frm_MesItemQtrk.cs
@@ -308,7 +308,7 @@
             #endregion
         }
 
-      
+
         /// <summary>
         /// 鏉ユ簮鏄庣粏闄愬埗锛�
         /// </summary>
@@ -563,7 +563,7 @@
             string inHz = ucLookHuoZhu1.GetHzId();//璐т富
             string inRkyy = txt_qt010.Text.Trim();//鍏ュ簱鍘熷洜
             string kcCk = txt_qt008.GetId();//浠撳簱
-            string qtlx = txt_qtlx.Text.Trim();//鍚庢潵澧炲姞鐨勭被鍨�
+            string qtlx = txt_qtlx.TextTxt.Trim();//鍚庢潵澧炲姞鐨勭被鍨�
             if (string.IsNullOrEmpty(kcZz))
             {
                 Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨搴撳瓨缁勭粐锛�");
@@ -586,7 +586,7 @@
                 txt_qt003.Focus();
                 return;
             }
-            if (txt_qtlx.SelectedIndex <= 0)
+            if (djLx.Length <= 0)
             {
                 Gs.DevApp.ToolBox.MsgHelper.ShowError("璇烽�夋嫨鍏ュ簱绫诲瀷锛�");
                 txt_qtlx.Focus();
@@ -754,6 +754,8 @@
                     _ucHzlx = dy.qt023;
                     _ucHz = dy.qt024;
                     lbGuid.Text = strGuid;
+                    ucLookHuoZhu1.SetHzId(_ucHz);
+                    ucLookHuoZhu1.SetHzLx(_ucHzlx);
                     List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
                     gvList.Add(gvMx1);
                     gvList.Add(gvMx2);
@@ -764,6 +766,7 @@
                     _ucHzlx = "";
                     _ucHz = "";
                     ucLookHuoZhu1.Enabled = isEdit;
+
                     JObject _job = JObject.Parse(strJson);
                     JArray array = new JArray();
                     foreach (var a in _job["rtnData"]["list"])
diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs b/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs
index fccb0c2..d8cf277 100644
--- a/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcDictionaryComBox.cs
@@ -17,9 +17,25 @@
 {
     public partial class UcDictionaryComBox : DevExpress.XtraEditors.XtraUserControl
     {
+
+        /// <summary>
+        /// 涓嬫媺鏀瑰彉浜嬩欢
+        /// </summary>
+        public event EventHandler ChangedEvent;
+
         public UcDictionaryComBox()
         {
             InitializeComponent();
+            this.Load += (ss, ee) => {
+                this.txt_qt003.SelectedIndexChanged += Txt_qt003_SelectedIndexChanged;
+            };
+      
+        }
+
+        private void Txt_qt003_SelectedIndexChanged(object sender, EventArgs e)
+        {
+            if (ChangedEvent != null)
+                ChangedEvent(this, e);
         }
 
         /// <summary>
@@ -33,6 +49,19 @@
                 this.txt_qt003.Text = value;
             }
         }
+        /// <summary>
+        /// 鏂囨湰妗嗙殑娆″簭 2025-12-12 鍔犱笂
+        /// </summary>
+        public int SelectedIndex
+        {
+            get { return txt_qt003.SelectedIndex; }
+            set
+            {
+                this.txt_qt003.SelectedIndex = value;
+            }
+        }
+
+
 
         /// <summary>
         /// 鏌ヨ鏉′欢
@@ -45,12 +74,13 @@
             set
             {
                 this._WhereTxt = value;
-                if (!string.IsNullOrEmpty(value)) {
+                if (!string.IsNullOrEmpty(value))
+                {
                     getSuppler(value);
                 }
             }
         }
- 
+
         public bool IsReadly
         {
             set
@@ -76,9 +106,11 @@
                 var strReturn = UtilityHelper.HttpPost("", "MesDefectCodeManager/GetListPage", json);
                 var dd = UtilityHelper.ReturnToTablePage(strReturn);
                 var dt = dd.rtnData.list;
-                foreach (DataRow row in dt.Rows) {
+                foreach (DataRow row in dt.Rows)
+                {
                     txt_qt003.Properties.Items.Add(row["defectName"].ToString());
                 }
+                txt_qt003.SelectedIndex = 0;
             }
             catch (Exception ex)
             {

--
Gitblit v1.9.3