From d102e42c79061597bf9a0ca6d5761184d0351ff2 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 11 二月 2025 08:07:21 +0800
Subject: [PATCH] 工单细节

---
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.resx        |    0 
 DevApp/Gs.DevApp/Gs.DevApp.csproj                      |   10 
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.Designer.cs |  730 +++++++++++++++++++++++---------------------
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs   |  113 +++---
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs            |   29 +
 DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs          |   47 +-
 6 files changed, 487 insertions(+), 442 deletions(-)

diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs
index b342ad2..95d3a71 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.Designer.cs
@@ -29,11 +29,11 @@
         /// </summary>
         private void InitializeComponent()
         {
-            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
-            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject();
+            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject();
             this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
             this.gcMx1 = new DevExpress.XtraGrid.GridControl();
             this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
@@ -299,7 +299,7 @@
             this.gvMx1qd002.AppearanceCell.Options.UseFont = true;
             this.gvMx1qd002.Caption = "鐗╂枡缂栧彿 ";
             this.gvMx1qd002.FieldName = "qd002";
-            this.gvMx1qd002.MinWidth = 50;
+            this.gvMx1qd002.MinWidth = 25;
             this.gvMx1qd002.Name = "gvMx1qd002";
             this.gvMx1qd002.Tag = "query_a.qd002";
             this.gvMx1qd002.Visible = true;
@@ -312,7 +312,7 @@
             this.gvMx1qd003.AppearanceCell.Options.UseFont = true;
             this.gvMx1qd003.Caption = "鐗╂枡鍚嶇О ";
             this.gvMx1qd003.FieldName = "qd003";
-            this.gvMx1qd003.MinWidth = 50;
+            this.gvMx1qd003.MinWidth = 25;
             this.gvMx1qd003.Name = "gvMx1qd003";
             this.gvMx1qd003.Tag = "query_a.qd003";
             this.gvMx1qd003.Visible = true;
@@ -325,7 +325,7 @@
             this.gvMx1qd004.AppearanceCell.Options.UseFont = true;
             this.gvMx1qd004.Caption = "瑙勬牸鍨嬪彿 ";
             this.gvMx1qd004.FieldName = "qd004";
-            this.gvMx1qd004.MinWidth = 50;
+            this.gvMx1qd004.MinWidth = 25;
             this.gvMx1qd004.Name = "gvMx1qd004";
             this.gvMx1qd004.Tag = "query_a.qd004";
             this.gvMx1qd004.Visible = true;
@@ -342,7 +342,7 @@
             this.gvMx1qd007.AppearanceHeader.Options.UseForeColor = true;
             this.gvMx1qd007.Caption = "鐢宠鏁伴噺 ";
             this.gvMx1qd007.FieldName = "qd007";
-            this.gvMx1qd007.MinWidth = 50;
+            this.gvMx1qd007.MinWidth = 25;
             this.gvMx1qd007.Name = "gvMx1qd007";
             this.gvMx1qd007.Tag = "yz_quantity_0_edit";
             this.gvMx1qd007.Visible = true;
@@ -355,7 +355,7 @@
             this.gvMx1qd008.AppearanceCell.Options.UseFont = true;
             this.gvMx1qd008.Caption = "宸叉壂鏁伴噺 ";
             this.gvMx1qd008.FieldName = "qd008";
-            this.gvMx1qd008.MinWidth = 50;
+            this.gvMx1qd008.MinWidth = 25;
             this.gvMx1qd008.Name = "gvMx1qd008";
             this.gvMx1qd008.Tag = "query_a.qd008";
             this.gvMx1qd008.Visible = true;
@@ -368,7 +368,7 @@
             this.gvMx1qd009.AppearanceCell.Options.UseFont = true;
             this.gvMx1qd009.Caption = "鍗曚綅 ";
             this.gvMx1qd009.FieldName = "qd009";
-            this.gvMx1qd009.MinWidth = 50;
+            this.gvMx1qd009.MinWidth = 25;
             this.gvMx1qd009.Name = "gvMx1qd009";
             this.gvMx1qd009.Tag = "query_a.qd009";
             this.gvMx1qd009.Visible = true;
@@ -385,7 +385,7 @@
             this.gvMx1qd010.AppearanceHeader.Options.UseForeColor = true;
             this.gvMx1qd010.Caption = "澶囨敞 ";
             this.gvMx1qd010.FieldName = "qd010";
-            this.gvMx1qd010.MinWidth = 50;
+            this.gvMx1qd010.MinWidth = 25;
             this.gvMx1qd010.Name = "gvMx1qd010";
             this.gvMx1qd010.Tag = "edit";
             this.gvMx1qd010.Visible = true;
@@ -405,10 +405,10 @@
             // repositoryItemButtonEdit1
             // 
             this.repositoryItemButtonEdit1.AutoHeight = false;
-            editorButtonImageOptions1.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
-            editorButtonImageOptions1.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
+            editorButtonImageOptions3.Image = global::Gs.DevApp.Properties.Resources.removegroupfooter_16x16;
+            editorButtonImageOptions3.ImageToTextAlignment = DevExpress.XtraEditors.ImageAlignToText.LeftCenter;
             this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
-            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
+            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "绉诲嚭", -1, true, true, false, editorButtonImageOptions3, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
             this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
             this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
             this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick);
@@ -417,7 +417,7 @@
             // 
             this.lb_qt020.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt020.Appearance.Options.UseFont = true;
-            this.lb_qt020.Location = new System.Drawing.Point(254, 51);
+            this.lb_qt020.Location = new System.Drawing.Point(315, 51);
             this.lb_qt020.Name = "lb_qt020";
             this.lb_qt020.Size = new System.Drawing.Size(68, 21);
             this.lb_qt020.TabIndex = 285;
@@ -429,7 +429,7 @@
             this.gv_qt020.AppearanceCell.Options.UseFont = true;
             this.gv_qt020.Caption = "搴撳瓨鏂瑰悜";
             this.gv_qt020.FieldName = "qt020";
-            this.gv_qt020.MinWidth = 50;
+            this.gv_qt020.MinWidth = 25;
             this.gv_qt020.Name = "gv_qt020";
             this.gv_qt020.OptionsColumn.AllowEdit = false;
             this.gv_qt020.Tag = "query_a.qt020";
@@ -441,7 +441,7 @@
             // 
             this.lb_qt019.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt019.Appearance.Options.UseFont = true;
-            this.lb_qt019.Location = new System.Drawing.Point(254, 20);
+            this.lb_qt019.Location = new System.Drawing.Point(315, 20);
             this.lb_qt019.Name = "lb_qt019";
             this.lb_qt019.Size = new System.Drawing.Size(68, 21);
             this.lb_qt019.TabIndex = 280;
@@ -451,7 +451,7 @@
             // 
             this.lb_qt018.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt018.Appearance.Options.UseFont = true;
-            this.lb_qt018.Location = new System.Drawing.Point(519, 86);
+            this.lb_qt018.Location = new System.Drawing.Point(546, 86);
             this.lb_qt018.Name = "lb_qt018";
             this.lb_qt018.Size = new System.Drawing.Size(82, 21);
             this.lb_qt018.TabIndex = 273;
@@ -461,7 +461,7 @@
             // 
             this.lb_qt016.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt016.Appearance.Options.UseFont = true;
-            this.lb_qt016.Location = new System.Drawing.Point(839, 86);
+            this.lb_qt016.Location = new System.Drawing.Point(900, 86);
             this.lb_qt016.Name = "lb_qt016";
             this.lb_qt016.Size = new System.Drawing.Size(51, 21);
             this.lb_qt016.TabIndex = 262;
@@ -469,12 +469,11 @@
             // 
             // txt_qt016
             // 
-            this.txt_qt016.Enabled = false;
-            this.txt_qt016.Location = new System.Drawing.Point(896, 82);
+            this.txt_qt016.Location = new System.Drawing.Point(957, 82);
             this.txt_qt016.Name = "txt_qt016";
             this.txt_qt016.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_qt016.Properties.Appearance.Options.UseFont = true;
-            this.txt_qt016.Size = new System.Drawing.Size(150, 28);
+            this.txt_qt016.Size = new System.Drawing.Size(162, 28);
             this.txt_qt016.TabIndex = 262;
             // 
             // gv_qt016
@@ -483,7 +482,7 @@
             this.gv_qt016.AppearanceCell.Options.UseFont = true;
             this.gv_qt016.Caption = "瀹℃牳浜� ";
             this.gv_qt016.FieldName = "qt016";
-            this.gv_qt016.MinWidth = 50;
+            this.gv_qt016.MinWidth = 25;
             this.gv_qt016.Name = "gv_qt016";
             this.gv_qt016.OptionsColumn.AllowEdit = false;
             this.gv_qt016.Tag = "query_a.qt016";
@@ -495,7 +494,7 @@
             // 
             this.lb_qt015.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt015.Appearance.Options.UseFont = true;
-            this.lb_qt015.Location = new System.Drawing.Point(822, 15);
+            this.lb_qt015.Location = new System.Drawing.Point(883, 15);
             this.lb_qt015.Name = "lb_qt015";
             this.lb_qt015.Size = new System.Drawing.Size(68, 21);
             this.lb_qt015.TabIndex = 258;
@@ -549,7 +548,7 @@
             this.txt_qt010.Name = "txt_qt010";
             this.txt_qt010.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_qt010.Properties.Appearance.Options.UseFont = true;
-            this.txt_qt010.Size = new System.Drawing.Size(418, 28);
+            this.txt_qt010.Size = new System.Drawing.Size(445, 28);
             this.txt_qt010.TabIndex = 235;
             // 
             // gv_qt010
@@ -558,7 +557,7 @@
             this.gv_qt010.AppearanceCell.Options.UseFont = true;
             this.gv_qt010.Caption = "鍑哄簱鍘熷洜 ";
             this.gv_qt010.FieldName = "qt010";
-            this.gv_qt010.MinWidth = 50;
+            this.gv_qt010.MinWidth = 25;
             this.gv_qt010.Name = "gv_qt010";
             this.gv_qt010.OptionsColumn.AllowEdit = false;
             this.gv_qt010.Tag = "query_a.qt010";
@@ -570,7 +569,7 @@
             // 
             this.lb_qt009.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt009.Appearance.Options.UseFont = true;
-            this.lb_qt009.Location = new System.Drawing.Point(519, 119);
+            this.lb_qt009.Location = new System.Drawing.Point(546, 119);
             this.lb_qt009.Name = "lb_qt009";
             this.lb_qt009.Size = new System.Drawing.Size(82, 21);
             this.lb_qt009.TabIndex = 231;
@@ -582,7 +581,7 @@
             this.gv_qt008.AppearanceCell.Options.UseFont = true;
             this.gv_qt008.Caption = "鍙戞枡浠撳簱 ";
             this.gv_qt008.FieldName = "qt008";
-            this.gv_qt008.MinWidth = 50;
+            this.gv_qt008.MinWidth = 25;
             this.gv_qt008.Name = "gv_qt008";
             this.gv_qt008.OptionsColumn.AllowEdit = false;
             this.gv_qt008.Tag = "query_a.qt008";
@@ -596,7 +595,7 @@
             this.gv_qt005.AppearanceCell.Options.UseFont = true;
             this.gv_qt005.Caption = "鍒跺崟浜� ";
             this.gv_qt005.FieldName = "qt005";
-            this.gv_qt005.MinWidth = 50;
+            this.gv_qt005.MinWidth = 25;
             this.gv_qt005.Name = "gv_qt005";
             this.gv_qt005.OptionsColumn.AllowEdit = false;
             this.gv_qt005.Tag = "query_a.qt005";
@@ -608,7 +607,7 @@
             // 
             this.lb_qt002.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.lb_qt002.Appearance.Options.UseFont = true;
-            this.lb_qt002.Location = new System.Drawing.Point(822, 51);
+            this.lb_qt002.Location = new System.Drawing.Point(883, 51);
             this.lb_qt002.Name = "lb_qt002";
             this.lb_qt002.Size = new System.Drawing.Size(68, 21);
             this.lb_qt002.TabIndex = 216;
@@ -616,12 +615,11 @@
             // 
             // txt_qt002
             // 
-            this.txt_qt002.Enabled = false;
-            this.txt_qt002.Location = new System.Drawing.Point(896, 47);
+            this.txt_qt002.Location = new System.Drawing.Point(957, 47);
             this.txt_qt002.Name = "txt_qt002";
             this.txt_qt002.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_qt002.Properties.Appearance.Options.UseFont = true;
-            this.txt_qt002.Size = new System.Drawing.Size(150, 28);
+            this.txt_qt002.Size = new System.Drawing.Size(162, 28);
             this.txt_qt002.TabIndex = 216;
             // 
             // gv_qt002
@@ -630,7 +628,7 @@
             this.gv_qt002.AppearanceCell.Options.UseFont = true;
             this.gv_qt002.Caption = "瀹℃牳鏃ユ湡 ";
             this.gv_qt002.FieldName = "qt002";
-            this.gv_qt002.MinWidth = 50;
+            this.gv_qt002.MinWidth = 25;
             this.gv_qt002.Name = "gv_qt002";
             this.gv_qt002.OptionsColumn.AllowEdit = false;
             this.gv_qt002.Tag = "query_a.qt002";
@@ -644,7 +642,7 @@
             this.gv_qt001.AppearanceCell.Options.UseFont = true;
             this.gv_qt001.Caption = "鍒跺崟鏃ユ湡 ";
             this.gv_qt001.FieldName = "qt001";
-            this.gv_qt001.MinWidth = 180;
+            this.gv_qt001.MinWidth = 25;
             this.gv_qt001.Name = "gv_qt001";
             this.gv_qt001.OptionsColumn.AllowEdit = false;
             this.gv_qt001.Tag = "query_a.qt001";
@@ -664,12 +662,11 @@
             // 
             // txt_qtck
             // 
-            this.txt_qtck.Enabled = false;
             this.txt_qtck.Location = new System.Drawing.Point(98, 16);
             this.txt_qtck.Name = "txt_qtck";
             this.txt_qtck.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.txt_qtck.Properties.Appearance.Options.UseFont = true;
-            this.txt_qtck.Size = new System.Drawing.Size(150, 28);
+            this.txt_qtck.Size = new System.Drawing.Size(210, 28);
             this.txt_qtck.TabIndex = 211;
             // 
             // gv_qtck
@@ -678,7 +675,7 @@
             this.gv_qtck.AppearanceCell.Options.UseFont = true;
             this.gv_qtck.Caption = "鐢宠鍗曞彿 ";
             this.gv_qtck.FieldName = "qtck";
-            this.gv_qtck.MinWidth = 100;
+            this.gv_qtck.MinWidth = 25;
             this.gv_qtck.Name = "gv_qtck";
             this.gv_qtck.OptionsColumn.AllowEdit = false;
             this.gv_qtck.Tag = "query_a.qtck";
@@ -852,9 +849,9 @@
             // txt_qt018_1
             // 
             this.txt_qt018_1.IsReadly = false;
-            this.txt_qt018_1.Location = new System.Drawing.Point(606, 113);
+            this.txt_qt018_1.Location = new System.Drawing.Point(633, 113);
             this.txt_qt018_1.Name = "txt_qt018_1";
-            this.txt_qt018_1.Size = new System.Drawing.Size(210, 28);
+            this.txt_qt018_1.Size = new System.Drawing.Size(247, 28);
             this.txt_qt018_1.TabIndex = 316;
             // 
             // txt_qt008
@@ -863,7 +860,7 @@
             this.txt_qt008.Location = new System.Drawing.Point(98, 80);
             this.txt_qt008.Margin = new System.Windows.Forms.Padding(0);
             this.txt_qt008.Name = "txt_qt008";
-            this.txt_qt008.Size = new System.Drawing.Size(418, 30);
+            this.txt_qt008.Size = new System.Drawing.Size(445, 30);
             this.txt_qt008.TabIndex = 315;
             // 
             // labelControl5
@@ -879,7 +876,7 @@
             // txt_qt025
             // 
             this.txt_qt025.EditValue = "璇烽�夋嫨";
-            this.txt_qt025.Location = new System.Drawing.Point(606, 49);
+            this.txt_qt025.Location = new System.Drawing.Point(633, 49);
             this.txt_qt025.Name = "txt_qt025";
             this.txt_qt025.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
             new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
@@ -889,14 +886,14 @@
             "2,渚涘簲鍟�(BD_Supplier)",
             "3,瀹㈡埛(BD_Customer)"});
             this.txt_qt025.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qt025.Size = new System.Drawing.Size(210, 24);
+            this.txt_qt025.Size = new System.Drawing.Size(247, 24);
             this.txt_qt025.TabIndex = 311;
             // 
             // labelControl3
             // 
             this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.labelControl3.Appearance.Options.UseFont = true;
-            this.labelControl3.Location = new System.Drawing.Point(533, 51);
+            this.labelControl3.Location = new System.Drawing.Point(560, 51);
             this.labelControl3.Name = "labelControl3";
             this.labelControl3.Size = new System.Drawing.Size(68, 21);
             this.labelControl3.TabIndex = 310;
@@ -905,16 +902,16 @@
             // txt_qt024
             // 
             this.txt_qt024.IsReadly = false;
-            this.txt_qt024.Location = new System.Drawing.Point(605, 15);
+            this.txt_qt024.Location = new System.Drawing.Point(632, 15);
             this.txt_qt024.Name = "txt_qt024";
-            this.txt_qt024.Size = new System.Drawing.Size(211, 30);
+            this.txt_qt024.Size = new System.Drawing.Size(248, 30);
             this.txt_qt024.TabIndex = 309;
             // 
             // labelControl2
             // 
             this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
             this.labelControl2.Appearance.Options.UseFont = true;
-            this.labelControl2.Location = new System.Drawing.Point(533, 20);
+            this.labelControl2.Location = new System.Drawing.Point(560, 20);
             this.labelControl2.Name = "labelControl2";
             this.labelControl2.Size = new System.Drawing.Size(68, 21);
             this.labelControl2.TabIndex = 308;
@@ -925,7 +922,7 @@
             this.txt_qt023.IsReadly = false;
             this.txt_qt023.Location = new System.Drawing.Point(98, 46);
             this.txt_qt023.Name = "txt_qt023";
-            this.txt_qt023.Size = new System.Drawing.Size(151, 30);
+            this.txt_qt023.Size = new System.Drawing.Size(211, 30);
             this.txt_qt023.TabIndex = 307;
             // 
             // labelControl1
@@ -941,15 +938,15 @@
             // txt_qt018
             // 
             this.txt_qt018.IsReadly = false;
-            this.txt_qt018.Location = new System.Drawing.Point(606, 82);
+            this.txt_qt018.Location = new System.Drawing.Point(633, 82);
             this.txt_qt018.Name = "txt_qt018";
-            this.txt_qt018.Size = new System.Drawing.Size(210, 28);
+            this.txt_qt018.Size = new System.Drawing.Size(247, 28);
             this.txt_qt018.TabIndex = 304;
             // 
             // txt_qt015
             // 
             this.txt_qt015.Enabled = false;
-            this.txt_qt015.Location = new System.Drawing.Point(896, 13);
+            this.txt_qt015.Location = new System.Drawing.Point(957, 13);
             this.txt_qt015.Name = "txt_qt015";
             this.txt_qt015.Properties.Caption = "";
             this.txt_qt015.Size = new System.Drawing.Size(32, 24);
@@ -958,7 +955,7 @@
             // txt_qt019
             // 
             this.txt_qt019.EditValue = "璇烽�夋嫨";
-            this.txt_qt019.Location = new System.Drawing.Point(327, 18);
+            this.txt_qt019.Location = new System.Drawing.Point(386, 18);
             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)});
@@ -970,13 +967,13 @@
             "4,璐圭敤鐗╂枡鍑哄簱(QTCKDO4 SYS)",
             "5,搴撳瓨璋冩暣(QTCKDO5 SYS)"});
             this.txt_qt019.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qt019.Size = new System.Drawing.Size(188, 24);
+            this.txt_qt019.Size = new System.Drawing.Size(157, 24);
             this.txt_qt019.TabIndex = 301;
             // 
             // txt_qt020
             // 
             this.txt_qt020.EditValue = "璇烽�夋嫨";
-            this.txt_qt020.Location = new System.Drawing.Point(328, 49);
+            this.txt_qt020.Location = new System.Drawing.Point(386, 49);
             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)});
@@ -985,12 +982,12 @@
             "1,鏅��(GENERAL)",
             "2,閫�璐�(RETURN)"});
             this.txt_qt020.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
-            this.txt_qt020.Size = new System.Drawing.Size(188, 24);
+            this.txt_qt020.Size = new System.Drawing.Size(157, 24);
             this.txt_qt020.TabIndex = 300;
             // 
             // labelControl11
             // 
-            this.labelControl11.Location = new System.Drawing.Point(845, 117);
+            this.labelControl11.Location = new System.Drawing.Point(906, 117);
             this.labelControl11.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
             this.labelControl11.Name = "labelControl11";
             this.labelControl11.Size = new System.Drawing.Size(45, 18);
@@ -1001,7 +998,7 @@
             // lbGuid
             // 
             this.lbGuid.AutoSize = true;
-            this.lbGuid.Location = new System.Drawing.Point(961, 87);
+            this.lbGuid.Location = new System.Drawing.Point(995, 87);
             this.lbGuid.Name = "lbGuid";
             this.lbGuid.Size = new System.Drawing.Size(0, 21);
             this.lbGuid.TabIndex = 1;
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
index 2f106f0..ff2580e 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQt.cs
@@ -29,7 +29,7 @@
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
-            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "qt015", "", (value) =>
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "isChk", "", (value) =>
             {
                 Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
             });
@@ -49,13 +49,9 @@
                 if (string.IsNullOrEmpty(_orgId))
                     return;
                 txt_qt008.getSuppler(_orgId);
-                var _obj = new
-                {
-                    currentPage = 1,
-                    everyPageSize = 999999,
-                    sortName = "",
-                    keyWhere = "",
-                };
+                System.Text.StringBuilder sbWhere = new System.Text.StringBuilder();
+                sbWhere.Append(" and a.FSubsidiary ='" + _orgId + "'");
+                var _obj = new PageQueryModel(1, 999999, "item_no", "asc", "", sbWhere.ToString(),"");
                 var json = JsonConvert.SerializeObject(_obj);
                 try
                 {
@@ -339,9 +335,12 @@
                 ToolBox.MsgHelper.Warning("鎻愮ず锛�" + _rtn.rtnMsg);
                 if (_rtn.rtnCode > 0)
                 {
-                    lbGuid.Text = _rtn.rtnData;
+                    lbGuid.Text = _rtn.rtnData.outGuid;
+                    txt_qtck.Text = _rtn.rtnData.outNo;
                     toolBarMenu1.isSetBtn = true;
-                    UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false);
+                    List<DevExpress.XtraGrid.Views.Grid.GridView> gvList = new List<DevExpress.XtraGrid.Views.Grid.GridView>();
+                    gvList.Add(gvMx1);
+                    UtilityHelper.ChangeEnableByControl(this.panel1.Controls, false, gvList);
                 }
             }
             catch (Exception ex)
@@ -507,12 +506,16 @@
                     JsonConvert.SerializeObject(_obj));
                 var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                 MsgHelper.Warning(_rtn.rtnData.outMsg.ToString());
-                if (_rtn.rtnCode > 0)
+                if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0)
                 {
                     if (xtraTabControl1.SelectedTabPageIndex == 1)
+                    {
                         getModel(lbGuid.Text.Trim());
-                    else
-                        getPageList(this.pageBar1.CurrentPage);
+                    }
+                    int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid);
+                    gridView1.FocusedRowHandle = rowHandle;
+                    Form parentForm = this.FindForm();
+                    UtilityHelper.SetCheckIco(gridView1, "isChk", "qt016", "qt002", picCheckBox, parentForm, _inFieldValue.ToString());
                 }
             }
             catch (Exception ex)
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.Designer.cs
similarity index 93%
rename from DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.Designer.cs
rename to DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.Designer.cs
index aee9817..68ffa7c 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.Designer.cs
@@ -1,6 +1,6 @@
 锘縩amespace Gs.DevApp.DevFrm.Ck
 {
-    partial class Frm_MesItemQtCk
+    partial class Frm_MesItemQtDj
     {
 
 
@@ -30,29 +30,8 @@
         /// </summary>
         private void InitializeComponent()
         {
-            this.gvMx2remark = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx2depotSectionCode = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx2depotCode = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx2quantity = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx2lotNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx2itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx2itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
             this.tabMxPage2 = new DevExpress.XtraTab.XtraTabPage();
-            this.gcMx2 = new DevExpress.XtraGrid.GridControl();
-            this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView();
-            this.gvMx1itemId = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1tlQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1rkQty = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1workNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1remark = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1createDate = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1createBy = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1quantity = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
-            this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
             this.tabMxPage1 = new DevExpress.XtraTab.XtraTabPage();
-            this.gcMx1 = new DevExpress.XtraGrid.GridControl();
-            this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
             this.lb_depotId = new DevExpress.XtraEditors.LabelControl();
             this.gv_pbillNo = new DevExpress.XtraGrid.Columns.GridColumn();
             this.gv_boardItem = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -105,12 +84,32 @@
             this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
             this.lbGuid = new System.Windows.Forms.Label();
             this.picCheckBox = new System.Windows.Forms.PictureBox();
+            this.gcMx1 = new DevExpress.XtraGrid.GridControl();
+            this.gvMx1 = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.gvMx1guid = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1workNo = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1itemId = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1createBy = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1createDate = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1quantity = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1tlQty = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx1remark = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gcMx2 = new DevExpress.XtraGrid.GridControl();
+            this.gvMx2 = new DevExpress.XtraGrid.Views.Grid.GridView();
+            this.gvMx2itemBarcode = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx2itemNo = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx2lotNo = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx2quantity = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx2depotCode = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx2depotSectionCode = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
+            this.gvMx2remark = new DevExpress.XtraGrid.Columns.GridColumn();
             this.tabMxPage2.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
             this.tabMxPage1.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_outType.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_workNo.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).BeginInit();
@@ -131,98 +130,11 @@
             this.panel1.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).BeginInit();
             this.SuspendLayout();
-            // 
-            // gvMx2remark
-            // 
-            this.gvMx2remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2remark.AppearanceCell.Options.UseFont = true;
-            this.gvMx2remark.Caption = "澶囨敞 ";
-            this.gvMx2remark.FieldName = "remark";
-            this.gvMx2remark.MinWidth = 50;
-            this.gvMx2remark.Name = "gvMx2remark";
-            this.gvMx2remark.Tag = "query_a.REMARK";
-            this.gvMx2remark.Visible = true;
-            this.gvMx2remark.VisibleIndex = 6;
-            this.gvMx2remark.Width = 94;
-            // 
-            // gvMx2depotSectionCode
-            // 
-            this.gvMx2depotSectionCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2depotSectionCode.AppearanceCell.Options.UseFont = true;
-            this.gvMx2depotSectionCode.Caption = "璐т綅缂栫爜 ";
-            this.gvMx2depotSectionCode.FieldName = "depotSectionCode";
-            this.gvMx2depotSectionCode.MinWidth = 50;
-            this.gvMx2depotSectionCode.Name = "gvMx2depotSectionCode";
-            this.gvMx2depotSectionCode.Tag = "query_a.DEPOT_SECTION_CODE";
-            this.gvMx2depotSectionCode.Visible = true;
-            this.gvMx2depotSectionCode.VisibleIndex = 5;
-            this.gvMx2depotSectionCode.Width = 94;
-            // 
-            // gvMx2depotCode
-            // 
-            this.gvMx2depotCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2depotCode.AppearanceCell.Options.UseFont = true;
-            this.gvMx2depotCode.Caption = "浠撳簱缂栫爜 ";
-            this.gvMx2depotCode.FieldName = "depotCode";
-            this.gvMx2depotCode.MinWidth = 50;
-            this.gvMx2depotCode.Name = "gvMx2depotCode";
-            this.gvMx2depotCode.Tag = "query_a.DEPOT_CODE";
-            this.gvMx2depotCode.Visible = true;
-            this.gvMx2depotCode.VisibleIndex = 4;
-            this.gvMx2depotCode.Width = 94;
-            // 
-            // gvMx2quantity
-            // 
-            this.gvMx2quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2quantity.AppearanceCell.Options.UseFont = true;
-            this.gvMx2quantity.Caption = "鏁伴噺";
-            this.gvMx2quantity.FieldName = "quantity";
-            this.gvMx2quantity.MinWidth = 50;
-            this.gvMx2quantity.Name = "gvMx2quantity";
-            this.gvMx2quantity.Tag = "query_a.QUANTITY";
-            this.gvMx2quantity.Visible = true;
-            this.gvMx2quantity.VisibleIndex = 3;
-            this.gvMx2quantity.Width = 94;
-            // 
-            // gvMx2lotNo
-            // 
-            this.gvMx2lotNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2lotNo.AppearanceCell.Options.UseFont = true;
-            this.gvMx2lotNo.Caption = "鐗╂枡鍚嶇О";
-            this.gvMx2lotNo.FieldName = "lotNo";
-            this.gvMx2lotNo.MinWidth = 50;
-            this.gvMx2lotNo.Name = "gvMx2lotNo";
-            this.gvMx2lotNo.Tag = "query_a.LOT_NO";
-            this.gvMx2lotNo.Visible = true;
-            this.gvMx2lotNo.VisibleIndex = 2;
-            this.gvMx2lotNo.Width = 94;
-            // 
-            // gvMx2itemNo
-            // 
-            this.gvMx2itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2itemNo.AppearanceCell.Options.UseFont = true;
-            this.gvMx2itemNo.Caption = "鐗╂枡缂栫爜";
-            this.gvMx2itemNo.FieldName = "itemNo";
-            this.gvMx2itemNo.MinWidth = 50;
-            this.gvMx2itemNo.Name = "gvMx2itemNo";
-            this.gvMx2itemNo.Tag = "query_a.ITEM_NO";
-            this.gvMx2itemNo.Visible = true;
-            this.gvMx2itemNo.VisibleIndex = 1;
-            this.gvMx2itemNo.Width = 94;
-            // 
-            // gvMx2itemBarcode
-            // 
-            this.gvMx2itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx2itemBarcode.AppearanceCell.Options.UseFont = true;
-            this.gvMx2itemBarcode.Caption = "鐗╂枡鏉$爜";
-            this.gvMx2itemBarcode.FieldName = "itemBarcode";
-            this.gvMx2itemBarcode.MinWidth = 50;
-            this.gvMx2itemBarcode.Name = "gvMx2itemBarcode";
-            this.gvMx2itemBarcode.Tag = "query_a.ITEM_BARCODE";
-            this.gvMx2itemBarcode.Visible = true;
-            this.gvMx2itemBarcode.VisibleIndex = 0;
-            this.gvMx2itemBarcode.Width = 94;
             // 
             // tabMxPage2
             // 
@@ -231,201 +143,12 @@
             this.tabMxPage2.Size = new System.Drawing.Size(1124, 417);
             this.tabMxPage2.Text = "鍑哄簱鏉$爜";
             // 
-            // gcMx2
-            // 
-            this.gcMx2.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.gcMx2.Location = new System.Drawing.Point(0, 0);
-            this.gcMx2.MainView = this.gvMx2;
-            this.gcMx2.Name = "gcMx2";
-            this.gcMx2.Size = new System.Drawing.Size(1124, 417);
-            this.gcMx2.TabIndex = 0;
-            this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
-            this.gvMx2});
-            // 
-            // gvMx2
-            // 
-            this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
-            this.gvMx2itemBarcode,
-            this.gvMx2itemNo,
-            this.gvMx2lotNo,
-            this.gvMx2quantity,
-            this.gvMx2depotCode,
-            this.gvMx2depotSectionCode,
-            this.gvMx2remark});
-            this.gvMx2.GridControl = this.gcMx2;
-            this.gvMx2.Name = "gvMx2";
-            this.gvMx2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
-            this.gvMx2.OptionsFind.ShowSearchNavButtons = false;
-            this.gvMx2.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
-            this.gvMx2.OptionsView.ShowGroupPanel = false;
-            // 
-            // gvMx1itemId
-            // 
-            this.gvMx1itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1itemId.AppearanceCell.Options.UseFont = true;
-            this.gvMx1itemId.Caption = "鐗╂枡ID ";
-            this.gvMx1itemId.FieldName = "itemId";
-            this.gvMx1itemId.MinWidth = 50;
-            this.gvMx1itemId.Name = "gvMx1itemId";
-            this.gvMx1itemId.Tag = "query_a.item_id";
-            this.gvMx1itemId.Visible = true;
-            this.gvMx1itemId.VisibleIndex = 9;
-            this.gvMx1itemId.Width = 94;
-            // 
-            // gvMx1tlQty
-            // 
-            this.gvMx1tlQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1tlQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1tlQty.Caption = "宸叉壂鏁伴噺 ";
-            this.gvMx1tlQty.FieldName = "tlQty";
-            this.gvMx1tlQty.MinWidth = 50;
-            this.gvMx1tlQty.Name = "gvMx1tlQty";
-            this.gvMx1tlQty.Tag = "query_a.tl_qty";
-            this.gvMx1tlQty.Visible = true;
-            this.gvMx1tlQty.VisibleIndex = 8;
-            this.gvMx1tlQty.Width = 94;
-            // 
-            // gvMx1rkQty
-            // 
-            this.gvMx1rkQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1rkQty.AppearanceCell.Options.UseFont = true;
-            this.gvMx1rkQty.Caption = "宸插叆搴撴暟 ";
-            this.gvMx1rkQty.FieldName = "rkQty";
-            this.gvMx1rkQty.MinWidth = 50;
-            this.gvMx1rkQty.Name = "gvMx1rkQty";
-            this.gvMx1rkQty.Tag = "query_a.rk_qty";
-            this.gvMx1rkQty.Visible = true;
-            this.gvMx1rkQty.VisibleIndex = 7;
-            this.gvMx1rkQty.Width = 94;
-            // 
-            // gvMx1workNo
-            // 
-            this.gvMx1workNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1workNo.AppearanceCell.Options.UseFont = true;
-            this.gvMx1workNo.Caption = "浠诲姟鍗曞彿";
-            this.gvMx1workNo.FieldName = "workNo";
-            this.gvMx1workNo.MinWidth = 50;
-            this.gvMx1workNo.Name = "gvMx1workNo";
-            this.gvMx1workNo.Tag = "query_a.work_no";
-            this.gvMx1workNo.Visible = true;
-            this.gvMx1workNo.VisibleIndex = 6;
-            this.gvMx1workNo.Width = 94;
-            // 
-            // gvMx1remark
-            // 
-            this.gvMx1remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1remark.AppearanceCell.Options.UseFont = true;
-            this.gvMx1remark.Caption = "澶囨敞淇℃伅 ";
-            this.gvMx1remark.FieldName = "remark";
-            this.gvMx1remark.MinWidth = 50;
-            this.gvMx1remark.Name = "gvMx1remark";
-            this.gvMx1remark.Tag = "query_a.remark";
-            this.gvMx1remark.Visible = true;
-            this.gvMx1remark.VisibleIndex = 5;
-            this.gvMx1remark.Width = 94;
-            // 
-            // gvMx1createDate
-            // 
-            this.gvMx1createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1createDate.AppearanceCell.Options.UseFont = true;
-            this.gvMx1createDate.Caption = "鐗╂枡瑙勬牸";
-            this.gvMx1createDate.FieldName = "createDate";
-            this.gvMx1createDate.MinWidth = 50;
-            this.gvMx1createDate.Name = "gvMx1createDate";
-            this.gvMx1createDate.Tag = "query_a.create_date";
-            this.gvMx1createDate.Visible = true;
-            this.gvMx1createDate.VisibleIndex = 4;
-            this.gvMx1createDate.Width = 94;
-            // 
-            // gvMx1createBy
-            // 
-            this.gvMx1createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1createBy.AppearanceCell.Options.UseFont = true;
-            this.gvMx1createBy.Caption = "鐗╂枡鍚嶇О";
-            this.gvMx1createBy.FieldName = "createBy";
-            this.gvMx1createBy.MinWidth = 50;
-            this.gvMx1createBy.Name = "gvMx1createBy";
-            this.gvMx1createBy.Tag = "query_a.create_by";
-            this.gvMx1createBy.Visible = true;
-            this.gvMx1createBy.VisibleIndex = 3;
-            this.gvMx1createBy.Width = 94;
-            // 
-            // gvMx1quantity
-            // 
-            this.gvMx1quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1quantity.AppearanceCell.Options.UseFont = true;
-            this.gvMx1quantity.Caption = "鐢宠鏁伴噺 ";
-            this.gvMx1quantity.FieldName = "quantity";
-            this.gvMx1quantity.MinWidth = 50;
-            this.gvMx1quantity.Name = "gvMx1quantity";
-            this.gvMx1quantity.Tag = "query_a.quantity";
-            this.gvMx1quantity.Visible = true;
-            this.gvMx1quantity.VisibleIndex = 2;
-            this.gvMx1quantity.Width = 94;
-            // 
-            // gvMx1itemNo
-            // 
-            this.gvMx1itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1itemNo.AppearanceCell.Options.UseFont = true;
-            this.gvMx1itemNo.Caption = "鐗╂枡缂栧彿 ";
-            this.gvMx1itemNo.FieldName = "itemNo";
-            this.gvMx1itemNo.MinWidth = 50;
-            this.gvMx1itemNo.Name = "gvMx1itemNo";
-            this.gvMx1itemNo.Tag = "query_a.item_no";
-            this.gvMx1itemNo.Visible = true;
-            this.gvMx1itemNo.VisibleIndex = 1;
-            this.gvMx1itemNo.Width = 94;
-            // 
-            // gvMx1guid
-            // 
-            this.gvMx1guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
-            this.gvMx1guid.AppearanceCell.Options.UseFont = true;
-            this.gvMx1guid.Caption = "guid ";
-            this.gvMx1guid.FieldName = "guid";
-            this.gvMx1guid.MinWidth = 50;
-            this.gvMx1guid.Name = "gvMx1guid";
-            this.gvMx1guid.Tag = "query_a.guid";
-            this.gvMx1guid.Visible = true;
-            this.gvMx1guid.VisibleIndex = 0;
-            this.gvMx1guid.Width = 94;
-            // 
             // tabMxPage1
             // 
             this.tabMxPage1.Controls.Add(this.gcMx1);
             this.tabMxPage1.Name = "tabMxPage1";
             this.tabMxPage1.Size = new System.Drawing.Size(1124, 417);
             this.tabMxPage1.Text = "鍑哄簱鏄庣粏";
-            // 
-            // gcMx1
-            // 
-            this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.gcMx1.Location = new System.Drawing.Point(0, 0);
-            this.gcMx1.MainView = this.gvMx1;
-            this.gcMx1.Name = "gcMx1";
-            this.gcMx1.Size = new System.Drawing.Size(1124, 417);
-            this.gcMx1.TabIndex = 0;
-            this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
-            this.gvMx1});
-            // 
-            // gvMx1
-            // 
-            this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
-            this.gvMx1guid,
-            this.gvMx1workNo,
-            this.gvMx1itemNo,
-            this.gvMx1createBy,
-            this.gvMx1createDate,
-            this.gvMx1quantity,
-            this.gvMx1remark,
-            this.gvMx1rkQty,
-            this.gvMx1tlQty,
-            this.gvMx1itemId});
-            this.gvMx1.GridControl = this.gcMx1;
-            this.gvMx1.Name = "gvMx1";
-            this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
-            this.gvMx1.OptionsFind.ShowSearchNavButtons = false;
-            this.gvMx1.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
-            this.gvMx1.OptionsView.ShowGroupPanel = false;
             // 
             // lb_depotId
             // 
@@ -443,7 +166,7 @@
             this.gv_pbillNo.AppearanceCell.Options.UseFont = true;
             this.gv_pbillNo.Caption = "宸ュ崟鍗曞彿";
             this.gv_pbillNo.FieldName = "pbillNo";
-            this.gv_pbillNo.MinWidth = 50;
+            this.gv_pbillNo.MinWidth = 25;
             this.gv_pbillNo.Name = "gv_pbillNo";
             this.gv_pbillNo.OptionsColumn.AllowEdit = false;
             this.gv_pbillNo.Tag = "query_a.pbill_no";
@@ -457,7 +180,7 @@
             this.gv_boardItem.AppearanceCell.Options.UseFont = true;
             this.gv_boardItem.Caption = "浜у搧缂栫爜";
             this.gv_boardItem.FieldName = "boardItem";
-            this.gv_boardItem.MinWidth = 50;
+            this.gv_boardItem.MinWidth = 25;
             this.gv_boardItem.Name = "gv_boardItem";
             this.gv_boardItem.OptionsColumn.AllowEdit = false;
             this.gv_boardItem.Tag = "query_a.board_item";
@@ -490,7 +213,7 @@
             this.gv_outType.AppearanceCell.Options.UseFont = true;
             this.gv_outType.Caption = "鍑哄簱绫诲埆 ";
             this.gv_outType.FieldName = "outType";
-            this.gv_outType.MinWidth = 50;
+            this.gv_outType.MinWidth = 25;
             this.gv_outType.Name = "gv_outType";
             this.gv_outType.OptionsColumn.AllowEdit = false;
             this.gv_outType.Tag = "query_a.out_type";
@@ -523,7 +246,7 @@
             this.gv_workNo.AppearanceCell.Options.UseFont = true;
             this.gv_workNo.Caption = "浠诲姟鍗曞彿";
             this.gv_workNo.FieldName = "workNo";
-            this.gv_workNo.MinWidth = 100;
+            this.gv_workNo.MinWidth = 25;
             this.gv_workNo.Name = "gv_workNo";
             this.gv_workNo.OptionsColumn.AllowEdit = false;
             this.gv_workNo.Tag = "query_a.work_no";
@@ -537,7 +260,7 @@
             this.gv_receiver.AppearanceCell.Options.UseFont = true;
             this.gv_receiver.Caption = "棰嗘枡浜�";
             this.gv_receiver.FieldName = "receiver";
-            this.gv_receiver.MinWidth = 50;
+            this.gv_receiver.MinWidth = 25;
             this.gv_receiver.Name = "gv_receiver";
             this.gv_receiver.OptionsColumn.AllowEdit = false;
             this.gv_receiver.Tag = "query_a.receiver";
@@ -561,7 +284,7 @@
             this.gv_outPart.AppearanceCell.Options.UseFont = true;
             this.gv_outPart.Caption = "棰嗘枡閮ㄩ棬 ";
             this.gv_outPart.FieldName = "outPart";
-            this.gv_outPart.MinWidth = 50;
+            this.gv_outPart.MinWidth = 25;
             this.gv_outPart.Name = "gv_outPart";
             this.gv_outPart.OptionsColumn.AllowEdit = false;
             this.gv_outPart.Tag = "query_a.out_part";
@@ -575,7 +298,7 @@
             this.gv_outDate.AppearanceCell.Options.UseFont = true;
             this.gv_outDate.Caption = "鍑哄簱鏃ユ湡 ";
             this.gv_outDate.FieldName = "outDate";
-            this.gv_outDate.MinWidth = 120;
+            this.gv_outDate.MinWidth = 25;
             this.gv_outDate.Name = "gv_outDate";
             this.gv_outDate.OptionsColumn.AllowEdit = false;
             this.gv_outDate.Tag = "query_a.out_date";
@@ -608,7 +331,7 @@
             this.gv_checkDate.AppearanceCell.Options.UseFont = true;
             this.gv_checkDate.Caption = "瀹℃牳鏃ユ湡 ";
             this.gv_checkDate.FieldName = "checkDate";
-            this.gv_checkDate.MinWidth = 120;
+            this.gv_checkDate.MinWidth = 25;
             this.gv_checkDate.Name = "gv_checkDate";
             this.gv_checkDate.OptionsColumn.AllowEdit = false;
             this.gv_checkDate.Tag = "query_a.check_date";
@@ -641,7 +364,7 @@
             this.gv_checkUser.AppearanceCell.Options.UseFont = true;
             this.gv_checkUser.Caption = "瀹℃牳浜� ";
             this.gv_checkUser.FieldName = "checkUser";
-            this.gv_checkUser.MinWidth = 50;
+            this.gv_checkUser.MinWidth = 25;
             this.gv_checkUser.Name = "gv_checkUser";
             this.gv_checkUser.OptionsColumn.AllowEdit = false;
             this.gv_checkUser.Tag = "query_a.check_user";
@@ -655,7 +378,7 @@
             this.gv_reason.AppearanceCell.Options.UseFont = true;
             this.gv_reason.Caption = "鍑哄簱鍘熷洜 ";
             this.gv_reason.FieldName = "reason";
-            this.gv_reason.MinWidth = 50;
+            this.gv_reason.MinWidth = 25;
             this.gv_reason.Name = "gv_reason";
             this.gv_reason.OptionsColumn.AllowEdit = false;
             this.gv_reason.Tag = "query_a.reason";
@@ -688,7 +411,7 @@
             this.gv_remark.AppearanceCell.Options.UseFont = true;
             this.gv_remark.Caption = "澶囨敞淇℃伅 ";
             this.gv_remark.FieldName = "remark";
-            this.gv_remark.MinWidth = 50;
+            this.gv_remark.MinWidth = 25;
             this.gv_remark.Name = "gv_remark";
             this.gv_remark.OptionsColumn.AllowEdit = false;
             this.gv_remark.Tag = "query_a.remark";
@@ -721,7 +444,7 @@
             this.gv_createDate.AppearanceCell.Options.UseFont = true;
             this.gv_createDate.Caption = "鍒涘缓鏃堕棿";
             this.gv_createDate.FieldName = "createDate";
-            this.gv_createDate.MinWidth = 50;
+            this.gv_createDate.MinWidth = 25;
             this.gv_createDate.Name = "gv_createDate";
             this.gv_createDate.OptionsColumn.AllowEdit = false;
             this.gv_createDate.Tag = "query_a.create_date";
@@ -754,7 +477,7 @@
             this.gv_createBy.AppearanceCell.Options.UseFont = true;
             this.gv_createBy.Caption = "鍒涘缓浜�";
             this.gv_createBy.FieldName = "createBy";
-            this.gv_createBy.MinWidth = 50;
+            this.gv_createBy.MinWidth = 25;
             this.gv_createBy.Name = "gv_createBy";
             this.gv_createBy.OptionsColumn.AllowEdit = false;
             this.gv_createBy.Tag = "query_a.create_by";
@@ -831,7 +554,7 @@
             this.gv_itemOutNo.AppearanceCell.Options.UseFont = true;
             this.gv_itemOutNo.Caption = "鍑哄簱鍗曞彿";
             this.gv_itemOutNo.FieldName = "itemOutNo";
-            this.gv_itemOutNo.MinWidth = 100;
+            this.gv_itemOutNo.MinWidth = 25;
             this.gv_itemOutNo.Name = "gv_itemOutNo";
             this.gv_itemOutNo.OptionsColumn.AllowEdit = false;
             this.gv_itemOutNo.Tag = "query_a.item_out_no";
@@ -900,7 +623,7 @@
             // gridColumn1
             // 
             this.gridColumn1.Caption = "浜у搧鍚嶇О";
-            this.gridColumn1.MinWidth = 120;
+            this.gridColumn1.MinWidth = 25;
             this.gridColumn1.Name = "gridColumn1";
             this.gridColumn1.Visible = true;
             this.gridColumn1.VisibleIndex = 5;
@@ -1049,7 +772,313 @@
             this.picCheckBox.TabStop = false;
             this.picCheckBox.Visible = false;
             // 
-            // Frm_MesItemQtCk
+            // gcMx1
+            // 
+            this.gcMx1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gcMx1.Location = new System.Drawing.Point(0, 0);
+            this.gcMx1.MainView = this.gvMx1;
+            this.gcMx1.Name = "gcMx1";
+            this.gcMx1.Size = new System.Drawing.Size(1124, 417);
+            this.gcMx1.TabIndex = 1;
+            this.gcMx1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+            this.gvMx1});
+            // 
+            // gvMx1
+            // 
+            this.gvMx1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.gvMx1guid,
+            this.gvMx1workNo,
+            this.gvMx1itemNo,
+            this.gvMx1itemId,
+            this.gvMx1createBy,
+            this.gvMx1createDate,
+            this.gvMx1quantity,
+            this.gvMx1tlQty,
+            this.gvMx1remark,
+            this.gridColumn4,
+            this.gridColumn5});
+            this.gvMx1.GridControl = this.gcMx1;
+            this.gvMx1.Name = "gvMx1";
+            this.gvMx1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+            this.gvMx1.OptionsFind.ShowSearchNavButtons = false;
+            this.gvMx1.OptionsView.ShowGroupPanel = false;
+            // 
+            // gvMx1guid
+            // 
+            this.gvMx1guid.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1guid.AppearanceCell.Options.UseFont = true;
+            this.gvMx1guid.Caption = "guid ";
+            this.gvMx1guid.FieldName = "guid";
+            this.gvMx1guid.MinWidth = 50;
+            this.gvMx1guid.Name = "gvMx1guid";
+            this.gvMx1guid.Tag = "query_a.guid";
+            this.gvMx1guid.Width = 94;
+            // 
+            // gvMx1workNo
+            // 
+            this.gvMx1workNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1workNo.AppearanceCell.Options.UseFont = true;
+            this.gvMx1workNo.Caption = "浠诲姟鍗曞彿";
+            this.gvMx1workNo.FieldName = "workNo";
+            this.gvMx1workNo.MinWidth = 50;
+            this.gvMx1workNo.Name = "gvMx1workNo";
+            this.gvMx1workNo.Tag = "query_a.work_no";
+            this.gvMx1workNo.Visible = true;
+            this.gvMx1workNo.VisibleIndex = 0;
+            this.gvMx1workNo.Width = 94;
+            // 
+            // gvMx1itemNo
+            // 
+            this.gvMx1itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1itemNo.AppearanceCell.Options.UseFont = true;
+            this.gvMx1itemNo.Caption = "鐗╂枡缂栧彿 ";
+            this.gvMx1itemNo.FieldName = "itemNo";
+            this.gvMx1itemNo.MinWidth = 50;
+            this.gvMx1itemNo.Name = "gvMx1itemNo";
+            this.gvMx1itemNo.Tag = "query_a.item_no";
+            this.gvMx1itemNo.Visible = true;
+            this.gvMx1itemNo.VisibleIndex = 1;
+            this.gvMx1itemNo.Width = 94;
+            // 
+            // gvMx1itemId
+            // 
+            this.gvMx1itemId.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1itemId.AppearanceCell.Options.UseFont = true;
+            this.gvMx1itemId.Caption = "鐗╂枡ID ";
+            this.gvMx1itemId.FieldName = "itemId";
+            this.gvMx1itemId.MinWidth = 50;
+            this.gvMx1itemId.Name = "gvMx1itemId";
+            this.gvMx1itemId.Tag = "query_a.item_id";
+            this.gvMx1itemId.Visible = true;
+            this.gvMx1itemId.VisibleIndex = 2;
+            this.gvMx1itemId.Width = 94;
+            // 
+            // gvMx1createBy
+            // 
+            this.gvMx1createBy.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1createBy.AppearanceCell.Options.UseFont = true;
+            this.gvMx1createBy.Caption = "鐗╂枡鍚嶇О";
+            this.gvMx1createBy.FieldName = "itemName";
+            this.gvMx1createBy.MinWidth = 50;
+            this.gvMx1createBy.Name = "gvMx1createBy";
+            this.gvMx1createBy.Tag = "query_a.create_by";
+            this.gvMx1createBy.Visible = true;
+            this.gvMx1createBy.VisibleIndex = 3;
+            this.gvMx1createBy.Width = 94;
+            // 
+            // gvMx1createDate
+            // 
+            this.gvMx1createDate.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1createDate.AppearanceCell.Options.UseFont = true;
+            this.gvMx1createDate.Caption = "鐗╂枡瑙勬牸";
+            this.gvMx1createDate.FieldName = "itemModel";
+            this.gvMx1createDate.MinWidth = 50;
+            this.gvMx1createDate.Name = "gvMx1createDate";
+            this.gvMx1createDate.Tag = "query_a.create_date";
+            this.gvMx1createDate.Visible = true;
+            this.gvMx1createDate.VisibleIndex = 4;
+            this.gvMx1createDate.Width = 94;
+            // 
+            // gvMx1quantity
+            // 
+            this.gvMx1quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1quantity.AppearanceCell.Options.UseFont = true;
+            this.gvMx1quantity.Caption = "鐢宠鏁伴噺 ";
+            this.gvMx1quantity.FieldName = "quantity";
+            this.gvMx1quantity.MinWidth = 50;
+            this.gvMx1quantity.Name = "gvMx1quantity";
+            this.gvMx1quantity.Tag = "query_a.quantity";
+            this.gvMx1quantity.Visible = true;
+            this.gvMx1quantity.VisibleIndex = 5;
+            this.gvMx1quantity.Width = 94;
+            // 
+            // gvMx1tlQty
+            // 
+            this.gvMx1tlQty.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1tlQty.AppearanceCell.Options.UseFont = true;
+            this.gvMx1tlQty.Caption = "宸叉壂鏁伴噺 ";
+            this.gvMx1tlQty.FieldName = "tlQty";
+            this.gvMx1tlQty.MinWidth = 50;
+            this.gvMx1tlQty.Name = "gvMx1tlQty";
+            this.gvMx1tlQty.Tag = "query_a.tl_qty";
+            this.gvMx1tlQty.Visible = true;
+            this.gvMx1tlQty.VisibleIndex = 6;
+            this.gvMx1tlQty.Width = 94;
+            // 
+            // gvMx1remark
+            // 
+            this.gvMx1remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx1remark.AppearanceCell.Options.UseFont = true;
+            this.gvMx1remark.Caption = "澶囨敞淇℃伅 ";
+            this.gvMx1remark.FieldName = "remark";
+            this.gvMx1remark.MinWidth = 50;
+            this.gvMx1remark.Name = "gvMx1remark";
+            this.gvMx1remark.Tag = "query_a.remark";
+            this.gvMx1remark.Visible = true;
+            this.gvMx1remark.VisibleIndex = 7;
+            this.gvMx1remark.Width = 94;
+            // 
+            // gridColumn4
+            // 
+            this.gridColumn4.Caption = "寤虹珛鑰�";
+            this.gridColumn4.FieldName = "createBy";
+            this.gridColumn4.MinWidth = 25;
+            this.gridColumn4.Name = "gridColumn4";
+            this.gridColumn4.Visible = true;
+            this.gridColumn4.VisibleIndex = 8;
+            this.gridColumn4.Width = 94;
+            // 
+            // gridColumn5
+            // 
+            this.gridColumn5.Caption = "寤虹珛鏃堕棿";
+            this.gridColumn5.FieldName = "createDate";
+            this.gridColumn5.MinWidth = 25;
+            this.gridColumn5.Name = "gridColumn5";
+            this.gridColumn5.Visible = true;
+            this.gridColumn5.VisibleIndex = 9;
+            this.gridColumn5.Width = 94;
+            // 
+            // gcMx2
+            // 
+            this.gcMx2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gcMx2.Location = new System.Drawing.Point(0, 0);
+            this.gcMx2.MainView = this.gvMx2;
+            this.gcMx2.Name = "gcMx2";
+            this.gcMx2.Size = new System.Drawing.Size(1124, 417);
+            this.gcMx2.TabIndex = 1;
+            this.gcMx2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
+            this.gvMx2});
+            // 
+            // gvMx2
+            // 
+            this.gvMx2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+            this.gvMx2itemBarcode,
+            this.gvMx2itemNo,
+            this.gvMx2lotNo,
+            this.gvMx2quantity,
+            this.gvMx2depotCode,
+            this.gvMx2depotSectionCode,
+            this.gridColumn2,
+            this.gridColumn3,
+            this.gvMx2remark});
+            this.gvMx2.GridControl = this.gcMx2;
+            this.gvMx2.Name = "gvMx2";
+            this.gvMx2.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
+            this.gvMx2.OptionsFind.ShowSearchNavButtons = false;
+            this.gvMx2.OptionsView.ShowGroupPanel = false;
+            // 
+            // gvMx2itemBarcode
+            // 
+            this.gvMx2itemBarcode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2itemBarcode.AppearanceCell.Options.UseFont = true;
+            this.gvMx2itemBarcode.Caption = "鐗╂枡鏉$爜";
+            this.gvMx2itemBarcode.FieldName = "itemBarcode";
+            this.gvMx2itemBarcode.MinWidth = 50;
+            this.gvMx2itemBarcode.Name = "gvMx2itemBarcode";
+            this.gvMx2itemBarcode.Tag = "query_a.ITEM_BARCODE";
+            this.gvMx2itemBarcode.Visible = true;
+            this.gvMx2itemBarcode.VisibleIndex = 0;
+            this.gvMx2itemBarcode.Width = 94;
+            // 
+            // gvMx2itemNo
+            // 
+            this.gvMx2itemNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2itemNo.AppearanceCell.Options.UseFont = true;
+            this.gvMx2itemNo.Caption = "鐗╂枡缂栫爜";
+            this.gvMx2itemNo.FieldName = "itemNo";
+            this.gvMx2itemNo.MinWidth = 50;
+            this.gvMx2itemNo.Name = "gvMx2itemNo";
+            this.gvMx2itemNo.Tag = "query_a.ITEM_NO";
+            this.gvMx2itemNo.Visible = true;
+            this.gvMx2itemNo.VisibleIndex = 1;
+            this.gvMx2itemNo.Width = 94;
+            // 
+            // gvMx2lotNo
+            // 
+            this.gvMx2lotNo.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2lotNo.AppearanceCell.Options.UseFont = true;
+            this.gvMx2lotNo.Caption = "鐗╂枡鍚嶇О";
+            this.gvMx2lotNo.FieldName = "itemName";
+            this.gvMx2lotNo.MinWidth = 50;
+            this.gvMx2lotNo.Name = "gvMx2lotNo";
+            this.gvMx2lotNo.Tag = "query_a.LOT_NO";
+            this.gvMx2lotNo.Visible = true;
+            this.gvMx2lotNo.VisibleIndex = 2;
+            this.gvMx2lotNo.Width = 94;
+            // 
+            // gvMx2quantity
+            // 
+            this.gvMx2quantity.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2quantity.AppearanceCell.Options.UseFont = true;
+            this.gvMx2quantity.Caption = "鏁伴噺";
+            this.gvMx2quantity.FieldName = "quantity";
+            this.gvMx2quantity.MinWidth = 50;
+            this.gvMx2quantity.Name = "gvMx2quantity";
+            this.gvMx2quantity.Tag = "query_a.QUANTITY";
+            this.gvMx2quantity.Visible = true;
+            this.gvMx2quantity.VisibleIndex = 3;
+            this.gvMx2quantity.Width = 94;
+            // 
+            // gvMx2depotCode
+            // 
+            this.gvMx2depotCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2depotCode.AppearanceCell.Options.UseFont = true;
+            this.gvMx2depotCode.Caption = "浠撳簱缂栫爜 ";
+            this.gvMx2depotCode.FieldName = "depotCode";
+            this.gvMx2depotCode.MinWidth = 50;
+            this.gvMx2depotCode.Name = "gvMx2depotCode";
+            this.gvMx2depotCode.Tag = "query_a.DEPOT_CODE";
+            this.gvMx2depotCode.Visible = true;
+            this.gvMx2depotCode.VisibleIndex = 4;
+            this.gvMx2depotCode.Width = 94;
+            // 
+            // gvMx2depotSectionCode
+            // 
+            this.gvMx2depotSectionCode.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2depotSectionCode.AppearanceCell.Options.UseFont = true;
+            this.gvMx2depotSectionCode.Caption = "璐т綅缂栫爜 ";
+            this.gvMx2depotSectionCode.FieldName = "depotSectionCode";
+            this.gvMx2depotSectionCode.MinWidth = 50;
+            this.gvMx2depotSectionCode.Name = "gvMx2depotSectionCode";
+            this.gvMx2depotSectionCode.Tag = "query_a.DEPOT_SECTION_CODE";
+            this.gvMx2depotSectionCode.Visible = true;
+            this.gvMx2depotSectionCode.VisibleIndex = 5;
+            this.gvMx2depotSectionCode.Width = 94;
+            // 
+            // gridColumn2
+            // 
+            this.gridColumn2.Caption = "寤虹珛鑰�";
+            this.gridColumn2.FieldName = "createBy";
+            this.gridColumn2.MinWidth = 25;
+            this.gridColumn2.Name = "gridColumn2";
+            this.gridColumn2.Visible = true;
+            this.gridColumn2.VisibleIndex = 6;
+            this.gridColumn2.Width = 94;
+            // 
+            // gridColumn3
+            // 
+            this.gridColumn3.Caption = "寤虹珛鏃堕棿";
+            this.gridColumn3.FieldName = "createDate";
+            this.gridColumn3.MinWidth = 25;
+            this.gridColumn3.Name = "gridColumn3";
+            this.gridColumn3.Visible = true;
+            this.gridColumn3.VisibleIndex = 7;
+            this.gridColumn3.Width = 94;
+            // 
+            // gvMx2remark
+            // 
+            this.gvMx2remark.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
+            this.gvMx2remark.AppearanceCell.Options.UseFont = true;
+            this.gvMx2remark.Caption = "澶囨敞 ";
+            this.gvMx2remark.FieldName = "remark";
+            this.gvMx2remark.MinWidth = 50;
+            this.gvMx2remark.Name = "gvMx2remark";
+            this.gvMx2remark.Tag = "query_a.REMARK";
+            this.gvMx2remark.Visible = true;
+            this.gvMx2remark.VisibleIndex = 8;
+            this.gvMx2remark.Width = 94;
+            // 
+            // Frm_MesItemQtDj
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
@@ -1057,14 +1086,10 @@
             this.Controls.Add(this.picCheckBox);
             this.Controls.Add(this.xtraTabControl1);
             this.Controls.Add(this.toolBarMenu1);
-            this.Name = "Frm_MesItemQtCk";
-            this.Text = "鐢熶骇棰嗘枡鍗�";
+            this.Name = "Frm_MesItemQtDj";
+            this.Text = "鍏跺畠鍑哄簱鍗�";
             this.tabMxPage2.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
             this.tabMxPage1.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_outType.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_workNo.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.txt_checkDate.Properties)).EndInit();
@@ -1086,6 +1111,10 @@
             this.panel1.PerformLayout();
             ((System.ComponentModel.ISupportInitialize)(this.txt_status.Properties)).EndInit();
             ((System.ComponentModel.ISupportInitialize)(this.picCheckBox)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMx1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvMx1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gcMx2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.gvMx2)).EndInit();
             this.ResumeLayout(false);
 
         }
@@ -1101,29 +1130,8 @@
         private System.Windows.Forms.Label lbGuid;
         private DevExpress.XtraEditors.LabelControl labelControl11;
         private DevExpress.XtraTab.XtraTabControl tabMx;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2remark;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotSectionCode;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotCode;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2quantity;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2lotNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemBarcode;
         private DevExpress.XtraTab.XtraTabPage tabMxPage2;
-        private DevExpress.XtraGrid.GridControl gcMx2;
-        private DevExpress.XtraGrid.Views.Grid.GridView gvMx2;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemId;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tlQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1rkQty;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1workNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1remark;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1createDate;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1createBy;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1quantity;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemNo;
-        private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
         private DevExpress.XtraTab.XtraTabPage tabMxPage1;
-        private DevExpress.XtraGrid.GridControl gcMx1;
-        private DevExpress.XtraGrid.Views.Grid.GridView gvMx1;
         private DevExpress.XtraEditors.LabelControl lb_depotId;
         private DevExpress.XtraGrid.Columns.GridColumn gv_pbillNo;
         private DevExpress.XtraGrid.Columns.GridColumn gv_boardItem;
@@ -1176,5 +1184,29 @@
         private UserControl.UcLookCk depot_id;
         private UserControl.UcLookDepartment txt_outPart;
         private System.Windows.Forms.PictureBox picCheckBox;
+        private DevExpress.XtraGrid.GridControl gcMx1;
+        private DevExpress.XtraGrid.Views.Grid.GridView gvMx1;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1guid;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1workNo;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemNo;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1itemId;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1createBy;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1createDate;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1quantity;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1tlQty;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx1remark;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn4;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn5;
+        private DevExpress.XtraGrid.GridControl gcMx2;
+        private DevExpress.XtraGrid.Views.Grid.GridView gvMx2;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemBarcode;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2itemNo;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2lotNo;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2quantity;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotCode;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2depotSectionCode;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
+        private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
+        private DevExpress.XtraGrid.Columns.GridColumn gvMx2remark;
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.cs b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs
similarity index 89%
rename from DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.cs
rename to DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs
index 211f9e8..7d02caa 100644
--- a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.cs
+++ b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.cs
@@ -1,27 +1,21 @@
-锘縰sing DevExpress.RichEdit.Export;
-using DevExpress.XtraEditors;
-using Gs.DevApp.Entity;
+锘縰sing Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Gs.DevApp.UserControl;
 using Newtonsoft.Json;
 using Newtonsoft.Json.Linq;
 using System;
 using System.Collections.Generic;
-using System.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.Ck
 {
-    public partial class Frm_MesItemQtCk : DevExpress.XtraEditors.XtraForm
+    public partial class Frm_MesItemQtDj : DevExpress.XtraEditors.XtraForm
     {
-        string _webServiceName = "MesItemQtCkManager/";
+        string _webServiceName = "MesItemQtDJManager/";
         List<FilterEntity> _filterList = new List<FilterEntity>();
-        public Frm_MesItemQtCk()
+        public Frm_MesItemQtDj()
         {
             InitializeComponent();
             this.toolBarMenu1.btnLoadClick += ToolBarMenu1_btnLoadClick;
@@ -29,6 +23,9 @@
             this.toolBarMenu1.btnQueryClick += ToolBarMenu1_btnQueryClick;
             toolBarMenu1.btnChkClick += ToolBarMenu1_btnChkClick;
             toolBarMenu1.btnFChkClick += ToolBarMenu1_btnFChkClick;
+            toolBarMenu1.btnLogClick += ToolBarMenu1_btnLogClick;
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx1);
+            Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameterMx(gvMx2);
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, picCheckBox, this, "statusChk", "", (value) =>
             {
                 Gs.DevApp.ToolBox.UtilityHelper.JumpTab(xtraTabControl1, 0);
@@ -51,7 +48,19 @@
             Task.Delay(100);
             getPageList(1);
         }
-
+        /// <summary>
+        /// 鏃ュ織
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void ToolBarMenu1_btnLogClick(object sender, EventArgs e)
+        {
+            toolBarMenu1.guidKey = "";
+            string rowGuid, rowName;
+            (rowGuid, rowName) = UtilityHelper.GetCurrentRow(xtraTabControl1,
+                lbGuid, txt_itemOutNo, gridView1);
+            toolBarMenu1.guidKey = rowGuid;
+        }
 
         /// <summary>
         /// 鍒嗛〉浜嬩欢
@@ -163,6 +172,7 @@
                     {
                         gcMain.DataSource = dt;
                         gcMain.ForceInitialize();
+                        gridView1.BestFitColumns();
                     }
                     else
                         UtilityHelper.SetDefaultTable(gcMain, gridView1);
@@ -219,6 +229,7 @@
                         gcMx1.BindingContext = new BindingContext();
                         gcMx1.DataSource = dt;
                         gcMx1.ForceInitialize();
+                        gvMx1.BestFitColumns();
                     }
                     else
                     {
@@ -235,6 +246,7 @@
                         gcMx2.BindingContext = new BindingContext();
                         gcMx2.DataSource = dt1;
                         gcMx2.ForceInitialize();
+                        gvMx2.BestFitColumns();
                     }
                     else
                     {
@@ -249,7 +261,6 @@
                 ToolBox.MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
             }
         }
-
         private void repositoryItemButtonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
         {
             gvMx2.CloseEditor();
@@ -313,7 +324,6 @@
             }
             if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾" + strMsg + "鍚楋紵"))
                 return;
-
             var _obj = new
             {
                 guid = rowGuid,
@@ -326,19 +336,22 @@
                     JsonConvert.SerializeObject(_obj));
                 var _rtn = UtilityHelper.ReturnToDynamic(strJson);
                 MsgHelper.Warning(_rtn.rtnData.outMsg.ToString());
-                if (_rtn.rtnCode > 0)
+                if (_rtn.rtnCode > 0 && _rtn.rtnData.outSum * 1 > 0)
                 {
                     if (xtraTabControl1.SelectedTabPageIndex == 1)
+                    {
                         getModel(lbGuid.Text.Trim());
-                    else
-                        getPageList(this.pageBar1.CurrentPage);
+                    }
+                    int rowHandle = gridView1.LocateByValue(1, gridView1.Columns["guid"], rowGuid);
+                    gridView1.FocusedRowHandle = rowHandle;
+                    Form parentForm = this.FindForm();
+                    UtilityHelper.SetCheckIco(gridView1, "statusChk", "checkUser", "checkDate", picCheckBox, parentForm, _inFieldValue.ToString());
                 }
             }
             catch (Exception ex)
             {
                 MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
             }
-
         }
     }
 }
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.resx b/DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.resx
similarity index 100%
rename from DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtCk.resx
rename to DevApp/Gs.DevApp/DevFrm/Ck/Frm_MesItemQtDj.resx
diff --git a/DevApp/Gs.DevApp/Gs.DevApp.csproj b/DevApp/Gs.DevApp/Gs.DevApp.csproj
index e108907..25a84c6 100644
--- a/DevApp/Gs.DevApp/Gs.DevApp.csproj
+++ b/DevApp/Gs.DevApp/Gs.DevApp.csproj
@@ -284,11 +284,11 @@
     <Compile Include="DevFrm\Ck\Frm_MesItemClDj.Designer.cs">
       <DependentUpon>Frm_MesItemClDj.cs</DependentUpon>
     </Compile>
-    <Compile Include="DevFrm\Ck\Frm_MesItemQtCk.cs">
+    <Compile Include="DevFrm\Ck\Frm_MesItemQtDj.cs">
       <SubType>Form</SubType>
     </Compile>
-    <Compile Include="DevFrm\Ck\Frm_MesItemQtCk.Designer.cs">
-      <DependentUpon>Frm_MesItemQtCk.cs</DependentUpon>
+    <Compile Include="DevFrm\Ck\Frm_MesItemQtDj.Designer.cs">
+      <DependentUpon>Frm_MesItemQtDj.cs</DependentUpon>
     </Compile>
     <Compile Include="DevFrm\Ck\UcBlcl.cs">
       <SubType>UserControl</SubType>
@@ -941,8 +941,8 @@
     <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemClDj.resx">
       <DependentUpon>Frm_MesItemClDj.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemQtCk.resx">
-      <DependentUpon>Frm_MesItemQtCk.cs</DependentUpon>
+    <EmbeddedResource Include="DevFrm\Ck\Frm_MesItemQtDj.resx">
+      <DependentUpon>Frm_MesItemQtDj.cs</DependentUpon>
     </EmbeddedResource>
     <EmbeddedResource Include="DevFrm\Ck\UcBlcl.resx">
       <DependentUpon>UcBlcl.cs</DependentUpon>

--
Gitblit v1.9.3