wdl 9 mesiacov pred
commit
24d9fcd4ff
100 zmenil súbory, kde vykonal 67674 pridanie a 0 odobranie
  1. 1 0
      Client/.svn/entries
  2. 1 0
      Client/.svn/format
  3. 453 0
      Client/.svn/pristine/00/009fb24fad2dd5828cd29a1009cd8d025b4be80c.svn-base
  4. 474 0
      Client/.svn/pristine/02/02c8baf50c83481003ad22685af04ba99c601f8c.svn-base
  5. BIN
      Client/.svn/pristine/03/0305dc8f27875358aec4bb56955ec0b994497534.svn-base
  6. 374 0
      Client/.svn/pristine/03/037d552aa2f1e19901f08e56fe3a129584c25beb.svn-base
  7. 3269 0
      Client/.svn/pristine/03/0394f01fc1bd55023a62bfb3b233d7f7796cea7e.svn-base
  8. 1173 0
      Client/.svn/pristine/04/0478962dfbeafbc9fd00b29184cc4f0a8ed4f30f.svn-base
  9. 3476 0
      Client/.svn/pristine/05/053db2339ecfc18548dfbf99cb4c522a0144ba34.svn-base
  10. 4160 0
      Client/.svn/pristine/09/097ea6081330b87ea9564a8e0f635d5f0112c761.svn-base
  11. 2977 0
      Client/.svn/pristine/09/099846680522f42c94b5123f1d8b8eaca3d650ca.svn-base
  12. 916 0
      Client/.svn/pristine/0a/0a944d7b32834fb7eeb46840ea4c4fafa082dbbf.svn-base
  13. 373 0
      Client/.svn/pristine/0b/0b5b9b906c778d00c813ada4ab9a0a3ce53ab833.svn-base
  14. 3401 0
      Client/.svn/pristine/0c/0c191c7ab8b94606627301f24f75e973b691a9c5.svn-base
  15. BIN
      Client/.svn/pristine/0c/0ca4a5086bf08f23953907895be2ce792ca320fc.svn-base
  16. 35 0
      Client/.svn/pristine/0f/0fbb4e59f399587827cb65ec1325fad0e73fe602.svn-base
  17. 1417 0
      Client/.svn/pristine/0f/0fd4ca96a6ce5e9b05916ae2a78525c5227a1f85.svn-base
  18. 59 0
      Client/.svn/pristine/10/102c27522787f75526857e52053489d0a4b3425e.svn-base
  19. BIN
      Client/.svn/pristine/10/109caa441baed55c9288171cefbc82d3074a7ee8.svn-base
  20. 303 0
      Client/.svn/pristine/11/11fbb2baaaecaceeaff636ef3223fa7af2278611.svn-base
  21. 3118 0
      Client/.svn/pristine/12/12d2358eff013e0249574c984f049e149dbdddf9.svn-base
  22. 1508 0
      Client/.svn/pristine/15/15ab030448fdf94167db0f261750da0eaf22b1a4.svn-base
  23. BIN
      Client/.svn/pristine/17/17798f478b2e022a74c51f18bcbf44e20c27fcfd.svn-base
  24. 56 0
      Client/.svn/pristine/18/18cbcb9f91b2ff0fb740cb79020e17a20ba4cc91.svn-base
  25. 330 0
      Client/.svn/pristine/19/19b389d13a7f8358ed6799c9dfa253b1dfe787de.svn-base
  26. 1304 0
      Client/.svn/pristine/1b/1b9608be3fa424f5120ed1040d7592ebb3854cb0.svn-base
  27. 139 0
      Client/.svn/pristine/1c/1ccce3dfc0c259433864d5747c3950ca0a30f21a.svn-base
  28. BIN
      Client/.svn/pristine/1e/1eb7832676e9614bde22625816ce57945904348d.svn-base
  29. 129 0
      Client/.svn/pristine/22/220b4996468f2db1e01b3a4affd0cf956baee5d2.svn-base
  30. 63 0
      Client/.svn/pristine/23/2399e57fdb88e5e03bbb3eb824ede51fd2beca1a.svn-base
  31. BIN
      Client/.svn/pristine/23/23bf723c50cda9243f3f7d414be7d505cba7f1d2.svn-base
  32. BIN
      Client/.svn/pristine/23/23dfc00715a6c44f613edda42906a608861b154f.svn-base
  33. 3744 0
      Client/.svn/pristine/24/24072b41287d1d84bba15787d397cf7db509c463.svn-base
  34. 26 0
      Client/.svn/pristine/27/272ac03c09769c2f417ddbb14b5a73a19d679641.svn-base
  35. BIN
      Client/.svn/pristine/29/29ee0b442059d309f871b5ffb93fbc1e754bc91b.svn-base
  36. 409 0
      Client/.svn/pristine/2c/2c4caab3efb435bc66947edc6903fb0b1d55c78b.svn-base
  37. 197 0
      Client/.svn/pristine/2c/2caa4bc6eb3f79739c68e7da67f9479e449d8148.svn-base
  38. 129 0
      Client/.svn/pristine/2e/2e71cd2d997579a444aadf6d2c6a9d5c429af598.svn-base
  39. 113 0
      Client/.svn/pristine/2f/2fc22babdbacb4df151af92118cc4dc28c322cee.svn-base
  40. 278 0
      Client/.svn/pristine/2f/2ff76f0031161cfc0c6c47b1db958f5c3006c05c.svn-base
  41. 19 0
      Client/.svn/pristine/31/31984f5fab6f132f0d9f9cbc2e3a9c389187bb3b.svn-base
  42. 15 0
      Client/.svn/pristine/36/36aa2c1c304cfc47ac903879aa356bbb68a37f59.svn-base
  43. BIN
      Client/.svn/pristine/37/375363c89121be07c5c0407c3e3f47303c7af40c.svn-base
  44. 129 0
      Client/.svn/pristine/38/383fb553004d78164c706aa97618e44c07ecb160.svn-base
  45. 188 0
      Client/.svn/pristine/3a/3a3efa43881f48e6931a7df8f125d6cafbdbbd6d.svn-base
  46. 27 0
      Client/.svn/pristine/3b/3b6d8a93829bd5f3d8b6bfe42fa7d17ed2a0d04a.svn-base
  47. 17 0
      Client/.svn/pristine/3b/3baf9b856d984ca526fe4da0170b6d7ae893e024.svn-base
  48. 2830 0
      Client/.svn/pristine/3c/3ce57988258a3a9b4f1f7e137483f8881bd87ee5.svn-base
  49. 132 0
      Client/.svn/pristine/3d/3da91556c7addfdde457d3d1bc48a0be978f7b2f.svn-base
  50. 526 0
      Client/.svn/pristine/3f/3f1d00566203e57aef1a468bacc1de5ac7e2c958.svn-base
  51. BIN
      Client/.svn/pristine/3f/3fcc6fb115ca88def7bb850d718d624cbef03e0b.svn-base
  52. 255 0
      Client/.svn/pristine/40/408cc60557b41e9745443cec2d968c7b8a818c3f.svn-base
  53. BIN
      Client/.svn/pristine/43/4392e94a6d78d05527e1f2c712d36f9f4c11cf97.svn-base
  54. 400 0
      Client/.svn/pristine/43/43b58babd3532d5e645e2ede7b2baf4d7d54340f.svn-base
  55. 2421 0
      Client/.svn/pristine/44/44278733e1bf1ed44edc89ce84f87a5382e53139.svn-base
  56. 257 0
      Client/.svn/pristine/44/44e745e1220cba01c789fc0554cea91b5e0f25be.svn-base
  57. 129 0
      Client/.svn/pristine/48/48b81e9ed8d312c02a9323ff55f65ad3c8443f7a.svn-base
  58. BIN
      Client/.svn/pristine/48/48d9676b78ddef07e141aa45cc0b1bfcdf51b411.svn-base
  59. 3520 0
      Client/.svn/pristine/49/4936f1944f7424a0d809839e7977fbd89a1480ce.svn-base
  60. BIN
      Client/.svn/pristine/49/4994470c6391501c2d914467ca3d9ed9db0f4be7.svn-base
  61. BIN
      Client/.svn/pristine/4a/4a8376be6d835955eafff2bd2385fad9a444fddf.svn-base
  62. 2954 0
      Client/.svn/pristine/4a/4ab3959979a2a2985d4a21bb888f1d644f4cd62f.svn-base
  63. 129 0
      Client/.svn/pristine/4b/4b853191346b4476c2ca706a90269ea327a7b979.svn-base
  64. 1024 0
      Client/.svn/pristine/4c/4cd7c9e2f354ea4e8ff6c5876e67560c2d77df55.svn-base
  65. 290 0
      Client/.svn/pristine/4f/4fab1dd037d2181be2c061c2de0fa7a9f5cda2f0.svn-base
  66. 126 0
      Client/.svn/pristine/52/52369a1992ce132967c766bbb4664c6bac1aa143.svn-base
  67. 126 0
      Client/.svn/pristine/53/5305b6a6c283aaf9a63babce19931af5db5824f3.svn-base
  68. 2302 0
      Client/.svn/pristine/54/543ebb9356128fe1ae680a1011f4260451c23ba5.svn-base
  69. BIN
      Client/.svn/pristine/55/5503371cd809653a9583695d89ee55676f9f1fe0.svn-base
  70. 70 0
      Client/.svn/pristine/56/56d03fc7e736629a1af610c9af4aebe9fdaafe72.svn-base
  71. BIN
      Client/.svn/pristine/57/578adb5254defe71e81abe5bc5f6832267a80966.svn-base
  72. BIN
      Client/.svn/pristine/58/58adf2ed2b669bf7ed68cfc3ab12774c6981abcc.svn-base
  73. 2829 0
      Client/.svn/pristine/5a/5a3e65fc2d1abc7b07e2878da7e10154dd2f8087.svn-base
  74. 129 0
      Client/.svn/pristine/5a/5af2d29d7339e8dd68e3f767b43212939ad4fcd5.svn-base
  75. BIN
      Client/.svn/pristine/5c/5c491dec9825c16c1ad8cff214b2950b76c711f8.svn-base
  76. 1492 0
      Client/.svn/pristine/5c/5c75a1446d8d8124ad50821355ab11cacbbd0f40.svn-base
  77. BIN
      Client/.svn/pristine/5f/5f16b57d4d15a404953f6e8c754620859143d184.svn-base
  78. 364 0
      Client/.svn/pristine/60/60e608c7e8f535debf0ed0f4cfe70fb8a95b23ba.svn-base
  79. 2914 0
      Client/.svn/pristine/60/60f303441d6a6345285e5c3eb6f26ad8a7f922a2.svn-base
  80. 252 0
      Client/.svn/pristine/62/629ee43f37f0fd3af598e5462a878738d661ad25.svn-base
  81. BIN
      Client/.svn/pristine/62/62c605d882d113aa7713c319e639dae26a5d69a9.svn-base
  82. 2582 0
      Client/.svn/pristine/63/63c2fc19b63826a59427b7d64e0b102f9da92d93.svn-base
  83. 1172 0
      Client/.svn/pristine/65/65b74125de611f7e65567b9353e46870619f8f38.svn-base
  84. 9 0
      Client/.svn/pristine/68/6853aa1f452cdeb8e6f4e3b9e97450115b37ec13.svn-base
  85. BIN
      Client/.svn/pristine/69/6939881d341cb2fdf48a0f1d380960ee7e819a24.svn-base
  86. 12 0
      Client/.svn/pristine/6a/6a93d7b0fb8d6fa6b89d4a652afc9324582bf53f.svn-base
  87. 257 0
      Client/.svn/pristine/6b/6b09ed7c33aa47b4904c98c70a2180cc86140e12.svn-base
  88. BIN
      Client/.svn/pristine/6f/6f6337e3163b96a4215cfb612f87931fea4ce121.svn-base
  89. BIN
      Client/.svn/pristine/70/700733c72c15089207c40e1103b0997c41b262c5.svn-base
  90. BIN
      Client/.svn/pristine/72/727e4bbaa41c75ddf53b36bf5320dbec52e5a2a3.svn-base
  91. 123 0
      Client/.svn/pristine/72/72f3380ce1d3c445d72abcd4ffd6e569a7bfea9f.svn-base
  92. 2914 0
      Client/.svn/pristine/76/764fb249dea84dc8f3a975fd9beb1506db73d7ff.svn-base
  93. BIN
      Client/.svn/pristine/76/76714edb9b60bcf50b5c288d25ae4360bb36be54.svn-base
  94. 120 0
      Client/.svn/pristine/76/76ba21e115920abbcbd61deaa666ab92b5aa18a9.svn-base
  95. BIN
      Client/.svn/pristine/77/77a13a2a331d06d7362fd0ee0f1caf0cbedc46f3.svn-base
  96. BIN
      Client/.svn/pristine/78/78147369bcac902b8aefbe59e26852e0e179bfb6.svn-base
  97. 129 0
      Client/.svn/pristine/79/79cb343cb2d72eb8f308ac92eb5fc9a8a6572d0f.svn-base
  98. 35 0
      Client/.svn/pristine/7a/7a759739fec355cb177dcd98fe9fb523ad93d065.svn-base
  99. BIN
      Client/.svn/pristine/7c/7cf170c5cea89cad49887502586f8f345801ac24.svn-base
  100. 50 0
      Client/.svn/pristine/82/8242997204504a321c4bc9f0b0cb89ae7ca235fd.svn-base

+ 1 - 0
Client/.svn/entries

@@ -0,0 +1 @@
+12

+ 1 - 0
Client/.svn/format

@@ -0,0 +1 @@
+12

+ 453 - 0
Client/.svn/pristine/00/009fb24fad2dd5828cd29a1009cd8d025b4be80c.svn-base

@@ -0,0 +1,453 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+
+using Core.XgMes.Client.StorageBase;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// 中板成品发运综合查询
+	/// </summary>
+	public class TurnoffSendQuery : Core.XgMes.Client.StorageBase.FrmStorageBaseMode
+	{
+		#region "Varible"
+		protected Infragistics.Win.Misc.UltraExpandableGroupBox exp_SetArea;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraGroupBox Grp_QueryCondition;
+		private Infragistics.Win.UltraWinGrid.UltraGrid Grd_Report;
+		#endregion
+        private Core.XgMes.Client.JGKC.SteelPlateManager.UCSendQuery ucSendQuery1;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Core.XgMes.Client.JGKC.SteelPlateManager.UCSendStat ucSendStat1;
+		private System.Windows.Forms.Splitter splitter1;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_IsOut;
+		/// <summary>
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+		public TurnoffSendQuery()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            this.exp_SetArea = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.Grp_QueryCondition = new Infragistics.Win.Misc.UltraGroupBox();
+            this.splitter1 = new System.Windows.Forms.Splitter();
+            this.ucSendStat1 = new Core.XgMes.Client.JGKC.SteelPlateManager.UCSendStat();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ucSendQuery1 = new  Core.XgMes.Client.JGKC.SteelPlateManager.UCSendQuery();
+            this.Grd_Report = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.chk_IsOut = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            ((System.ComponentModel.ISupportInitialize)(this.BaseToolBarManager)).BeginInit();
+            this.FrmBaseMode_Fill_Panel.SuspendLayout();
+            this.Pal_Top.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_Query)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Calc_Manager)).BeginInit();
+            this.Pal_Buttom.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.exp_SetArea)).BeginInit();
+            this.exp_SetArea.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_QueryCondition)).BeginInit();
+            this.Grp_QueryCondition.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Report)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // BaseToolBarManager
+            // 
+            this.BaseToolBarManager.MenuSettings.ForceSerialization = true;
+            this.BaseToolBarManager.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            // 
+            // FrmBaseMode_Fill_Panel
+            // 
+            this.FrmBaseMode_Fill_Panel.Size = new System.Drawing.Size(1028, 424);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Left
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 20);
+            this._FrmBaseMode_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 424);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Right
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1028, 20);
+            this._FrmBaseMode_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 424);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Top
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1028, 20);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Bottom
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 444);
+            // 
+            // Pal_Top
+            // 
+            this.Pal_Top.Size = new System.Drawing.Size(1028, 0);
+            // 
+            // Grp_Query
+            // 
+            this.Grp_Query.Size = new System.Drawing.Size(1028, 0);
+            // 
+            // Pal_Buttom
+            // 
+            this.Pal_Buttom.Controls.Add(this.Grd_Report);
+            this.Pal_Buttom.Controls.Add(this.exp_SetArea);
+            this.Pal_Buttom.Location = new System.Drawing.Point(0, 0);
+            this.Pal_Buttom.Size = new System.Drawing.Size(1028, 424);
+            // 
+            // exp_SetArea
+            // 
+            this.exp_SetArea.BackColor = System.Drawing.SystemColors.Control;
+            this.exp_SetArea.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.exp_SetArea.Dock = System.Windows.Forms.DockStyle.Top;
+            this.exp_SetArea.ExpandedSize = new System.Drawing.Size(1028, 216);
+            this.exp_SetArea.Location = new System.Drawing.Point(0, 0);
+            this.exp_SetArea.Name = "exp_SetArea";
+            this.exp_SetArea.Size = new System.Drawing.Size(1028, 216);
+            this.exp_SetArea.SupportThemes = false;
+            this.exp_SetArea.TabIndex = 2;
+            this.exp_SetArea.Text = "统计模式及查询条件设置区域";
+            this.exp_SetArea.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Grp_QueryCondition);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 22);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 192);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // Grp_QueryCondition
+            // 
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            this.Grp_QueryCondition.ContentAreaAppearance = appearance9;
+            this.Grp_QueryCondition.Controls.Add(this.chk_IsOut);
+            this.Grp_QueryCondition.Controls.Add(this.splitter1);
+            this.Grp_QueryCondition.Controls.Add(this.ucSendStat1);
+            this.Grp_QueryCondition.Controls.Add(this.chk_AllowFilter);
+            this.Grp_QueryCondition.Controls.Add(this.ucSendQuery1);
+            this.Grp_QueryCondition.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grp_QueryCondition.Location = new System.Drawing.Point(0, 0);
+            this.Grp_QueryCondition.Name = "Grp_QueryCondition";
+            this.Grp_QueryCondition.Size = new System.Drawing.Size(1024, 192);
+            this.Grp_QueryCondition.SupportThemes = false;
+            this.Grp_QueryCondition.TabIndex = 1;
+            this.Grp_QueryCondition.Text = "查询条件";
+            this.Grp_QueryCondition.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // splitter1
+            // 
+            this.splitter1.Location = new System.Drawing.Point(752, 20);
+            this.splitter1.Name = "splitter1";
+            this.splitter1.Size = new System.Drawing.Size(3, 170);
+            this.splitter1.TabIndex = 146;
+            this.splitter1.TabStop = false;
+            // 
+            // ucSendStat1
+            // 
+            this.ucSendStat1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ucSendStat1.Location = new System.Drawing.Point(752, 20);
+            this.ucSendStat1.Name = "ucSendStat1";
+            this.ucSendStat1.Size = new System.Drawing.Size(270, 170);
+            this.ucSendStat1.TabIndex = 145;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(559, 167);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 144;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // ucSendQuery1
+            // 
+            this.ucSendQuery1.Dock = System.Windows.Forms.DockStyle.Left;
+            this.ucSendQuery1.Location = new System.Drawing.Point(2, 20);
+            this.ucSendQuery1.Name = "ucSendQuery1";
+            this.ucSendQuery1.Size = new System.Drawing.Size(750, 170);
+            this.ucSendQuery1.TabIndex = 0;
+            // 
+            // Grd_Report
+            // 
+            this.Grd_Report.CalcManager = this.Calc_Manager;
+            this.Grd_Report.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
+            appearance1.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance1.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance1.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance1.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Report.DisplayLayout.GroupByBox.Appearance = appearance1;
+            appearance2.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Report.DisplayLayout.GroupByBox.BandLabelAppearance = appearance2;
+            this.Grd_Report.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Report.DisplayLayout.GroupByBox.Hidden = true;
+            appearance3.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance3.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Report.DisplayLayout.GroupByBox.PromptAppearance = appearance3;
+            this.Grd_Report.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.RaisedSoft;
+            this.Grd_Report.DisplayLayout.Override.CellPadding = 0;
+            appearance4.BackColor = System.Drawing.SystemColors.Control;
+            appearance4.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance4.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Report.DisplayLayout.Override.GroupByRowAppearance = appearance4;
+            appearance5.BackColor = System.Drawing.Color.LightSteelBlue;
+            appearance5.TextHAlign = Infragistics.Win.HAlign.Center;
+            this.Grd_Report.DisplayLayout.Override.HeaderAppearance = appearance5;
+            this.Grd_Report.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.Select;
+            this.Grd_Report.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.Grd_Report.DisplayLayout.Override.MinRowHeight = 21;
+            appearance6.BackColor = System.Drawing.SystemColors.Window;
+            appearance6.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_Report.DisplayLayout.Override.RowAppearance = appearance6;
+            appearance7.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorAppearance = appearance7;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.Grd_Report.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_Report.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
+            appearance8.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_Report.DisplayLayout.Override.TemplateAddRowAppearance = appearance8;
+            this.Grd_Report.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_Report.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_Report.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_Report.Location = new System.Drawing.Point(0, 216);
+            this.Grd_Report.Name = "Grd_Report";
+            this.Grd_Report.Size = new System.Drawing.Size(1028, 208);
+            this.Grd_Report.TabIndex = 42;
+            // 
+            // chk_IsOut
+            // 
+            this.chk_IsOut.Location = new System.Drawing.Point(606, 167);
+            this.chk_IsOut.Name = "chk_IsOut";
+            this.chk_IsOut.Size = new System.Drawing.Size(48, 20);
+            this.chk_IsOut.TabIndex = 147;
+            this.chk_IsOut.TabStop = false;
+            this.chk_IsOut.Text = "出口";
+            // 
+            // TurnoffSendQuery
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1028, 444);
+            this.Name = "TurnoffSendQuery";
+            this.Text = "TurnoffSendQuery";
+            this.Load += new System.EventHandler(this.TurnoffSendQuery_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.BaseToolBarManager)).EndInit();
+            this.FrmBaseMode_Fill_Panel.ResumeLayout(false);
+            this.Pal_Top.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_Query)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Calc_Manager)).EndInit();
+            this.Pal_Buttom.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.exp_SetArea)).EndInit();
+            this.exp_SetArea.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_QueryCondition)).EndInit();
+            this.Grp_QueryCondition.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Report)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region "Init"
+        public string sstyle = "";
+		private void TurnoffSendQuery_Load(object sender, System.EventArgs e)
+		{
+			try
+			{
+				this.ToolBarToolsConfig = this.Key.Split('@')[1];
+				this.DBFileName = this.Key.Split('@')[2];
+                sstyle = this.Key.Split('@')[3];
+				InitFrmDataSet();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void InitFrmDataSet()
+		{
+			try
+			{
+				if(this.DBFileName.Trim().Length >0)
+				{
+					object obj = StorageBaseClass.GetEntityInfo(this.DBFileName,this.ProductName);
+					if(obj!=null)
+					{
+						this._FrmDataSet = obj as System.Data.DataSet;
+						this._FrmDataSet.Tables["KCJ_TURNOFFOUTSTORAGE"].PrimaryKey = null;
+						this._FrmDataSet.Tables["KCJ_TURNOFFOUTSTORAGE"].Constraints.Clear();
+						Init_Frm();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		protected override void Init_Frm()
+		{
+			StorageGridHelper.SetGrid(this.Grd_Report,ref this._FrmDataSet,"KCJ_TURNOFFOUTSTORAGE",new string[]{"KCJ_TURNOFFOUTSTORAGE"});
+			this.Grd_Report.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False; 
+			this.ucSendQuery1.MyDataSet = this._FrmDataSet;
+			foreach(Infragistics.Win.UltraWinGrid.UltraGridColumn col in this.Grd_Report.DisplayLayout.Bands[0].Columns)
+			{
+				col.RowLayoutColumnInfo.SpanY = 1;
+				col.RowLayoutColumnInfo.SpanX = 1;
+			}
+		}
+		#endregion
+
+		#region "ToolBarButton"
+		protected override bool Query()
+		{
+			try
+			{
+				this._FrmDataSet.Tables["KCJ_TURNOFFOUTSTORAGE"].Clear();
+				string where =this.ucSendQuery1.WhereStr;
+				System.Collections.ArrayList ps = new ArrayList();
+				System.Collections.ArrayList pg = new ArrayList();
+				System.Collections.ArrayList ps0 = this.ucSendStat1.SendSelectStr;
+				System.Collections.ArrayList pg0 = this.ucSendStat1.SendGroupbyStr;
+				System.Collections.ArrayList ps1 = this.ucSendStat1.ClearSendSelectStr;
+		
+
+
+
+                System.Collections.ArrayList ps3 = this.ucSendStat1.SendSelectStr1;
+                System.Collections.ArrayList pg3 = this.ucSendStat1.SendGroupbyStr;
+                //string where1 = " ";
+               
+                if (where.IndexOf("A.CLEARFLAG") < 0 && where.IndexOf("A.SENDTYPE='8'") <= 0 && chk_IsOut.Checked==false)
+				{
+					ps.AddRange(ps0);
+					ps.AddRange(ps1);
+					pg.AddRange(pg0);
+                    pg.AddRange(ps1);
+					
+				}
+				else if(where.IndexOf("A.CLEARFLAG='0'")>=0)
+				{
+					ps.AddRange(ps0);
+					pg.AddRange(pg0);
+				}
+				
+                
+               
+				string strerr = "";
+                object obj = "";
+
+                obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffReportList",
+                       "GetOutStorageData", new object[] { where, ps, pg }, out strerr);
+
+				if(obj!=null)
+				{
+					this._FrmDataSet.Merge(obj as System.Data.DataSet);
+					this._FrmDataSet.AcceptChanges();
+					foreach(System.Data.DataColumn col in this._FrmDataSet.Tables["KCJ_TURNOFFOUTSTORAGE"].Columns)
+					{
+						if(!((System.Data.DataSet)obj).Tables[0].Columns.Contains(col.ColumnName))
+						{
+							this.Grd_Report.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = true;
+						}
+						else
+						{
+							this.Grd_Report.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = false;
+						}
+                     
+					}
+				}
+				return true;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return false;
+			}
+		}
+		public void Export()
+		{
+			try
+			{
+				string filename = @"成品发运.xls";
+				base.ultraGridExcelExporter.Export(this.Grd_Report,filename);
+				System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+				st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ; 
+				System.Diagnostics.Process.Start(st);
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if (this.chk_AllowFilter.Checked)
+			{
+				this.Grd_Report.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;				
+				
+			}
+			else
+			{
+				this.Grd_Report.DisplayLayout.Bands[0].ColumnFilters.ClearAllFilters();
+				this.Grd_Report.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;				
+			
+				
+			}
+		}
+
+	
+	}
+}

+ 474 - 0
Client/.svn/pristine/02/02c8baf50c83481003ad22685af04ba99c601f8c.svn-base

@@ -0,0 +1,474 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Text;
+using System.Windows.Forms;
+using Core.XgMes.Client.StorageBase;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    public partial class UCSendQueryJB : UserControl
+    {
+        public UCSendQueryJB()
+        {
+            InitializeComponent();
+        }
+
+
+
+        private string _WhereStr = "";
+        public string WhereStr
+        {
+            get
+            {
+                _WhereStr = GetSteelCondition();
+                _WhereStr = _WhereStr + GetPactNOCondition();
+                _WhereStr = _WhereStr + GetSendDateCondition();
+                _WhereStr = _WhereStr + GetBookInDateCondition();
+                _WhereStr = _WhereStr + GetListCondingCondition();
+                //_WhereStr = _WhereStr + GetIncpNameCondition();
+                //_WhereStr = _WhereStr + GetStationNameCondition();
+                _WhereStr = _WhereStr + GetRollNOCondition();
+                _WhereStr = _WhereStr + GetPlyCondition();
+                _WhereStr = _WhereStr + GetWidthCondition();
+                _WhereStr = _WhereStr + GetLengthCondition();
+                _WhereStr = _WhereStr + GetPlanNOCondition();
+                _WhereStr = _WhereStr + GetVecihleNOCondition();
+                _WhereStr = _WhereStr + GetClassTeamCondition();
+                _WhereStr = _WhereStr + GetSendManCondition();
+                _WhereStr = _WhereStr + GetSendType();
+            
+                _WhereStr = _WhereStr + GetCondole();
+                _WhereStr = _WhereStr + GetBookInManCondition();
+                _WhereStr = _WhereStr + GetGJH();
+                //_WhereStr = _WhereStr + GetQuality();
+                //_WhereStr = _WhereStr + GetPLCondition();
+               // _WhereStr = _WhereStr + GetCutStateCondition();
+                return _WhereStr;
+            }
+        }
+        #region "Method"
+     
+        private string GetSteelCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_SteelName.Checked && this.Cmb_SteelName.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.SPEC_STL_GRD LIKE '" + this.Cmb_SteelName.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //合同号B
+        private string GetPactNOCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_PactNO.Checked && this.txt_PactNO.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND B.ORD_NO LIKE '%" + this.txt_PactNO.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //发运日期A
+        private string GetSendDateCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_SendDate.Checked && this.Dte_SendBegin.Value != null)
+                {
+                    rtnStr = " AND TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')>='" + Convert.ToDateTime(this.Dte_SendBegin.Value).ToString("yy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')<='" + Convert.ToDateTime(this.Dte_SendEnd.Value).ToString("yy-MM-dd") + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //登记日期A
+        private string GetBookInDateCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_BookInDate.Checked && this.Dte_BookInBegin.Value != null)
+                {
+                    rtnStr = " AND TO_CHAR(A.CREATETIME,'YY-MM-DD')>='" + Convert.ToDateTime(this.Dte_BookInBegin.Value).ToString("yy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.CREATETIME,'YY-MM-DD')<='" + Convert.ToDateTime(this.Dte_BookInEnd.Value).ToString("yy-MM-dd") + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //发运明细A
+        private string GetListCondingCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_ListCode.Checked && this.txt_ListCodingEnd.Text.Trim().Length > 0)
+                {
+
+                    rtnStr = " AND A.LISTNUMBER LIKE '%" + this.txt_ListCodingEnd.Text.Trim() + "%' ";
+                }
+               
+
+
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+     
+        ////收货单位C
+        private string GetIncpNameCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_IncpName.Checked && this.txt_IncpName.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND C.CUST_CD LIKE '%" + this.txt_IncpName.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        ////到站D
+        private string GetStationNameCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_StationName.Checked && this.txt_StationName.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND D.SM_CD LIKE '%" + this.txt_StationName.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //钢卷包号
+        private string GetRollNOCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.chk_RollNum.Checked && this.txt_BH.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.COIL_NO_ID LIKE '%" + this.txt_BH.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //厚度
+        private string GetPlyCondition()
+        {
+            try
+            {
+                if (this.chk_Ply.Checked)
+                {
+                    string rtnStr = "";
+                    if (StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value) > 0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value) == 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_PLY=" + StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value);
+                        return rtnStr;
+                    }
+                    if (StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value) == 0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value) > 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_PLY<=" + StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
+                        return rtnStr;
+                    }
+                    if (StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value) > 0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value) > 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_PLY>=" + StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value)
+                            + " AND A.ZSLAB_PLY<=" + StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
+                        return rtnStr;
+                    }
+                }
+                return "";
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //宽度
+        private string GetWidthCondition()
+        {
+            try
+            {
+                if (this.chk_Width.Checked)
+                {
+                    string rtnStr = "";
+                    if (StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value) > 0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value) == 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_WIDTH=" + StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value);
+                        return rtnStr;
+                    }
+                    if (StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value) == 0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value) > 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_WIDTH<=" + StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
+                        return rtnStr;
+                    }
+                    if (StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value) > 0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value) > 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_WIDTH>=" + StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value)
+                            + " AND A.ZSLAB_WIDTH<=" + StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
+                        return rtnStr;
+                    }
+                }
+                return "";
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //长度
+        private string GetLengthCondition()
+        {
+            try
+            {
+                if (this.chk_Length.Checked)
+                {
+                    string rtnStr = "";
+                    if (StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value) > 0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value) == 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_LENGTH=" + StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value);
+                        return rtnStr;
+                    }
+                    if (StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value) == 0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value) > 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_LENGTH<=" + StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
+                        return rtnStr;
+                    }
+                    if (StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value) > 0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value) > 0)
+                    {
+                        rtnStr = " AND A.ZSLAB_LENGTH>=" + StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value)
+                            + " AND A.ZSLAB_LENGTH<=" + StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
+                        return rtnStr;
+                    }
+                }
+                return "";
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //批号
+        private string GetPlanNOCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_Condole.Checked && this.Txt_Condole.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.SLAB_NO LIKE '%" + this.Txt_Condole.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //车牌号
+        private string GetVecihleNOCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_VecihleNO.Checked && this.txt_VecihleNO.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.TRAINWAGON LIKE '%" + this.txt_VecihleNO.Text.Trim() + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //班组
+        private string GetClassTeamCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_ClassTeam.Checked && StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value).Length > 0)
+                {
+                    rtnStr = " AND A.CLASSTEAM='" + StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value) + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //发运人
+        private string GetSendManCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_SendMan.Checked && this.txt_SendMan.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.PICKSTORAGEMAN='" + this.txt_SendMan.Text.Trim() + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //发运明细的登记人
+        private string GetBookInManCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_BookInMan.Checked && this.txt_BookInMan.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.CREATOR='" + this.txt_BookInMan.Text.Trim() + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //钢卷号
+        private string GetGJH()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.ultChk_SampleNo.Checked && this.txt_SampleNo.Text.Trim().Length > 0)
+                {
+                    rtnStr = " AND A.OLD_SAMPL_NO LIKE '" + this.txt_SampleNo.Text.Trim() + "%' ";
+                }
+                
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //获得发运类型的条件
+        private string GetSendType()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.Chk_SendType.Checked && StorageBaseClass.CheckNullStr(this.Cmb_SendType.Value).Length > 0)
+                {
+                    rtnStr = " AND A.SENDTYPE='" + StorageBaseClass.CheckNullStr(this.Cmb_SendType.Value) + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+        //发运号码
+        private string GetCondole()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.chk_SendNo.Checked && this.txt_SendNo.Text.Length > 0)
+                {
+                    rtnStr = " AND A.PLANVEHICLEID LIKE '%" + this.txt_SendNo.Text + "%' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+
+        private void UCSendQueryJB_Load(object sender, EventArgs e)
+        {
+            this.Cmb_SendType.Value = "0";
+        }
+        //获得是正品还是次品的条件
+        //private string GetQuality()
+        //{
+        //    try
+        //    {
+        //        if ((this.Chk_IsGood.Checked && this.Chk_IsWaster.Checked) | (!this.Chk_IsGood.Checked && !this.Chk_IsWaster.Checked))
+        //            return "";
+        //        if (this.Chk_IsWaster.Checked)
+        //            return " AND (A.CLIPTYPEPROCESS LIKE '10301%' OR A.DETERMINANTRESULT LIKE '401403%' OR A.DETERMINANTRESULT LIKE '401404%') ";
+        //        if (this.Chk_IsGood.Checked)
+        //            return " AND (A.CLIPTYPEPROCESS NOT LIKE '10301%'  AND A.DETERMINANTRESULT  LIKE '401401%') ";
+        //        return "";
+        //    }
+        //    catch (System.Exception ex)
+        //    {
+        //        System.Diagnostics.Debug.WriteLine(ex.ToString());
+        //        return "";
+        //    }
+        //}
+        #endregion
+    }
+}

BIN
Client/.svn/pristine/03/0305dc8f27875358aec4bb56955ec0b994497534.svn-base


+ 374 - 0
Client/.svn/pristine/03/037d552aa2f1e19901f08e56fe3a129584c25beb.svn-base

@@ -0,0 +1,374 @@
+namespace Core.XgMes.Client.ZBKC.TurnoffReport
+{
+    partial class frmKCJListQuery
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnQuery");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExport");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExt");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnQuery");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExport");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExt");
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.panel1_Fill_Panel = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.frmZBKCListQuery_Fill_Panel = new System.Windows.Forms.Panel();
+            this.Grd_Report = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.exp_SetArea = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.Grp_QueryCondition = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_fs = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ctlKCJListStat1 = new Core.XgMes.Client.Control.ctlKCJListStat();
+            this.ctlKCJListQuery1 = new Core.XgMes.Client.Control.ctlKCJListQuery();
+            this.ultraGridExcelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            this.frmZBKCListQuery_Fill_Panel.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Report)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.exp_SetArea)).BeginInit();
+            this.exp_SetArea.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_QueryCondition)).BeginInit();
+            this.Grp_QueryCondition.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.panel1_Fill_Panel);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1004, 25);
+            this.panel1.TabIndex = 0;
+            // 
+            // panel1_Fill_Panel
+            // 
+            this.panel1_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
+            this.panel1_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1_Fill_Panel.Location = new System.Drawing.Point(0, 24);
+            this.panel1_Fill_Panel.Name = "panel1_Fill_Panel";
+            this.panel1_Fill_Panel.Size = new System.Drawing.Size(1004, 1);
+            this.panel1_Fill_Panel.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 1);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool4.SharedProps.Caption = "查询";
+            buttonTool4.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool5.SharedProps.Caption = "导出";
+            buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool6.SharedProps.Caption = "退出";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1004, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 1);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1004, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 25);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1004, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // frmZBKCListQuery_Fill_Panel
+            // 
+            this.frmZBKCListQuery_Fill_Panel.Controls.Add(this.Grd_Report);
+            this.frmZBKCListQuery_Fill_Panel.Controls.Add(this.exp_SetArea);
+            this.frmZBKCListQuery_Fill_Panel.Controls.Add(this.panel1);
+            this.frmZBKCListQuery_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
+            this.frmZBKCListQuery_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.frmZBKCListQuery_Fill_Panel.Location = new System.Drawing.Point(0, 0);
+            this.frmZBKCListQuery_Fill_Panel.Name = "frmZBKCListQuery_Fill_Panel";
+            this.frmZBKCListQuery_Fill_Panel.Size = new System.Drawing.Size(1004, 722);
+            this.frmZBKCListQuery_Fill_Panel.TabIndex = 0;
+            // 
+            // Grd_Report
+            // 
+            ultraGridBand1.UseRowLayout = true;
+            this.Grd_Report.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.Grd_Report.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
+            appearance1.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance1.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance1.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance1.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Report.DisplayLayout.GroupByBox.Appearance = appearance1;
+            appearance2.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Report.DisplayLayout.GroupByBox.BandLabelAppearance = appearance2;
+            this.Grd_Report.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Report.DisplayLayout.GroupByBox.Hidden = true;
+            appearance3.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance3.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Report.DisplayLayout.GroupByBox.PromptAppearance = appearance3;
+            this.Grd_Report.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_Report.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.RaisedSoft;
+            this.Grd_Report.DisplayLayout.Override.CellPadding = 0;
+            appearance4.BackColor = System.Drawing.SystemColors.Control;
+            appearance4.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance4.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Report.DisplayLayout.Override.GroupByRowAppearance = appearance4;
+            appearance5.BackColor = System.Drawing.Color.LightSteelBlue;
+            appearance5.TextHAlign = Infragistics.Win.HAlign.Center;
+            this.Grd_Report.DisplayLayout.Override.HeaderAppearance = appearance5;
+            this.Grd_Report.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.Select;
+            this.Grd_Report.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.Grd_Report.DisplayLayout.Override.MinRowHeight = 21;
+            appearance6.BackColor = System.Drawing.SystemColors.Window;
+            appearance6.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_Report.DisplayLayout.Override.RowAppearance = appearance6;
+            appearance7.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorAppearance = appearance7;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.Grd_Report.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_Report.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
+            appearance8.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_Report.DisplayLayout.Override.TemplateAddRowAppearance = appearance8;
+            this.Grd_Report.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_Report.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_Report.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_Report.Location = new System.Drawing.Point(0, 345);
+            this.Grd_Report.Name = "Grd_Report";
+            this.Grd_Report.Size = new System.Drawing.Size(1004, 377);
+            this.Grd_Report.TabIndex = 42;
+            // 
+            // exp_SetArea
+            // 
+            this.exp_SetArea.BackColor = System.Drawing.SystemColors.Control;
+            this.exp_SetArea.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.exp_SetArea.Dock = System.Windows.Forms.DockStyle.Top;
+            this.exp_SetArea.ExpandedSize = new System.Drawing.Size(1004, 320);
+            this.exp_SetArea.Location = new System.Drawing.Point(0, 25);
+            this.exp_SetArea.Name = "exp_SetArea";
+            this.exp_SetArea.Size = new System.Drawing.Size(1004, 320);
+            this.exp_SetArea.SupportThemes = false;
+            this.exp_SetArea.TabIndex = 2;
+            this.exp_SetArea.Text = "统计模式及查询条件设置区域";
+            this.exp_SetArea.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Grp_QueryCondition);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 22);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1000, 296);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // Grp_QueryCondition
+            // 
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            this.Grp_QueryCondition.ContentAreaAppearance = appearance9;
+            this.Grp_QueryCondition.Controls.Add(this.chk_fs);
+            this.Grp_QueryCondition.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Grp_QueryCondition.Controls.Add(this.ctlKCJListQuery1);
+            this.Grp_QueryCondition.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grp_QueryCondition.Location = new System.Drawing.Point(0, 0);
+            this.Grp_QueryCondition.Name = "Grp_QueryCondition";
+            this.Grp_QueryCondition.Size = new System.Drawing.Size(1000, 296);
+            this.Grp_QueryCondition.SupportThemes = false;
+            this.Grp_QueryCondition.TabIndex = 3;
+            this.Grp_QueryCondition.Text = "查询条件";
+            this.Grp_QueryCondition.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // chk_fs
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_fs.Appearance = appearance10;
+            this.chk_fs.FlatMode = true;
+            this.chk_fs.Location = new System.Drawing.Point(504, 259);
+            this.chk_fs.Name = "chk_fs";
+            this.chk_fs.Size = new System.Drawing.Size(120, 20);
+            this.chk_fs.TabIndex = 52;
+            this.chk_fs.Text = "统计方式全选";
+            this.chk_fs.CheckedChanged += new System.EventHandler(this.chk_fs_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Right;
+            this.ultraExpandableGroupBox1.Expanded = false;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(285, 274);
+            this.ultraExpandableGroupBox1.HeaderPosition = Infragistics.Win.Misc.GroupBoxHeaderPosition.RightOutsideBorder;
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(976, 20);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(22, 274);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 51;
+            this.ultraExpandableGroupBox1.Text = "统计方式";
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.ctlKCJListStat1);
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(258, 268);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            this.ultraExpandableGroupBoxPanel2.Visible = false;
+            // 
+            // ctlKCJListStat1
+            // 
+            this.ctlKCJListStat1.Location = new System.Drawing.Point(0, 2);
+            this.ctlKCJListStat1.Name = "ctlKCJListStat1";
+            this.ctlKCJListStat1.Size = new System.Drawing.Size(285, 269);
+            this.ctlKCJListStat1.TabIndex = 0;
+            // 
+            // ctlKCJListQuery1
+            // 
+            this.ctlKCJListQuery1.AutoSize = true;
+            this.ctlKCJListQuery1.Location = new System.Drawing.Point(0, 20);
+            this.ctlKCJListQuery1.Name = "ctlKCJListQuery1";
+            this.ctlKCJListQuery1.Size = new System.Drawing.Size(814, 249);
+            this.ctlKCJListQuery1.TabIndex = 2;
+            // 
+            // frmKCJListQuery
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(1004, 722);
+            this.Controls.Add(this.frmZBKCListQuery_Fill_Panel);
+            this.Name = "frmKCJListQuery";
+            this.Text = "板加库存综合查询";
+            this.Load += new System.EventHandler(this.frmKCJListQuery_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            this.frmZBKCListQuery_Fill_Panel.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Report)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.exp_SetArea)).EndInit();
+            this.exp_SetArea.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_QueryCondition)).EndInit();
+            this.Grp_QueryCondition.ResumeLayout(false);
+            this.Grp_QueryCondition.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Panel panel1_Fill_Panel;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private System.Windows.Forms.Panel frmZBKCListQuery_Fill_Panel;
+        protected Infragistics.Win.Misc.UltraExpandableGroupBox exp_SetArea;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private Infragistics.Win.Misc.UltraGroupBox Grp_QueryCondition;
+        private Infragistics.Win.UltraWinGrid.UltraGrid Grd_Report;
+        private Core.XgMes.Client.Control.ctlKCJListQuery ctlKCJListQuery1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_fs;
+        protected Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter ultraGridExcelExporter;
+        private Core.XgMes.Client.Control.ctlKCJListStat ctlKCJListStat1;
+    }
+}

+ 3269 - 0
Client/.svn/pristine/03/0394f01fc1bd55023a62bfb3b233d7f7796cea7e.svn-base

@@ -0,0 +1,3269 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// FrmTurnoffInStorage 的摘要说明。
+	/// </summary>
+	public class FrmTurnoffInStorage : Core.Mes.ClientFrameWork.FrmBase 
+	{
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ShopSign;
+		private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ProductLine;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProductLine;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BilletID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BilletID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ShopSign;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Comments;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClipType;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SourceId;
+        private Infragistics.Win.Misc.UltraLabel lab_YL;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InSteel;
+		private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ProductLineEdit;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollEnd;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MBilletID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Roll;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel27;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel24;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNOEdit;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+		private Infragistics.Win.Misc.UltraLabel lab_cd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_DecideResult;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor Txt_FNum;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_PTime;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_DH;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor Txt_DHNum;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_DHDate;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel28;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTopEdit;
+		private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_FaceQuality;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BilletType;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
+		private System.Data.DataSet ds_InStorageInfo;
+		private System.Data.DataTable dataTable1;
+		private System.Data.DataColumn dataColumn1;
+		private System.Data.DataColumn dataColumn2;
+		private System.Data.DataColumn dataColumn3;
+		private System.Data.DataColumn dataColumn4;
+		private System.Data.DataColumn dataColumn5;
+		private System.Data.DataColumn dataColumn6;
+		private System.Data.DataColumn dataColumn7;
+		private System.Data.DataColumn dataColumn8;
+		private System.Data.DataColumn dataColumn9;
+		private System.Data.DataColumn dataColumn10;
+		private System.Data.DataColumn dataColumn11;
+		private System.Data.DataColumn dataColumn12;
+		private System.Data.DataColumn dataColumn13;
+		private System.Data.DataColumn dataColumn14;
+		private System.Data.DataColumn dataColumn15;
+		private System.Data.DataColumn dataColumn16;
+		private System.Data.DataColumn dataColumn17;
+		private System.Data.DataColumn dataColumn18;
+		private System.Data.DataColumn dataColumn19;
+		private System.Data.DataColumn dataColumn20;
+		private System.Data.DataColumn dataColumn21;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gd_InStorage;
+		private System.Data.DataTable dataTable2;
+		private System.Data.DataColumn dataColumn22;
+		private System.Data.DataColumn dataColumn23;
+		private System.Data.DataColumn dataColumn24;
+		private System.Data.DataColumn dataColumn25;
+		private System.Data.DataColumn dataColumn26;
+		private System.Data.DataColumn dataColumn27;
+		private System.Data.DataColumn dataColumn28;
+		private System.Data.DataColumn dataColumn29;
+		private System.Data.DataColumn dataColumn30;
+		private System.Data.DataColumn dataColumn31;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_EndEnter;
+		private System.Data.DataColumn dataColumn32;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Rule;
+        private System.Data.DataColumn dataColumn33;
+		private Infragistics.Win.Misc.UltraButton btn_ClearFilter;
+		private System.Data.DataColumn dataColumn34;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Condole;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel37;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_StoveNo;
+        private System.Data.DataColumn dataColumn35;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ptime;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel38;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_PBeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_PEndTime;
+		private System.Data.DataColumn dataColumn36;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private System.Data.DataColumn dataColumn37;
+        private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_Butter;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel40;
+        private DataColumn dataColumn38;
+        private DataColumn dataColumn39;
+        private Infragistics.Win.Misc.UltraButton btn_InputInfo;
+		private System.ComponentModel.IContainer components;
+
+		public FrmTurnoffInStorage()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+			dte_BeginTime.DateTime = System.DateTime.Now;
+			dte_EndTime.DateTime = System.DateTime.Now;
+			Dte_PTime.DateTime =System.DateTime.Now;
+			dte_PBeginTime.DateTime = System.DateTime.Now;
+			dte_PEndTime.DateTime = System.DateTime.Now;
+
+
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_TURNOFFLIST", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETTYP");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LENGTH");
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUGREASON");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLIPTYPEPROCESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISCASTPROCESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISPRINTPROCESS");
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MILLINGPROCESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACREAGE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSPECTIONID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RULE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLENUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISCHANGESIGN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROUTING");
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUSINESS_CATEGORY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("JGZJ_INSPECTIONINFO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UnboundColumn1", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UnboundColumn3", 1);
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 12, true, "KCJ_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACREAGE", 19, true, "KCJ_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("JGZJ_INSPECTIONINFO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSPECTIONID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SURFACETREATMENT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SURFACEROUGHNESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COATTHICKNESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DRYINGTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("VALIDTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISD2");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISD3");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISD4");
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CancelRecord");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Exc");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CancelRecord");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Exc");
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gd_InStorage = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ds_InStorageInfo = new System.Data.DataSet();
+            this.dataTable1 = new System.Data.DataTable();
+            this.dataColumn1 = new System.Data.DataColumn();
+            this.dataColumn2 = new System.Data.DataColumn();
+            this.dataColumn3 = new System.Data.DataColumn();
+            this.dataColumn4 = new System.Data.DataColumn();
+            this.dataColumn5 = new System.Data.DataColumn();
+            this.dataColumn6 = new System.Data.DataColumn();
+            this.dataColumn7 = new System.Data.DataColumn();
+            this.dataColumn8 = new System.Data.DataColumn();
+            this.dataColumn9 = new System.Data.DataColumn();
+            this.dataColumn10 = new System.Data.DataColumn();
+            this.dataColumn11 = new System.Data.DataColumn();
+            this.dataColumn12 = new System.Data.DataColumn();
+            this.dataColumn13 = new System.Data.DataColumn();
+            this.dataColumn14 = new System.Data.DataColumn();
+            this.dataColumn15 = new System.Data.DataColumn();
+            this.dataColumn16 = new System.Data.DataColumn();
+            this.dataColumn17 = new System.Data.DataColumn();
+            this.dataColumn18 = new System.Data.DataColumn();
+            this.dataColumn19 = new System.Data.DataColumn();
+            this.dataColumn20 = new System.Data.DataColumn();
+            this.dataColumn21 = new System.Data.DataColumn();
+            this.dataColumn32 = new System.Data.DataColumn();
+            this.dataColumn33 = new System.Data.DataColumn();
+            this.dataColumn34 = new System.Data.DataColumn();
+            this.dataColumn35 = new System.Data.DataColumn();
+            this.dataColumn36 = new System.Data.DataColumn();
+            this.dataColumn37 = new System.Data.DataColumn();
+            this.dataColumn38 = new System.Data.DataColumn();
+            this.dataColumn39 = new System.Data.DataColumn();
+            this.dataTable2 = new System.Data.DataTable();
+            this.dataColumn22 = new System.Data.DataColumn();
+            this.dataColumn23 = new System.Data.DataColumn();
+            this.dataColumn24 = new System.Data.DataColumn();
+            this.dataColumn25 = new System.Data.DataColumn();
+            this.dataColumn26 = new System.Data.DataColumn();
+            this.dataColumn27 = new System.Data.DataColumn();
+            this.dataColumn28 = new System.Data.DataColumn();
+            this.dataColumn29 = new System.Data.DataColumn();
+            this.dataColumn30 = new System.Data.DataColumn();
+            this.dataColumn31 = new System.Data.DataColumn();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.ultraLabel38 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_PEndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_PBeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.chk_Ptime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.btn_ClearFilter = new Infragistics.Win.Misc.UltraButton();
+            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_ShopSign = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_ProductLine = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.chk_ProductLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_BilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_ShopSign = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.btn_InputInfo = new Infragistics.Win.Misc.UltraButton();
+            this.Cmb_Butter = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel40 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_StoveNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Rule = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_EndEnter = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_FaceQuality = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_RollTopEdit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BilletType = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_FNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.Dte_PTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Txt_DH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Txt_DHNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.Txt_DHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel28 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_DecideResult = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClipType = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_SourceId = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.lab_YL = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_InSteel = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_ProductLineEdit = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_RollEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_MBilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Roll = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_OrderNOEdit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Comments = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTabControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_InStorage)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_InStorageInfo)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dataTable2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PEndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PBeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ShopSign)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Butter)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_StoveNo)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Rule)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_EndEnter)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuality)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTopEdit)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BilletType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_FNum)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_PTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHNum)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHDate)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_DecideResult)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClipType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SourceId)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLineEdit)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MBilletID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Roll)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNOEdit)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Comments)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).BeginInit();
+            this.ultraTabControl1.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.gd_InStorage);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(1140, 306);
+            // 
+            // gd_InStorage
+            // 
+            this.gd_InStorage.DataSource = this.ds_InStorageInfo;
+            appearance1.BackColor = System.Drawing.Color.Ivory;
+            this.gd_InStorage.DisplayLayout.Appearance = appearance1;
+            ultraGridColumn1.Header.Caption = "块序号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 24);
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn2.Header.Caption = "产线";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(51, 24);
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 2;
+            appearance2.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn3.CellAppearance = appearance2;
+            ultraGridColumn3.Header.Caption = "轧编号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 24);
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn4.Header.Caption = "计划号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 24);
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 2;
+            appearance3.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn5.CellAppearance = appearance3;
+            ultraGridColumn5.Header.Caption = "订单号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 24);
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 2;
+            appearance4.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn6.CellAppearance = appearance4;
+            ultraGridColumn6.Header.Caption = "牌号";
+            ultraGridColumn6.Header.VisiblePosition = 13;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 24);
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn7.Header.Caption = "板块类型";
+            ultraGridColumn7.Header.VisiblePosition = 5;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn8.Header.Caption = "判定性能";
+            ultraGridColumn8.Header.VisiblePosition = 6;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn9.Header.Caption = "原料明细号";
+            ultraGridColumn9.Header.VisiblePosition = 19;
+            ultraGridColumn9.Hidden = true;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 2;
+            appearance5.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn10.CellAppearance = appearance5;
+            ultraGridColumn10.Header.Caption = "厚度";
+            ultraGridColumn10.Header.VisiblePosition = 7;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 24);
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn11.Header.Caption = "宽度";
+            ultraGridColumn11.Header.VisiblePosition = 8;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 16);
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            appearance6.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn12.CellAppearance = appearance6;
+            ultraGridColumn12.Header.Caption = "长度";
+            ultraGridColumn12.Header.VisiblePosition = 9;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 24);
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "重量";
+            ultraGridColumn13.Header.VisiblePosition = 10;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 24);
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 2;
+            appearance7.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn14.CellAppearance = appearance7;
+            ultraGridColumn14.Header.Caption = "表面质量";
+            ultraGridColumn14.Header.VisiblePosition = 11;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 24);
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn15.Header.Caption = "表面缺陷";
+            ultraGridColumn15.Header.VisiblePosition = 12;
+            ultraGridColumn15.Hidden = true;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 24);
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 47);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn16.Header.Caption = "切边类型";
+            ultraGridColumn16.Header.VisiblePosition = 17;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn17.Header.Caption = "抛丸";
+            ultraGridColumn17.Header.VisiblePosition = 15;
+            ultraGridColumn17.Hidden = true;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(39, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 2;
+            appearance8.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn18.CellAppearance = appearance8;
+            ultraGridColumn18.Header.Caption = "喷涂";
+            ultraGridColumn18.Header.VisiblePosition = 16;
+            ultraGridColumn18.Hidden = true;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn19.Header.Caption = "修磨";
+            ultraGridColumn19.Header.VisiblePosition = 14;
+            ultraGridColumn19.Hidden = true;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(42, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn20.Header.Caption = "加工面积";
+            ultraGridColumn20.Header.VisiblePosition = 18;
+            ultraGridColumn20.Hidden = true;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn21.Header.Caption = "质检编号";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.Hidden = true;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn22.Header.Caption = "入库时间";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn23.Header.Caption = "定尺";
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn24.Header.Caption = "吊号";
+            ultraGridColumn24.Header.VisiblePosition = 23;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 0);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn25.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn25.Header.Caption = "改标";
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.Hidden = true;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(44, 0);
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn26.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn26.Header.Caption = "生产时间";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 2;
+            appearance9.BackColor = System.Drawing.Color.Aqua;
+            ultraGridColumn27.Header.Appearance = appearance9;
+            ultraGridColumn27.Header.Caption = "工艺路线";
+            ultraGridColumn27.Header.VisiblePosition = 26;
+            ultraGridColumn27.Hidden = true;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn28.Header.Caption = "堆位";
+            ultraGridColumn28.Header.VisiblePosition = 27;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn29.Header.Caption = "业务类型";
+            ultraGridColumn29.Header.VisiblePosition = 28;
+            ultraGridColumn29.Hidden = true;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn30.Header.VisiblePosition = 29;
+            ultraGridColumn30.Hidden = true;
+            ultraGridColumn31.Header.Caption = "规格";
+            ultraGridColumn31.Header.VisiblePosition = 30;
+            ultraGridColumn31.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.LabelOnly;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(150, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 25);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 3;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            appearance10.BackColor = System.Drawing.Color.LightCoral;
+            ultraGridColumn32.Header.Appearance = appearance10;
+            ultraGridColumn32.Header.Caption = "加工工艺";
+            ultraGridColumn32.Header.VisiblePosition = 31;
+            ultraGridColumn32.Hidden = true;
+            ultraGridColumn32.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.LabelOnly;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(170, 24);
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 25);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 4;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32});
+            appearance11.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance11.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings1.Appearance = appearance11;
+            summarySettings1.DisplayFormat = "{0} 块 ";
+            summarySettings1.GroupBySummaryValueAppearance = appearance12;
+            summarySettings1.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            appearance13.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance13.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings2.Appearance = appearance13;
+            summarySettings2.DisplayFormat = "{0:.###} T";
+            summarySettings2.GroupBySummaryValueAppearance = appearance14;
+            summarySettings2.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            appearance15.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance15.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings3.Appearance = appearance15;
+            summarySettings3.DisplayFormat = "{0:.###} ㎡";
+            summarySettings3.GroupBySummaryValueAppearance = appearance16;
+            summarySettings3.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2,
+            summarySettings3});
+            ultraGridBand1.UseRowLayout = true;
+            ultraGridColumn33.Header.Caption = "质检编号";
+            ultraGridColumn33.Header.VisiblePosition = 0;
+            ultraGridColumn33.Hidden = true;
+            ultraGridColumn34.Header.Caption = "表面处理程度";
+            ultraGridColumn34.Header.VisiblePosition = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn35.Header.Caption = "表面粗糙度";
+            ultraGridColumn35.Header.VisiblePosition = 2;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn36.Header.Caption = "涂层表面厚度";
+            ultraGridColumn36.Header.VisiblePosition = 3;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn37.Header.Caption = "干燥时间";
+            ultraGridColumn37.Header.VisiblePosition = 4;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn38.Header.Caption = "漆膜有效期";
+            ultraGridColumn38.Header.VisiblePosition = 5;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 3;
+            ultraGridColumn39.Header.VisiblePosition = 6;
+            ultraGridColumn39.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.None;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 2;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.VisiblePosition = 7;
+            ultraGridColumn40.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.None;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 2;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.VisiblePosition = 8;
+            ultraGridColumn41.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.None;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 2;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.VisiblePosition = 9;
+            ultraGridColumn42.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.None;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 2;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42});
+            ultraGridBand2.UseRowLayout = true;
+            this.gd_InStorage.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gd_InStorage.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gd_InStorage.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gd_InStorage.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_InStorage.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!";
+            appearance17.BorderColor = System.Drawing.Color.Black;
+            appearance17.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_InStorage.DisplayLayout.Override.CellAppearance = appearance17;
+            this.gd_InStorage.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
+            this.gd_InStorage.DisplayLayout.Override.CellPadding = 0;
+            appearance18.BackColor = System.Drawing.SystemColors.Control;
+            appearance18.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance18.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance18.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance18.BorderColor = System.Drawing.SystemColors.Window;
+            appearance18.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance18.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_InStorage.DisplayLayout.Override.GroupByRowAppearance = appearance18;
+            this.gd_InStorage.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
+            this.gd_InStorage.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance19.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_InStorage.DisplayLayout.Override.HeaderAppearance = appearance19;
+            this.gd_InStorage.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gd_InStorage.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance20.BackColor = System.Drawing.SystemColors.Window;
+            appearance20.BorderColor = System.Drawing.Color.Black;
+            appearance20.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_InStorage.DisplayLayout.Override.RowAppearance = appearance20;
+            appearance21.BackColor = System.Drawing.SystemColors.Window;
+            appearance21.BorderColor = System.Drawing.Color.Black;
+            appearance21.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_InStorage.DisplayLayout.Override.RowPreviewAppearance = appearance21;
+            this.gd_InStorage.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_InStorage.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_InStorage.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance22.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_InStorage.DisplayLayout.Override.SelectedRowAppearance = appearance22;
+            this.gd_InStorage.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance23.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_InStorage.DisplayLayout.Override.SummaryFooterAppearance = appearance23;
+            appearance24.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance24.ForeColor = System.Drawing.Color.Red;
+            this.gd_InStorage.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance24;
+            this.gd_InStorage.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance25.BackColor = System.Drawing.Color.MistyRose;
+            appearance25.ForeColor = System.Drawing.Color.Blue;
+            appearance25.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance25.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_InStorage.DisplayLayout.Override.SummaryValueAppearance = appearance25;
+            appearance26.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_InStorage.DisplayLayout.Override.TemplateAddRowAppearance = appearance26;
+            this.gd_InStorage.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_InStorage.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_InStorage.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_InStorage.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_InStorage.Location = new System.Drawing.Point(0, 0);
+            this.gd_InStorage.Name = "gd_InStorage";
+            this.gd_InStorage.Size = new System.Drawing.Size(1140, 306);
+            this.gd_InStorage.TabIndex = 4;
+            this.gd_InStorage.Text = "成品入库信息";
+            // 
+            // ds_InStorageInfo
+            // 
+            this.ds_InStorageInfo.DataSetName = "NewDataSet";
+            this.ds_InStorageInfo.Locale = new System.Globalization.CultureInfo("zh-CN");
+            this.ds_InStorageInfo.Relations.AddRange(new System.Data.DataRelation[] {
+            new System.Data.DataRelation("JGZJ_INSPECTIONINFO", "KCJ_TURNOFFLIST", "JGZJ_INSPECTIONINFO", new string[] {
+                        "INSPECTIONID"}, new string[] {
+                        "INSPECTIONID"}, false)});
+            this.ds_InStorageInfo.Tables.AddRange(new System.Data.DataTable[] {
+            this.dataTable1,
+            this.dataTable2});
+            // 
+            // dataTable1
+            // 
+            this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn1,
+            this.dataColumn2,
+            this.dataColumn3,
+            this.dataColumn4,
+            this.dataColumn5,
+            this.dataColumn6,
+            this.dataColumn7,
+            this.dataColumn8,
+            this.dataColumn9,
+            this.dataColumn10,
+            this.dataColumn11,
+            this.dataColumn12,
+            this.dataColumn13,
+            this.dataColumn14,
+            this.dataColumn15,
+            this.dataColumn16,
+            this.dataColumn17,
+            this.dataColumn18,
+            this.dataColumn19,
+            this.dataColumn20,
+            this.dataColumn21,
+            this.dataColumn32,
+            this.dataColumn33,
+            this.dataColumn34,
+            this.dataColumn35,
+            this.dataColumn36,
+            this.dataColumn37,
+            this.dataColumn38,
+            this.dataColumn39});
+            this.dataTable1.Constraints.AddRange(new System.Data.Constraint[] {
+            new System.Data.UniqueConstraint("Constraint1", new string[] {
+                        "INSPECTIONID"}, false)});
+            this.dataTable1.TableName = "KCJ_TURNOFFLIST";
+            // 
+            // dataColumn1
+            // 
+            this.dataColumn1.ColumnName = "BILLETID";
+            // 
+            // dataColumn2
+            // 
+            this.dataColumn2.ColumnName = "PRODUCTLINE";
+            // 
+            // dataColumn3
+            // 
+            this.dataColumn3.ColumnName = "ROLLNUMBER";
+            // 
+            // dataColumn4
+            // 
+            this.dataColumn4.ColumnName = "PLANNO";
+            // 
+            // dataColumn5
+            // 
+            this.dataColumn5.ColumnName = "ORDERNO";
+            // 
+            // dataColumn6
+            // 
+            this.dataColumn6.ColumnName = "DETERMINANTCARDNUMBER";
+            // 
+            // dataColumn7
+            // 
+            this.dataColumn7.ColumnName = "BILLETTYP";
+            // 
+            // dataColumn8
+            // 
+            this.dataColumn8.ColumnName = "DETERMINANTRESULT";
+            // 
+            // dataColumn9
+            // 
+            this.dataColumn9.ColumnName = "SOURCEID";
+            // 
+            // dataColumn10
+            // 
+            this.dataColumn10.ColumnName = "PLY";
+            this.dataColumn10.DataType = typeof(decimal);
+            // 
+            // dataColumn11
+            // 
+            this.dataColumn11.ColumnName = "WIDTH";
+            this.dataColumn11.DataType = typeof(decimal);
+            // 
+            // dataColumn12
+            // 
+            this.dataColumn12.ColumnName = "LENGTH";
+            this.dataColumn12.DataType = typeof(decimal);
+            // 
+            // dataColumn13
+            // 
+            this.dataColumn13.ColumnName = "THEORYWEIGHT";
+            this.dataColumn13.DataType = typeof(decimal);
+            // 
+            // dataColumn14
+            // 
+            this.dataColumn14.ColumnName = "FACEQUALITY";
+            // 
+            // dataColumn15
+            // 
+            this.dataColumn15.ColumnName = "BUGREASON";
+            // 
+            // dataColumn16
+            // 
+            this.dataColumn16.ColumnName = "CLIPTYPEPROCESS";
+            // 
+            // dataColumn17
+            // 
+            this.dataColumn17.ColumnName = "ISCASTPROCESS";
+            // 
+            // dataColumn18
+            // 
+            this.dataColumn18.ColumnName = "ISPRINTPROCESS";
+            // 
+            // dataColumn19
+            // 
+            this.dataColumn19.ColumnName = "MILLINGPROCESS";
+            // 
+            // dataColumn20
+            // 
+            this.dataColumn20.ColumnName = "ACREAGE";
+            this.dataColumn20.DataType = typeof(decimal);
+            // 
+            // dataColumn21
+            // 
+            this.dataColumn21.ColumnName = "INSPECTIONID";
+            // 
+            // dataColumn32
+            // 
+            this.dataColumn32.ColumnName = "INTIME";
+            // 
+            // dataColumn33
+            // 
+            this.dataColumn33.ColumnName = "RULE";
+            // 
+            // dataColumn34
+            // 
+            this.dataColumn34.ColumnName = "CONDOLENUMBER";
+            // 
+            // dataColumn35
+            // 
+            this.dataColumn35.ColumnName = "ISCHANGESIGN";
+            // 
+            // dataColumn36
+            // 
+            this.dataColumn36.ColumnName = "PTIME";
+            // 
+            // dataColumn37
+            // 
+            this.dataColumn37.ColumnName = "ROUTING";
+            // 
+            // dataColumn38
+            // 
+            this.dataColumn38.ColumnName = "BUTTRESS";
+            // 
+            // dataColumn39
+            // 
+            this.dataColumn39.ColumnName = "BUSINESS_CATEGORY";
+            // 
+            // dataTable2
+            // 
+            this.dataTable2.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn22,
+            this.dataColumn23,
+            this.dataColumn24,
+            this.dataColumn25,
+            this.dataColumn26,
+            this.dataColumn27,
+            this.dataColumn28,
+            this.dataColumn29,
+            this.dataColumn30,
+            this.dataColumn31});
+            this.dataTable2.Constraints.AddRange(new System.Data.Constraint[] {
+            new System.Data.ForeignKeyConstraint("Relation1", "KCJ_TURNOFFLIST", new string[] {
+                        "INSPECTIONID"}, new string[] {
+                        "INSPECTIONID"}, System.Data.AcceptRejectRule.None, System.Data.Rule.Cascade, System.Data.Rule.Cascade)});
+            this.dataTable2.TableName = "JGZJ_INSPECTIONINFO";
+            // 
+            // dataColumn22
+            // 
+            this.dataColumn22.ColumnName = "INSPECTIONID";
+            // 
+            // dataColumn23
+            // 
+            this.dataColumn23.ColumnName = "SURFACETREATMENT";
+            // 
+            // dataColumn24
+            // 
+            this.dataColumn24.ColumnName = "SURFACEROUGHNESS";
+            // 
+            // dataColumn25
+            // 
+            this.dataColumn25.ColumnName = "COATTHICKNESS";
+            // 
+            // dataColumn26
+            // 
+            this.dataColumn26.ColumnName = "DRYINGTIME";
+            // 
+            // dataColumn27
+            // 
+            this.dataColumn27.ColumnName = "VALIDTIME";
+            // 
+            // dataColumn28
+            // 
+            this.dataColumn28.ColumnName = "ISD1";
+            // 
+            // dataColumn29
+            // 
+            this.dataColumn29.ColumnName = "ISD2";
+            // 
+            // dataColumn30
+            // 
+            this.dataColumn30.ColumnName = "ISD3";
+            // 
+            // dataColumn31
+            // 
+            this.dataColumn31.ColumnName = "ISD4";
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool5.SharedProps.Caption = "关闭";
+            buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool6.SharedProps.Caption = "板块登记信息查询";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool7.SharedProps.Caption = "撤销板块登记信息";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "导出";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool5,
+            buttonTool6,
+            buttonTool7,
+            buttonTool8});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1144, 32);
+            this.panel1.TabIndex = 4;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 8);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1144, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 8);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1144, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1144, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel38);
+            this.ultraGroupBox1.Controls.Add(this.dte_PEndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_PBeginTime);
+            this.ultraGroupBox1.Controls.Add(this.chk_Ptime);
+            this.ultraGroupBox1.Controls.Add(this.txt_Condole);
+            this.ultraGroupBox1.Controls.Add(this.chk_Condole);
+            this.ultraGroupBox1.Controls.Add(this.btn_ClearFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Controls.Add(this.cmb_ShopSign);
+            this.ultraGroupBox1.Controls.Add(this.cmb_ProductLine);
+            this.ultraGroupBox1.Controls.Add(this.chk_ProductLine);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollNOEnd);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollNOBegin);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.txt_BilletID);
+            this.ultraGroupBox1.Controls.Add(this.chk_BilletID);
+            this.ultraGroupBox1.Controls.Add(this.chk_ShopSign);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollNum);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1144, 88);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 5;
+            // 
+            // ultraLabel38
+            // 
+            this.ultraLabel38.FlatMode = true;
+            this.ultraLabel38.Location = new System.Drawing.Point(198, 35);
+            this.ultraLabel38.Name = "ultraLabel38";
+            this.ultraLabel38.Size = new System.Drawing.Size(11, 14);
+            this.ultraLabel38.TabIndex = 158;
+            this.ultraLabel38.Text = "-";
+            // 
+            // dte_PEndTime
+            // 
+            appearance27.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_PEndTime.Appearance = appearance27;
+            this.dte_PEndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_PEndTime.Enabled = false;
+            this.dte_PEndTime.FlatMode = true;
+            this.dte_PEndTime.Location = new System.Drawing.Point(209, 35);
+            this.dte_PEndTime.MaskInput = "{date} {time}";
+            this.dte_PEndTime.Name = "dte_PEndTime";
+            this.dte_PEndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_PEndTime.TabIndex = 157;
+            this.dte_PEndTime.TabStop = false;
+            this.dte_PEndTime.Tag = "";
+            this.dte_PEndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // dte_PBeginTime
+            // 
+            appearance28.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_PBeginTime.Appearance = appearance28;
+            this.dte_PBeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_PBeginTime.Enabled = false;
+            this.dte_PBeginTime.FlatMode = true;
+            this.dte_PBeginTime.Location = new System.Drawing.Point(80, 35);
+            this.dte_PBeginTime.MaskInput = "{date} {time}";
+            this.dte_PBeginTime.Name = "dte_PBeginTime";
+            this.dte_PBeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_PBeginTime.TabIndex = 156;
+            this.dte_PBeginTime.TabStop = false;
+            this.dte_PBeginTime.Tag = "";
+            this.dte_PBeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // chk_Ptime
+            // 
+            this.chk_Ptime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_Ptime.Location = new System.Drawing.Point(8, 35);
+            this.chk_Ptime.Name = "chk_Ptime";
+            this.chk_Ptime.Size = new System.Drawing.Size(72, 16);
+            this.chk_Ptime.TabIndex = 155;
+            this.chk_Ptime.TabStop = false;
+            this.chk_Ptime.Text = "生产时间";
+            this.chk_Ptime.CheckedChanged += new System.EventHandler(this.chk_Ptime_CheckedChanged);
+            // 
+            // txt_Condole
+            // 
+            appearance29.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Condole.Appearance = appearance29;
+            this.txt_Condole.AutoSize = true;
+            this.txt_Condole.Enabled = false;
+            this.txt_Condole.FlatMode = true;
+            this.txt_Condole.Location = new System.Drawing.Point(584, 34);
+            this.txt_Condole.Name = "txt_Condole";
+            this.txt_Condole.Size = new System.Drawing.Size(200, 19);
+            this.txt_Condole.TabIndex = 154;
+            this.txt_Condole.Tag = "A.CONDOLENUMBER#S#7|:LISN";
+            // 
+            // chk_Condole
+            // 
+            this.chk_Condole.FlatMode = true;
+            this.chk_Condole.Location = new System.Drawing.Point(528, 35);
+            this.chk_Condole.Name = "chk_Condole";
+            this.chk_Condole.Size = new System.Drawing.Size(48, 16);
+            this.chk_Condole.TabIndex = 153;
+            this.chk_Condole.Text = "吊号";
+            this.chk_Condole.CheckedChanged += new System.EventHandler(this.chk_Condole_CheckedChanged);
+            // 
+            // btn_ClearFilter
+            // 
+            this.btn_ClearFilter.Location = new System.Drawing.Point(584, 56);
+            this.btn_ClearFilter.Name = "btn_ClearFilter";
+            this.btn_ClearFilter.Size = new System.Drawing.Size(64, 26);
+            this.btn_ClearFilter.TabIndex = 152;
+            this.btn_ClearFilter.Text = "清除过滤";
+            this.btn_ClearFilter.Click += new System.EventHandler(this.btn_ClearFilter_Click);
+            // 
+            // txt_RollTop
+            // 
+            appearance30.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollTop.Appearance = appearance30;
+            this.txt_RollTop.AutoSize = true;
+            this.txt_RollTop.Enabled = false;
+            this.txt_RollTop.FlatMode = true;
+            this.txt_RollTop.Location = new System.Drawing.Point(584, 11);
+            this.txt_RollTop.MaxLength = 5;
+            this.txt_RollTop.Name = "txt_RollTop";
+            this.txt_RollTop.Size = new System.Drawing.Size(40, 19);
+            this.txt_RollTop.TabIndex = 148;
+            this.txt_RollTop.TabStop = false;
+            // 
+            // txt_PlanID
+            // 
+            appearance31.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PlanID.Appearance = appearance31;
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(400, 35);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(120, 19);
+            this.txt_PlanID.TabIndex = 147;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PlanID
+            // 
+            this.chk_PlanID.Location = new System.Drawing.Point(336, 35);
+            this.chk_PlanID.Name = "chk_PlanID";
+            this.chk_PlanID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PlanID.TabIndex = 146;
+            this.chk_PlanID.TabStop = false;
+            this.chk_PlanID.Text = "计划号";
+            this.chk_PlanID.CheckedChanged += new System.EventHandler(this.chk_PlanID_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(198, 11);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(11, 14);
+            this.Lab_To.TabIndex = 145;
+            this.Lab_To.Text = "-";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_CollectTime.Location = new System.Drawing.Point(8, 11);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(72, 16);
+            this.chk_CollectTime.TabIndex = 144;
+            this.chk_CollectTime.TabStop = false;
+            this.chk_CollectTime.Text = "入库时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // cmb_ShopSign
+            // 
+            appearance32.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ShopSign.Appearance = appearance32;
+            this.cmb_ShopSign.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ShopSign.DisplayMember = "";
+            this.cmb_ShopSign.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ShopSign.Enabled = false;
+            this.cmb_ShopSign.Location = new System.Drawing.Point(221, 59);
+            this.cmb_ShopSign.Name = "cmb_ShopSign";
+            this.cmb_ShopSign.Size = new System.Drawing.Size(104, 21);
+            this.cmb_ShopSign.TabIndex = 143;
+            this.cmb_ShopSign.TabStop = false;
+            this.cmb_ShopSign.ValueMember = "";
+            // 
+            // cmb_ProductLine
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ProductLine.Appearance = appearance33;
+            this.cmb_ProductLine.AutoSize = true;
+            this.cmb_ProductLine.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            this.cmb_ProductLine.Enabled = false;
+            valueListItem1.DataValue = "4001HB1";
+            valueListItem1.DisplayText = "厚板线";
+            valueListItem2.DataValue = "4001ZB1";
+            valueListItem2.DisplayText = "中板线";
+            this.cmb_ProductLine.Items.Add(valueListItem1);
+            this.cmb_ProductLine.Items.Add(valueListItem2);
+            this.cmb_ProductLine.Location = new System.Drawing.Point(64, 59);
+            this.cmb_ProductLine.Name = "cmb_ProductLine";
+            this.cmb_ProductLine.Size = new System.Drawing.Size(104, 21);
+            this.cmb_ProductLine.TabIndex = 142;
+            this.cmb_ProductLine.TabStop = false;
+            this.cmb_ProductLine.ValueChanged += new System.EventHandler(this.cmb_ProductLine_ValueChanged);
+            // 
+            // chk_ProductLine
+            // 
+            this.chk_ProductLine.Location = new System.Drawing.Point(8, 59);
+            this.chk_ProductLine.Name = "chk_ProductLine";
+            this.chk_ProductLine.Size = new System.Drawing.Size(48, 20);
+            this.chk_ProductLine.TabIndex = 141;
+            this.chk_ProductLine.TabStop = false;
+            this.chk_ProductLine.Text = "产线";
+            this.chk_ProductLine.CheckedChanged += new System.EventHandler(this.chk_ProductLine_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(528, 60);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
+            this.chk_AllowFilter.TabIndex = 139;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(701, 15);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel5.TabIndex = 138;
+            this.ultraLabel5.Text = "至";
+            // 
+            // txt_RollNOEnd
+            // 
+            appearance34.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOEnd.Appearance = appearance34;
+            this.txt_RollNOEnd.AutoSize = true;
+            this.txt_RollNOEnd.Enabled = false;
+            this.txt_RollNOEnd.FlatMode = true;
+            this.txt_RollNOEnd.Location = new System.Drawing.Point(720, 11);
+            this.txt_RollNOEnd.MaxLength = 5;
+            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
+            this.txt_RollNOEnd.Size = new System.Drawing.Size(64, 19);
+            this.txt_RollNOEnd.TabIndex = 137;
+            this.txt_RollNOEnd.TabStop = false;
+            // 
+            // txt_RollNOBegin
+            // 
+            appearance35.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOBegin.Appearance = appearance35;
+            this.txt_RollNOBegin.AutoSize = true;
+            this.txt_RollNOBegin.Enabled = false;
+            this.txt_RollNOBegin.FlatMode = true;
+            this.txt_RollNOBegin.Location = new System.Drawing.Point(624, 11);
+            this.txt_RollNOBegin.MaxLength = 5;
+            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
+            this.txt_RollNOBegin.Size = new System.Drawing.Size(72, 19);
+            this.txt_RollNOBegin.TabIndex = 136;
+            this.txt_RollNOBegin.TabStop = false;
+            // 
+            // txt_OrderNO
+            // 
+            appearance36.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_OrderNO.Appearance = appearance36;
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(400, 11);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(120, 19);
+            this.txt_OrderNO.TabIndex = 135;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // txt_BilletID
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_BilletID.Appearance = appearance37;
+            this.txt_BilletID.AutoSize = true;
+            this.txt_BilletID.Enabled = false;
+            this.txt_BilletID.FlatMode = true;
+            this.txt_BilletID.Location = new System.Drawing.Point(400, 61);
+            this.txt_BilletID.Name = "txt_BilletID";
+            this.txt_BilletID.Size = new System.Drawing.Size(120, 19);
+            this.txt_BilletID.TabIndex = 134;
+            this.txt_BilletID.TabStop = false;
+            this.txt_BilletID.Tag = "";
+            // 
+            // chk_BilletID
+            // 
+            this.chk_BilletID.Location = new System.Drawing.Point(336, 60);
+            this.chk_BilletID.Name = "chk_BilletID";
+            this.chk_BilletID.Size = new System.Drawing.Size(48, 16);
+            this.chk_BilletID.TabIndex = 133;
+            this.chk_BilletID.TabStop = false;
+            this.chk_BilletID.Text = "序号";
+            this.chk_BilletID.CheckedChanged += new System.EventHandler(this.chk_BilletID_CheckedChanged);
+            // 
+            // chk_ShopSign
+            // 
+            this.chk_ShopSign.Location = new System.Drawing.Point(174, 62);
+            this.chk_ShopSign.Name = "chk_ShopSign";
+            this.chk_ShopSign.Size = new System.Drawing.Size(48, 16);
+            this.chk_ShopSign.TabIndex = 132;
+            this.chk_ShopSign.TabStop = false;
+            this.chk_ShopSign.Text = "牌号";
+            this.chk_ShopSign.CheckedChanged += new System.EventHandler(this.chk_ShopSign_CheckedChanged);
+            // 
+            // chk_RollNum
+            // 
+            this.chk_RollNum.Location = new System.Drawing.Point(528, 11);
+            this.chk_RollNum.Name = "chk_RollNum";
+            this.chk_RollNum.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollNum.TabIndex = 131;
+            this.chk_RollNum.TabStop = false;
+            this.chk_RollNum.Text = "轧批号";
+            this.chk_RollNum.CheckedChanged += new System.EventHandler(this.chk_RollNum_CheckedChanged);
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(336, 11);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(64, 16);
+            this.chk_OrderNO.TabIndex = 130;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            appearance38.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_EndTime.Appearance = appearance38;
+            this.dte_EndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(209, 11);
+            this.dte_EndTime.MaskInput = "{date} {time}";
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 110;
+            this.dte_EndTime.TabStop = false;
+            this.dte_EndTime.Tag = "";
+            this.dte_EndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // dte_BeginTime
+            // 
+            appearance39.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_BeginTime.Appearance = appearance39;
+            this.dte_BeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(80, 11);
+            this.dte_BeginTime.MaskInput = "{date} {time}";
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 109;
+            this.dte_BeginTime.TabStop = false;
+            this.dte_BeginTime.Tag = "";
+            this.dte_BeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(1144, 256);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 120);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1144, 213);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 6;
+            this.ultraExpandableGroupBox1.TabStop = false;
+            this.ultraExpandableGroupBox1.Text = "成品入库操作区";
+            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraGroupBox2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Comments);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel18);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1140, 191);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.btn_InputInfo);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_Butter);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel40);
+            this.ultraGroupBox2.Controls.Add(this.txt_StoveNo);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel37);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel9);
+            this.ultraGroupBox2.Controls.Add(this.cmb_Rule);
+            this.ultraGroupBox2.Controls.Add(this.txt_EndEnter);
+            this.ultraGroupBox2.Controls.Add(this.cmb_FaceQuality);
+            this.ultraGroupBox2.Controls.Add(this.txt_RollTopEdit);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel15);
+            this.ultraGroupBox2.Controls.Add(this.cmb_BilletType);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ClassTeam);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel10);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ClassOrder);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel14);
+            this.ultraGroupBox2.Controls.Add(this.Txt_FNum);
+            this.ultraGroupBox2.Controls.Add(this.Dte_PTime);
+            this.ultraGroupBox2.Controls.Add(this.Txt_DH);
+            this.ultraGroupBox2.Controls.Add(this.Txt_DHNum);
+            this.ultraGroupBox2.Controls.Add(this.Txt_DHDate);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel28);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel16);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel8);
+            this.ultraGroupBox2.Controls.Add(this.cmb_DecideResult);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ClipType);
+            this.ultraGroupBox2.Controls.Add(this.txt_SourceId);
+            this.ultraGroupBox2.Controls.Add(this.lab_YL);
+            this.ultraGroupBox2.Controls.Add(this.cmb_InSteel);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ProductLineEdit);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel3);
+            this.ultraGroupBox2.Controls.Add(this.txt_WEIGHT);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox2.Controls.Add(this.txt_PlanNO);
+            this.ultraGroupBox2.Controls.Add(this.txt_Width);
+            this.ultraGroupBox2.Controls.Add(this.txt_Length);
+            this.ultraGroupBox2.Controls.Add(this.txt_Ply);
+            this.ultraGroupBox2.Controls.Add(this.txt_RollEnd);
+            this.ultraGroupBox2.Controls.Add(this.txt_MBilletID);
+            this.ultraGroupBox2.Controls.Add(this.txt_Roll);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel27);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel24);
+            this.ultraGroupBox2.Controls.Add(this.txt_OrderNOEdit);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel7);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel20);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel19);
+            this.ultraGroupBox2.Controls.Add(this.lab_cd);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel17);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel12);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel11);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel13);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1140, 191);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 505;
+            // 
+            // btn_InputInfo
+            // 
+            this.btn_InputInfo.Location = new System.Drawing.Point(597, 130);
+            this.btn_InputInfo.Name = "btn_InputInfo";
+            this.btn_InputInfo.Size = new System.Drawing.Size(89, 26);
+            this.btn_InputInfo.TabIndex = 583;
+            this.btn_InputInfo.Text = "板块信息登记";
+            this.btn_InputInfo.Click += new System.EventHandler(this.btn_InputInfo_Click);
+            // 
+            // Cmb_Butter
+            // 
+            appearance40.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_Butter.Appearance = appearance40;
+            this.Cmb_Butter.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.Cmb_Butter.DisplayMember = "";
+            this.Cmb_Butter.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_Butter.FlatMode = true;
+            this.Cmb_Butter.Location = new System.Drawing.Point(621, 15);
+            this.Cmb_Butter.Name = "Cmb_Butter";
+            this.Cmb_Butter.Size = new System.Drawing.Size(88, 19);
+            this.Cmb_Butter.TabIndex = 581;
+            this.Cmb_Butter.Tag = "";
+            this.Cmb_Butter.ValueMember = "";
+            // 
+            // ultraLabel40
+            // 
+            this.ultraLabel40.Location = new System.Drawing.Point(565, 19);
+            this.ultraLabel40.Name = "ultraLabel40";
+            this.ultraLabel40.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel40.TabIndex = 582;
+            this.ultraLabel40.Text = "入库堆位";
+            // 
+            // txt_StoveNo
+            // 
+            appearance41.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_StoveNo.Appearance = appearance41;
+            this.txt_StoveNo.AutoSize = true;
+            this.txt_StoveNo.FlatMode = true;
+            this.txt_StoveNo.Location = new System.Drawing.Point(48, 164);
+            this.txt_StoveNo.Name = "txt_StoveNo";
+            this.txt_StoveNo.Size = new System.Drawing.Size(184, 19);
+            this.txt_StoveNo.TabIndex = 580;
+            // 
+            // ultraLabel37
+            // 
+            this.ultraLabel37.Location = new System.Drawing.Point(16, 168);
+            this.ultraLabel37.Name = "ultraLabel37";
+            this.ultraLabel37.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel37.TabIndex = 579;
+            this.ultraLabel37.Text = "炉号";
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(265, 140);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel9.TabIndex = 578;
+            this.ultraLabel9.Text = "定尺";
+            // 
+            // cmb_Rule
+            // 
+            this.cmb_Rule.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Rule.DisplayMember = "";
+            this.cmb_Rule.Location = new System.Drawing.Point(296, 136);
+            this.cmb_Rule.Name = "cmb_Rule";
+            this.cmb_Rule.Size = new System.Drawing.Size(112, 21);
+            this.cmb_Rule.TabIndex = 21;
+            this.cmb_Rule.ValueMember = "";
+            this.cmb_Rule.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_Rule.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_EndEnter
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_EndEnter.Appearance = appearance42;
+            this.txt_EndEnter.AutoSize = true;
+            this.txt_EndEnter.FlatMode = true;
+            this.txt_EndEnter.Location = new System.Drawing.Point(214, 40);
+            this.txt_EndEnter.MaxLength = 2;
+            this.txt_EndEnter.Name = "txt_EndEnter";
+            this.txt_EndEnter.Size = new System.Drawing.Size(25, 19);
+            this.txt_EndEnter.TabIndex = 9;
+            this.txt_EndEnter.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_EndEnter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // cmb_FaceQuality
+            // 
+            this.cmb_FaceQuality.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_FaceQuality.DisplayMember = "";
+            this.cmb_FaceQuality.Location = new System.Drawing.Point(296, 88);
+            this.cmb_FaceQuality.Name = "cmb_FaceQuality";
+            this.cmb_FaceQuality.Size = new System.Drawing.Size(112, 21);
+            this.cmb_FaceQuality.TabIndex = 18;
+            this.cmb_FaceQuality.ValueMember = "";
+            this.cmb_FaceQuality.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_FaceQuality.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_RollTopEdit
+            // 
+            appearance43.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollTopEdit.Appearance = appearance43;
+            this.txt_RollTopEdit.AutoSize = true;
+            this.txt_RollTopEdit.FlatMode = true;
+            this.txt_RollTopEdit.Location = new System.Drawing.Point(60, 40);
+            this.txt_RollTopEdit.MaxLength = 5;
+            this.txt_RollTopEdit.Name = "txt_RollTopEdit";
+            this.txt_RollTopEdit.Size = new System.Drawing.Size(32, 19);
+            this.txt_RollTopEdit.TabIndex = 5;
+            this.txt_RollTopEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_RollTopEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.Location = new System.Drawing.Point(240, 43);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel15.TabIndex = 573;
+            this.ultraLabel15.Text = "板块类型";
+            // 
+            // cmb_BilletType
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_BilletType.Appearance = appearance44;
+            this.cmb_BilletType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BilletType.DisplayMember = "";
+            this.cmb_BilletType.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_BilletType.FlatMode = true;
+            this.cmb_BilletType.Location = new System.Drawing.Point(296, 40);
+            this.cmb_BilletType.Name = "cmb_BilletType";
+            this.cmb_BilletType.Size = new System.Drawing.Size(112, 19);
+            this.cmb_BilletType.TabIndex = 16;
+            this.cmb_BilletType.Tag = "";
+            this.cmb_BilletType.ValueMember = "";
+            this.cmb_BilletType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_BilletType.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // cmb_ClassTeam
+            // 
+            appearance45.BackColor = System.Drawing.Color.LavenderBlush;
+            this.cmb_ClassTeam.Appearance = appearance45;
+            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassTeam.DisplayMember = "";
+            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassTeam.FlatMode = true;
+            this.cmb_ClassTeam.Location = new System.Drawing.Point(472, 40);
+            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
+            this.cmb_ClassTeam.Size = new System.Drawing.Size(88, 19);
+            this.cmb_ClassTeam.TabIndex = 23;
+            this.cmb_ClassTeam.Tag = "";
+            this.cmb_ClassTeam.ValueMember = "";
+            this.cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_ClassTeam.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(416, 44);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel10.TabIndex = 571;
+            this.ultraLabel10.Text = "入库班组";
+            // 
+            // cmb_ClassOrder
+            // 
+            appearance46.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ClassOrder.Appearance = appearance46;
+            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOrder.DisplayMember = "";
+            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassOrder.FlatMode = true;
+            this.cmb_ClassOrder.Location = new System.Drawing.Point(472, 16);
+            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
+            this.cmb_ClassOrder.Size = new System.Drawing.Size(88, 19);
+            this.cmb_ClassOrder.TabIndex = 22;
+            this.cmb_ClassOrder.Tag = "";
+            this.cmb_ClassOrder.ValueMember = "";
+            this.cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_ClassOrder.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(416, 20);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 570;
+            this.ultraLabel14.Text = "入库班次";
+            // 
+            // Txt_FNum
+            // 
+            appearance47.BackColor = System.Drawing.Color.LavenderBlush;
+            this.Txt_FNum.Appearance = appearance47;
+            this.Txt_FNum.FlatMode = true;
+            this.Txt_FNum.Location = new System.Drawing.Point(200, 16);
+            this.Txt_FNum.MaskInput = "nnn";
+            this.Txt_FNum.MaxValue = 1000;
+            this.Txt_FNum.MinValue = -1;
+            this.Txt_FNum.Name = "Txt_FNum";
+            this.Txt_FNum.PromptChar = ' ';
+            this.Txt_FNum.ReadOnly = true;
+            this.Txt_FNum.Size = new System.Drawing.Size(24, 19);
+            this.Txt_FNum.TabIndex = 4;
+            this.Txt_FNum.TabStop = false;
+            // 
+            // Dte_PTime
+            // 
+            appearance48.BackColor = System.Drawing.Color.LightCyan;
+            this.Dte_PTime.Appearance = appearance48;
+            this.Dte_PTime.DateTime = new System.DateTime(2013, 8, 26, 0, 0, 0, 0);
+            this.Dte_PTime.FlatMode = true;
+            this.Dte_PTime.Location = new System.Drawing.Point(296, 16);
+            this.Dte_PTime.MaskInput = "{date} {time}";
+            this.Dte_PTime.Name = "Dte_PTime";
+            this.Dte_PTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_PTime.TabIndex = 15;
+            this.Dte_PTime.Tag = "";
+            this.Dte_PTime.Value = new System.DateTime(2013, 8, 26, 0, 0, 0, 0);
+            this.Dte_PTime.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Dte_PTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // Txt_DH
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_DH.Appearance = appearance49;
+            this.Txt_DH.AutoSize = true;
+            this.Txt_DH.FlatMode = true;
+            this.Txt_DH.Location = new System.Drawing.Point(120, 16);
+            this.Txt_DH.MaxLength = 3;
+            this.Txt_DH.Name = "Txt_DH";
+            this.Txt_DH.Size = new System.Drawing.Size(52, 19);
+            this.Txt_DH.TabIndex = 2;
+            this.Txt_DH.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_DH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // Txt_DHNum
+            // 
+            appearance50.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_DHNum.Appearance = appearance50;
+            this.Txt_DHNum.FlatMode = true;
+            this.Txt_DHNum.Location = new System.Drawing.Point(172, 16);
+            this.Txt_DHNum.MaskInput = "nn";
+            this.Txt_DHNum.MaxValue = 99;
+            this.Txt_DHNum.MinValue = -1;
+            this.Txt_DHNum.Name = "Txt_DHNum";
+            this.Txt_DHNum.PromptChar = ' ';
+            this.Txt_DHNum.Size = new System.Drawing.Size(28, 19);
+            this.Txt_DHNum.TabIndex = 3;
+            this.Txt_DHNum.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_DHNum.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // Txt_DHDate
+            // 
+            appearance51.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_DHDate.Appearance = appearance51;
+            this.Txt_DHDate.AutoSize = true;
+            this.Txt_DHDate.FlatMode = true;
+            this.Txt_DHDate.Location = new System.Drawing.Point(72, 16);
+            this.Txt_DHDate.Name = "Txt_DHDate";
+            this.Txt_DHDate.Size = new System.Drawing.Size(48, 19);
+            this.Txt_DHDate.TabIndex = 1;
+            this.Txt_DHDate.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_DHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel28
+            // 
+            this.ultraLabel28.Location = new System.Drawing.Point(240, 20);
+            this.ultraLabel28.Name = "ultraLabel28";
+            this.ultraLabel28.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel28.TabIndex = 564;
+            this.ultraLabel28.Text = "生产时间";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.Location = new System.Drawing.Point(16, 20);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel16.TabIndex = 563;
+            this.ultraLabel16.Text = "板块吊号";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(240, 117);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 556;
+            this.ultraLabel8.Text = "判定性能";
+            // 
+            // cmb_DecideResult
+            // 
+            this.cmb_DecideResult.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_DecideResult.DisplayMember = "";
+            this.cmb_DecideResult.Location = new System.Drawing.Point(296, 112);
+            this.cmb_DecideResult.Name = "cmb_DecideResult";
+            this.cmb_DecideResult.ReadOnly = true;
+            this.cmb_DecideResult.Size = new System.Drawing.Size(112, 21);
+            this.cmb_DecideResult.TabIndex = 20;
+            this.cmb_DecideResult.ValueMember = "";
+            this.cmb_DecideResult.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_DecideResult.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(240, 68);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel2.TabIndex = 554;
+            this.ultraLabel2.Text = "切边类型";
+            // 
+            // cmb_ClipType
+            // 
+            this.cmb_ClipType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClipType.DisplayMember = "";
+            this.cmb_ClipType.Location = new System.Drawing.Point(296, 64);
+            this.cmb_ClipType.Name = "cmb_ClipType";
+            this.cmb_ClipType.Size = new System.Drawing.Size(112, 21);
+            this.cmb_ClipType.TabIndex = 17;
+            this.cmb_ClipType.ValueMember = "";
+            this.cmb_ClipType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_ClipType.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_SourceId
+            // 
+            appearance52.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_SourceId.Appearance = appearance52;
+            this.txt_SourceId.AutoSize = true;
+            this.txt_SourceId.FlatMode = true;
+            this.txt_SourceId.Location = new System.Drawing.Point(84, 112);
+            this.txt_SourceId.Name = "txt_SourceId";
+            this.txt_SourceId.Size = new System.Drawing.Size(148, 19);
+            this.txt_SourceId.TabIndex = 12;
+            this.txt_SourceId.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_SourceId.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // lab_YL
+            // 
+            this.lab_YL.Location = new System.Drawing.Point(16, 116);
+            this.lab_YL.Name = "lab_YL";
+            this.lab_YL.Size = new System.Drawing.Size(66, 16);
+            this.lab_YL.TabIndex = 552;
+            this.lab_YL.Text = "原料明细号";
+            // 
+            // cmb_InSteel
+            // 
+            this.cmb_InSteel.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_InSteel.DisplayMember = "";
+            this.cmb_InSteel.Location = new System.Drawing.Point(152, 136);
+            this.cmb_InSteel.Name = "cmb_InSteel";
+            this.cmb_InSteel.Size = new System.Drawing.Size(88, 21);
+            this.cmb_InSteel.TabIndex = 14;
+            this.cmb_InSteel.ValueMember = "";
+            this.cmb_InSteel.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_InSteel.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // cmb_ProductLineEdit
+            // 
+            this.cmb_ProductLineEdit.AutoSize = true;
+            this.cmb_ProductLineEdit.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            valueListItem3.DataValue = "4001ZB1";
+            valueListItem3.DisplayText = "中板线";
+            valueListItem4.DataValue = "4001HB1";
+            valueListItem4.DisplayText = "厚板线";
+            valueListItem5.DataValue = "4001GX1";
+            valueListItem5.DisplayText = "高棒厂";
+            valueListItem6.DataValue = "4001GX2";
+            valueListItem6.DisplayText = "二线厂";
+            valueListItem7.DataValue = "4001BC1";
+            valueListItem7.DisplayText = "普棒厂";
+            this.cmb_ProductLineEdit.Items.Add(valueListItem3);
+            this.cmb_ProductLineEdit.Items.Add(valueListItem4);
+            this.cmb_ProductLineEdit.Items.Add(valueListItem5);
+            this.cmb_ProductLineEdit.Items.Add(valueListItem6);
+            this.cmb_ProductLineEdit.Items.Add(valueListItem7);
+            this.cmb_ProductLineEdit.Location = new System.Drawing.Point(50, 136);
+            this.cmb_ProductLineEdit.Name = "cmb_ProductLineEdit";
+            this.cmb_ProductLineEdit.Size = new System.Drawing.Size(72, 21);
+            this.cmb_ProductLineEdit.TabIndex = 13;
+            this.cmb_ProductLineEdit.ValueChanged += new System.EventHandler(this.cmb_ProductLineEdit_ValueChanged);
+            this.cmb_ProductLineEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.cmb_ProductLineEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(565, 136);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(11, 14);
+            this.ultraLabel3.TabIndex = 542;
+            this.ultraLabel3.Text = "t";
+            // 
+            // txt_WEIGHT
+            // 
+            appearance53.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_WEIGHT.Appearance = appearance53;
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(472, 136);
+            this.txt_WEIGHT.MaskInput = "nnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.ReadOnly = true;
+            this.txt_WEIGHT.Size = new System.Drawing.Size(88, 19);
+            this.txt_WEIGHT.TabIndex = 27;
+            this.txt_WEIGHT.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(416, 140);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel1.TabIndex = 533;
+            this.ultraLabel1.Text = "入库重量";
+            // 
+            // txt_PlanNO
+            // 
+            appearance54.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PlanNO.Appearance = appearance54;
+            this.txt_PlanNO.AutoSize = true;
+            this.txt_PlanNO.FlatMode = true;
+            this.txt_PlanNO.Location = new System.Drawing.Point(60, 64);
+            this.txt_PlanNO.Name = "txt_PlanNO";
+            this.txt_PlanNO.Size = new System.Drawing.Size(172, 19);
+            this.txt_PlanNO.TabIndex = 10;
+            this.txt_PlanNO.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_PlanNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Width
+            // 
+            appearance55.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_Width.Appearance = appearance55;
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(472, 88);
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(88, 19);
+            this.txt_Width.TabIndex = 25;
+            this.txt_Width.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Length
+            // 
+            appearance56.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_Length.Appearance = appearance56;
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(472, 112);
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(88, 19);
+            this.txt_Length.TabIndex = 26;
+            this.txt_Length.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Ply
+            // 
+            appearance57.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_Ply.Appearance = appearance57;
+            this.txt_Ply.FlatMode = true;
+            this.txt_Ply.Location = new System.Drawing.Point(472, 64);
+            this.txt_Ply.MaskInput = "nnn.nnn";
+            this.txt_Ply.Name = "txt_Ply";
+            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Ply.PromptChar = ' ';
+            this.txt_Ply.Size = new System.Drawing.Size(88, 19);
+            this.txt_Ply.TabIndex = 24;
+            this.txt_Ply.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_RollEnd
+            // 
+            appearance58.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_RollEnd.Appearance = appearance58;
+            this.txt_RollEnd.AutoSize = true;
+            this.txt_RollEnd.FlatMode = true;
+            this.txt_RollEnd.Location = new System.Drawing.Point(192, 40);
+            this.txt_RollEnd.MaxLength = 2;
+            this.txt_RollEnd.Name = "txt_RollEnd";
+            this.txt_RollEnd.Size = new System.Drawing.Size(22, 19);
+            this.txt_RollEnd.TabIndex = 8;
+            this.txt_RollEnd.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_RollEnd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_MBilletID
+            // 
+            appearance59.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_MBilletID.Appearance = appearance59;
+            this.txt_MBilletID.AutoSize = true;
+            this.txt_MBilletID.FlatMode = true;
+            this.txt_MBilletID.Location = new System.Drawing.Point(160, 40);
+            this.txt_MBilletID.MaxLength = 4;
+            this.txt_MBilletID.Name = "txt_MBilletID";
+            this.txt_MBilletID.Size = new System.Drawing.Size(32, 19);
+            this.txt_MBilletID.TabIndex = 7;
+            this.txt_MBilletID.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_MBilletID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Roll
+            // 
+            appearance60.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_Roll.Appearance = appearance60;
+            this.txt_Roll.AutoSize = true;
+            this.txt_Roll.FlatMode = true;
+            this.txt_Roll.Location = new System.Drawing.Point(92, 40);
+            this.txt_Roll.MaxLength = 6;
+            this.txt_Roll.Name = "txt_Roll";
+            this.txt_Roll.Size = new System.Drawing.Size(68, 19);
+            this.txt_Roll.TabIndex = 6;
+            this.txt_Roll.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Roll.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel27
+            // 
+            this.ultraLabel27.Location = new System.Drawing.Point(240, 92);
+            this.ultraLabel27.Name = "ultraLabel27";
+            this.ultraLabel27.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel27.TabIndex = 530;
+            this.ultraLabel27.Text = "表面质量";
+            // 
+            // ultraLabel24
+            // 
+            this.ultraLabel24.Location = new System.Drawing.Point(16, 140);
+            this.ultraLabel24.Name = "ultraLabel24";
+            this.ultraLabel24.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel24.TabIndex = 528;
+            this.ultraLabel24.Text = "产线";
+            // 
+            // txt_OrderNOEdit
+            // 
+            appearance61.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_OrderNOEdit.Appearance = appearance61;
+            this.txt_OrderNOEdit.AutoSize = true;
+            this.txt_OrderNOEdit.FlatMode = true;
+            this.txt_OrderNOEdit.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txt_OrderNOEdit.Location = new System.Drawing.Point(60, 88);
+            this.txt_OrderNOEdit.Name = "txt_OrderNOEdit";
+            this.txt_OrderNOEdit.Size = new System.Drawing.Size(172, 19);
+            this.txt_OrderNOEdit.TabIndex = 11;
+            this.txt_OrderNOEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_OrderNOEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(16, 92);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel7.TabIndex = 527;
+            this.ultraLabel7.Text = "订单号";
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.Location = new System.Drawing.Point(565, 88);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(17, 14);
+            this.ultraLabel20.TabIndex = 525;
+            this.ultraLabel20.Text = "mm";
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.Location = new System.Drawing.Point(565, 112);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(17, 14);
+            this.ultraLabel19.TabIndex = 524;
+            this.ultraLabel19.Text = "mm";
+            // 
+            // lab_cd
+            // 
+            this.lab_cd.Location = new System.Drawing.Point(416, 116);
+            this.lab_cd.Name = "lab_cd";
+            this.lab_cd.Size = new System.Drawing.Size(54, 16);
+            this.lab_cd.TabIndex = 523;
+            this.lab_cd.Text = "入库长度";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(416, 92);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel17.TabIndex = 522;
+            this.ultraLabel17.Text = "入库宽度";
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(565, 64);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(17, 14);
+            this.ultraLabel4.TabIndex = 521;
+            this.ultraLabel4.Text = "mm";
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(416, 68);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel12.TabIndex = 520;
+            this.ultraLabel12.Text = "入库厚度";
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.Location = new System.Drawing.Point(124, 140);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel11.TabIndex = 519;
+            this.ultraLabel11.Text = "牌号";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.Location = new System.Drawing.Point(16, 68);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel13.TabIndex = 518;
+            this.ultraLabel13.Text = "计划号";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(16, 44);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel6.TabIndex = 517;
+            this.ultraLabel6.Text = "序号";
+            // 
+            // txt_Comments
+            // 
+            this.txt_Comments.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+                        | System.Windows.Forms.AnchorStyles.Right)));
+            appearance62.BackColor = System.Drawing.Color.LightCyan;
+            appearance62.FontData.BoldAsString = "True";
+            appearance62.ForeColor = System.Drawing.Color.Red;
+            appearance62.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance62.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.txt_Comments.Appearance = appearance62;
+            this.txt_Comments.AutoSize = true;
+            this.txt_Comments.FlatMode = true;
+            this.txt_Comments.Location = new System.Drawing.Point(72, 8);
+            this.txt_Comments.Name = "txt_Comments";
+            this.txt_Comments.ReadOnly = true;
+            this.txt_Comments.Size = new System.Drawing.Size(969, 19);
+            this.txt_Comments.TabIndex = 41;
+            this.txt_Comments.TabStop = false;
+            // 
+            // ultraLabel18
+            // 
+            appearance63.FontData.BoldAsString = "True";
+            appearance63.ForeColor = System.Drawing.Color.Red;
+            appearance63.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel18.Appearance = appearance63;
+            this.ultraLabel18.Font = new System.Drawing.Font("宋体", 9.5F);
+            this.ultraLabel18.Location = new System.Drawing.Point(8, 8);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(62, 18);
+            this.ultraLabel18.TabIndex = 493;
+            this.ultraLabel18.Text = "提示信息";
+            // 
+            // ultraTabControl1
+            // 
+            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl1);
+            this.ultraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraTabControl1.Location = new System.Drawing.Point(0, 333);
+            this.ultraTabControl1.Name = "ultraTabControl1";
+            this.ultraTabControl1.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.ultraTabControl1.Size = new System.Drawing.Size(1144, 329);
+            this.ultraTabControl1.TabIndex = 7;
+            ultraTab1.Key = "InStorageInfo";
+            ultraTab1.TabPage = this.ultraTabPageControl1;
+            ultraTab1.Text = "入库信息";
+            this.ultraTabControl1.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1});
+            this.ultraTabControl1.TabStop = false;
+            this.ultraTabControl1.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1140, 306);
+            // 
+            // FrmTurnoffInStorage
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1144, 662);
+            this.Controls.Add(this.ultraTabControl1);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmTurnoffInStorage";
+            this.Text = "分选板直接入成品库";
+            this.Load += new System.EventHandler(this.FrmTurnoffInStorage_Load);
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_InStorage)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_InStorageInfo)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dataTable2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PEndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PBeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ShopSign)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Butter)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_StoveNo)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Rule)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_EndEnter)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuality)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTopEdit)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BilletType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_FNum)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_PTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHNum)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHDate)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_DecideResult)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClipType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SourceId)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLineEdit)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MBilletID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Roll)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNOEdit)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Comments)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).EndInit();
+            this.ultraTabControl1.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked;
+			this.dte_EndTime.Enabled = this.chk_CollectTime.Checked;
+		}
+		private void chk_Ptime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.dte_PBeginTime.Enabled = this.chk_Ptime.Checked;
+			this.dte_PEndTime.Enabled = this.chk_Ptime.Checked;
+		}
+
+		private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+		}
+
+		private void chk_PlanID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanID.Enabled = this.chk_PlanID.Checked;
+		}
+
+		private void chk_BilletID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_BilletID.Enabled = this.chk_BilletID.Checked;
+		}
+
+		private void chk_ProductLine_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_ProductLine.Enabled = this.chk_ProductLine.Checked;
+		}
+
+		private void chk_Condole_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_Condole.Enabled =this.chk_Condole.Checked;
+		}
+
+		private void chk_RollNum_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_RollTop.Enabled = this.chk_RollNum.Checked;
+			txt_RollNOBegin.Enabled = this.chk_RollNum.Checked;
+			txt_RollNOEnd.Enabled = this.chk_RollNum.Checked;
+		}
+
+		private void chk_ShopSign_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_ShopSign.Enabled = this.chk_ShopSign.Checked;
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if (this.chk_AllowFilter.Checked)
+			{
+				this.gd_InStorage.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;				
+			}
+			else
+			{
+				this.gd_InStorage.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+				
+			}
+
+		}
+
+		private void cmb_ProductLine_ValueChanged(object sender, System.EventArgs e)
+		{
+			string strOut = "";
+			string plid = "";
+			
+			plid = Comm.ObjToStr(cmb_ProductLine.Value);
+			//----初始化cmb_ShopSign---------------
+			string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + plid+ "' ORDER BY STEELNAME ASC";
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_R_PLINE_STEELS";
+
+			Comm.Init_ComboControl(this.cmb_ShopSign,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
+		}
+
+		private void cmb_ProductLineEdit_ValueChanged(object sender, System.EventArgs e)
+		{
+			string strOut = "";
+			string plid = "";
+            //string plidSon = "";
+						
+			plid = Comm.ObjToStr(cmb_ProductLineEdit.Value);
+
+			/*switch(plid)
+			{
+				case "4001HB1":
+                    plidSon = "4124HB";
+					break;
+
+				case "4001ZB1":
+					plidSon = "4124ZB";
+					break;
+                    case "4001GX1":
+					plidSon = "4124GX";
+                    break;
+                case "4001BC1":
+                    plidSon = "4124BC";
+                    break;
+			}*/
+
+
+			//----初始化cmb_ShopSign---------------编辑区牌号
+			string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + plid+ "' ORDER BY STEELNAME ASC";
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_R_PLINE_STEELS";
+
+			Comm.Init_ComboControl(this.cmb_InSteel,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
+		}	
+
+		
+
+
+
+
+	
+
+		private void btn_ClearFilter_Click(object sender, System.EventArgs e)
+		{
+			this.gd_InStorage.DisplayLayout.Bands[0].ColumnFilters.ClearAllFilters();
+			this.gd_InStorage.DisplayLayout.Bands[1].ColumnFilters.ClearAllFilters();
+			Comm.SetGridSumArea(this.gd_InStorage);
+		}
+        public string sstyle = "";
+		private void FrmTurnoffInStorage_Load(object sender, System.EventArgs e)
+		{
+			Txt_DHDate.Text=System.DateTime.Now.ToString("yyMMdd");
+            if (this.Key.Split('@').Length > 1)
+            {
+                sstyle = this.Key.Split('@')[1];
+
+            }
+            
+			this.IniComb();
+			Comm.SetGridSumArea(this.gd_InStorage);
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "Query":
+					string condole="";
+					if(this.txt_Condole.Enabled && this.txt_Condole.Text.Trim().Length>0)
+					{
+						condole=this.txt_Condole.Text.Trim();
+					}
+					this.QueryInStorage("Query",condole);
+					break;
+
+				case "CancelRecord":
+					this.CancelBilletInStorage();
+					break;
+
+				case "Exc":
+					this.Export(gd_InStorage,@"成品入库信息.xls");
+					break;
+
+				case "Close":
+					Comm.CloseForm(this);
+					break;
+
+			}
+
+		}
+
+		#region "IniComb"
+		private void IniComb()
+		{
+			string strOut = "";
+
+			//初始化cmb_ClipType切边类型
+			string Sql = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='1030'";
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_ClipType,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//初始化cmb_FaceQuality表面质量
+			string Sql1 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='5126'";
+            DataSet ds1 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql1 }, out strOut);
+			ds1.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_FaceQuality,"SCM_BASE_INFO","NAME_","ID_",ref ds1);
+
+			//初始化cmb_BilletType板块类型
+			string Sql2 = "select ID_,NAME_  from KCJ_BASEDATA  where sort_code='8006'";
+            DataSet ds2 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql2 }, out strOut);
+			ds2.Tables[0].TableName="KCJ_BASEDATA";
+
+			Comm.Init_ComboControl(this.cmb_BilletType,"KCJ_BASEDATA","NAME_","ID_",ref ds2);
+
+			
+			//初始化cmb_DecideResult判定结果
+			string Sql3 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='4014'";
+            DataSet ds3 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql3 }, out strOut);
+			ds3.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_DecideResult,"SCM_BASE_INFO","NAME_","ID_",ref ds3);
+
+			//初始化cmb_ClassOrder班次
+			string Sql4 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='3002'";
+            DataSet ds4 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql4 }, out strOut);
+			ds4.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds4);
+
+			//初始化cmb_ClassTeam班组
+			string Sql5 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='3003'";
+            DataSet ds5 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql5 }, out strOut);
+			ds5.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds5);
+
+
+			//初始化cmb_Rule定尺
+			string Sql7 = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='1022'";
+            DataSet ds7 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { Sql7 }, out strOut);
+			ds7.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_Rule,"SCM_BASE_INFO","NAME_","ID_",ref ds7);
+
+
+
+
+
+            //摆放堆位
+            string strSql ="";
+            DataSet ds9 = new DataSet();
+            if (sstyle == "1")
+            {
+
+                strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' and  AREACODE='对外加工(板材)' ";
+            }
+            else
+            {
+                strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' and  AREACODE='对外加工(棒线材)' ";
+            }
+                ds9 = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                ds9.Tables[0].TableName = "KCJ_BUTTRESS";
+
+                Comm.Init_ComboControl(this.Cmb_Butter, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds9);
+           
+
+
+		}
+		#endregion
+
+		#region "板块登记信息查询"
+		private void QueryInStorage(string _QueryType, string  _CondoleNO)
+		{
+
+			string orderNO = "";
+			string billetID = "";
+			string shopSign = "";
+			string where = "";
+			string strOut ="";
+
+			if(_QueryType == "Query")
+			{
+				if(this.txt_OrderNO.Enabled)
+				{
+					if(this.txt_OrderNO.Text.Length >0)
+					{
+						orderNO = this.txt_OrderNO.Text.Trim();
+					}
+					else
+					{
+						where += " AND A.ORDERNO IS NULL";
+					}
+				}
+
+				if(this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
+				{
+					where += " AND A.PLANNO LIKE '%" + this.txt_PlanID.Text.Trim() + "%'";
+				}
+			
+				if(this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
+				{
+					billetID = this.txt_BilletID.Text.Trim();
+
+				}
+				if(this.cmb_ShopSign.Enabled && this.cmb_ShopSign.Text.Trim().Length >= 0)
+				{
+					shopSign = Comm.ObjToStr(this.cmb_ShopSign.Text);
+				}
+				if(this.cmb_ProductLine.Enabled && this.cmb_ProductLine.SelectedIndex >= 0)
+				{
+					where +=" AND A.PRODUCTLINE = '"+ Comm.ObjToStr(this.cmb_ProductLine.Value)+"'";
+				}
+				if(this.dte_BeginTime.Enabled && this.dte_EndTime.Enabled)
+				{
+					where += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+						+ " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+				}	
+				
+				if(this.dte_PBeginTime.Enabled && this.dte_PEndTime.Enabled)
+				{
+					where += " AND TO_CHAR(A.PTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_PBeginTime.Value).ToString("yyyy-MM-dd")+"' "
+						+ " AND TO_CHAR(A.PTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_PEndTime.Value).ToString("yyyy-MM-dd")+"' ";
+				}	
+
+				if(this.chk_RollNum.Checked)
+				{
+					where += " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='"+this.txt_RollTop.Text.Trim()+"' ";
+					if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length<5)
+					{
+						where += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='"+this.txt_RollNOBegin.Text.Trim()+"'";
+					}
+					if(this.txt_RollNOBegin.Text.Trim().Length<5 && this.txt_RollNOEnd.Text.Trim().Length==5)
+					{
+						where += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'";
+					}
+					if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length==5)
+					{
+						where += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'"
+							+ " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='"+this.txt_RollNOBegin.Text.Trim()+"'";
+					}
+
+				}
+				if(_CondoleNO.Length > 0)
+				{
+					where = where+"AND I.CONDOLENUMBER LIKE'%"+_CondoleNO+"%'";
+				}
+			}
+
+			try
+			{   
+				this.ds_InStorageInfo.Tables["KCJ_TURNOFFLIST"].Clear();
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffManager",
+                    "QueryInStorageInfo", new object[] { orderNO, billetID, shopSign, where, sstyle }, out strOut);
+
+				if(strOut == "")
+				{
+					this.ds_InStorageInfo.Merge(ds.Copy());
+					this.ds_InStorageInfo.Tables["KCJ_TURNOFFLIST"].AcceptChanges();					
+				
+					this.gd_InStorage.UpdateData();//++
+					Comm.SetGridSumArea(this.gd_InStorage);
+
+					
+				}
+				else
+				{
+					MessageBox.Show(strOut,"提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);	
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}			
+
+
+		}
+		#endregion
+
+		#region "获取板块信息方法"
+
+		private void GetBilletInfo(string _Where)
+		{
+			string strOut="";
+
+			try
+			{
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffManager",
+					"GetBilletInfo",new object[]{_Where,sstyle},out strOut);
+				
+				if(ds != null && ds.Tables["KCJ_STORAGELIST"].Rows.Count>0)
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Blue;
+					txt_Comments.Text = "成功获取该板块信息!";
+						
+					System.Data.DataRow	dr = ds.Tables[0].Rows[0];
+
+					txt_PlanNO.Text = Comm.ObjToStr(dr["PLANNO"]);
+					txt_OrderNOEdit.Text = Comm.ObjToStr(dr["ORDERNO"]);
+					txt_SourceId.Text = Comm.ObjToStr(dr["SOURCEID"]);						
+					cmb_ProductLineEdit.Value = Comm.ObjToStr(dr["PRODUCTLINE"]);
+					cmb_InSteel.Value = Comm.ObjToStr(dr["DETERMINANTCARDNUMBER"]);
+					cmb_FaceQuality.Value = Comm.ObjToStr(dr["FACEQUALITY"]);
+					cmb_DecideResult.Value = Comm.ObjToStr(dr["DETERMINANTRESULT"]);
+					txt_Ply.Value = Comm.ObjToDouble(dr["PLY"]);
+                    cmb_ClipType.Value = Comm.ObjToDouble(dr["SENDSTATUS"]);
+					txt_Width.Value = Comm.ObjToDouble(dr["WIDTH"]);
+					txt_Length.Value = Comm.ObjToDouble(dr["LENGTH"]);
+					txt_WEIGHT.Value = Comm.ObjToDouble(dr["THEORYWEIGHT"]);
+					txt_StoveNo.Text = Comm.ObjToStr(dr["STOVENO"]);
+                    cmb_Rule.Value = Comm.ObjToDouble(dr["FIXSIZE"]);
+					
+								
+
+				}
+				else
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "该板块不存在,已登记入库或出库!";	
+					txt_RollTopEdit.Focus();
+				
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+
+
+      
+
+		private string GetWhere()
+		{
+			string billetID = "";
+			string where = "";
+
+			if(txt_RollTopEdit.Text.Trim().Length > 0 && txt_Roll.Text.Trim().Length > 0 && txt_MBilletID.Text.Trim().Length >0 )
+			{
+				billetID += txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim()+"."+txt_MBilletID.Text.Trim();
+			}
+			if(txt_RollEnd.Text.Trim().Length > 0)
+			{
+				billetID +="."+txt_RollEnd.Text.Trim();
+			}
+			if(txt_EndEnter.Text.Trim().Length > 0)
+			{
+				billetID += "."+txt_EndEnter.Text.Trim();
+			}
+			where += " AND A.BILLETID = '" + billetID + "'";
+
+			return where;
+			
+
+		}
+
+
+
+		#endregion
+
+		#region "检查输入状态"
+		private bool CheckInput()
+		{
+			try
+			{
+				
+				if(txt_RollTopEdit.Text.Trim().Length <= 0 || txt_Roll.Text.Trim().Length <= 0 || txt_MBilletID.Text.Trim().Length <=0)
+				{			
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "板块序号不完整,请填写完整!";
+					return false;
+				}
+				
+			
+				if(Comm.ObjToStr(txt_Ply.Value).Length <= 0 || Comm.ObjToStr(txt_Width.Value).Length <= 0 || Comm.ObjToStr(txt_Length.Value).Length <= 0 ||
+					Comm.ObjToStr(txt_WEIGHT.Value).Length <= 0)
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "规格信息不完整,请填写完整!";
+					return false;
+				}
+                if (sstyle == "2")
+                {
+                }
+                else
+                {
+                    if (Comm.ObjToInt(this.Txt_FNum.Value) >= Comm.ObjToInt(this.Txt_DHNum.Value))
+                    {
+                        txt_Comments.Appearance.ForeColor = System.Drawing.Color.Red;
+                        txt_Comments.Text = "当前吊号已登记" + Comm.ObjToStr(this.Txt_FNum.Value) + "块";
+                        return false;
+                    }
+                }
+				if(this.Txt_DHDate.Text.Length==0 | this.Txt_DH.Text.Length==0)
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "吊号不完整,请您确认板块的吊号!";					
+					return false;
+				}
+				if(Comm.ObjToStr(this.cmb_Rule.Value).Length<=0)
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "定尺类型不能为空,请您确认定尺类型!";					
+					return false;
+				}
+				if(txt_StoveNo.Text.Trim().Length <= 0 )
+				{			
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "炉号不能为空,请填写完整!";
+					return false;
+				}
+			
+				return true;
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return false;
+
+			}
+
+		}
+		#endregion
+
+		#region "提交板块信息"
+		private void btn_InputInfo_Click(object sender, System.EventArgs e)
+		{
+			string strOut = "";			
+			string billetID="";//序号
+			System.Collections.ArrayList Billet = new ArrayList();
+
+			try
+			{
+				if(this.CheckInput())
+				{
+										
+					
+					
+					Billet.Clear();
+
+					if(txt_RollTopEdit.Text.Trim().Length > 0 && txt_Roll.Text.Trim().Length > 0 && txt_MBilletID.Text.Trim().Length >0 )
+					{
+						billetID += txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim()+"."+txt_MBilletID.Text.Trim();
+					}
+					else
+					{
+						txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+						txt_Comments.Text = "板块序号不完整,请将板块序号填写完整!";
+						return;
+					}
+					if(txt_RollEnd.Text.Trim().Length > 0)
+					{
+						billetID +="."+txt_RollEnd.Text.Trim();
+					}
+					if(txt_EndEnter.Text.Trim().Length > 0)
+					{
+						billetID += "."+txt_EndEnter.Text.Trim();
+					}
+
+					Billet.Add(billetID); //1
+					Billet.Add(Comm.ObjToStr(cmb_ProductLineEdit.Value));//2
+					Billet.Add(txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim());//3
+					Billet.Add(txt_PlanNO.Text.Trim());//4
+					Billet.Add(txt_OrderNOEdit.Text.Trim());//5
+					Billet.Add(Comm.ObjToStr(cmb_InSteel.Value));//6
+					Billet.Add(Comm.ObjToStr(cmb_BilletType.Value));//7
+					Billet.Add(Comm.ObjToStr(cmb_DecideResult.Value));//8
+					Billet.Add(txt_SourceId.Text.Trim());//9
+					Billet.Add(Comm.ObjToStr(txt_Ply.Value));//10
+					Billet.Add(Comm.ObjToStr(txt_Width.Value));//11
+					Billet.Add(Comm.ObjToStr(txt_Length.Value));	//12		
+					Billet.Add(Comm.ObjToStr(txt_WEIGHT.Value));//13
+					Billet.Add(Comm.ObjToStr(cmb_FaceQuality.Value));//14
+					Billet.Add(Dte_PTime.DateTime.ToString("yyyy-MM-dd HH:mm:ss"));//15
+					Billet.Add(Comm.ObjToStr(cmb_ClassOrder.Value));//16
+					Billet.Add(Comm.ObjToStr(cmb_ClassTeam.Value));//17
+					Billet.Add(Comm.ObjToStr(cmb_Rule.Value));//18
+					Billet.Add(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());//19
+					Billet.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);//20
+					Billet.Add(txt_StoveNo.Text.Trim());//21//炉号
+                    Billet.Add(Comm.ObjToStr(this.Cmb_Butter.Value));//22摆放堆位
+                    Billet.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserRoleID);
+                    Billet.Add(sstyle);
+
+                    string info = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffManager",
+						"AddInStorage",new object[]{Billet},out strOut).ToString();
+					if(info != "1" || strOut != "")
+					{
+						txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+						txt_Comments.Text = info+strOut;
+
+						return;
+					}							
+					this.Txt_FNum.Value=this.GetCondoleNum(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Blue;
+					txt_Comments.Text="成功入库!";	
+					txt_Ply.Value=0;
+					txt_Width.Value=0;
+					txt_Length.Value=0;
+					txt_StoveNo.Clear();
+					txt_WEIGHT.Value=0;
+					
+					txt_PlanNO.Clear();
+					txt_OrderNOEdit.Clear();
+                    if (sstyle != "2")
+                    {
+                  
+					cmb_Rule.Value=null;
+                }
+					txt_RollTopEdit.Focus();
+					txt_RollTopEdit.SelectAll();
+					this.QueryInStorage("Query",this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());
+				
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+		#endregion
+
+		#region "撤销板块登记"
+		private void CancelBilletInStorage()
+		{
+			string strBilletId = "";
+			string strCondol="";
+			string strOut = "";
+
+			try
+			{
+				System.Windows.Forms.DialogResult result = MessageBox.Show("确认所选中的入库信息撤销吗?","提示",MessageBoxButtons.OKCancel,MessageBoxIcon.Question);
+				if(result == System.Windows.Forms.DialogResult.OK)
+				{
+
+					foreach ( Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gd_InStorage.Selected.Rows )
+					{	
+						if (row.Band.Key != "KCJ_TURNOFFLIST")
+						{
+							MessageBox.Show("您尚未选择要撤销的板块记录!","提示信息",
+								MessageBoxButtons.OK,MessageBoxIcon.Information);
+							return;
+						}
+
+						strBilletId = Comm.ObjToStr(row.Cells["BILLETID"].Value);
+						strCondol = Comm.ObjToStr(row.Cells["CONDOLENUMBER"].Value);//CONDOLENUMBER
+						string creatMan=Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+
+						string info = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff","Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffManager",
+							"CancelTurnoffIn",new object[]{strBilletId,creatMan},out strOut).ToString();
+						if(info != "1" || strOut != "")
+						{
+							MessageBox.Show(info+strOut,"提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);
+							return;
+						}
+						
+					
+					}//foreach					
+
+					this.QueryInStorage("Query",strCondol);
+					MessageBox.Show("成功撤销板块登记信息!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		#endregion
+
+		#region "获得当前吊号的板块数"
+		private int GetCondoleNum(string where)
+		{
+			string strOut = "";
+			try
+			{
+				string sql = "SELECT COUNT(1) FROM KCJ_TURNOFFBUTTRESSLIST_ZW WHERE CONDOLENUMBER='"+where+"'";
+				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff","Core.XgMes.Server.JGKC.SteelPlateManager.Common","GetDataSet",new object []{sql},out strOut);
+				System.Data.DataTable tab = ds.Tables[0];
+				if(tab!=null && tab.Rows.Count==1)
+				{
+					return Comm.ObjToInt(tab.Rows[0][0]);
+				}
+				return 0;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		#endregion
+
+		#region "Event"
+		private void Txt_DHDate_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			if (e.KeyCode == Keys.Return)
+			{
+				if(((System.Windows.Forms.Control)sender).Name == this.Txt_DH.Name)
+				{
+					this.Txt_DH.Text = this.Txt_DH.Text.PadLeft(3,'0');
+					this.QueryInStorage("Query",this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());
+					this.Txt_FNum.Value=this.GetCondoleNum(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());
+				}
+
+				if(((System.Windows.Forms.Control)sender).Name == this.txt_EndEnter.Name)
+				{
+                    
+                       if (this.txt_RollTopEdit.Text.Trim().Length < 2 || this.txt_Roll.Text.Trim().Length < 5
+                            || this.txt_MBilletID.Text.Trim().Length < 1 )
+                        {
+                            txt_Comments.Appearance.ForeColor = System.Drawing.Color.Red;
+                            txt_Comments.Text = "板块序号不完整,请您确认板块的序号!";
+                            txt_RollTopEdit.Focus();
+                            return;
+                        }
+                       
+                                this.GetBilletInfo(this.GetWhere());
+                       
+                   
+					
+				}
+
+		
+				System.Windows.Forms.SendKeys.Send("{Tab}");
+
+			}
+		
+		}
+
+		private void Txt_DHDate_Enter(object sender, System.EventArgs e)
+		{
+			if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
+			{
+				((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+			}
+			if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+			{
+				((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+			}
+		}
+
+		#endregion
+
+		#region "导出"
+		private void Export(Infragistics.Win.UltraWinGrid.UltraGrid gd,string exceltxt)
+		{
+			try
+			{
+				string filename = exceltxt;
+				this.excelExporter.Export(gd,filename);
+				System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+				st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ; 
+				System.Diagnostics.Process.Start(st);
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+	
+
+	}
+}

+ 1173 - 0
Client/.svn/pristine/04/0478962dfbeafbc9fd00b29184cc4f0a8ed4f30f.svn-base

@@ -0,0 +1,1173 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Frm_TurnoffMove 的摘要说明。
+	/// </summary>
+	public class Frm_TurnoffMove : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ON_End;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ON_Top;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangP;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ON_Begin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ON;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_YButtress;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PackNo;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangpeiH;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Area;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_AreaB;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Oreder;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Stream;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_AreaC;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BuressMove;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Ramk;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_B;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_TurnoffMove()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar2 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TZ");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TZ");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.Appearance appearance101 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance102 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance103 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand6 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn96 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn97 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn98 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn99 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn100 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn101 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn102 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn103 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn104 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn105 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn106 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn107 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn108 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn109 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn110 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn111 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn112 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn113 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn114 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.Appearance appearance104 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings11 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 8, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 8, true);
+            Infragistics.Win.Appearance appearance105 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings12 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 7, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 7, true);
+            Infragistics.Win.Appearance appearance106 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance107 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance108 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance109 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance110 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance111 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance112 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance113 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance114 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance115 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance116 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance117 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance118 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance119 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance120 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_AreaB = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Area = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PackNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ON_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_ON_Top = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_GangP = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ON_Begin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_ON = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_YButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.txt_Ramk = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BuressMove = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_AreaC = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Stream = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Oreder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_B = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_GangpeiH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaB)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON_End)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON_Top)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON_Begin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ramk)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BuressMove)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaC)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Stream)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Oreder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_B)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
+            this.ultraExpandableGroupBox2.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(922, 26);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar2.DockedColumn = 0;
+            ultraToolbar2.DockedRow = 0;
+            ultraToolbar2.Text = "工具栏";
+            buttonTool9.InstanceProps.IsFirstInGroup = true;
+            buttonTool10.InstanceProps.IsFirstInGroup = true;
+            buttonTool11.InstanceProps.IsFirstInGroup = true;
+            buttonTool12.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar2.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar2});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool13.SharedProps.Caption = "关闭";
+            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool14.SharedProps.Caption = "查询";
+            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool15.SharedProps.Caption = "调整";
+            buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool16.SharedProps.Caption = "导出";
+            buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool13,
+            buttonTool14,
+            buttonTool15,
+            buttonTool16});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(922, 52);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(922, 52);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 26);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(922, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.cmb_AreaB);
+            this.ultraGroupBox1.Controls.Add(this.chk_Area);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_PackNo);
+            this.ultraGroupBox1.Controls.Add(this.txt_ON_End);
+            this.ultraGroupBox1.Controls.Add(this.txt_ON_Top);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
+            this.ultraGroupBox1.Controls.Add(this.chk_GangP);
+            this.ultraGroupBox1.Controls.Add(this.txt_ON_Begin);
+            this.ultraGroupBox1.Controls.Add(this.chk_ON);
+            this.ultraGroupBox1.Controls.Add(this.chk_YButtress);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 26);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(922, 58);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(390, 30);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(50, 20);
+            this.chk_AllowFilter.TabIndex = 739;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // cmb_AreaB
+            // 
+            this.cmb_AreaB.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_AreaB.DisplayMember = "";
+            this.cmb_AreaB.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_AreaB.Enabled = false;
+            this.cmb_AreaB.FlatMode = true;
+            this.cmb_AreaB.Location = new System.Drawing.Point(276, 30);
+            this.cmb_AreaB.Name = "cmb_AreaB";
+            this.cmb_AreaB.Size = new System.Drawing.Size(106, 19);
+            this.cmb_AreaB.TabIndex = 738;
+            this.cmb_AreaB.Tag = "";
+            this.cmb_AreaB.ValueMember = "";
+            // 
+            // chk_Area
+            // 
+            this.chk_Area.FlatMode = true;
+            this.chk_Area.Location = new System.Drawing.Point(228, 32);
+            this.chk_Area.Name = "chk_Area";
+            this.chk_Area.Size = new System.Drawing.Size(48, 16);
+            this.chk_Area.TabIndex = 737;
+            this.chk_Area.Text = "区域";
+            this.chk_Area.CheckedChanged += new System.EventHandler(this.chk_Area_CheckedChanged);
+            // 
+            // txt_PlanNO
+            // 
+            this.txt_PlanNO.AutoSize = true;
+            this.txt_PlanNO.Enabled = false;
+            this.txt_PlanNO.FlatMode = true;
+            this.txt_PlanNO.Location = new System.Drawing.Point(444, 8);
+            this.txt_PlanNO.Name = "txt_PlanNO";
+            this.txt_PlanNO.Size = new System.Drawing.Size(132, 19);
+            this.txt_PlanNO.TabIndex = 736;
+            // 
+            // chk_PackNo
+            // 
+            this.chk_PackNo.FlatMode = true;
+            this.chk_PackNo.Location = new System.Drawing.Point(388, 10);
+            this.chk_PackNo.Name = "chk_PackNo";
+            this.chk_PackNo.Size = new System.Drawing.Size(60, 16);
+            this.chk_PackNo.TabIndex = 735;
+            this.chk_PackNo.Text = "合同号";
+            this.chk_PackNo.CheckedChanged += new System.EventHandler(this.chk_PackNo_CheckedChanged);
+            // 
+            // txt_ON_End
+            // 
+            this.txt_ON_End.AutoSize = true;
+            this.txt_ON_End.Enabled = false;
+            this.txt_ON_End.FlatMode = true;
+            this.txt_ON_End.Location = new System.Drawing.Point(190, 8);
+            this.txt_ON_End.Name = "txt_ON_End";
+            this.txt_ON_End.Size = new System.Drawing.Size(32, 19);
+            this.txt_ON_End.TabIndex = 734;
+            // 
+            // txt_ON_Top
+            // 
+            this.txt_ON_Top.AutoSize = true;
+            this.txt_ON_Top.Enabled = false;
+            this.txt_ON_Top.FlatMode = true;
+            this.txt_ON_Top.Location = new System.Drawing.Point(110, 8);
+            this.txt_ON_Top.Name = "txt_ON_Top";
+            this.txt_ON_Top.Size = new System.Drawing.Size(80, 19);
+            this.txt_ON_Top.TabIndex = 733;
+            // 
+            // txt_GangP
+            // 
+            this.txt_GangP.AutoSize = true;
+            this.txt_GangP.Enabled = false;
+            this.txt_GangP.FlatMode = true;
+            this.txt_GangP.Location = new System.Drawing.Point(84, 30);
+            this.txt_GangP.Name = "txt_GangP";
+            this.txt_GangP.Size = new System.Drawing.Size(137, 19);
+            this.txt_GangP.TabIndex = 732;
+            // 
+            // chk_GangP
+            // 
+            this.chk_GangP.FlatMode = true;
+            this.chk_GangP.Location = new System.Drawing.Point(14, 32);
+            this.chk_GangP.Name = "chk_GangP";
+            this.chk_GangP.Size = new System.Drawing.Size(68, 16);
+            this.chk_GangP.TabIndex = 731;
+            this.chk_GangP.Text = "钢卷号";
+            this.chk_GangP.CheckedChanged += new System.EventHandler(this.chk_GangP_CheckedChanged);
+            // 
+            // txt_ON_Begin
+            // 
+            this.txt_ON_Begin.AutoSize = true;
+            this.txt_ON_Begin.Enabled = false;
+            this.txt_ON_Begin.FlatMode = true;
+            this.txt_ON_Begin.Location = new System.Drawing.Point(86, 8);
+            this.txt_ON_Begin.Name = "txt_ON_Begin";
+            this.txt_ON_Begin.Size = new System.Drawing.Size(25, 19);
+            this.txt_ON_Begin.TabIndex = 730;
+            // 
+            // chk_ON
+            // 
+            this.chk_ON.FlatMode = true;
+            this.chk_ON.Location = new System.Drawing.Point(14, 10);
+            this.chk_ON.Name = "chk_ON";
+            this.chk_ON.Size = new System.Drawing.Size(74, 16);
+            this.chk_ON.TabIndex = 729;
+            this.chk_ON.Text = "卷板包号";
+            this.chk_ON.CheckedChanged += new System.EventHandler(this.chk_ON_CheckedChanged);
+            // 
+            // chk_YButtress
+            // 
+            this.chk_YButtress.FlatMode = true;
+            this.chk_YButtress.Location = new System.Drawing.Point(228, 10);
+            this.chk_YButtress.Name = "chk_YButtress";
+            this.chk_YButtress.Size = new System.Drawing.Size(48, 16);
+            this.chk_YButtress.TabIndex = 726;
+            this.chk_YButtress.Text = "垛位";
+            this.chk_YButtress.CheckedChanged += new System.EventHandler(this.chk_YButtress_CheckedChanged);
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(276, 8);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(106, 19);
+            this.cmb_Buress.TabIndex = 725;
+            this.cmb_Buress.Tag = "";
+            this.cmb_Buress.ValueMember = "";
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(0, 0);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 454);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(922, 76);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 3;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ramk);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BuressMove);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel6);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_AreaC);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel5);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Stream);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Oreder);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_B);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GangpeiH);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(916, 54);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // txt_Ramk
+            // 
+            this.txt_Ramk.AutoSize = true;
+            this.txt_Ramk.FlatMode = true;
+            this.txt_Ramk.Location = new System.Drawing.Point(583, 3);
+            this.txt_Ramk.Name = "txt_Ramk";
+            this.txt_Ramk.Size = new System.Drawing.Size(254, 19);
+            this.txt_Ramk.TabIndex = 17;
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(542, 6);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(38, 14);
+            this.ultraLabel7.TabIndex = 16;
+            this.ultraLabel7.Text = "备注";
+            // 
+            // cmb_BuressMove
+            // 
+            this.cmb_BuressMove.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BuressMove.DisplayMember = "";
+            this.cmb_BuressMove.FlatMode = true;
+            this.cmb_BuressMove.Location = new System.Drawing.Point(424, 28);
+            this.cmb_BuressMove.Name = "cmb_BuressMove";
+            this.cmb_BuressMove.Size = new System.Drawing.Size(112, 19);
+            this.cmb_BuressMove.TabIndex = 15;
+            this.cmb_BuressMove.ValueMember = "";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(380, 30);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(42, 14);
+            this.ultraLabel6.TabIndex = 14;
+            this.ultraLabel6.Text = "新垛位";
+            // 
+            // cmb_AreaC
+            // 
+            this.cmb_AreaC.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_AreaC.DisplayMember = "";
+            this.cmb_AreaC.FlatMode = true;
+            this.cmb_AreaC.Location = new System.Drawing.Point(424, 4);
+            this.cmb_AreaC.Name = "cmb_AreaC";
+            this.cmb_AreaC.Size = new System.Drawing.Size(112, 19);
+            this.cmb_AreaC.TabIndex = 13;
+            this.cmb_AreaC.ValueMember = "";
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(380, 6);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(42, 14);
+            this.ultraLabel5.TabIndex = 12;
+            this.ultraLabel5.Text = "新区域";
+            // 
+            // cmb_Stream
+            // 
+            this.cmb_Stream.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Stream.DisplayMember = "";
+            this.cmb_Stream.FlatMode = true;
+            this.cmb_Stream.Location = new System.Drawing.Point(260, 28);
+            this.cmb_Stream.Name = "cmb_Stream";
+            this.cmb_Stream.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Stream.TabIndex = 11;
+            this.cmb_Stream.ValueMember = "";
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(220, 32);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(38, 14);
+            this.ultraLabel4.TabIndex = 10;
+            this.ultraLabel4.Text = "班组";
+            // 
+            // cmb_Oreder
+            // 
+            this.cmb_Oreder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Oreder.DisplayMember = "";
+            this.cmb_Oreder.FlatMode = true;
+            this.cmb_Oreder.Location = new System.Drawing.Point(260, 3);
+            this.cmb_Oreder.Name = "cmb_Oreder";
+            this.cmb_Oreder.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Oreder.TabIndex = 9;
+            this.cmb_Oreder.ValueMember = "";
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(218, 6);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(38, 14);
+            this.ultraLabel3.TabIndex = 8;
+            this.ultraLabel3.Text = "班次";
+            // 
+            // cmb_B
+            // 
+            appearance101.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_B.Appearance = appearance101;
+            this.cmb_B.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_B.DisplayMember = "";
+            this.cmb_B.Location = new System.Drawing.Point(61, 28);
+            this.cmb_B.Name = "cmb_B";
+            this.cmb_B.Size = new System.Drawing.Size(148, 21);
+            this.cmb_B.TabIndex = 7;
+            this.cmb_B.ValueMember = "";
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(4, 30);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(54, 14);
+            this.ultraLabel2.TabIndex = 6;
+            this.ultraLabel2.Text = "原垛位";
+            // 
+            // txt_GangpeiH
+            // 
+            appearance102.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_GangpeiH.Appearance = appearance102;
+            this.txt_GangpeiH.AutoSize = true;
+            this.txt_GangpeiH.Location = new System.Drawing.Point(61, 3);
+            this.txt_GangpeiH.Name = "txt_GangpeiH";
+            this.txt_GangpeiH.ReadOnly = true;
+            this.txt_GangpeiH.Size = new System.Drawing.Size(148, 21);
+            this.txt_GangpeiH.TabIndex = 5;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(4, 6);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 14);
+            this.ultraLabel1.TabIndex = 0;
+            this.ultraLabel1.Text = "卷板包号";
+            // 
+            // ultraExpandableGroupBox2
+            // 
+            this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(0, 0);
+            this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 84);
+            this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
+            this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(922, 370);
+            this.ultraExpandableGroupBox2.SupportThemes = false;
+            this.ultraExpandableGroupBox2.TabIndex = 4;
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_Turn);
+            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(916, 348);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            // 
+            // gb_Turn
+            // 
+            appearance103.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Turn.DisplayLayout.Appearance = appearance103;
+            ultraGridColumn96.Header.Caption = "钢卷号";
+            ultraGridColumn96.Header.VisiblePosition = 0;
+            ultraGridColumn96.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn96.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn96.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn96.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn96.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn97.Header.Caption = "板坯号";
+            ultraGridColumn97.Header.VisiblePosition = 1;
+            ultraGridColumn97.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn97.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn97.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn97.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn97.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn98.Header.Caption = "合同号";
+            ultraGridColumn98.Header.VisiblePosition = 2;
+            ultraGridColumn98.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn98.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn98.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn98.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn98.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn99.Header.Caption = "订单号";
+            ultraGridColumn99.Header.VisiblePosition = 3;
+            ultraGridColumn99.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn99.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn99.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
+            ultraGridColumn99.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn99.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn100.Header.Caption = "厚度";
+            ultraGridColumn100.Header.VisiblePosition = 4;
+            ultraGridColumn100.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn100.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn100.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
+            ultraGridColumn100.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn100.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn101.Header.Caption = "宽度";
+            ultraGridColumn101.Header.VisiblePosition = 5;
+            ultraGridColumn101.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn101.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn101.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 0);
+            ultraGridColumn101.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn101.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn102.Header.Caption = "长度";
+            ultraGridColumn102.Header.VisiblePosition = 6;
+            ultraGridColumn102.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn102.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn102.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn102.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn102.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn103.Header.Caption = "数量";
+            ultraGridColumn103.Header.VisiblePosition = 7;
+            ultraGridColumn103.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn103.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn103.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn103.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn103.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn104.Header.Caption = "重量";
+            ultraGridColumn104.Header.VisiblePosition = 8;
+            ultraGridColumn104.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn104.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn104.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
+            ultraGridColumn104.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn104.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn105.Header.Caption = "牌号";
+            ultraGridColumn105.Header.VisiblePosition = 9;
+            ultraGridColumn105.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn105.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn105.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn105.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn105.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn106.Header.Caption = "综合判定";
+            ultraGridColumn106.Header.VisiblePosition = 10;
+            ultraGridColumn106.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn106.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn106.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn106.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn106.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn107.Header.Caption = "垛位";
+            ultraGridColumn107.Header.VisiblePosition = 11;
+            ultraGridColumn107.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn107.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn107.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
+            ultraGridColumn107.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn107.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn108.Header.Caption = "";
+            ultraGridColumn108.Header.VisiblePosition = 12;
+            ultraGridColumn108.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn108.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn108.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(37, 0);
+            ultraGridColumn108.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn108.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn108.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn109.Header.Caption = "卷板包号";
+            ultraGridColumn109.Header.VisiblePosition = 13;
+            ultraGridColumn109.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn109.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn109.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn109.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn109.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn110.Header.Caption = "区域";
+            ultraGridColumn110.Header.VisiblePosition = 14;
+            ultraGridColumn110.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn110.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn110.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
+            ultraGridColumn110.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn110.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn111.Header.Caption = "备注";
+            ultraGridColumn111.Header.VisiblePosition = 15;
+            ultraGridColumn111.Hidden = true;
+            ultraGridColumn111.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn111.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn111.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn111.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn112.Header.Caption = "备注";
+            ultraGridColumn112.Header.VisiblePosition = 17;
+            ultraGridColumn112.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn112.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn112.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn112.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn113.Header.Caption = "炉号";
+            ultraGridColumn113.Header.VisiblePosition = 16;
+            ultraGridColumn113.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn113.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn113.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn113.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn113.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn114.Header.Caption = "批号";
+            ultraGridColumn114.Header.VisiblePosition = 18;
+            ultraGridColumn114.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn114.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn114.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn114.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn114.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand6.Columns.AddRange(new object[] {
+            ultraGridColumn96,
+            ultraGridColumn97,
+            ultraGridColumn98,
+            ultraGridColumn99,
+            ultraGridColumn100,
+            ultraGridColumn101,
+            ultraGridColumn102,
+            ultraGridColumn103,
+            ultraGridColumn104,
+            ultraGridColumn105,
+            ultraGridColumn106,
+            ultraGridColumn107,
+            ultraGridColumn108,
+            ultraGridColumn109,
+            ultraGridColumn110,
+            ultraGridColumn111,
+            ultraGridColumn112,
+            ultraGridColumn113,
+            ultraGridColumn114});
+            appearance104.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand6.Header.Appearance = appearance104;
+            ultraGridBand6.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings11.DisplayFormat = "{0}吨";
+            summarySettings11.GroupBySummaryValueAppearance = appearance105;
+            summarySettings12.DisplayFormat = "{0}块";
+            summarySettings12.GroupBySummaryValueAppearance = appearance106;
+            ultraGridBand6.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings11,
+            summarySettings12});
+            ultraGridBand6.UseRowLayout = true;
+            this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand6);
+            this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance107.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance107.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance107.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance107.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Turn.DisplayLayout.GroupByBox.Appearance = appearance107;
+            appearance108.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Turn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance108;
+            this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance109.BackColor = System.Drawing.SystemColors.Window;
+            appearance109.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Turn.DisplayLayout.Override.ActiveCellAppearance = appearance109;
+            appearance110.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance110.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Turn.DisplayLayout.Override.ActiveRowAppearance = appearance110;
+            appearance111.BorderColor = System.Drawing.Color.Black;
+            appearance111.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.CellAppearance = appearance111;
+            this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Turn.DisplayLayout.Override.CellPadding = 0;
+            appearance112.BackColor = System.Drawing.SystemColors.Control;
+            appearance112.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance112.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance112.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance112.BorderColor = System.Drawing.SystemColors.Window;
+            appearance112.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance112.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.GroupByRowAppearance = appearance112;
+            this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance113.BackColor = System.Drawing.Color.Silver;
+            this.gb_Turn.DisplayLayout.Override.HeaderAppearance = appearance113;
+            this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance114.BackColor = System.Drawing.SystemColors.Window;
+            appearance114.BorderColor = System.Drawing.Color.Black;
+            appearance114.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.RowAppearance = appearance114;
+            appearance115.BackColor = System.Drawing.SystemColors.Window;
+            appearance115.BorderColor = System.Drawing.Color.Black;
+            appearance115.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.RowPreviewAppearance = appearance115;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance116.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance116.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.SelectedRowAppearance = appearance116;
+            this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance117.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterAppearance = appearance117;
+            appearance118.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance118.ForeColor = System.Drawing.Color.Red;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance118;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance119.BackColor = System.Drawing.Color.MistyRose;
+            appearance119.ForeColor = System.Drawing.Color.Blue;
+            appearance119.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance119.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.SummaryValueAppearance = appearance119;
+            appearance120.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Turn.DisplayLayout.Override.TemplateAddRowAppearance = appearance120;
+            this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Turn.Location = new System.Drawing.Point(0, 0);
+            this.gb_Turn.Name = "gb_Turn";
+            this.gb_Turn.Size = new System.Drawing.Size(916, 348);
+            this.gb_Turn.TabIndex = 725;
+            this.gb_Turn.Text = "ultraGrid1";
+            this.gb_Turn.AfterRowActivate += new System.EventHandler(this.gb_Turn_AfterRowActivate);
+            // 
+            // Frm_TurnoffMove
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(922, 530);
+            this.Controls.Add(this.ultraExpandableGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_TurnoffMove";
+            this.Text = "卷板成品移垛管理";
+            this.Load += new System.EventHandler(this.Frm_TurnoffMove_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaB)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON_End)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON_Top)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON_Begin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ramk)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BuressMove)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaC)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Stream)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Oreder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_B)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
+            this.ultraExpandableGroupBox2.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+
+		private string GetWhere()
+		{
+			string sqlStr="";
+			if(this.chk_ON.Checked)
+			{
+				sqlStr+="AND A.COIL_NO_ID='"+this.txt_ON_Begin.Text+"-"+this.txt_ON_Top.Text+"-"+this.txt_ON_End.Text+"'";
+			}
+			if(this.chk_YButtress.Checked)
+			{
+				sqlStr+="AND B.BUTTRESS='"+this.cmb_Buress.Value+"'";
+			}
+			if(this.chk_GangP.Checked)
+			{
+				sqlStr+="AND A.OLD_SAMPL_NO='"+this.txt_GangP.Text+"'";
+			}
+			if(this.chk_PackNo.Checked)
+			{
+				sqlStr+="AND A.ORD_NO='"+this.txt_PlanNO.Text+"'";
+			}
+			if(this.chk_Area.Checked)
+			{
+				sqlStr+=" AND B.AREA='"+this.cmb_AreaB.Value+"'";
+			}
+			return sqlStr;
+		}
+		private void TurnQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffMove", "Turn_Query", new object[] { GetWhere() }, out strOut);
+				this.gb_Turn.DataSource=ds;
+				this.gb_Turn.UpdateData();
+				Comm.SetGridSumArea(this.gb_Turn);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+//		private void TurnMoveQuery()
+//		{
+//			try
+//			{
+//				string strOut="";
+//				DataSet ds=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffMove","MoveBuressQuery",new object[]{this.cmb_BuressMove.Value.ToString()},out strOut);
+//				this.gb_MoveBuress.DataSource=ds;
+//				this.gb_MoveBuress.UpdateData();
+//				Comm.SetGridSumArea(this.gb_MoveBuress);
+//			}
+//			catch(Exception ex)
+//			{
+//				System.Diagnostics.Debug.WriteLine(ex.ToString());
+//			}
+//		}
+		private void TZ_Add()
+		{
+			try
+			{
+				this.gb_Turn.UpdateData();
+				string strOut="";
+				ArrayList array=new ArrayList();
+				array=Comm.GetFieldValue(this.gb_Turn,"FLAG","COIL_NO_ID");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请选择你要移堆的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add(this.cmb_BuressMove.Value.ToString());
+				Other.Add(this.cmb_AreaC.Value.ToString());
+				Other.Add(this.cmb_Oreder.Value.ToString());
+				Other.Add(this.cmb_Stream.Value.ToString());
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+				Other.Add(this.txt_Ramk.Text);
+				object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffMove","TurnMoveBuress",new object[]{array,Other},out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_Turn.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_TURNOFFLIST"].Select("FLAG='TRUE'");
+					for(int i=0; i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_TURNOFFLIST"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
+					}
+                   this.TurnQuery(this.GetWhere());
+				}
+				else
+				{
+                      MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "QUERY":
+					this.TurnQuery(this.GetWhere());
+					break;
+                case "Close":
+					this.Close();
+					break;
+				case "TZ":
+					this.TZ_Add();
+					break;
+				case "DUCE":
+					this.ExportButtressInfo();
+					break;
+			}
+		}
+
+		private void Frm_TurnoffMove_Load(object sender, System.EventArgs e)
+		{
+			Comm.SetGridSumArea(this.gb_Turn);
+			try
+			{
+				string sql="";
+				DataSet ds;
+				string strOut="";
+				//堆位
+                sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+				Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+
+				Comm.Init_ComboControl(this.cmb_BuressMove,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_Oreder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+				//班组
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common","GetDataSet",new object []{sql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_Stream,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+				//
+                sql = "select areacode from kcj_area_ZW  where areatype='1' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="KCJ_AREA";
+
+				Comm.Init_ComboControl(this.cmb_AreaB,"KCJ_AREA","AREACODE","AREACODE",ref ds);
+				Comm.Init_ComboControl(this.cmb_AreaC,"KCJ_AREA","AREACODE","AREACODE",ref ds);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_ON_CheckedChanged(object sender, System.EventArgs e)
+		{
+		   this.txt_ON_Begin.Enabled=this.chk_ON.Checked;
+			 this.txt_ON_Top.Enabled=this.chk_ON.Checked;
+			 this.txt_ON_End.Enabled=this.chk_ON.Checked;
+		}
+
+		private void chk_GangP_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangP.Enabled=this.chk_GangP.Checked;
+		}
+
+		private void chk_YButtress_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Buress.Enabled=this.chk_YButtress.Checked;
+		}
+
+		private void chk_PackNo_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanNO.Enabled=this.chk_PackNo.Checked;
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_Area_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_AreaB.Enabled=this.chk_Area.Checked;
+		}
+
+		private void gb_Turn_AfterRowActivate(object sender, System.EventArgs e)
+		{
+			this.txt_GangpeiH.Text=this.gb_Turn.ActiveRow.Cells["COIL_NO_ID"].Value.ToString();
+			this.cmb_B.Value=this.gb_Turn.ActiveRow.Cells["BUTTRESS"].Value;
+		}
+
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Turn.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Turn,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+	}
+}

+ 3476 - 0
Client/.svn/pristine/05/053db2339ecfc18548dfbf99cb4c522a0144ba34.svn-base

@@ -0,0 +1,3476 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using Infragistics.Win.UltraWinGrid;
+
+namespace Core.XgMes.Client.CoilMachiningManage
+{
+	/// <summary>
+	/// Frm_TurnoSendCan 的摘要说明。
+	/// </summary>
+	public class Frm_TurnoSendCan : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_AskPlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AskPlanID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCode;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ListCode;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CoilID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CoilID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactNO;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DeliveryTime;
+		private System.Windows.Forms.Panel panel2;
+		private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+		private System.Windows.Forms.Panel panel3;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Clear;
+		private Infragistics.Win.Misc.UltraButton btn_NSendID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_SendPactNO;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+		private Infragistics.Win.UltraWinEditors.UltraOptionSet Ops_SendType;
+		private Infragistics.Win.Misc.UltraButton Btn_GetListCoding;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coil_ID;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Remark;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassTeam;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassOrder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_SendMan;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_ListCoding;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_VecihleNO;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_AskPlan;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+		private Infragistics.Win.Misc.UltraButton Btn_SendBillet;
+		private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scouid;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendTime;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coid_TOP;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coid_End;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Send;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QX;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_IncpName;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Station;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_UserBM;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_UserName;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_EndTime;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
+		private Infragistics.Win.Misc.UltraButton ultraButton1;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultBJPactno;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_PLD;
+        private UltraGrid ultraGrid2;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_ZL;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private UltraCombo Cmb_Txt_ListCodingTop;
+        private Infragistics.Win.Misc.UltraButton btn_zlupdate;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZYCH;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_TurnoSendCan()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 13, true);
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CREATOR", 23, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "XJJL_WEIGHT", 24, true);
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "MJ", 25, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "MJ", 25, true);
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISVALID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_ROUTE", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROUTE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANVEHICLEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LISTNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PICKSTORAGETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLEARFLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BJ_PACTNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PICKSTORAGEMAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRAINWAGON_NZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSTYPE");
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 13, true);
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings6 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 12, true);
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings7 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 19, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 19, true);
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings8 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "COIL_NO_ID", 6, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "COIL_NO_ID", 6, true);
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings9 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "XJJL_WEIGHT", 24, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "XJJL_WEIGHT", 24, true);
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings10 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "MJ", 25, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "MJ", 25, true);
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("COLSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("COLSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ASKPLAN_ID", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Descending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STATIONNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCEPTCORPNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISCLEAR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LOADDOCK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNLOADDOCK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRAINTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STEELCODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SM_CFNM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INPUTTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DLIV_DIR_DATE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SENDWEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("VECIHLENO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn71 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance78 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance79 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance80 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance81 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance82 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance83 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance84 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance85 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance86 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance87 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance88 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance89 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance90 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance91 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance92 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance93 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance94 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance95 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance96 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance97 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance98 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance99 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance100 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance101 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance102 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance103 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance104 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance105 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance106 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance107 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance108 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance109 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance110 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance111 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance112 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance113 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance114 = new Infragistics.Win.Appearance();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Send = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_UserName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_UserBM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ListCode = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_ListCode = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_CoilID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_CoilID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_DeliveryTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.ultraTabControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.txt_ZYCH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.btn_zlupdate = new Infragistics.Win.Misc.UltraButton();
+            this.Cmb_Txt_ListCodingTop = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Cmb_ZL = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_PLD = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultBJPactno = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Station = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_IncpName = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_Coid_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Coid_TOP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Dte_SendTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_Scouid = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Btn_SendBillet = new Infragistics.Win.Misc.UltraButton();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_QX = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_Clear = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.btn_NSendID = new Infragistics.Win.Misc.UltraButton();
+            this.Txt_SendPactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.Ops_SendType = new Infragistics.Win.UltraWinEditors.UltraOptionSet();
+            this.Btn_GetListCoding = new Infragistics.Win.Misc.UltraButton();
+            this.txt_Coil_ID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_SendMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_ListCoding = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_AskPlan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit();
+            this.ultraTabPageControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Send)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserBM)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_CoilID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).BeginInit();
+            this.ultraTabControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZYCH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ZL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_PLD)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultBJPactno)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Station)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IncpName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_End)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_TOP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scouid)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Ops_SendType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coil_ID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.gb_Turn);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(1016, 159);
+            // 
+            // gb_Turn
+            // 
+            appearance1.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Turn.DisplayLayout.Appearance = appearance1;
+            ultraGridColumn1.Header.Caption = "卷板包号";
+            ultraGridColumn1.Header.VisiblePosition = 15;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 2;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "垛位";
+            ultraGridColumn5.Header.VisiblePosition = 14;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "订单号";
+            ultraGridColumn6.Header.VisiblePosition = 3;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "牌号";
+            ultraGridColumn7.Header.VisiblePosition = 9;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "厚度";
+            ultraGridColumn8.Header.VisiblePosition = 4;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "宽度";
+            ultraGridColumn9.Header.VisiblePosition = 5;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "长度";
+            ultraGridColumn10.Header.VisiblePosition = 6;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "数量";
+            ultraGridColumn11.Header.VisiblePosition = 8;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "炉号";
+            ultraGridColumn12.Header.VisiblePosition = 16;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "批号";
+            ultraGridColumn13.Header.VisiblePosition = 17;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn14.Header.Caption = "理论重量";
+            ultraGridColumn14.Header.VisiblePosition = 7;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "综合判定";
+            ultraGridColumn15.Header.VisiblePosition = 10;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "执行标准";
+            ultraGridColumn16.Header.VisiblePosition = 18;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "卷板总包号";
+            ultraGridColumn17.Header.VisiblePosition = 19;
+            ultraGridColumn17.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(128, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "缺陷1";
+            ultraGridColumn18.Header.VisiblePosition = 11;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "质保书编号";
+            ultraGridColumn19.Header.VisiblePosition = 13;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "车辆号";
+            ultraGridColumn20.Header.VisiblePosition = 12;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "班次";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "班组";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "登记时间";
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "登记人";
+            ultraGridColumn24.Header.VisiblePosition = 23;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn25.Header.Caption = "过磅重量";
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "面积";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26});
+            appearance2.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance2;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}吨";
+            summarySettings1.GroupBySummaryValueAppearance = appearance3;
+            summarySettings2.DisplayFormat = "{0}块";
+            summarySettings2.GroupBySummaryValueAppearance = appearance4;
+            summarySettings3.DisplayFormat = "{0}吨";
+            summarySettings3.GroupBySummaryValueAppearance = appearance5;
+            summarySettings4.GroupBySummaryValueAppearance = appearance6;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2,
+            summarySettings3,
+            summarySettings4});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance7.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance7.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance7.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance7.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Turn.DisplayLayout.GroupByBox.Appearance = appearance7;
+            appearance8.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Turn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance8;
+            this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance9.BackColor = System.Drawing.SystemColors.Window;
+            appearance9.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Turn.DisplayLayout.Override.ActiveCellAppearance = appearance9;
+            appearance10.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance10.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Turn.DisplayLayout.Override.ActiveRowAppearance = appearance10;
+            appearance11.BorderColor = System.Drawing.Color.Black;
+            appearance11.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.CellAppearance = appearance11;
+            this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Turn.DisplayLayout.Override.CellPadding = 0;
+            appearance12.BackColor = System.Drawing.SystemColors.Control;
+            appearance12.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance12.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance12.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance12.BorderColor = System.Drawing.SystemColors.Window;
+            appearance12.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance12.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.GroupByRowAppearance = appearance12;
+            this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance13.BackColor = System.Drawing.Color.Silver;
+            this.gb_Turn.DisplayLayout.Override.HeaderAppearance = appearance13;
+            this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance14.BackColor = System.Drawing.SystemColors.Window;
+            appearance14.BorderColor = System.Drawing.Color.Black;
+            appearance14.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.RowAppearance = appearance14;
+            appearance15.BackColor = System.Drawing.SystemColors.Window;
+            appearance15.BorderColor = System.Drawing.Color.Black;
+            appearance15.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.RowPreviewAppearance = appearance15;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance16.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance16.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.SelectedRowAppearance = appearance16;
+            this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance17.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterAppearance = appearance17;
+            appearance18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance18.ForeColor = System.Drawing.Color.Red;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance18;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance19.BackColor = System.Drawing.Color.MistyRose;
+            appearance19.ForeColor = System.Drawing.Color.Blue;
+            appearance19.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance19.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.SummaryValueAppearance = appearance19;
+            appearance20.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Turn.DisplayLayout.Override.TemplateAddRowAppearance = appearance20;
+            this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Turn.Location = new System.Drawing.Point(0, 0);
+            this.gb_Turn.Name = "gb_Turn";
+            this.gb_Turn.Size = new System.Drawing.Size(1016, 159);
+            this.gb_Turn.TabIndex = 0;
+            // 
+            // ultraTabPageControl2
+            // 
+            this.ultraTabPageControl2.Controls.Add(this.gb_Send);
+            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
+            this.ultraTabPageControl2.Size = new System.Drawing.Size(1016, 159);
+            // 
+            // gb_Send
+            // 
+            appearance21.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Send.DisplayLayout.Appearance = appearance21;
+            ultraGridColumn27.Header.Caption = "确认";
+            ultraGridColumn27.Header.VisiblePosition = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "收货单位";
+            ultraGridColumn28.Header.VisiblePosition = 2;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(146, 0);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "到站";
+            ultraGridColumn29.Header.VisiblePosition = 3;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "发运号";
+            ultraGridColumn30.Header.VisiblePosition = 5;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(116, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "车号";
+            ultraGridColumn31.Header.VisiblePosition = 7;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "明细号";
+            ultraGridColumn32.Header.VisiblePosition = 9;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.Caption = "卷板包号";
+            ultraGridColumn33.Header.VisiblePosition = 13;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(136, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "钢卷号";
+            ultraGridColumn34.Header.VisiblePosition = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "牌号";
+            ultraGridColumn35.Header.VisiblePosition = 11;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "厚度";
+            ultraGridColumn36.Header.VisiblePosition = 14;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "宽度";
+            ultraGridColumn37.Header.VisiblePosition = 4;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "长度";
+            ultraGridColumn38.Header.VisiblePosition = 6;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "数量";
+            ultraGridColumn39.Header.VisiblePosition = 8;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "理论重量";
+            ultraGridColumn40.Header.VisiblePosition = 10;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(97, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "发运时间";
+            ultraGridColumn41.Header.VisiblePosition = 15;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "炉号";
+            ultraGridColumn42.Header.VisiblePosition = 16;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "垛位";
+            ultraGridColumn43.Header.VisiblePosition = 12;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "合同号";
+            ultraGridColumn44.Header.VisiblePosition = 17;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(130, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.VisiblePosition = 18;
+            ultraGridColumn45.Hidden = true;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "过磅总量";
+            ultraGridColumn46.Header.VisiblePosition = 19;
+            ultraGridColumn46.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "备注";
+            ultraGridColumn47.Header.VisiblePosition = 20;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "销售合同号";
+            ultraGridColumn48.Header.VisiblePosition = 21;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "发运人";
+            ultraGridColumn49.Header.VisiblePosition = 22;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "登记人";
+            ultraGridColumn50.Header.VisiblePosition = 23;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "过磅重量";
+            ultraGridColumn51.Header.VisiblePosition = 24;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "面积";
+            ultraGridColumn52.Header.VisiblePosition = 25;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "转运车号";
+            ultraGridColumn53.Header.VisiblePosition = 26;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "运输方式";
+            ultraGridColumn54.Header.VisiblePosition = 27;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54});
+            appearance22.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance22;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings5.DisplayFormat = "{0}吨";
+            summarySettings5.GroupBySummaryValueAppearance = appearance23;
+            summarySettings6.DisplayFormat = "{0}块";
+            summarySettings6.GroupBySummaryValueAppearance = appearance24;
+            summarySettings7.DisplayFormat = "{0}吨";
+            summarySettings7.GroupBySummaryValueAppearance = appearance25;
+            summarySettings8.DisplayFormat = "{0}包";
+            summarySettings8.GroupBySummaryValueAppearance = appearance26;
+            summarySettings9.DisplayFormat = "{0}吨";
+            summarySettings9.GroupBySummaryValueAppearance = appearance27;
+            summarySettings10.GroupBySummaryValueAppearance = appearance28;
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings5,
+            summarySettings6,
+            summarySettings7,
+            summarySettings8,
+            summarySettings9,
+            summarySettings10});
+            ultraGridBand2.UseRowLayout = true;
+            this.gb_Send.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gb_Send.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance29.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance29.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance29.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance29.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Send.DisplayLayout.GroupByBox.Appearance = appearance29;
+            appearance30.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Send.DisplayLayout.GroupByBox.BandLabelAppearance = appearance30;
+            this.gb_Send.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            appearance31.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Send.DisplayLayout.Override.ActiveCellAppearance = appearance31;
+            appearance32.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance32.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Send.DisplayLayout.Override.ActiveRowAppearance = appearance32;
+            appearance33.BorderColor = System.Drawing.Color.Black;
+            appearance33.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Send.DisplayLayout.Override.CellAppearance = appearance33;
+            this.gb_Send.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Send.DisplayLayout.Override.CellPadding = 0;
+            appearance34.BackColor = System.Drawing.SystemColors.Control;
+            appearance34.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance34.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance34.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance34.BorderColor = System.Drawing.SystemColors.Window;
+            appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance34.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Send.DisplayLayout.Override.GroupByRowAppearance = appearance34;
+            this.gb_Send.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance35.BackColor = System.Drawing.Color.Silver;
+            this.gb_Send.DisplayLayout.Override.HeaderAppearance = appearance35;
+            this.gb_Send.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Send.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance36.BackColor = System.Drawing.SystemColors.Window;
+            appearance36.BorderColor = System.Drawing.Color.Black;
+            appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Send.DisplayLayout.Override.RowAppearance = appearance36;
+            appearance37.BackColor = System.Drawing.SystemColors.Window;
+            appearance37.BorderColor = System.Drawing.Color.Black;
+            appearance37.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Send.DisplayLayout.Override.RowPreviewAppearance = appearance37;
+            this.gb_Send.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Send.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Send.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance38.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Send.DisplayLayout.Override.SelectedRowAppearance = appearance38;
+            this.gb_Send.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance39.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Send.DisplayLayout.Override.SummaryFooterAppearance = appearance39;
+            appearance40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance40.ForeColor = System.Drawing.Color.Red;
+            this.gb_Send.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance40;
+            this.gb_Send.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance41.BackColor = System.Drawing.Color.MistyRose;
+            appearance41.ForeColor = System.Drawing.Color.Blue;
+            appearance41.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance41.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Send.DisplayLayout.Override.SummaryValueAppearance = appearance41;
+            appearance42.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Send.DisplayLayout.Override.TemplateAddRowAppearance = appearance42;
+            this.gb_Send.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Send.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Send.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Send.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Send.Location = new System.Drawing.Point(0, 0);
+            this.gb_Send.Name = "gb_Send";
+            this.gb_Send.Size = new System.Drawing.Size(1016, 159);
+            this.gb_Send.TabIndex = 0;
+            this.gb_Send.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gb_Send_InitializeRow);
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1020, 24);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool7.SharedProps.Caption = "排车信息查询";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "发运查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "删除发运";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "打印明细";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "关闭";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "导出";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1020, 27);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1020, 27);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1020, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.ultraTextEditor2);
+            this.ultraGroupBox1.Controls.Add(this.ultraTextEditor1);
+            this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.Dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.Dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.txt_UserName);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel15);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel13);
+            this.ultraGroupBox1.Controls.Add(this.txt_UserBM);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel11);
+            this.ultraGroupBox1.Controls.Add(this.txt_AskPlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_AskPlanID);
+            this.ultraGroupBox1.Controls.Add(this.txt_ListCode);
+            this.ultraGroupBox1.Controls.Add(this.chk_ListCode);
+            this.ultraGroupBox1.Controls.Add(this.txt_CoilID);
+            this.ultraGroupBox1.Controls.Add(this.chk_CoilID);
+            this.ultraGroupBox1.Controls.Add(this.Txt_PactNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_DeliveryTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1020, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_AllowFilter.Location = new System.Drawing.Point(904, 27);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 146;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // txt_GangJuan
+            // 
+            appearance43.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_GangJuan.Appearance = appearance43;
+            this.txt_GangJuan.AutoSize = true;
+            this.txt_GangJuan.Enabled = false;
+            this.txt_GangJuan.FlatMode = true;
+            this.txt_GangJuan.Location = new System.Drawing.Point(616, 6);
+            this.txt_GangJuan.Name = "txt_GangJuan";
+            this.txt_GangJuan.Size = new System.Drawing.Size(96, 19);
+            this.txt_GangJuan.TabIndex = 145;
+            this.txt_GangJuan.Tag = "";
+            // 
+            // ultraTextEditor2
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor2.Appearance = appearance44;
+            this.ultraTextEditor2.AutoSize = true;
+            this.ultraTextEditor2.Enabled = false;
+            this.ultraTextEditor2.FlatMode = true;
+            this.ultraTextEditor2.Location = new System.Drawing.Point(360, 6);
+            this.ultraTextEditor2.Name = "ultraTextEditor2";
+            this.ultraTextEditor2.Size = new System.Drawing.Size(32, 19);
+            this.ultraTextEditor2.TabIndex = 144;
+            this.ultraTextEditor2.Tag = "";
+            // 
+            // ultraTextEditor1
+            // 
+            appearance45.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor1.Appearance = appearance45;
+            this.ultraTextEditor1.AutoSize = true;
+            this.ultraTextEditor1.Enabled = false;
+            this.ultraTextEditor1.FlatMode = true;
+            this.ultraTextEditor1.Location = new System.Drawing.Point(272, 6);
+            this.ultraTextEditor1.Name = "ultraTextEditor1";
+            this.ultraTextEditor1.Size = new System.Drawing.Size(88, 19);
+            this.ultraTextEditor1.TabIndex = 143;
+            this.ultraTextEditor1.Tag = "";
+            // 
+            // chk_GangJuan
+            // 
+            this.chk_GangJuan.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_GangJuan.FlatMode = true;
+            this.chk_GangJuan.Location = new System.Drawing.Point(560, 10);
+            this.chk_GangJuan.Name = "chk_GangJuan";
+            this.chk_GangJuan.Size = new System.Drawing.Size(60, 14);
+            this.chk_GangJuan.TabIndex = 142;
+            this.chk_GangJuan.Text = "钢卷号";
+            this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
+            // 
+            // Dte_EndTime
+            // 
+            this.Dte_EndTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_EndTime.Enabled = false;
+            this.Dte_EndTime.FlatMode = true;
+            this.Dte_EndTime.Location = new System.Drawing.Point(56, 26);
+            this.Dte_EndTime.Name = "Dte_EndTime";
+            this.Dte_EndTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_EndTime.TabIndex = 141;
+            this.Dte_EndTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            // 
+            // Dte_BeginTime
+            // 
+            this.Dte_BeginTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_BeginTime.Enabled = false;
+            this.Dte_BeginTime.FlatMode = true;
+            this.Dte_BeginTime.Location = new System.Drawing.Point(56, 4);
+            this.Dte_BeginTime.Name = "Dte_BeginTime";
+            this.Dte_BeginTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_BeginTime.TabIndex = 140;
+            this.Dte_BeginTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            // 
+            // txt_UserName
+            // 
+            this.txt_UserName.AutoSize = true;
+            this.txt_UserName.FlatMode = true;
+            this.txt_UserName.Location = new System.Drawing.Point(776, 28);
+            this.txt_UserName.Name = "txt_UserName";
+            this.txt_UserName.Size = new System.Drawing.Size(120, 19);
+            this.txt_UserName.TabIndex = 137;
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.ultraLabel15.Location = new System.Drawing.Point(720, 30);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 136;
+            this.ultraLabel15.Text = "用户名称";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.ultraLabel13.Location = new System.Drawing.Point(720, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 135;
+            this.ultraLabel13.Text = "用户编码";
+            // 
+            // txt_UserBM
+            // 
+            this.txt_UserBM.AutoSize = true;
+            this.txt_UserBM.FlatMode = true;
+            this.txt_UserBM.Location = new System.Drawing.Point(776, 4);
+            this.txt_UserBM.Name = "txt_UserBM";
+            this.txt_UserBM.Size = new System.Drawing.Size(120, 19);
+            this.txt_UserBM.TabIndex = 134;
+            // 
+            // ultraLabel11
+            // 
+            appearance46.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel11.Appearance = appearance46;
+            this.ultraLabel11.BackColor = System.Drawing.Color.Red;
+            this.ultraLabel11.Font = new System.Drawing.Font("宋体", 9.4F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraLabel11.Location = new System.Drawing.Point(560, 27);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(152, 20);
+            this.ultraLabel11.TabIndex = 133;
+            this.ultraLabel11.Text = "颜色表示不满足交货需求";
+            // 
+            // txt_AskPlanID
+            // 
+            appearance47.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_AskPlanID.Appearance = appearance47;
+            this.txt_AskPlanID.AutoSize = true;
+            this.txt_AskPlanID.Enabled = false;
+            this.txt_AskPlanID.FlatMode = true;
+            this.txt_AskPlanID.Location = new System.Drawing.Point(456, 6);
+            this.txt_AskPlanID.Name = "txt_AskPlanID";
+            this.txt_AskPlanID.Size = new System.Drawing.Size(98, 19);
+            this.txt_AskPlanID.TabIndex = 132;
+            this.txt_AskPlanID.Tag = "";
+            // 
+            // chk_AskPlanID
+            // 
+            this.chk_AskPlanID.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_AskPlanID.FlatMode = true;
+            this.chk_AskPlanID.Location = new System.Drawing.Point(400, 10);
+            this.chk_AskPlanID.Name = "chk_AskPlanID";
+            this.chk_AskPlanID.Size = new System.Drawing.Size(60, 14);
+            this.chk_AskPlanID.TabIndex = 131;
+            this.chk_AskPlanID.Text = "发运号";
+            this.chk_AskPlanID.CheckedChanged += new System.EventHandler(this.chk_AskPlanID_CheckedChanged);
+            // 
+            // txt_ListCode
+            // 
+            appearance48.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_ListCode.Appearance = appearance48;
+            this.txt_ListCode.AutoSize = true;
+            this.txt_ListCode.Enabled = false;
+            this.txt_ListCode.FlatMode = true;
+            this.txt_ListCode.Location = new System.Drawing.Point(456, 28);
+            this.txt_ListCode.Name = "txt_ListCode";
+            this.txt_ListCode.Size = new System.Drawing.Size(98, 19);
+            this.txt_ListCode.TabIndex = 130;
+            this.txt_ListCode.Tag = "";
+            // 
+            // chk_ListCode
+            // 
+            this.chk_ListCode.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_ListCode.FlatMode = true;
+            this.chk_ListCode.Location = new System.Drawing.Point(400, 32);
+            this.chk_ListCode.Name = "chk_ListCode";
+            this.chk_ListCode.Size = new System.Drawing.Size(60, 14);
+            this.chk_ListCode.TabIndex = 129;
+            this.chk_ListCode.Text = "明细号";
+            this.chk_ListCode.CheckedChanged += new System.EventHandler(this.chk_ListCode_CheckedChanged);
+            // 
+            // txt_CoilID
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_CoilID.Appearance = appearance49;
+            this.txt_CoilID.AutoSize = true;
+            this.txt_CoilID.Enabled = false;
+            this.txt_CoilID.FlatMode = true;
+            this.txt_CoilID.Location = new System.Drawing.Point(248, 6);
+            this.txt_CoilID.Name = "txt_CoilID";
+            this.txt_CoilID.Size = new System.Drawing.Size(24, 19);
+            this.txt_CoilID.TabIndex = 128;
+            this.txt_CoilID.Tag = "";
+            // 
+            // chk_CoilID
+            // 
+            this.chk_CoilID.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_CoilID.FlatMode = true;
+            this.chk_CoilID.Location = new System.Drawing.Point(176, 8);
+            this.chk_CoilID.Name = "chk_CoilID";
+            this.chk_CoilID.Size = new System.Drawing.Size(72, 14);
+            this.chk_CoilID.TabIndex = 127;
+            this.chk_CoilID.Text = "卷板包号";
+            this.chk_CoilID.CheckedChanged += new System.EventHandler(this.chk_CoilID_CheckedChanged);
+            // 
+            // Txt_PactNO
+            // 
+            appearance50.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_PactNO.Appearance = appearance50;
+            this.Txt_PactNO.AutoSize = true;
+            this.Txt_PactNO.Enabled = false;
+            this.Txt_PactNO.FlatMode = true;
+            this.Txt_PactNO.Location = new System.Drawing.Point(248, 28);
+            this.Txt_PactNO.Name = "Txt_PactNO";
+            this.Txt_PactNO.Size = new System.Drawing.Size(144, 19);
+            this.Txt_PactNO.TabIndex = 126;
+            this.Txt_PactNO.Tag = "";
+            // 
+            // chk_PactNO
+            // 
+            this.chk_PactNO.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_PactNO.FlatMode = true;
+            this.chk_PactNO.Location = new System.Drawing.Point(176, 30);
+            this.chk_PactNO.Name = "chk_PactNO";
+            this.chk_PactNO.Size = new System.Drawing.Size(60, 14);
+            this.chk_PactNO.TabIndex = 125;
+            this.chk_PactNO.Text = "合同号";
+            this.chk_PactNO.CheckedChanged += new System.EventHandler(this.chk_PactNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(40, 34);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 123;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_DeliveryTime
+            // 
+            this.chk_DeliveryTime.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
+            this.chk_DeliveryTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_DeliveryTime.FlatMode = true;
+            this.chk_DeliveryTime.Location = new System.Drawing.Point(8, 8);
+            this.chk_DeliveryTime.Name = "chk_DeliveryTime";
+            this.chk_DeliveryTime.Size = new System.Drawing.Size(48, 14);
+            this.chk_DeliveryTime.TabIndex = 121;
+            this.chk_DeliveryTime.Text = "时间";
+            this.chk_DeliveryTime.CheckedChanged += new System.EventHandler(this.chk_DeliveryTime_CheckedChanged);
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.ultraGrid2);
+            this.panel2.Controls.Add(this.ultraGrid1);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 80);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1020, 144);
+            this.panel2.TabIndex = 2;
+            // 
+            // ultraGrid2
+            // 
+            appearance51.BackColor = System.Drawing.Color.Ivory;
+            this.ultraGrid2.DisplayLayout.Appearance = appearance51;
+            ultraGridColumn55.Header.Caption = "发运号";
+            ultraGridColumn55.Header.VisiblePosition = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "合同号";
+            ultraGridColumn56.Header.VisiblePosition = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "到站";
+            ultraGridColumn57.Header.VisiblePosition = 2;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "收货单位";
+            ultraGridColumn58.Header.VisiblePosition = 3;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.Caption = "装车类型";
+            ultraGridColumn59.Header.VisiblePosition = 4;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "运输方式";
+            ultraGridColumn60.Header.VisiblePosition = 5;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "起始港";
+            ultraGridColumn61.Header.VisiblePosition = 6;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "目的港";
+            ultraGridColumn62.Header.VisiblePosition = 7;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "车皮种类";
+            ultraGridColumn63.Header.VisiblePosition = 8;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "牌号";
+            ultraGridColumn64.Header.VisiblePosition = 9;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "钢种分类";
+            ultraGridColumn65.Header.VisiblePosition = 10;
+            ultraGridColumn66.Header.Caption = "制定时间";
+            ultraGridColumn66.Header.VisiblePosition = 11;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "批车日期";
+            ultraGridColumn67.Header.VisiblePosition = 12;
+            ultraGridColumn68.Header.Caption = "排车量";
+            ultraGridColumn68.Header.VisiblePosition = 13;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn69.Header.Caption = "发运量";
+            ultraGridColumn69.Header.VisiblePosition = 14;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn70.Header.Caption = "车牌号";
+            ultraGridColumn70.Header.VisiblePosition = 15;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn71.Header.Caption = "备注";
+            ultraGridColumn71.Header.VisiblePosition = 16;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridBand3.Columns.AddRange(new object[] {
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68,
+            ultraGridColumn69,
+            ultraGridColumn70,
+            ultraGridColumn71});
+            ultraGridBand3.UseRowLayout = true;
+            this.ultraGrid2.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
+            this.ultraGrid2.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance52.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance52.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance52.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance52.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Appearance = appearance52;
+            appearance53.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid2.DisplayLayout.GroupByBox.BandLabelAppearance = appearance53;
+            this.ultraGrid2.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
+            appearance54.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance54.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance54.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance54.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid2.DisplayLayout.GroupByBox.PromptAppearance = appearance54;
+            this.ultraGrid2.DisplayLayout.MaxColScrollRegions = 1;
+            this.ultraGrid2.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance55.BackColor = System.Drawing.SystemColors.Window;
+            appearance55.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid2.DisplayLayout.Override.ActiveCellAppearance = appearance55;
+            appearance56.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance56.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid2.DisplayLayout.Override.ActiveRowAppearance = appearance56;
+            this.ultraGrid2.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.ultraGrid2.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance57.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.Override.CardAreaAppearance = appearance57;
+            appearance58.BorderColor = System.Drawing.Color.Silver;
+            appearance58.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.ultraGrid2.DisplayLayout.Override.CellAppearance = appearance58;
+            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
+            appearance59.BackColor = System.Drawing.SystemColors.Control;
+            appearance59.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance59.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance59.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance59.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.Override.GroupByRowAppearance = appearance59;
+            appearance60.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.ultraGrid2.DisplayLayout.Override.HeaderAppearance = appearance60;
+            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance61.BackColor = System.Drawing.SystemColors.Window;
+            appearance61.BorderColor = System.Drawing.Color.Silver;
+            this.ultraGrid2.DisplayLayout.Override.RowAppearance = appearance61;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance62.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid2.DisplayLayout.Override.TemplateAddRowAppearance = appearance62;
+            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid2.Name = "ultraGrid2";
+            this.ultraGrid2.Size = new System.Drawing.Size(1020, 144);
+            this.ultraGrid2.TabIndex = 2;
+            this.ultraGrid2.Text = "ultraGrid2";
+            this.ultraGrid2.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.ultraGrid2_DoubleClickRow);
+            // 
+            // ultraGrid1
+            // 
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(1020, 144);
+            this.ultraGrid1.TabIndex = 1;
+            // 
+            // panel3
+            // 
+            this.panel3.Controls.Add(this.ultraTabControl1);
+            this.panel3.Controls.Add(this.ultraGroupBox2);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel3.Location = new System.Drawing.Point(0, 224);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(1020, 278);
+            this.panel3.TabIndex = 3;
+            // 
+            // ultraTabControl1
+            // 
+            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl1);
+            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl2);
+            this.ultraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraTabControl1.Location = new System.Drawing.Point(0, 96);
+            this.ultraTabControl1.Name = "ultraTabControl1";
+            this.ultraTabControl1.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.ultraTabControl1.Size = new System.Drawing.Size(1020, 182);
+            this.ultraTabControl1.TabIndex = 1;
+            ultraTab1.Key = "TAB_KF";
+            ultraTab1.TabPage = this.ultraTabPageControl1;
+            ultraTab1.Text = "可发信息";
+            ultraTab2.Key = "TAB_YF";
+            ultraTab2.TabPage = this.ultraTabPageControl2;
+            ultraTab2.Text = "已发信息";
+            this.ultraTabControl1.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1,
+            ultraTab2});
+            this.ultraTabControl1.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1016, 159);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.txt_ZYCH);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel20);
+            this.ultraGroupBox2.Controls.Add(this.btn_zlupdate);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_Txt_ListCodingTop);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_ZL);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel17);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_PLD);
+            this.ultraGroupBox2.Controls.Add(this.ultBJPactno);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel16);
+            this.ultraGroupBox2.Controls.Add(this.ultraButton1);
+            this.ultraGroupBox2.Controls.Add(this.txt_WEIGHT);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel19);
+            this.ultraGroupBox2.Controls.Add(this.cmb_Station);
+            this.ultraGroupBox2.Controls.Add(this.cmb_IncpName);
+            this.ultraGroupBox2.Controls.Add(this.txt_Coid_End);
+            this.ultraGroupBox2.Controls.Add(this.txt_Coid_TOP);
+            this.ultraGroupBox2.Controls.Add(this.Dte_SendTime);
+            this.ultraGroupBox2.Controls.Add(this.txt_Scouid);
+            this.ultraGroupBox2.Controls.Add(this.Btn_SendBillet);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel12);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel10);
+            this.ultraGroupBox2.Controls.Add(this.chk_QX);
+            this.ultraGroupBox2.Controls.Add(this.chk_Clear);
+            this.ultraGroupBox2.Controls.Add(this.btn_NSendID);
+            this.ultraGroupBox2.Controls.Add(this.Txt_SendPactNO);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel18);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel14);
+            this.ultraGroupBox2.Controls.Add(this.Ops_SendType);
+            this.ultraGroupBox2.Controls.Add(this.Btn_GetListCoding);
+            this.ultraGroupBox2.Controls.Add(this.txt_Coil_ID);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel9);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel8);
+            this.ultraGroupBox2.Controls.Add(this.Txt_Remark);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel7);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_ClassTeam);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_ClassOrder);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_SendMan);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
+            this.ultraGroupBox2.Controls.Add(this.Txt_ListCoding);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel3);
+            this.ultraGroupBox2.Controls.Add(this.Txt_VecihleNO);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
+            this.ultraGroupBox2.Controls.Add(this.Txt_AskPlan);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1020, 96);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 0;
+            this.ultraGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            this.ultraGroupBox2.Click += new System.EventHandler(this.ultraGroupBox2_Click);
+            // 
+            // txt_ZYCH
+            // 
+            this.txt_ZYCH.AutoSize = true;
+            this.txt_ZYCH.FlatMode = true;
+            this.txt_ZYCH.Location = new System.Drawing.Point(264, 72);
+            this.txt_ZYCH.Name = "txt_ZYCH";
+            this.txt_ZYCH.Size = new System.Drawing.Size(144, 19);
+            this.txt_ZYCH.TabIndex = 679;
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel20.Location = new System.Drawing.Point(212, 72);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel20.TabIndex = 680;
+            this.ultraLabel20.Text = "转运车号";
+            // 
+            // btn_zlupdate
+            // 
+            this.btn_zlupdate.Location = new System.Drawing.Point(870, 68);
+            this.btn_zlupdate.Name = "btn_zlupdate";
+            this.btn_zlupdate.Size = new System.Drawing.Size(98, 24);
+            this.btn_zlupdate.TabIndex = 678;
+            this.btn_zlupdate.Text = "过磅重量修改";
+            this.btn_zlupdate.Click += new System.EventHandler(this.btn_zlupdate_Click);
+            // 
+            // Cmb_Txt_ListCodingTop
+            // 
+            appearance63.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_Txt_ListCodingTop.Appearance = appearance63;
+            this.Cmb_Txt_ListCodingTop.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance64.BackColor = System.Drawing.SystemColors.Window;
+            appearance64.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Appearance = appearance64;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance65.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance65.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance65.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance65.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.Appearance = appearance65;
+            appearance66.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.BandLabelAppearance = appearance66;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance67.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance67.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance67.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance67.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.PromptAppearance = appearance67;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance68.BackColor = System.Drawing.SystemColors.Window;
+            appearance68.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.ActiveCellAppearance = appearance68;
+            appearance69.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance69.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.ActiveRowAppearance = appearance69;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance70.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CardAreaAppearance = appearance70;
+            appearance71.BorderColor = System.Drawing.Color.Silver;
+            appearance71.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellAppearance = appearance71;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellPadding = 0;
+            appearance72.BackColor = System.Drawing.SystemColors.Control;
+            appearance72.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance72.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance72.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance72.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.GroupByRowAppearance = appearance72;
+            appearance73.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderAppearance = appearance73;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance74.BackColor = System.Drawing.SystemColors.Window;
+            appearance74.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.RowAppearance = appearance74;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance75.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.TemplateAddRowAppearance = appearance75;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_Txt_ListCodingTop.DisplayMember = "";
+            this.Cmb_Txt_ListCodingTop.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_Txt_ListCodingTop.FlatMode = true;
+            this.Cmb_Txt_ListCodingTop.Location = new System.Drawing.Point(62, 48);
+            this.Cmb_Txt_ListCodingTop.Name = "Cmb_Txt_ListCodingTop";
+            this.Cmb_Txt_ListCodingTop.Size = new System.Drawing.Size(54, 19);
+            this.Cmb_Txt_ListCodingTop.TabIndex = 677;
+            this.Cmb_Txt_ListCodingTop.ValueMember = "";
+            // 
+            // Cmb_ZL
+            // 
+            this.Cmb_ZL.AutoSize = true;
+            valueListItem1.DataValue = "0";
+            valueListItem1.DisplayText = "小件计重";
+            valueListItem2.DataValue = "1";
+            valueListItem2.DisplayText = "过磅总重";
+            this.Cmb_ZL.Items.Add(valueListItem1);
+            this.Cmb_ZL.Items.Add(valueListItem2);
+            this.Cmb_ZL.Location = new System.Drawing.Point(690, 71);
+            this.Cmb_ZL.Name = "Cmb_ZL";
+            this.Cmb_ZL.Size = new System.Drawing.Size(84, 21);
+            this.Cmb_ZL.TabIndex = 210;
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(632, 75);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel17.TabIndex = 209;
+            this.ultraLabel17.Text = "打印方式";
+            // 
+            // Cmb_PLD
+            // 
+            this.Cmb_PLD.AutoSize = true;
+            valueListItem3.DataValue = "0";
+            valueListItem3.DisplayText = "薄板厂";
+            valueListItem4.DataValue = "1";
+            valueListItem4.DisplayText = "南昌洪钢";
+            this.Cmb_PLD.Items.Add(valueListItem3);
+            this.Cmb_PLD.Items.Add(valueListItem4);
+            this.Cmb_PLD.Location = new System.Drawing.Point(850, 27);
+            this.Cmb_PLD.Name = "Cmb_PLD";
+            this.Cmb_PLD.Size = new System.Drawing.Size(84, 21);
+            this.Cmb_PLD.TabIndex = 208;
+            this.Cmb_PLD.Visible = false;
+            // 
+            // ultBJPactno
+            // 
+            this.ultBJPactno.AutoSize = true;
+            this.ultBJPactno.FlatMode = true;
+            this.ultBJPactno.Location = new System.Drawing.Point(264, 27);
+            this.ultBJPactno.Name = "ultBJPactno";
+            this.ultBJPactno.Size = new System.Drawing.Size(144, 19);
+            this.ultBJPactno.TabIndex = 206;
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel16.Location = new System.Drawing.Point(212, 28);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel16.TabIndex = 207;
+            this.ultraLabel16.Text = "销售合同号";
+            // 
+            // ultraButton1
+            // 
+            this.ultraButton1.FlatMode = true;
+            this.ultraButton1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraButton1.Location = new System.Drawing.Point(175, 27);
+            this.ultraButton1.Name = "ultraButton1";
+            this.ultraButton1.Size = new System.Drawing.Size(37, 20);
+            this.ultraButton1.TabIndex = 205;
+            this.ultraButton1.Text = "修改";
+            this.ultraButton1.Click += new System.EventHandler(this.ultraButton1_Click);
+            // 
+            // txt_WEIGHT
+            // 
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(632, 28);
+            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.Size = new System.Drawing.Size(144, 19);
+            this.txt_WEIGHT.TabIndex = 12;
+            this.txt_WEIGHT.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.Location = new System.Drawing.Point(575, 31);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel19.TabIndex = 100;
+            this.ultraLabel19.Text = "过磅重量";
+            // 
+            // cmb_Station
+            // 
+            this.cmb_Station.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Station.DisplayMember = "";
+            this.cmb_Station.Location = new System.Drawing.Point(264, 47);
+            this.cmb_Station.Name = "cmb_Station";
+            this.cmb_Station.Size = new System.Drawing.Size(144, 21);
+            this.cmb_Station.TabIndex = 7;
+            this.cmb_Station.ValueMember = "";
+            this.cmb_Station.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.cmb_Station.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // cmb_IncpName
+            // 
+            this.cmb_IncpName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_IncpName.DisplayMember = "";
+            this.cmb_IncpName.Location = new System.Drawing.Point(62, 70);
+            this.cmb_IncpName.Name = "cmb_IncpName";
+            this.cmb_IncpName.Size = new System.Drawing.Size(134, 21);
+            this.cmb_IncpName.TabIndex = 6;
+            this.cmb_IncpName.ValueMember = "";
+            this.cmb_IncpName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.cmb_IncpName.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // txt_Coid_End
+            // 
+            this.txt_Coid_End.AutoSize = true;
+            this.txt_Coid_End.FlatMode = true;
+            this.txt_Coid_End.Location = new System.Drawing.Point(743, 49);
+            this.txt_Coid_End.Name = "txt_Coid_End";
+            this.txt_Coid_End.Size = new System.Drawing.Size(32, 19);
+            this.txt_Coid_End.TabIndex = 16;
+            this.txt_Coid_End.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Coid_End.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // txt_Coid_TOP
+            // 
+            this.txt_Coid_TOP.AutoSize = true;
+            this.txt_Coid_TOP.FlatMode = true;
+            this.txt_Coid_TOP.Location = new System.Drawing.Point(663, 49);
+            this.txt_Coid_TOP.MaxLength = 10;
+            this.txt_Coid_TOP.Name = "txt_Coid_TOP";
+            this.txt_Coid_TOP.Size = new System.Drawing.Size(81, 19);
+            this.txt_Coid_TOP.TabIndex = 15;
+            this.txt_Coid_TOP.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Coid_TOP.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // Dte_SendTime
+            // 
+            this.Dte_SendTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_SendTime.Location = new System.Drawing.Point(632, 4);
+            this.Dte_SendTime.Name = "Dte_SendTime";
+            this.Dte_SendTime.Size = new System.Drawing.Size(144, 21);
+            this.Dte_SendTime.TabIndex = 11;
+            this.Dte_SendTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_SendTime.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Dte_SendTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // txt_Scouid
+            // 
+            this.txt_Scouid.AutoSize = true;
+            this.txt_Scouid.FlatMode = true;
+            this.txt_Scouid.Location = new System.Drawing.Point(118, 49);
+            this.txt_Scouid.Name = "txt_Scouid";
+            this.txt_Scouid.Size = new System.Drawing.Size(80, 19);
+            this.txt_Scouid.TabIndex = 4;
+            this.txt_Scouid.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Scouid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // Btn_SendBillet
+            // 
+            this.Btn_SendBillet.Location = new System.Drawing.Point(792, 68);
+            this.Btn_SendBillet.Name = "Btn_SendBillet";
+            this.Btn_SendBillet.Size = new System.Drawing.Size(72, 24);
+            this.Btn_SendBillet.TabIndex = 17;
+            this.Btn_SendBillet.Text = "发运登记";
+            this.Btn_SendBillet.Click += new System.EventHandler(this.Btn_SendBillet_Click);
+            this.Btn_SendBillet.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Btn_SendBillet.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(792, 31);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel12.TabIndex = 97;
+            this.ultraLabel12.Text = "转运单位";
+            this.ultraLabel12.Visible = false;
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel10.Location = new System.Drawing.Point(240, 52);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel10.TabIndex = 96;
+            this.ultraLabel10.Text = "到站";
+            // 
+            // chk_QX
+            // 
+            appearance76.BackColor = System.Drawing.Color.Red;
+            this.chk_QX.Appearance = appearance76;
+            this.chk_QX.FlatMode = true;
+            this.chk_QX.Location = new System.Drawing.Point(792, 50);
+            this.chk_QX.Name = "chk_QX";
+            this.chk_QX.Size = new System.Drawing.Size(76, 16);
+            this.chk_QX.TabIndex = 203;
+            this.chk_QX.Text = "强行发运";
+            // 
+            // chk_Clear
+            // 
+            appearance77.BackColor = System.Drawing.Color.Red;
+            this.chk_Clear.Appearance = appearance77;
+            this.chk_Clear.FlatMode = true;
+            this.chk_Clear.Location = new System.Drawing.Point(872, 50);
+            this.chk_Clear.Name = "chk_Clear";
+            this.chk_Clear.Size = new System.Drawing.Size(64, 16);
+            this.chk_Clear.TabIndex = 204;
+            this.chk_Clear.Text = "清库板";
+            // 
+            // btn_NSendID
+            // 
+            this.btn_NSendID.FlatMode = true;
+            this.btn_NSendID.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btn_NSendID.Location = new System.Drawing.Point(174, 6);
+            this.btn_NSendID.Name = "btn_NSendID";
+            this.btn_NSendID.Size = new System.Drawing.Size(22, 20);
+            this.btn_NSendID.TabIndex = 92;
+            this.btn_NSendID.Text = "……";
+            this.btn_NSendID.Visible = false;
+            this.btn_NSendID.Click += new System.EventHandler(this.btn_NSendID_Click);
+            // 
+            // Txt_SendPactNO
+            // 
+            this.Txt_SendPactNO.AutoSize = true;
+            this.Txt_SendPactNO.FlatMode = true;
+            this.Txt_SendPactNO.Location = new System.Drawing.Point(264, 6);
+            this.Txt_SendPactNO.Name = "Txt_SendPactNO";
+            this.Txt_SendPactNO.ReadOnly = true;
+            this.Txt_SendPactNO.Size = new System.Drawing.Size(144, 19);
+            this.Txt_SendPactNO.TabIndex = 5;
+            this.Txt_SendPactNO.ValueChanged += new System.EventHandler(this.Txt_SendPactNO_ValueChanged);
+            this.Txt_SendPactNO.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_SendPactNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel18.Location = new System.Drawing.Point(224, 8);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel18.TabIndex = 91;
+            this.ultraLabel18.Text = "合同号";
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel14.Location = new System.Drawing.Point(4, 72);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 90;
+            this.ultraLabel14.Text = "订货单位";
+            // 
+            // Ops_SendType
+            // 
+            this.Ops_SendType.BackColor = System.Drawing.Color.Transparent;
+            this.Ops_SendType.CheckedIndex = 0;
+            this.Ops_SendType.FlatMode = true;
+            this.Ops_SendType.ItemAppearance = appearance78;
+            valueListItem5.DataValue = "0";
+            valueListItem5.DisplayText = "正常发运";
+            valueListItem6.DataValue = "1";
+            valueListItem6.DisplayText = "内部转运";
+            this.Ops_SendType.Items.Add(valueListItem5);
+            this.Ops_SendType.Items.Add(valueListItem6);
+            this.Ops_SendType.Location = new System.Drawing.Point(792, 6);
+            this.Ops_SendType.Name = "Ops_SendType";
+            this.Ops_SendType.Size = new System.Drawing.Size(142, 18);
+            this.Ops_SendType.TabIndex = 201;
+            this.Ops_SendType.Text = "正常发运";
+            this.Ops_SendType.ValueChanged += new System.EventHandler(this.Ops_SendType_ValueChanged);
+            // 
+            // Btn_GetListCoding
+            // 
+            this.Btn_GetListCoding.FlatMode = true;
+            this.Btn_GetListCoding.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Btn_GetListCoding.Location = new System.Drawing.Point(200, 48);
+            this.Btn_GetListCoding.Name = "Btn_GetListCoding";
+            this.Btn_GetListCoding.Size = new System.Drawing.Size(22, 20);
+            this.Btn_GetListCoding.TabIndex = 87;
+            this.Btn_GetListCoding.Text = "……";
+            this.Btn_GetListCoding.Visible = false;
+            // 
+            // txt_Coil_ID
+            // 
+            this.txt_Coil_ID.AutoSize = true;
+            this.txt_Coil_ID.FlatMode = true;
+            this.txt_Coil_ID.Location = new System.Drawing.Point(632, 49);
+            this.txt_Coil_ID.MaxLength = 2;
+            this.txt_Coil_ID.Name = "txt_Coil_ID";
+            this.txt_Coil_ID.Size = new System.Drawing.Size(32, 19);
+            this.txt_Coil_ID.TabIndex = 14;
+            this.txt_Coil_ID.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Coil_ID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(575, 52);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel9.TabIndex = 86;
+            this.ultraLabel9.Text = "卷板包号";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(575, 8);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 83;
+            this.ultraLabel8.Text = "发运时间";
+            // 
+            // Txt_Remark
+            // 
+            this.Txt_Remark.AutoSize = true;
+            this.Txt_Remark.FlatMode = true;
+            this.Txt_Remark.Location = new System.Drawing.Point(468, 72);
+            this.Txt_Remark.Multiline = true;
+            this.Txt_Remark.Name = "Txt_Remark";
+            this.Txt_Remark.Size = new System.Drawing.Size(161, 19);
+            this.Txt_Remark.TabIndex = 13;
+            this.Txt_Remark.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel7.Location = new System.Drawing.Point(410, 74);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 81;
+            this.ultraLabel7.Text = "发运备注";
+            // 
+            // Cmb_ClassTeam
+            // 
+            this.Cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance79.BackColor = System.Drawing.SystemColors.Window;
+            appearance79.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_ClassTeam.DisplayLayout.Appearance = appearance79;
+            this.Cmb_ClassTeam.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassTeam.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance80.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance80.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance80.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance80.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.Appearance = appearance80;
+            appearance81.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BandLabelAppearance = appearance81;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance82.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance82.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance82.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance82.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.PromptAppearance = appearance82;
+            this.Cmb_ClassTeam.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassTeam.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance83.BackColor = System.Drawing.SystemColors.Window;
+            appearance83.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.ActiveCellAppearance = appearance83;
+            appearance84.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance84.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.ActiveRowAppearance = appearance84;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance85.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CardAreaAppearance = appearance85;
+            appearance86.BorderColor = System.Drawing.Color.Silver;
+            appearance86.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellAppearance = appearance86;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellPadding = 0;
+            appearance87.BackColor = System.Drawing.SystemColors.Control;
+            appearance87.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance87.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance87.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance87.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.Override.GroupByRowAppearance = appearance87;
+            appearance88.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderAppearance = appearance88;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance89.BackColor = System.Drawing.SystemColors.Window;
+            appearance89.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowAppearance = appearance89;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance90.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_ClassTeam.DisplayLayout.Override.TemplateAddRowAppearance = appearance90;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassTeam.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassTeam.DisplayMember = "";
+            this.Cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_ClassTeam.FlatMode = true;
+            this.Cmb_ClassTeam.Location = new System.Drawing.Point(466, 49);
+            this.Cmb_ClassTeam.Name = "Cmb_ClassTeam";
+            this.Cmb_ClassTeam.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_ClassTeam.TabIndex = 10;
+            this.Cmb_ClassTeam.ValueMember = "";
+            this.Cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.Cmb_ClassTeam.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(410, 52);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 77;
+            this.ultraLabel6.Text = "发运班组";
+            // 
+            // Cmb_ClassOrder
+            // 
+            this.Cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance91.BackColor = System.Drawing.SystemColors.Window;
+            appearance91.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_ClassOrder.DisplayLayout.Appearance = appearance91;
+            this.Cmb_ClassOrder.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassOrder.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance92.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance92.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance92.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance92.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.Appearance = appearance92;
+            appearance93.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.BandLabelAppearance = appearance93;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance94.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance94.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance94.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance94.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.PromptAppearance = appearance94;
+            this.Cmb_ClassOrder.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassOrder.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance95.BackColor = System.Drawing.SystemColors.Window;
+            appearance95.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.ActiveCellAppearance = appearance95;
+            appearance96.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance96.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.ActiveRowAppearance = appearance96;
+            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance97.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CardAreaAppearance = appearance97;
+            appearance98.BorderColor = System.Drawing.Color.Silver;
+            appearance98.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellAppearance = appearance98;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellPadding = 0;
+            appearance99.BackColor = System.Drawing.SystemColors.Control;
+            appearance99.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance99.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance99.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance99.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassOrder.DisplayLayout.Override.GroupByRowAppearance = appearance99;
+            appearance100.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderAppearance = appearance100;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance101.BackColor = System.Drawing.SystemColors.Window;
+            appearance101.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_ClassOrder.DisplayLayout.Override.RowAppearance = appearance101;
+            this.Cmb_ClassOrder.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance102.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_ClassOrder.DisplayLayout.Override.TemplateAddRowAppearance = appearance102;
+            this.Cmb_ClassOrder.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassOrder.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassOrder.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassOrder.DisplayMember = "";
+            this.Cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_ClassOrder.FlatMode = true;
+            this.Cmb_ClassOrder.Location = new System.Drawing.Point(466, 28);
+            this.Cmb_ClassOrder.Name = "Cmb_ClassOrder";
+            this.Cmb_ClassOrder.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_ClassOrder.TabIndex = 9;
+            this.Cmb_ClassOrder.ValueMember = "";
+            this.Cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.Cmb_ClassOrder.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(410, 31);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel5.TabIndex = 75;
+            this.ultraLabel5.Text = "发运班次";
+            // 
+            // Cmb_SendMan
+            // 
+            this.Cmb_SendMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance103.BackColor = System.Drawing.SystemColors.Window;
+            appearance103.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_SendMan.DisplayLayout.Appearance = appearance103;
+            this.Cmb_SendMan.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_SendMan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance104.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance104.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance104.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance104.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.Appearance = appearance104;
+            appearance105.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance105;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance106.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance106.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance106.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance106.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.PromptAppearance = appearance106;
+            this.Cmb_SendMan.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_SendMan.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance107.BackColor = System.Drawing.SystemColors.Window;
+            appearance107.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_SendMan.DisplayLayout.Override.ActiveCellAppearance = appearance107;
+            appearance108.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance108.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_SendMan.DisplayLayout.Override.ActiveRowAppearance = appearance108;
+            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance109.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SendMan.DisplayLayout.Override.CardAreaAppearance = appearance109;
+            appearance110.BorderColor = System.Drawing.Color.Silver;
+            appearance110.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_SendMan.DisplayLayout.Override.CellAppearance = appearance110;
+            this.Cmb_SendMan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_SendMan.DisplayLayout.Override.CellPadding = 0;
+            appearance111.BackColor = System.Drawing.SystemColors.Control;
+            appearance111.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance111.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance111.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance111.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SendMan.DisplayLayout.Override.GroupByRowAppearance = appearance111;
+            appearance112.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderAppearance = appearance112;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance113.BackColor = System.Drawing.SystemColors.Window;
+            appearance113.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_SendMan.DisplayLayout.Override.RowAppearance = appearance113;
+            this.Cmb_SendMan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance114.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_SendMan.DisplayLayout.Override.TemplateAddRowAppearance = appearance114;
+            this.Cmb_SendMan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_SendMan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_SendMan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_SendMan.DisplayMember = "";
+            this.Cmb_SendMan.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_SendMan.FlatMode = true;
+            this.Cmb_SendMan.Location = new System.Drawing.Point(466, 6);
+            this.Cmb_SendMan.Name = "Cmb_SendMan";
+            this.Cmb_SendMan.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_SendMan.TabIndex = 8;
+            this.Cmb_SendMan.ValueMember = "";
+            this.Cmb_SendMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.Cmb_SendMan.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel4.Location = new System.Drawing.Point(418, 8);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel4.TabIndex = 73;
+            this.ultraLabel4.Text = "发运人";
+            // 
+            // Txt_ListCoding
+            // 
+            this.Txt_ListCoding.AutoSize = true;
+            this.Txt_ListCoding.FlatMode = true;
+            this.Txt_ListCoding.Location = new System.Drawing.Point(954, 29);
+            this.Txt_ListCoding.Name = "Txt_ListCoding";
+            this.Txt_ListCoding.Size = new System.Drawing.Size(30, 19);
+            this.Txt_ListCoding.TabIndex = 3;
+            this.Txt_ListCoding.Text = "KP9";
+            this.Txt_ListCoding.Visible = false;
+            this.Txt_ListCoding.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_ListCoding.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(4, 52);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 72;
+            this.ultraLabel3.Text = "明细编码";
+            // 
+            // Txt_VecihleNO
+            // 
+            this.Txt_VecihleNO.AutoSize = true;
+            this.Txt_VecihleNO.FlatMode = true;
+            this.Txt_VecihleNO.Location = new System.Drawing.Point(62, 28);
+            this.Txt_VecihleNO.Name = "Txt_VecihleNO";
+            this.Txt_VecihleNO.Size = new System.Drawing.Size(112, 19);
+            this.Txt_VecihleNO.TabIndex = 2;
+            this.Txt_VecihleNO.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_VecihleNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(4, 31);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel2.TabIndex = 70;
+            this.ultraLabel2.Text = "发运车号";
+            // 
+            // Txt_AskPlan
+            // 
+            this.Txt_AskPlan.AutoSize = true;
+            this.Txt_AskPlan.FlatMode = true;
+            this.Txt_AskPlan.Location = new System.Drawing.Point(62, 6);
+            this.Txt_AskPlan.Name = "Txt_AskPlan";
+            this.Txt_AskPlan.ReadOnly = true;
+            this.Txt_AskPlan.Size = new System.Drawing.Size(112, 19);
+            this.Txt_AskPlan.TabIndex = 1;
+            this.Txt_AskPlan.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_AskPlan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel1.Location = new System.Drawing.Point(4, 8);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel1.TabIndex = 67;
+            this.ultraLabel1.Text = "发运号码";
+            // 
+            // Frm_TurnoSendCan
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1020, 502);
+            this.Controls.Add(this.panel3);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_TurnoSendCan";
+            this.Text = "卷板开平转运信息登记";
+            this.Load += new System.EventHandler(this.Frm_TurnoSendCan_Load);
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit();
+            this.ultraTabPageControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Send)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserBM)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_CoilID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).EndInit();
+            this.ultraTabControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZYCH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ZL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_PLD)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultBJPactno)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Station)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IncpName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_End)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_TOP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scouid)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Ops_SendType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coil_ID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+		private string getWhere()
+		{
+			string strSql="";
+			if(chk_DeliveryTime.Checked)
+			{
+				strSql += " AND TO_CHAR(A.PICKSTORAGETIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.Dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+					+ " AND TO_CHAR(A.PICKSTORAGETIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.Dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+			}
+			if(this.chk_CoilID.Checked)
+			{
+				strSql+=" AND A.COIL_NO_ID  like '"+txt_CoilID.Text+"%'";
+			}
+			if(this.chk_PactNO.Checked)
+			{
+				strSql+=" AND A.ORD_NO like'%"+this.Txt_PactNO.Text+"%'";
+			}
+			if(this.chk_AskPlanID.Checked)
+			{
+				strSql+=" AND A.PLANVEHICLEID LIKE '%"+this.txt_AskPlanID.Text+"%'";
+			}
+			if(this.chk_ListCode.Checked)
+			{
+				strSql+=" AND LISTNUMBER LIKE '%"+this.txt_ListCode.Text+"%'";
+			}
+			if(this.chk_GangJuan.Checked)
+			{
+				strSql+=" AND A.OLD_SAMPL_NO LIKE '%"+this.txt_GangJuan.Text+"%'";
+			}
+			return strSql;
+		}
+		private void SendQuery(string _Conntion)
+		{
+           
+			try
+			{
+				string strOut="";
+
+                DataSet ds=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","Turn_ZH",new object[]{_Conntion},out strOut);
+				this.gb_Send.DataSource=ds;
+             
+				this.gb_Send.UpdateData();
+				Comm.SetGridSumArea(this.gb_Send);
+
+                //if (Convert.ToDecimal(this.gb_Send.Rows.SummaryValues[0].Value) > 0)
+                //{
+                //    System.Decimal Weight = Math.Round(Convert.ToDecimal(this.gb_Send.Rows.SummaryValues[3].Value), 3);
+                //    this.gb_Send.DisplayLayout.Bands[0].Summaries[7].DisplayFormat = Convert.ToString(Weight);
+                //}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private bool CheckAdd()
+		{
+			if(this.txt_Scouid.Text.Trim().Length==0)
+			{
+				MessageBox.Show("明细号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+//			if(this.Txt_AskPlan.Text.Trim().Length==0)
+//			{
+//				MessageBox.Show("发运号码不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+//				return false;
+//			}
+			if(Txt_VecihleNO.Text.Trim().Length==0)
+			{
+				MessageBox.Show("发运车号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.Txt_SendPactNO.Text.Trim().Length==0)
+			{
+				MessageBox.Show("合同号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(cmb_IncpName.Text.Trim().Length==0&&cmb_Station.Text.Trim().Length==0)
+			{
+				MessageBox.Show("订货单位,到站不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.Cmb_ClassOrder.Text.Trim().Length==0&&this.Cmb_ClassTeam.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班次,班组不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.txt_Coil_ID.Text.Trim().Length==0&&this.txt_Coid_TOP.Text.Trim().Length==0&&this.txt_Coid_End.Text.Trim().Length==0)
+			{
+				MessageBox.Show("卷板包号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			return true;
+		}
+		private void Btn_SendBillet_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(!CheckAdd())
+				{
+					return;
+				}
+				string strOut="";
+				ArrayList Other=new ArrayList();
+				Other.Add(this.Txt_AskPlan.Text);
+				Other.Add(this.Txt_VecihleNO.Text);
+                Other.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
+				Other.Add(this.Txt_SendPactNO.Text);
+				Other.Add(this.cmb_IncpName.Text);
+				Other.Add(cmb_Station.Text);
+				Other.Add(Cmb_SendMan.Text);
+				Other.Add(Cmb_ClassOrder.Value.ToString());
+				Other.Add(Cmb_ClassTeam.Value.ToString());
+				Other.Add(Dte_SendTime.Value.ToString());
+				Other.Add(this.txt_Coil_ID.Text+"-"+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text);
+				Other.Add(this.Ops_SendType.Value);
+                
+                if (Cmb_PLD.Value ==null)
+                {
+                    Other.Add("");
+                }
+                else
+                {
+                    Other.Add(Cmb_PLD.Value.ToString());
+                }
+				Other.Add(this.Txt_Remark.Text);
+				if(this.chk_QX.Checked)
+				{
+					Other.Add("0");
+				}
+				else
+				{
+					Other.Add("");
+				}
+				if(this.chk_Clear.Checked)
+				{
+					Other.Add("1");
+				}
+				else
+				{
+					Other.Add("");
+				}
+				Other.Add(this.txt_WEIGHT.Value.ToString());
+                Other.Add(this.ultBJPactno.Text.ToString());
+                Other.Add(ClientCommon._UserInfo.UserName.ToString());
+                //Other.Add(this.Cmb_PLD.Value.ToString());
+                Other.Add(txt_ZYCH.Text.Trim().ToString());
+				object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","TranSend",new object[]{Other},out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+                    string Sql = " AND LISTNUMBER='" + this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text + "'";
+					this.SendQuery(Sql);
+					Comm.SetGridSumArea(gb_Send);
+					MessageBox.Show("输入成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					this.txt_Coid_TOP.Focus();
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Txt_IncpName_ValueChanged(object sender, System.EventArgs e)
+		{
+		
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "PC":
+                    AskQuery();
+					break;
+				case "FY":
+					this.SendQuery(this.getWhere());
+					this.ultraTabControl1.Tabs["TAB_YF"].Selected=true;
+					break;
+				case "DEL":
+					 SendCan_Del();
+					break;
+				case "PRINT":
+					Print();
+					break;
+				case "DUCE":
+					ExportButtressInfo();
+					break;
+                case "COLSE":
+					this.Close();
+					break;
+			}
+		}
+
+		private void Frm_TurnoSendCan_Load(object sender, System.EventArgs e)
+		{
+			
+			string sql="";
+			DataSet ds;
+			string strOut="";
+            Cmb_ZL.Value = "1";
+            Dte_BeginTime.Value = DateTime.Today;
+            Dte_EndTime.Value = DateTime.Today;
+            Dte_SendTime.Value = DateTime.Today;
+            Comm.SetGridSumArea(this.gb_Send);
+			Comm.SetGridSumArea(this.gb_Turn);
+            
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+			ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.Common","GetDataSet",new object []{sql},out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.Cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//班组
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+			ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.Common","GetDataSet",new object []{sql},out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.Cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//负责人
+			sql ="SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'" ;
+			ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.Common","GetDataSet",new object []{sql},out strOut);
+			ds.Tables[0].TableName="KCJ_BASEDATA";
+
+			Comm.Init_ComboControl(this.Cmb_SendMan,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+
+
+            //明细编码
+            sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE ID_ in ('808906','808927')";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.Cmb_Txt_ListCodingTop, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+            this.Cmb_Txt_ListCodingTop.Value = "808927";
+
+           
+		}
+
+		private void Txt_SendPactNO_ValueChanged(object sender, System.EventArgs e)
+		{
+		
+		}
+
+		private void Txt_AskPlan_Enter(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+				}
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+				}
+                if(((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name=="Txt_VecihleNO")
+                {
+                txt_ZYCH.Text = Txt_VecihleNO.Text;
+                }
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Txt_AskPlan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData == Keys.Return)
+				{
+					if(((System.Windows.Forms.Control)sender).Name =="txt_Coid_End")
+					{
+						try
+						{
+							string err="";
+							string ID="	AND A.COIL_NO_ID='"+this.txt_Coil_ID.Text+"-"+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text+"'";
+							DataSet ds1=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","Turn_Query",new object[]{ID},out err);
+							this.gb_Turn.DataSource=ds1;
+                            Txt_SendPactNO.Text = ds1.Tables[0].Rows[0]["ORD_NO"].ToString();
+							this.gb_Turn.UpdateData();
+							Comm.SetGridSumArea(this.gb_Turn);
+						}
+						catch(Exception ex)
+						{
+							System.Diagnostics.Debug.WriteLine(ex.ToString());
+						}
+						Comm.SetGridSumArea(gb_Send);
+					}
+					
+					if(((System.Windows.Forms.Control)sender).Name=="txt_Scouid")
+					{
+						try
+						{
+							string err="";
+							string ID=this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text;
+							DataSet ds2=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","GetData",new object[]{ID},out err);
+							this.Txt_AskPlan.Text=ds2.Tables[0].Rows[0]["PLANVEHICLEID"].ToString();
+							this.Txt_VecihleNO.Text=ds2.Tables[0].Rows[0]["TRANS_CAR_NO"].ToString();
+							this.Txt_SendPactNO.Text=ds2.Tables[0].Rows[0]["ORD_NO"].ToString();
+							this.cmb_IncpName.Text=ds2.Tables[0].Rows[0]["INSTR_ROUTE"].ToString();
+							this.cmb_Station.Text=ds2.Tables[0].Rows[0]["ROUTE"].ToString();
+							this.Cmb_SendMan.Text=ds2.Tables[0].Rows[0]["PICKSTORAGEMAN"].ToString();
+							this.Cmb_ClassOrder.Text=ds2.Tables[0].Rows[0]["CLASSORDER"].ToString();
+							this.Cmb_ClassTeam.Text=ds2.Tables[0].Rows[0]["CLASSTEAM"].ToString();
+							this.txt_WEIGHT.Value=Comm.ObjToDecimal(ds2.Tables[0].Rows[0]["CAL_WGT"]);
+						}
+						catch(Exception ex)
+						{
+							System.Diagnostics.Debug.WriteLine(ex.ToString());
+						}
+					}
+					if(((System.Windows.Forms.Control)sender).Name =="Btn_SendBillet")
+					{
+						if(!CheckAdd())
+						{
+							return;
+						}
+						string strOut="";
+						ArrayList Other=new ArrayList();
+						Other.Add(this.Txt_AskPlan.Text);
+						Other.Add(this.Txt_VecihleNO.Text);
+						Other.Add(this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text);
+						Other.Add(this.Txt_SendPactNO.Text);
+						Other.Add(this.cmb_IncpName.Text);
+						Other.Add(cmb_Station.Text);
+						Other.Add(Cmb_SendMan.Text);
+						Other.Add(Cmb_ClassOrder.Value.ToString());
+						Other.Add(Cmb_ClassTeam.Value.ToString());
+						Other.Add(Dte_SendTime.Value.ToString());
+						Other.Add(this.txt_Coil_ID.Text+"-"+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text);
+						Other.Add(this.Ops_SendType.Value);
+						Other.Add(Cmb_PLD.Text);
+						Other.Add(this.Txt_Remark.Text);
+						if(this.chk_QX.Checked)
+						{
+							Other.Add("0");
+						}
+						else
+						{
+							Other.Add("");
+						}
+						if(this.chk_Clear.Checked)
+						{
+							Other.Add("1");
+						}
+						else
+						{
+							Other.Add("");
+						}
+						Other.Add(this.txt_WEIGHT.Value.ToString());
+						object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","TranSend",new object[]{Other},out strOut);
+						if(obj!=null&&obj.ToString()=="1")
+						{
+							string Sql=" AND LISTNUMBER='"+this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text+"'";
+							this.SendQuery(Sql);
+							Comm.SetGridSumArea(gb_Send);
+							MessageBox.Show("输入成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+						}
+						else
+						{
+							MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+						}
+					}
+                    if (((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name == "Txt_VecihleNO")
+                    {
+                        txt_ZYCH.Text = Txt_VecihleNO.Text;
+                    }
+				System.Windows.Forms.SendKeys.Send("{TAB}");
+				}
+				
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void gb_Send_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
+		{
+			try
+			{
+				string SendFlag=Comm.ObjToStr(e.Row.Cells["CLEARFLAG"].Value);
+				
+				if(SendFlag=="0")
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
+				}
+				if(SendFlag=="1")
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Print()
+		{
+			try
+			{
+				string strOut = "";
+				if(!this.txt_ListCode.Enabled | this.txt_ListCode.Text.Trim()=="")
+				{
+					MessageBox.Show("请您输写要打印的发运明细编号!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return;
+				}
+				string Sql=" AND A.LISTNUMBER='"+this.txt_ListCode.Text+"' ";
+                string listnumber = this.txt_ListCode.Text.Trim();
+                DataSet ds;
+                DataSet ds1;
+                if (Cmb_ZL.Value == "1")
+                {
+                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "Turn_DY", new object[] { Sql }, out strOut);
+                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "DistsctListnumber1", new object[] { listnumber }, out strOut);
+                    Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+                    rtp._rtpFileName = @"SendCan.rpt";
+                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
+                    //rtp._rtpDataSet.Merge(ds.Copy());
+                    rtp._rtpDataSet = ds;
+                    if (ds1.Tables[0].Rows.Count <= 0)
+                    {
+                        //if (ds1.Tables[0].Rows[0]["cal_wgt"] == null)
+                        //{
+                            rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
+                        //}
+                        //if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
+                        //{
+                            rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
+                        //}
+                    }
+                    else
+                    {
+                        rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["cal_wgt"].ToString();
+                        rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
+                    }
+                    rtp._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+
+                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+
+                    rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
+                    rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = this.txt_UserName.Text;
+
+
+                    rtp.ShowDialog();
+                }
+                else
+                {
+                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "Turn_DY1", new object[] { Sql }, out strOut);
+                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "DistsctListnumber", new object[] { listnumber }, out strOut);
+                    Core.XgMes.Client.Print.FrmPrintBase rtp1 = new Core.XgMes.Client.Print.FrmPrintBase();
+                    rtp1._rtpFileName = @"SendCanZl.rpt";
+                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
+                    //rtp._rtpDataSet.Merge(ds.Copy());
+                    rtp1._rtpDataSet = ds;
+                    if (ds1.Tables[0].Rows.Count <= 0)
+                    {
+                        if (ds1.Tables[0].Rows[0]["LNZL"] == null)
+                        {
+                            rtp1._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
+                        }
+                        if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
+                        {
+                            rtp1._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
+                        }
+                    }
+                    else
+                    {
+                        rtp1._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["LNZL"].ToString();
+                        rtp1._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
+                    }
+                    
+                 
+                    rtp1._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+
+                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+
+                    rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
+                    rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = this.txt_UserName.Text;
+
+
+                    rtp1.ShowDialog();
+                }
+				if(ds==null)
+				{
+					MessageBox.Show("请您确认输写的发运明细编号是否正确!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return;
+				}
+                //Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+                //rtp._rtpFileName=@"SendCan.rpt";
+                ////(obj as System.Data.DataSet).Tables["DATA"].Clear();
+                ////rtp._rtpDataSet.Merge(ds.Copy());
+                //rtp._rtpDataSet = ds;
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["cal_wgt"].ToString();
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+
+                ////Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+              
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"]=this.txt_UserBM.Text;
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"]=this.txt_UserName.Text;
+                
+              
+                //rtp.ShowDialog();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void SendCan_Del()
+		{
+			try
+			{
+				string strOut="";
+				ArrayList array=new ArrayList();
+				string ID="";
+				string ASK_ID="";
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Send.Selected.Rows)
+				{
+					array.Add(row.Cells["LISTNUMBER"].Value.ToString());
+                    ID=Comm.ObjToStr(row.Cells["COIL_NO_ID"].Value);
+					ASK_ID=Comm.ObjToStr(row.Cells["PLANVEHICLEID"].Value);
+				}
+				if(array.Count==0)
+				{
+                    MessageBox.Show("请选中你要删除的行!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(ID);
+				Other.Add(ASK_ID);
+                object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","SendCan_DEL",new object[]{array,Other},out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_Send.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_TURNOFFSENDLIST"].Select("COIL_NO_ID='"+ID+"'");
+					for(int i=0;i<row.Length;i++)
+					{
+                        ds.Tables["KCJ3_TURNOFFSENDLIST"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_TURNOFFSENDLIST"].AcceptChanges();
+					}
+					Comm.SetGridSumArea(gb_Send);
+				}
+				else
+				{
+                    MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+					
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+        //排车信息查询 add by lyp 20101123
+        public void AskQuery()
+        {
+            string err = "";
+            try
+            {
+                
+                string where = GetWhereAsk("PLAN");
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan",
+                    "GetAskPlanData", new object[] { where }, out err);
+                if (obj != null)
+                {
+                    this.ultraGrid2.DataSource = (DataSet)obj;
+                }
+               
+                //StorageBaseClass.SetGridSumArea(this.Grd_HCSendPlan);
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private string GetWhereAsk(string type)
+        {
+            string rtnStr = "";
+            if (this.chk_DeliveryTime.Checked)
+            {
+                if (type == "PLAN")
+                {
+                    rtnStr = " AND t.DLIV_DIR_DATE  >='" + Convert.ToDateTime(this.Dte_BeginTime.Value).ToString("yyyyMMdd") + "' AND "+
+                                                  " t.DLIV_DIR_DATE <='" + Convert.ToDateTime(this.Dte_EndTime.Value).ToString("yyyyMMdd") + "'";
+                                    
+                }
+               
+            }
+            //if (this.chk_PactNO.Enabled)
+            //{
+            //    if (type == "PLAN")
+            //    {
+            //        rtnStr = rtnStr + " AND a.ORD_NO LIKE '%" + this.Txt_Station.Text + "%' ";
+            //    }
+
+            //}
+            //if (this.Txt_Station.Enabled && this.Txt_Station.Text.Length > 0)
+            //{
+            //    if (type == "PLAN")
+            //    {
+            //        rtnStr = rtnStr + " AND c.SM_CFNM LIKE '%" + this.Txt_Station.Text + "%' ";
+            //    }
+               
+            //}
+            if (this.Txt_PactNO.Enabled && this.Txt_PactNO.Text.Length > 0)
+            {
+                if (type == "PLAN")
+                {
+                    rtnStr = rtnStr + " AND substr(t.ORDERNO,1,12) LIKE '%" + this.Txt_PactNO.Text + "%' ";
+                }
+                
+            }
+            
+            if (this.txt_AskPlanID.Enabled && this.txt_AskPlanID.Text.Length > 0)
+            {
+                rtnStr = rtnStr + " AND t.DLIV_DIRNO LIKE '%" + this.txt_AskPlanID.Text + "%' ";
+            }        
+            return rtnStr;
+        }
+		private void ultraGroupBox2_Click(object sender, System.EventArgs e)
+		{
+			
+		}
+
+		private void chk_CoilID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_CoilID.Enabled=this.chk_CoilID.Checked;
+			this.ultraTextEditor1.Enabled=this.chk_CoilID.Checked;
+			this.ultraTextEditor2.Enabled=this.chk_CoilID.Checked;
+		}
+
+		private void chk_PactNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Txt_PactNO.Enabled=this.chk_PactNO.Checked;
+		}
+
+		private void chk_AskPlanID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_AskPlanID.Enabled=this.chk_AskPlanID.Checked;
+		}
+
+		private void chk_ListCode_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_ListCode.Enabled=this.chk_ListCode.Checked;
+		}
+
+		private void chk_DeliveryTime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Dte_BeginTime.Enabled=this.chk_DeliveryTime.Checked;
+			this.Dte_EndTime.Enabled=this.chk_DeliveryTime.Checked;
+		}
+
+		private void Ops_SendType_ValueChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+				switch(this.Ops_SendType.Value.ToString())
+				{
+					case "0":
+						this.Txt_AskPlan.Text = "";
+						break;
+					case "1":
+						this.Txt_AskPlan.Text = System.DateTime.Now.ToString("yyyyMMddHHmmss");
+						this.Txt_AskPlan.Enabled = true;
+						this.btn_NSendID.Visible=true;
+						break;
+					case "4":
+						this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+						this.Txt_AskPlan.Enabled = true;
+						this.btn_NSendID.Visible=true;
+						break;
+				
+					case "7":
+						this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+						this.Txt_AskPlan.Enabled = true;
+						this.btn_NSendID.Visible=true;
+						break;
+				  
+
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void btn_NSendID_Click(object sender, System.EventArgs e)
+		{
+			switch(this.Ops_SendType.Value.ToString())
+			{
+				case "1":
+					this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+					break;
+				case "7":
+					this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+					break;
+
+			}
+		}
+
+		private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
+		}
+
+		private void ultraButton1_Click(object sender, System.EventArgs e)
+		{
+			string strOut="";
+			ArrayList array=new ArrayList();
+			array.Add(Txt_AskPlan.Text);
+			array.Add(this.Txt_VecihleNO.Text);
+            object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","CanUpdate",new object[]{array},out strOut);
+			if(obj!=null&&obj.ToString()=="1")
+			{
+				MessageBox.Show("修改成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+			}
+			else
+			{
+                MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+			}
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Send.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Send.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Send.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Send.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Send.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Send.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Send,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+
+        private void ultraGrid2_DoubleClickRow(object sender, DoubleClickRowEventArgs e)
+        {
+            try
+            {
+                if (e.Row != null)
+                {
+                    if (e.Row.ChildBands == null)
+                    {
+                        string where = " AND A.PLANVEHICLEID='" + e.Row.Cells["ASKPLAN_ID"].Value.ToString() + "' ";
+                        //this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Clear();
+                        //GetJBSendList(where);
+                        //if (this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows.Count > 0)
+                        //{
+                        //    this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+                        //    this.Txt_VecihleNO.Text = this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["TRAINWAGON"].ToString();
+                        //    this.Txt_ListCoding.Text = this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["LISTNUMBER"].ToString().Split('-')[1];
+                        //    this.Txt_Remark.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["REMARK"]);
+                        //    this.Cmb_SendMan.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["PICKSTORAGEMAN"]);
+                        //    this.Cmb_ClassOrder.Value = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSORDER"]);
+                        //    this.Cmb_ClassTeam.Value = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSTEAM"]);
+                        //    this.Dte_SendTime.Value = Convert.ToDateTime(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["PICKSTORAGETIME"]);
+                        //    this.Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Value.ToString();
+                        //    //this.Txt_Certificate.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSTEAM"]);
+                        //    //this.Txt_PriMarName.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSTEAM"]);
+                        //    //this.Txt_PrimerSupply.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSTEAM"]);
+                        //}
+                        //else
+                        //{
+
+
+                        string strOut = "";
+
+                        DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "Turn_ZH", new object[] { where }, out strOut);
+                        if (ds != null)
+                        {
+                            this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+                            this.cmb_Station.Text = e.Row.Cells["STATIONNAME"].Text;
+                            this.cmb_IncpName.Text = e.Row.Cells["INCEPTCORPNAME"].Text;
+                            Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Text;
+                            this.Txt_VecihleNO.Text = ds.Tables[0].Rows[0]["TRANS_CAR_NO"].ToString();
+                            this.txt_ZYCH.Text = ds.Tables[0].Rows[0]["TRAINWAGON_NZ"].ToString();
+                            txt_Scouid.Text = ds.Tables[0].Rows[0]["LISTNUMBER"].ToString().Substring(5);
+                            this.Txt_ListCoding.Text = "";
+                            this.Txt_Remark.Text = "";
+                            this.Cmb_SendMan.Text = "";
+                            this.Cmb_ClassOrder.Value = "";
+                            this.Cmb_ClassTeam.Value = "";
+                            this.Dte_SendTime.Value = System.DateTime.Now;
+                            this.gb_Send.DataSource = ds;
+
+                            this.gb_Send.UpdateData();
+                            Comm.SetGridSumArea(this.gb_Send);
+                        }
+                        else
+                        {
+                            this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+                            this.cmb_Station.Text = e.Row.Cells["STATIONNAME"].Text;
+                            this.cmb_IncpName.Text = e.Row.Cells["INCEPTCORPNAME"].Text;
+                            Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Text;
+                         
+                            this.Txt_ListCoding.Text = "";
+                            this.Txt_Remark.Text = "";
+                            this.Cmb_SendMan.Text = "";
+                            this.Cmb_ClassOrder.Value = "";
+                            this.Cmb_ClassTeam.Value = "";
+                            this.Dte_SendTime.Value = System.DateTime.Now;
+                        }
+                        //}
+                       
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void btn_zlupdate_Click(object sender, EventArgs e)
+        {
+            string strOut = "";
+            ArrayList array = new ArrayList();
+            array.Add(Txt_AskPlan.Text);
+            array.Add(this.txt_WEIGHT.Text);
+            array.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
+            object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "ZLUpdate", new object[] { array }, out strOut);
+            if (obj != null && obj.ToString() == "1")
+            {
+                MessageBox.Show("修改成功!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+            }
+            else
+            {
+                MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+            }
+        }
+
+        private void Txt_VecihleNO_Enter(object sender, EventArgs e)
+        {
+            try
+            {
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+                }
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+                }
+                if (((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name == "Txt_VecihleNO")
+                {
+                    txt_ZYCH.Text = Txt_VecihleNO.Text;
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+	}
+}

+ 4160 - 0
Client/.svn/pristine/09/097ea6081330b87ea9564a8e0f635d5f0112c761.svn-base

@@ -0,0 +1,4160 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.Diagnostics;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Frm_PlanDrawUp 的摘要说明。
+	/// </summary>
+	public class Frm_PlanDrawUp : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
+		private System.Windows.Forms.Panel panel2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_QuShi;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_EditType_Y;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Stuff;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Plan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PaiHao;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
+		private Infragistics.Win.UltraWinTabControl.UltraTabControl tab_Coroll;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_PlanState;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_Time;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_IS;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultSJ;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+        private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl1;
+        private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage2;
+        private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage3;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl3;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+        private Panel panel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl4;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid2;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox3;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel3;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid3;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox4;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel4;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Gylx;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.Misc.UltraLabel lab_Caption;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_PlanBuress;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_div_no;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_ply;
+        private Infragistics.Win.UltraWinGrid.UltraCombo txt_Num;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+        private Infragistics.Win.Misc.UltraButton Btn_UpdateCar;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_PlanDrawUp()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true);
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 11, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 11, true);
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("PLAN_MAIN", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn71 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn72 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XF_FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand4 = new Infragistics.Win.UltraWinGrid.UltraGridBand("PLAN_DETAIL", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn73 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn74 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn75 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn76 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn77 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn78 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn79 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD2");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn80 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETAIL_TIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn81 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn82 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn83 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn84 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XF_FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn85 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GUID", 0);
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem17 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem18 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem19 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem20 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem21 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem22 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem23 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem24 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem25 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem26 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem27 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem28 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_KC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_GY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("AFFIRM");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PlanZD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DOWN_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_DOWN_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Edit");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintNew");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_KC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_GY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("AFFIRM");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool19 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DOWN_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool20 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool21 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool22 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool23 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PlanZD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool24 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_DOWN_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool25 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Edit");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool26 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PrintNew");
+            Infragistics.Win.ValueListItem valueListItem29 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem30 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem31 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem32 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem33 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem34 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem35 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem36 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem37 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem38 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem39 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem40 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem41 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem42 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem43 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem44 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem45 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem46 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem47 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem48 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem49 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem50 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem51 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem52 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem53 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem54 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem55 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem56 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem57 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem58 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem59 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem60 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab(true);
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Stuff = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.cmb_Gylx = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_QuShi = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Plan = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_PlanState = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.Btn_UpdateCar = new Infragistics.Win.Misc.UltraButton();
+            this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Remark2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Num = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_div_no = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_PlanBuress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.dte_Time = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_EditType_Y = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.lab_Caption = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultSJ = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_IS = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_PaiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.tab_Coroll = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTabControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage2 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.ultraTabSharedControlsPage3 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.ultraTabPageControl3 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTabPageControl4 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraExpandableGroupBox3 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel3 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ultraGrid3 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraExpandableGroupBox4 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel4 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_QuShi)).BeginInit();
+            this.ultraTabPageControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
+            this.ultraExpandableGroupBox2.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ply)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_div_no)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_PlanBuress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_EditType_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IS)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.tab_Coroll)).BeginInit();
+            this.tab_Coroll.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).BeginInit();
+            this.ultraTabControl1.SuspendLayout();
+            this.ultraTabPageControl3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
+            this.ultraTabPageControl4.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox3)).BeginInit();
+            this.ultraExpandableGroupBox3.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox4)).BeginInit();
+            this.ultraExpandableGroupBox4.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.gb_Stuff);
+            this.ultraTabPageControl1.Controls.Add(this.panel2);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(1354, 614);
+            // 
+            // gb_Stuff
+            // 
+            ultraGridColumn1.Header.Caption = "出库单号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "订单号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "交货期";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "内径";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "外径";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "长度";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "厚度 ";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "宽度";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "计算重量";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "实重量";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "牌号";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "综合判定";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "特记事项";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "车辆号";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "质保书编号";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "垛位";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "登记人";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 33;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "登记时间";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 34;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "入库班次";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "入库班组";
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 32;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "";
+            ultraGridColumn24.Header.VisiblePosition = 23;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(32, 0);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn25.Header.Caption = "订单类型";
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "订单厚度";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.Header.Caption = "订单宽度";
+            ultraGridColumn27.Header.VisiblePosition = 27;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "炉号";
+            ultraGridColumn28.Header.VisiblePosition = 26;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "批号";
+            ultraGridColumn29.Header.VisiblePosition = 28;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "执行标准";
+            ultraGridColumn30.Header.VisiblePosition = 29;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30});
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}KG";
+            summarySettings1.GroupBySummaryValueAppearance = appearance1;
+            summarySettings2.DisplayFormat = "{0}KG";
+            summarySettings2.GroupBySummaryValueAppearance = appearance2;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Stuff.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Stuff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_Stuff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Stuff.DisplayLayout.Override.CellPadding = 0;
+            this.gb_Stuff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_Stuff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Stuff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_Stuff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Stuff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Stuff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Stuff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Stuff.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Stuff.Location = new System.Drawing.Point(0, 0);
+            this.gb_Stuff.Name = "gb_Stuff";
+            this.gb_Stuff.Size = new System.Drawing.Size(1354, 566);
+            this.gb_Stuff.TabIndex = 9;
+            this.gb_Stuff.Text = "ultraGrid2";
+            this.gb_Stuff.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Stuff_CellChange);
+            // 
+            // panel2
+            // 
+            this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+            this.panel2.Controls.Add(this.cmb_Gylx);
+            this.panel2.Controls.Add(this.ultraLabel15);
+            this.panel2.Controls.Add(this.txt_QuShi);
+            this.panel2.Controls.Add(this.ultraLabel3);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.panel2.Location = new System.Drawing.Point(0, 566);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1354, 48);
+            this.panel2.TabIndex = 0;
+            // 
+            // cmb_Gylx
+            // 
+            this.cmb_Gylx.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Gylx.DisplayMember = "";
+            this.cmb_Gylx.Location = new System.Drawing.Point(430, 13);
+            this.cmb_Gylx.Name = "cmb_Gylx";
+            this.cmb_Gylx.Size = new System.Drawing.Size(150, 21);
+            this.cmb_Gylx.TabIndex = 706;
+            this.cmb_Gylx.ValueMember = "";
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.Location = new System.Drawing.Point(374, 18);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 705;
+            this.ultraLabel15.Text = "工艺类型";
+            // 
+            // txt_QuShi
+            // 
+            this.txt_QuShi.AutoSize = true;
+            this.txt_QuShi.FlatMode = true;
+            this.txt_QuShi.Location = new System.Drawing.Point(62, 16);
+            this.txt_QuShi.Name = "txt_QuShi";
+            this.txt_QuShi.Size = new System.Drawing.Size(306, 19);
+            this.txt_QuShi.TabIndex = 601;
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(8, 18);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 602;
+            this.ultraLabel3.Text = "工艺事项";
+            // 
+            // ultraTabPageControl2
+            // 
+            this.ultraTabPageControl2.Controls.Add(this.gb_Plan);
+            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox2);
+            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox1);
+            this.ultraTabPageControl2.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
+            this.ultraTabPageControl2.Size = new System.Drawing.Size(1354, 614);
+            // 
+            // gb_Plan
+            // 
+            ultraGridColumn31.Header.Caption = "出库单号";
+            ultraGridColumn31.Header.VisiblePosition = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "钢卷号";
+            ultraGridColumn32.Header.VisiblePosition = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.Caption = "板坯号";
+            ultraGridColumn33.Header.VisiblePosition = 2;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(110, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "合同号";
+            ultraGridColumn34.Header.VisiblePosition = 3;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "订单号";
+            ultraGridColumn35.Header.VisiblePosition = 4;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "交货期";
+            ultraGridColumn36.Header.VisiblePosition = 5;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "内径";
+            ultraGridColumn37.Header.VisiblePosition = 6;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "外径";
+            ultraGridColumn38.Header.VisiblePosition = 7;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "长度";
+            ultraGridColumn39.Header.VisiblePosition = 8;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "厚度 ";
+            ultraGridColumn40.Header.VisiblePosition = 9;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "宽度";
+            ultraGridColumn41.Header.VisiblePosition = 10;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "计算重量";
+            ultraGridColumn42.Header.VisiblePosition = 11;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "实重量";
+            ultraGridColumn43.Header.VisiblePosition = 12;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "牌号";
+            ultraGridColumn44.Header.VisiblePosition = 13;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "综合判定";
+            ultraGridColumn45.Header.VisiblePosition = 14;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "特记事项";
+            ultraGridColumn46.Header.VisiblePosition = 15;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "车辆号";
+            ultraGridColumn47.Header.VisiblePosition = 16;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "质保书编号";
+            ultraGridColumn48.Header.VisiblePosition = 17;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "垛位";
+            ultraGridColumn49.Header.VisiblePosition = 18;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "登记人";
+            ultraGridColumn50.Header.VisiblePosition = 19;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "登记时间";
+            ultraGridColumn51.Header.VisiblePosition = 20;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "计划班次";
+            ultraGridColumn52.Header.VisiblePosition = 21;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "计划班组";
+            ultraGridColumn53.Header.VisiblePosition = 22;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "工单号";
+            ultraGridColumn54.Header.VisiblePosition = 23;
+            ultraGridColumn54.Hidden = true;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(89, 0);
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "";
+            ultraGridColumn55.Header.VisiblePosition = 24;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 0);
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn56.Header.Caption = "批号";
+            ultraGridColumn56.Header.VisiblePosition = 26;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "开平线";
+            ultraGridColumn57.Header.VisiblePosition = 27;
+            ultraGridColumn57.Hidden = true;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(73, 0);
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn58.Header.Caption = "订单类型";
+            ultraGridColumn58.Header.VisiblePosition = 28;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.Caption = "订单厚度";
+            ultraGridColumn59.Header.VisiblePosition = 29;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "订单宽度";
+            ultraGridColumn60.Header.VisiblePosition = 32;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "工艺类型";
+            ultraGridColumn61.Header.VisiblePosition = 30;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "炉号";
+            ultraGridColumn62.Header.VisiblePosition = 25;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "执行标准";
+            ultraGridColumn63.Header.VisiblePosition = 31;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63});
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridBand2.UseRowLayout = true;
+            this.gb_Plan.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gb_Plan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Plan.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Plan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_Plan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Plan.DisplayLayout.Override.CellPadding = 0;
+            this.gb_Plan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_Plan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Plan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_Plan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Plan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Plan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_Plan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Plan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Plan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Plan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Plan.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Plan.Location = new System.Drawing.Point(0, 0);
+            this.gb_Plan.Name = "gb_Plan";
+            this.gb_Plan.Size = new System.Drawing.Size(1354, 103);
+            this.gb_Plan.TabIndex = 10;
+            this.gb_Plan.Text = "ultraGrid1";
+            this.gb_Plan.AfterRowActivate += new System.EventHandler(this.gb_Plan_AfterRowActivate);
+            this.gb_Plan.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Plan_CellChange);
+            // 
+            // ultraExpandableGroupBox2
+            // 
+            this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(860, 243);
+            this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 103);
+            this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
+            this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(1354, 396);
+            this.ultraExpandableGroupBox2.SupportThemes = false;
+            this.ultraExpandableGroupBox2.TabIndex = 2;
+            this.ultraExpandableGroupBox2.Text = "计划下发情况";
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_PlanState);
+            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(1348, 374);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            // 
+            // gb_PlanState
+            // 
+            ultraGridColumn64.Header.Caption = "出库单号";
+            ultraGridColumn64.Header.VisiblePosition = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(145, 0);
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "工单号";
+            ultraGridColumn65.Header.VisiblePosition = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(117, 0);
+            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn66.Header.Caption = "卷号";
+            ultraGridColumn66.Header.VisiblePosition = 2;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(178, 0);
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "厚";
+            ultraGridColumn67.Header.VisiblePosition = 3;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn68.Header.Caption = "宽";
+            ultraGridColumn68.Header.VisiblePosition = 4;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn69.Header.Caption = "长";
+            ultraGridColumn69.Header.VisiblePosition = 5;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn69.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
+            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn70.Header.Caption = "牌号";
+            ultraGridColumn70.Header.VisiblePosition = 6;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn70.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(118, 0);
+            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn71.Header.Caption = "总重";
+            ultraGridColumn71.Header.VisiblePosition = 7;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn71.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
+            ultraGridColumn71.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn72.Header.Caption = "下发情况";
+            ultraGridColumn72.Header.VisiblePosition = 8;
+            ultraGridColumn72.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn72.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn72.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn72.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn72.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand3.Columns.AddRange(new object[] {
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68,
+            ultraGridColumn69,
+            ultraGridColumn70,
+            ultraGridColumn71,
+            ultraGridColumn72});
+            ultraGridBand3.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridBand3.UseRowLayout = true;
+            ultraGridColumn73.Header.Caption = "工单号";
+            ultraGridColumn73.Header.VisiblePosition = 0;
+            ultraGridColumn73.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn73.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn73.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn73.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn73.Width = 120;
+            ultraGridColumn74.Header.Caption = "卷号";
+            ultraGridColumn74.Header.VisiblePosition = 1;
+            ultraGridColumn74.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn74.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn74.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn74.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn74.Width = 123;
+            ultraGridColumn75.Header.Caption = "长";
+            ultraGridColumn75.Header.VisiblePosition = 2;
+            ultraGridColumn75.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn75.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn75.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn75.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn75.Width = 69;
+            ultraGridColumn76.Header.Caption = "宽";
+            ultraGridColumn76.Header.VisiblePosition = 3;
+            ultraGridColumn76.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn76.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn76.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn76.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn76.Width = 64;
+            ultraGridColumn77.Header.Caption = "块数";
+            ultraGridColumn77.Header.VisiblePosition = 4;
+            ultraGridColumn77.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn77.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn77.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn77.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn77.Width = 55;
+            ultraGridColumn78.Header.Caption = "厚";
+            ultraGridColumn78.Header.VisiblePosition = 5;
+            ultraGridColumn78.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn78.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn78.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn78.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn78.Width = 47;
+            ultraGridColumn79.Header.Caption = "牌号";
+            ultraGridColumn79.Header.VisiblePosition = 6;
+            ultraGridColumn79.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn79.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn79.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn79.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn79.Width = 101;
+            ultraGridColumn80.Header.Caption = "计划生产时间";
+            ultraGridColumn80.Header.VisiblePosition = 7;
+            ultraGridColumn80.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn80.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn80.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn80.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn81.Header.Caption = "计划车牌号";
+            ultraGridColumn81.Header.VisiblePosition = 8;
+            ultraGridColumn81.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn81.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn81.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn81.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn81.Width = 87;
+            ultraGridColumn82.Header.Caption = "计划堆位";
+            ultraGridColumn82.Header.VisiblePosition = 9;
+            ultraGridColumn82.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn82.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn82.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn82.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn82.Width = 65;
+            ultraGridColumn83.Header.Caption = "备注";
+            ultraGridColumn83.Header.VisiblePosition = 10;
+            ultraGridColumn83.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn83.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn83.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn83.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn83.Width = 146;
+            ultraGridColumn84.Header.Caption = "下发情况";
+            ultraGridColumn84.Header.VisiblePosition = 11;
+            ultraGridColumn84.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn84.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn84.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn84.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn84.Width = 71;
+            ultraGridColumn85.Header.VisiblePosition = 12;
+            ultraGridColumn85.Hidden = true;
+            ultraGridColumn85.RowLayoutColumnInfo.OriginX = 999;
+            ultraGridColumn85.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn85.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn85.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand4.Columns.AddRange(new object[] {
+            ultraGridColumn73,
+            ultraGridColumn74,
+            ultraGridColumn75,
+            ultraGridColumn76,
+            ultraGridColumn77,
+            ultraGridColumn78,
+            ultraGridColumn79,
+            ultraGridColumn80,
+            ultraGridColumn81,
+            ultraGridColumn82,
+            ultraGridColumn83,
+            ultraGridColumn84,
+            ultraGridColumn85});
+            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
+            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand4);
+            this.gb_PlanState.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_PlanState.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_PlanState.DisplayLayout.Override.CellPadding = 0;
+            this.gb_PlanState.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_PlanState.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_PlanState.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_PlanState.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_PlanState.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_PlanState.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_PlanState.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_PlanState.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_PlanState.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_PlanState.Location = new System.Drawing.Point(0, 0);
+            this.gb_PlanState.Name = "gb_PlanState";
+            this.gb_PlanState.Size = new System.Drawing.Size(1348, 374);
+            this.gb_PlanState.TabIndex = 10;
+            this.gb_PlanState.Text = "ultraGrid3";
+            this.gb_PlanState.InitializeLayout += new Infragistics.Win.UltraWinGrid.InitializeLayoutEventHandler(this.gb_PlanState_InitializeLayout);
+            this.gb_PlanState.AfterRowActivate += new System.EventHandler(this.gb_PlanState_AfterRowActivate);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(1024, 80);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 499);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1354, 115);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 1;
+            this.ultraExpandableGroupBox1.Text = "工单号编辑";
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Btn_UpdateCar);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraTextEditor3);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel19);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel18);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Num);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_ply);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_div_no);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel16);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel14);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_PlanBuress);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel13);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel12);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel9);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Width);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.dte_Time);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Length);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_End_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassTeam);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel10);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassOrder);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_EditType_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Begin_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Top_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1348, 93);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // Btn_UpdateCar
+            // 
+            this.Btn_UpdateCar.Location = new System.Drawing.Point(1036, 59);
+            this.Btn_UpdateCar.Name = "Btn_UpdateCar";
+            this.Btn_UpdateCar.Size = new System.Drawing.Size(72, 24);
+            this.Btn_UpdateCar.TabIndex = 642;
+            this.Btn_UpdateCar.Text = "修改车号";
+            this.Btn_UpdateCar.Click += new System.EventHandler(this.Btn_UpdateCar_Click);
+            // 
+            // ultraTextEditor3
+            // 
+            this.ultraTextEditor3.AutoSize = true;
+            this.ultraTextEditor3.FlatMode = true;
+            this.ultraTextEditor3.Location = new System.Drawing.Point(668, 59);
+            this.ultraTextEditor3.Name = "ultraTextEditor3";
+            this.ultraTextEditor3.ReadOnly = true;
+            this.ultraTextEditor3.Size = new System.Drawing.Size(116, 19);
+            this.ultraTextEditor3.TabIndex = 641;
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.Location = new System.Drawing.Point(637, 61);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel19.TabIndex = 640;
+            this.ultraLabel19.Text = "顺序";
+            // 
+            // txt_Remark2
+            // 
+            this.txt_Remark2.AutoSize = true;
+            this.txt_Remark2.Location = new System.Drawing.Point(66, 59);
+            this.txt_Remark2.Multiline = true;
+            this.txt_Remark2.Name = "txt_Remark2";
+            this.txt_Remark2.Size = new System.Drawing.Size(565, 19);
+            this.txt_Remark2.TabIndex = 638;
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.Location = new System.Drawing.Point(23, 59);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel18.TabIndex = 637;
+            this.ultraLabel18.Text = "备注2:";
+            // 
+            // txt_Num
+            // 
+            this.txt_Num.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.txt_Num.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.txt_Num.DisplayMember = "";
+            this.txt_Num.FlatMode = true;
+            this.txt_Num.Location = new System.Drawing.Point(825, 31);
+            this.txt_Num.Name = "txt_Num";
+            this.txt_Num.Size = new System.Drawing.Size(125, 19);
+            this.txt_Num.TabIndex = 636;
+            this.txt_Num.Tag = "";
+            this.txt_Num.ValueMember = "";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(479, 34);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel17.TabIndex = 635;
+            this.ultraLabel17.Text = "厚度";
+            // 
+            // txt_ply
+            // 
+            this.txt_ply.FlatMode = true;
+            this.txt_ply.Location = new System.Drawing.Point(514, 31);
+            this.txt_ply.MaskInput = "nnnnnnnn.nn";
+            this.txt_ply.Name = "txt_ply";
+            this.txt_ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_ply.PromptChar = ' ';
+            this.txt_ply.Size = new System.Drawing.Size(91, 19);
+            this.txt_ply.TabIndex = 634;
+            // 
+            // txt_div_no
+            // 
+            this.txt_div_no.AutoSize = true;
+            this.txt_div_no.FlatMode = true;
+            this.txt_div_no.Location = new System.Drawing.Point(992, 32);
+            this.txt_div_no.Name = "txt_div_no";
+            this.txt_div_no.Size = new System.Drawing.Size(116, 19);
+            this.txt_div_no.TabIndex = 632;
+            this.txt_div_no.Text = "赣K";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.Location = new System.Drawing.Point(956, 34);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel16.TabIndex = 631;
+            this.ultraLabel16.Text = "车号";
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(1133, 35);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(80, 16);
+            this.ultraLabel14.TabIndex = 630;
+            this.ultraLabel14.Text = "计划成品堆位";
+            // 
+            // txt_Remark
+            // 
+            this.txt_Remark.AutoSize = true;
+            this.txt_Remark.Location = new System.Drawing.Point(826, 7);
+            this.txt_Remark.Multiline = true;
+            this.txt_Remark.Name = "txt_Remark";
+            this.txt_Remark.Size = new System.Drawing.Size(600, 19);
+            this.txt_Remark.TabIndex = 628;
+            // 
+            // cmb_PlanBuress
+            // 
+            this.cmb_PlanBuress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_PlanBuress.DisplayMember = "";
+            this.cmb_PlanBuress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_PlanBuress.FlatMode = true;
+            this.cmb_PlanBuress.Location = new System.Drawing.Point(1219, 32);
+            this.cmb_PlanBuress.Name = "cmb_PlanBuress";
+            this.cmb_PlanBuress.Size = new System.Drawing.Size(88, 19);
+            this.cmb_PlanBuress.TabIndex = 629;
+            this.cmb_PlanBuress.Tag = "";
+            this.cmb_PlanBuress.ValueMember = "";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.Location = new System.Drawing.Point(790, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 627;
+            this.ultraLabel13.Text = "备注:";
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(790, 35);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel12.TabIndex = 626;
+            this.ultraLabel12.Text = "块数:";
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(637, 10);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel9.TabIndex = 624;
+            this.ultraLabel9.Text = "宽度";
+            // 
+            // txt_Width
+            // 
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(668, 8);
+            this.txt_Width.MaskInput = "nnnnnnnn.nn";
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(116, 19);
+            this.txt_Width.TabIndex = 623;
+            // 
+            // dte_Time
+            // 
+            this.dte_Time.Location = new System.Drawing.Point(514, 6);
+            this.dte_Time.Name = "dte_Time";
+            this.dte_Time.Size = new System.Drawing.Size(116, 21);
+            this.dte_Time.TabIndex = 622;
+            // 
+            // txt_Length
+            // 
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(668, 31);
+            this.txt_Length.MaskInput = "nnnnnnnn";
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(116, 19);
+            this.txt_Length.TabIndex = 621;
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(613, 33);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 620;
+            this.ultraLabel4.Text = "长度(MM)";
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(434, 10);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(79, 16);
+            this.ultraLabel2.TabIndex = 618;
+            this.ultraLabel2.Text = "计划生产时间";
+            // 
+            // txt_Scid_End_Y
+            // 
+            this.txt_Scid_End_Y.AutoSize = true;
+            this.txt_Scid_End_Y.Location = new System.Drawing.Point(186, 8);
+            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
+            this.txt_Scid_End_Y.Size = new System.Drawing.Size(76, 21);
+            this.txt_Scid_End_Y.TabIndex = 617;
+            this.txt_Scid_End_Y.Click += new System.EventHandler(this.txt_Scid_End_Y_Click);
+            // 
+            // cmb_ClassTeam
+            // 
+            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassTeam.DisplayMember = "";
+            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassTeam.FlatMode = true;
+            this.cmb_ClassTeam.Location = new System.Drawing.Point(324, 32);
+            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
+            this.cmb_ClassTeam.Size = new System.Drawing.Size(104, 19);
+            this.cmb_ClassTeam.TabIndex = 614;
+            this.cmb_ClassTeam.Tag = "";
+            this.cmb_ClassTeam.ValueMember = "";
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(268, 34);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel10.TabIndex = 616;
+            this.ultraLabel10.Text = "计划班组";
+            // 
+            // cmb_ClassOrder
+            // 
+            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOrder.DisplayMember = "";
+            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassOrder.FlatMode = true;
+            this.cmb_ClassOrder.Location = new System.Drawing.Point(324, 10);
+            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
+            this.cmb_ClassOrder.Size = new System.Drawing.Size(104, 19);
+            this.cmb_ClassOrder.TabIndex = 613;
+            this.cmb_ClassOrder.Tag = "";
+            this.cmb_ClassOrder.ValueMember = "";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(268, 10);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 615;
+            this.ultraLabel8.Text = "计划班次";
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(8, 34);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel7.TabIndex = 612;
+            this.ultraLabel7.Text = "制单类型";
+            // 
+            // cmb_EditType_Y
+            // 
+            this.cmb_EditType_Y.AutoSize = true;
+            this.cmb_EditType_Y.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            valueListItem14.DataValue = "1";
+            valueListItem14.DisplayText = "顺序工单号";
+            valueListItem13.DataValue = valueListItem14;
+            valueListItem13.DisplayText = "顺序工单号";
+            valueListItem12.DataValue = valueListItem13;
+            valueListItem12.DisplayText = "顺序工单号";
+            valueListItem11.DataValue = valueListItem12;
+            valueListItem11.DisplayText = "顺序工单号";
+            valueListItem10.DataValue = valueListItem11;
+            valueListItem10.DisplayText = "顺序工单号";
+            valueListItem9.DataValue = valueListItem10;
+            valueListItem9.DisplayText = "顺序工单号";
+            valueListItem8.DataValue = valueListItem9;
+            valueListItem8.DisplayText = "顺序工单号";
+            valueListItem7.DataValue = valueListItem8;
+            valueListItem7.DisplayText = "顺序工单号";
+            valueListItem6.DataValue = valueListItem7;
+            valueListItem6.DisplayText = "顺序工单号";
+            valueListItem5.DataValue = valueListItem6;
+            valueListItem5.DisplayText = "顺序工单号";
+            valueListItem4.DataValue = valueListItem5;
+            valueListItem4.DisplayText = "顺序工单号";
+            valueListItem3.DataValue = valueListItem4;
+            valueListItem3.DisplayText = "顺序工单号";
+            valueListItem2.DataValue = valueListItem3;
+            valueListItem2.DisplayText = "顺序工单号";
+            valueListItem1.DataValue = valueListItem2;
+            valueListItem1.DisplayText = "顺序工单号";
+            valueListItem28.DataValue = "2";
+            valueListItem28.DisplayText = "指定工单号";
+            valueListItem27.DataValue = valueListItem28;
+            valueListItem27.DisplayText = "指定工单号";
+            valueListItem26.DataValue = valueListItem27;
+            valueListItem26.DisplayText = "指定工单号";
+            valueListItem25.DataValue = valueListItem26;
+            valueListItem25.DisplayText = "指定工单号";
+            valueListItem24.DataValue = valueListItem25;
+            valueListItem24.DisplayText = "指定工单号";
+            valueListItem23.DataValue = valueListItem24;
+            valueListItem23.DisplayText = "指定工单号";
+            valueListItem22.DataValue = valueListItem23;
+            valueListItem22.DisplayText = "指定工单号";
+            valueListItem21.DataValue = valueListItem22;
+            valueListItem21.DisplayText = "指定工单号";
+            valueListItem20.DataValue = valueListItem21;
+            valueListItem20.DisplayText = "指定工单号";
+            valueListItem19.DataValue = valueListItem20;
+            valueListItem19.DisplayText = "指定工单号";
+            valueListItem18.DataValue = valueListItem19;
+            valueListItem18.DisplayText = "指定工单号";
+            valueListItem17.DataValue = valueListItem18;
+            valueListItem17.DisplayText = "指定工单号";
+            valueListItem16.DataValue = valueListItem17;
+            valueListItem16.DisplayText = "指定工单号";
+            valueListItem15.DataValue = valueListItem16;
+            valueListItem15.DisplayText = "指定工单号";
+            this.cmb_EditType_Y.Items.Add(valueListItem1);
+            this.cmb_EditType_Y.Items.Add(valueListItem15);
+            this.cmb_EditType_Y.Location = new System.Drawing.Point(66, 32);
+            this.cmb_EditType_Y.Name = "cmb_EditType_Y";
+            this.cmb_EditType_Y.Size = new System.Drawing.Size(196, 21);
+            this.cmb_EditType_Y.TabIndex = 611;
+            this.cmb_EditType_Y.ValueChanged += new System.EventHandler(this.cmb_EditType_Y_ValueChanged);
+            // 
+            // txt_Scid_Begin_Y
+            // 
+            this.txt_Scid_Begin_Y.AutoSize = true;
+            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(102, 8);
+            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
+            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(84, 21);
+            this.txt_Scid_Begin_Y.TabIndex = 607;
+            // 
+            // txt_Scid_Top_Y
+            // 
+            this.txt_Scid_Top_Y.AutoSize = true;
+            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(66, 8);
+            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
+            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(37, 21);
+            this.txt_Scid_Top_Y.TabIndex = 606;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(8, 10);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 605;
+            this.ultraLabel1.Text = "工单号";
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1358, 26);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 2);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool7.InstanceProps.IsFirstInGroup = true;
+            buttonTool9.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6,
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool13.SharedProps.Caption = "关闭";
+            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool14.SharedProps.Caption = "库存查询";
+            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool15.SharedProps.Caption = "刷新工艺";
+            buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool16.SharedProps.Caption = "计划查询";
+            buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool17.SharedProps.Caption = "确认";
+            buttonTool17.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool18.SharedProps.Caption = "取消";
+            buttonTool18.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool19.SharedProps.Caption = "计划下发";
+            buttonTool19.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool20.SharedProps.Caption = "计划取消";
+            buttonTool20.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool21.SharedProps.Caption = "导出";
+            buttonTool21.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool22.SharedProps.Caption = "打印";
+            buttonTool22.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool23.SharedProps.Caption = "计划制定";
+            buttonTool23.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool24.SharedProps.Caption = "下发撤销";
+            buttonTool24.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool25.SharedProps.Caption = "修改";
+            buttonTool25.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool26.SharedProps.Caption = "导出";
+            buttonTool26.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool13,
+            buttonTool14,
+            buttonTool15,
+            buttonTool16,
+            buttonTool17,
+            buttonTool18,
+            buttonTool19,
+            buttonTool20,
+            buttonTool21,
+            buttonTool22,
+            buttonTool23,
+            buttonTool24,
+            buttonTool25,
+            buttonTool26});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1358, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 2);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1358, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 26);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1358, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.lab_Caption);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Controls.Add(this.ultSJ);
+            this.ultraGroupBox1.Controls.Add(this.cmb_IS);
+            this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
+            this.ultraGroupBox1.Controls.Add(this.chk_PaiHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
+            this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 26);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1358, 58);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // lab_Caption
+            // 
+            this.lab_Caption.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.lab_Caption.Location = new System.Drawing.Point(1045, 34);
+            this.lab_Caption.Name = "lab_Caption";
+            this.lab_Caption.Size = new System.Drawing.Size(216, 13);
+            this.lab_Caption.TabIndex = 241;
+            this.lab_Caption.Text = "钢卷号显示颜色已计划下发";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.Location = new System.Drawing.Point(6, 6);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(49, 20);
+            this.chk_CollectTime.TabIndex = 240;
+            this.chk_CollectTime.Text = "时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // ultSJ
+            // 
+            this.ultSJ.AutoSize = true;
+            valueListItem30.DataValue = "0";
+            valueListItem30.DisplayText = "按作业计划时间";
+            valueListItem29.DataValue = valueListItem30;
+            valueListItem29.DisplayText = "按作业计划时间";
+            valueListItem32.DataValue = "1";
+            valueListItem32.DisplayText = "按生产时间";
+            valueListItem31.DataValue = valueListItem32;
+            valueListItem31.DisplayText = "按生产时间";
+            this.ultSJ.Items.Add(valueListItem29);
+            this.ultSJ.Items.Add(valueListItem31);
+            this.ultSJ.Location = new System.Drawing.Point(61, 6);
+            this.ultSJ.Name = "ultSJ";
+            this.ultSJ.Size = new System.Drawing.Size(91, 21);
+            this.ultSJ.TabIndex = 239;
+            // 
+            // cmb_IS
+            // 
+            this.cmb_IS.AutoSize = true;
+            this.cmb_IS.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            this.cmb_IS.Enabled = false;
+            this.cmb_IS.FlatMode = true;
+            valueListItem46.DataValue = "0";
+            valueListItem46.DisplayText = "否";
+            valueListItem45.DataValue = valueListItem46;
+            valueListItem45.DisplayText = "否";
+            valueListItem44.DataValue = valueListItem45;
+            valueListItem44.DisplayText = "否";
+            valueListItem43.DataValue = valueListItem44;
+            valueListItem43.DisplayText = "否";
+            valueListItem42.DataValue = valueListItem43;
+            valueListItem42.DisplayText = "否";
+            valueListItem41.DataValue = valueListItem42;
+            valueListItem41.DisplayText = "否";
+            valueListItem40.DataValue = valueListItem41;
+            valueListItem40.DisplayText = "否";
+            valueListItem39.DataValue = valueListItem40;
+            valueListItem39.DisplayText = "否";
+            valueListItem38.DataValue = valueListItem39;
+            valueListItem38.DisplayText = "否";
+            valueListItem37.DataValue = valueListItem38;
+            valueListItem37.DisplayText = "否";
+            valueListItem36.DataValue = valueListItem37;
+            valueListItem36.DisplayText = "否";
+            valueListItem35.DataValue = valueListItem36;
+            valueListItem35.DisplayText = "否";
+            valueListItem34.DataValue = valueListItem35;
+            valueListItem34.DisplayText = "否";
+            valueListItem33.DataValue = valueListItem34;
+            valueListItem33.DisplayText = "否";
+            valueListItem60.DataValue = "1";
+            valueListItem60.DisplayText = "是";
+            valueListItem59.DataValue = valueListItem60;
+            valueListItem59.DisplayText = "是";
+            valueListItem58.DataValue = valueListItem59;
+            valueListItem58.DisplayText = "是";
+            valueListItem57.DataValue = valueListItem58;
+            valueListItem57.DisplayText = "是";
+            valueListItem56.DataValue = valueListItem57;
+            valueListItem56.DisplayText = "是";
+            valueListItem55.DataValue = valueListItem56;
+            valueListItem55.DisplayText = "是";
+            valueListItem54.DataValue = valueListItem55;
+            valueListItem54.DisplayText = "是";
+            valueListItem53.DataValue = valueListItem54;
+            valueListItem53.DisplayText = "是";
+            valueListItem52.DataValue = valueListItem53;
+            valueListItem52.DisplayText = "是";
+            valueListItem51.DataValue = valueListItem52;
+            valueListItem51.DisplayText = "是";
+            valueListItem50.DataValue = valueListItem51;
+            valueListItem50.DisplayText = "是";
+            valueListItem49.DataValue = valueListItem50;
+            valueListItem49.DisplayText = "是";
+            valueListItem48.DataValue = valueListItem49;
+            valueListItem48.DisplayText = "是";
+            valueListItem47.DataValue = valueListItem48;
+            valueListItem47.DisplayText = "是";
+            this.cmb_IS.Items.Add(valueListItem33);
+            this.cmb_IS.Items.Add(valueListItem47);
+            this.cmb_IS.Location = new System.Drawing.Point(856, 32);
+            this.cmb_IS.Name = "cmb_IS";
+            this.cmb_IS.Size = new System.Drawing.Size(80, 19);
+            this.cmb_IS.TabIndex = 238;
+            this.cmb_IS.Visible = false;
+            // 
+            // chk_ProcLine
+            // 
+            this.chk_ProcLine.Location = new System.Drawing.Point(784, 36);
+            this.chk_ProcLine.Name = "chk_ProcLine";
+            this.chk_ProcLine.Size = new System.Drawing.Size(83, 16);
+            this.chk_ProcLine.TabIndex = 237;
+            this.chk_ProcLine.TabStop = false;
+            this.chk_ProcLine.Text = "是否生产";
+            this.chk_ProcLine.Visible = false;
+            this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.SystemColors.Control;
+            this.ultraLabel5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraLabel5.Location = new System.Drawing.Point(944, 10);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(78, 16);
+            this.ultraLabel5.TabIndex = 236;
+            this.ultraLabel5.Text = "已生产确认";
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(156, 30);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 235;
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(156, 7);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 234;
+            // 
+            // txt_BNumber
+            // 
+            this.txt_BNumber.AutoSize = true;
+            this.txt_BNumber.Enabled = false;
+            this.txt_BNumber.FlatMode = true;
+            this.txt_BNumber.Location = new System.Drawing.Point(846, 7);
+            this.txt_BNumber.Name = "txt_BNumber";
+            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
+            this.txt_BNumber.TabIndex = 233;
+            this.txt_BNumber.TabStop = false;
+            this.txt_BNumber.Tag = "";
+            // 
+            // chk_BNumber
+            // 
+            this.chk_BNumber.Location = new System.Drawing.Point(784, 10);
+            this.chk_BNumber.Name = "chk_BNumber";
+            this.chk_BNumber.Size = new System.Drawing.Size(46, 16);
+            this.chk_BNumber.TabIndex = 232;
+            this.chk_BNumber.TabStop = false;
+            this.chk_BNumber.Text = "批号";
+            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(940, 36);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 231;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(992, 34);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 230;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(690, 33);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(88, 19);
+            this.cmb_Buress.TabIndex = 229;
+            this.cmb_Buress.Tag = "";
+            this.cmb_Buress.ValueMember = "";
+            this.cmb_Buress.Visible = false;
+            // 
+            // Chk_Buttress
+            // 
+            this.Chk_Buttress.Location = new System.Drawing.Point(642, 35);
+            this.Chk_Buttress.Name = "Chk_Buttress";
+            this.Chk_Buttress.Size = new System.Drawing.Size(46, 16);
+            this.Chk_Buttress.TabIndex = 228;
+            this.Chk_Buttress.TabStop = false;
+            this.Chk_Buttress.Text = "堆位";
+            this.Chk_Buttress.Visible = false;
+            this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
+            // 
+            // cmb_Sleen
+            // 
+            this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Sleen.Cursor = System.Windows.Forms.Cursors.IBeam;
+            this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Sleen.DisplayMember = "";
+            this.cmb_Sleen.Enabled = false;
+            this.cmb_Sleen.FlatMode = true;
+            this.cmb_Sleen.Location = new System.Drawing.Point(690, 7);
+            this.cmb_Sleen.Name = "cmb_Sleen";
+            this.cmb_Sleen.Size = new System.Drawing.Size(88, 19);
+            this.cmb_Sleen.TabIndex = 227;
+            this.cmb_Sleen.ValueMember = "";
+            // 
+            // chk_PaiHao
+            // 
+            this.chk_PaiHao.Location = new System.Drawing.Point(642, 10);
+            this.chk_PaiHao.Name = "chk_PaiHao";
+            this.chk_PaiHao.Size = new System.Drawing.Size(48, 16);
+            this.chk_PaiHao.TabIndex = 226;
+            this.chk_PaiHao.TabStop = false;
+            this.chk_PaiHao.Text = "牌号";
+            this.chk_PaiHao.CheckedChanged += new System.EventHandler(this.chk_PaiHao_CheckedChanged);
+            // 
+            // txt_GangP
+            // 
+            this.txt_GangP.AutoSize = true;
+            this.txt_GangP.Enabled = false;
+            this.txt_GangP.FlatMode = true;
+            this.txt_GangP.Location = new System.Drawing.Point(532, 30);
+            this.txt_GangP.Name = "txt_GangP";
+            this.txt_GangP.Size = new System.Drawing.Size(104, 19);
+            this.txt_GangP.TabIndex = 225;
+            this.txt_GangP.TabStop = false;
+            this.txt_GangP.Tag = "";
+            // 
+            // chk_BanHao
+            // 
+            this.chk_BanHao.Location = new System.Drawing.Point(476, 34);
+            this.chk_BanHao.Name = "chk_BanHao";
+            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_BanHao.TabIndex = 224;
+            this.chk_BanHao.TabStop = false;
+            this.chk_BanHao.Text = "板坯号";
+            this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(532, 7);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
+            this.txt_RollHao.TabIndex = 223;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // chk_RollHao
+            // 
+            this.chk_RollHao.Location = new System.Drawing.Point(476, 10);
+            this.chk_RollHao.Name = "chk_RollHao";
+            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollHao.TabIndex = 222;
+            this.chk_RollHao.TabStop = false;
+            this.chk_RollHao.Text = "钢卷号";
+            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
+            // 
+            // txt_PlanID
+            // 
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(366, 30);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 221;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PactID
+            // 
+            this.chk_PactID.Location = new System.Drawing.Point(308, 34);
+            this.chk_PactID.Name = "chk_PactID";
+            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PactID.TabIndex = 220;
+            this.chk_PactID.TabStop = false;
+            this.chk_PactID.Text = "合同号";
+            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
+            // 
+            // txt_OrderNO
+            // 
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(366, 7);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 219;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(308, 10);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 218;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(129, 32);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 217;
+            this.Lab_To.Text = "到";
+            // 
+            // tab_Coroll
+            // 
+            this.tab_Coroll.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.tab_Coroll.Controls.Add(this.ultraTabPageControl1);
+            this.tab_Coroll.Controls.Add(this.ultraTabPageControl2);
+            this.tab_Coroll.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tab_Coroll.Location = new System.Drawing.Point(0, 84);
+            this.tab_Coroll.Name = "tab_Coroll";
+            this.tab_Coroll.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.tab_Coroll.Size = new System.Drawing.Size(1358, 637);
+            this.tab_Coroll.TabIndex = 2;
+            ultraTab1.Key = "PROCESS";
+            ultraTab1.TabPage = this.ultraTabPageControl1;
+            ultraTab1.Text = "工艺制订";
+            ultraTab2.Key = "PLAN";
+            ultraTab2.TabPage = this.ultraTabPageControl2;
+            ultraTab2.Text = "计划制定与下发";
+            this.tab_Coroll.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1,
+            ultraTab2});
+            this.tab_Coroll.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1354, 614);
+            // 
+            // ultraCombo1
+            // 
+            this.ultraCombo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.ultraCombo1.DisplayMember = "";
+            this.ultraCombo1.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.ultraCombo1.FlatMode = true;
+            this.ultraCombo1.Location = new System.Drawing.Point(324, 10);
+            this.ultraCombo1.Name = "ultraCombo1";
+            this.ultraCombo1.Size = new System.Drawing.Size(104, 19);
+            this.ultraCombo1.TabIndex = 613;
+            this.ultraCombo1.Tag = "";
+            this.ultraCombo1.ValueMember = "";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(268, 10);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 615;
+            this.ultraLabel6.Text = "计划班次";
+            // 
+            // ultraTabControl1
+            // 
+            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage2);
+            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage3);
+            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl3);
+            this.ultraTabControl1.Location = new System.Drawing.Point(0, 0);
+            this.ultraTabControl1.Name = "ultraTabControl1";
+            this.ultraTabControl1.SharedControlsPage = this.ultraTabSharedControlsPage2;
+            this.ultraTabControl1.Size = new System.Drawing.Size(200, 100);
+            this.ultraTabControl1.TabIndex = 0;
+            // 
+            // ultraTabSharedControlsPage2
+            // 
+            this.ultraTabSharedControlsPage2.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabSharedControlsPage2.Name = "ultraTabSharedControlsPage2";
+            this.ultraTabSharedControlsPage2.Size = new System.Drawing.Size(196, 77);
+            // 
+            // ultraTabSharedControlsPage3
+            // 
+            this.ultraTabSharedControlsPage3.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage3.Name = "ultraTabSharedControlsPage3";
+            this.ultraTabSharedControlsPage3.Size = new System.Drawing.Size(1269, 391);
+            // 
+            // ultraTabPageControl3
+            // 
+            this.ultraTabPageControl3.Controls.Add(this.ultraGrid1);
+            this.ultraTabPageControl3.Controls.Add(this.panel3);
+            this.ultraTabPageControl3.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl3.Name = "ultraTabPageControl3";
+            this.ultraTabPageControl3.Size = new System.Drawing.Size(1263, 23);
+            // 
+            // ultraGrid1
+            // 
+            this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
+            this.ultraGrid1.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.ultraGrid1.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(1263, -25);
+            this.ultraGrid1.TabIndex = 9;
+            this.ultraGrid1.Text = "ultraGrid2";
+            // 
+            // panel3
+            // 
+            this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+            this.panel3.Controls.Add(this.ultraTextEditor1);
+            this.panel3.Controls.Add(this.ultraLabel11);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.panel3.Location = new System.Drawing.Point(0, -25);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(1263, 48);
+            this.panel3.TabIndex = 0;
+            // 
+            // ultraTextEditor1
+            // 
+            this.ultraTextEditor1.AutoSize = true;
+            this.ultraTextEditor1.FlatMode = true;
+            this.ultraTextEditor1.Location = new System.Drawing.Point(62, 16);
+            this.ultraTextEditor1.Name = "ultraTextEditor1";
+            this.ultraTextEditor1.Size = new System.Drawing.Size(306, 19);
+            this.ultraTextEditor1.TabIndex = 601;
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.Location = new System.Drawing.Point(8, 18);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel11.TabIndex = 602;
+            this.ultraLabel11.Text = "工艺事项";
+            // 
+            // ultraTabPageControl4
+            // 
+            this.ultraTabPageControl4.Controls.Add(this.ultraGrid2);
+            this.ultraTabPageControl4.Controls.Add(this.ultraExpandableGroupBox3);
+            this.ultraTabPageControl4.Location = new System.Drawing.Point(0, 0);
+            this.ultraTabPageControl4.Name = "ultraTabPageControl4";
+            this.ultraTabPageControl4.Size = new System.Drawing.Size(196, 77);
+            // 
+            // ultraGrid2
+            // 
+            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
+            this.ultraGrid2.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.ultraGrid2.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid2.Name = "ultraGrid2";
+            this.ultraGrid2.Size = new System.Drawing.Size(196, -110);
+            this.ultraGrid2.TabIndex = 10;
+            this.ultraGrid2.Text = "ultraGrid1";
+            // 
+            // ultraExpandableGroupBox3
+            // 
+            this.ultraExpandableGroupBox3.Controls.Add(this.ultraExpandableGroupBoxPanel3);
+            this.ultraExpandableGroupBox3.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox3.ExpandedSize = new System.Drawing.Size(860, 243);
+            this.ultraExpandableGroupBox3.Location = new System.Drawing.Point(0, -110);
+            this.ultraExpandableGroupBox3.Name = "ultraExpandableGroupBox3";
+            this.ultraExpandableGroupBox3.Size = new System.Drawing.Size(196, 187);
+            this.ultraExpandableGroupBox3.SupportThemes = false;
+            this.ultraExpandableGroupBox3.TabIndex = 2;
+            this.ultraExpandableGroupBox3.Text = "计划下发情况";
+            // 
+            // ultraExpandableGroupBoxPanel3
+            // 
+            this.ultraExpandableGroupBoxPanel3.Controls.Add(this.ultraGrid3);
+            this.ultraExpandableGroupBoxPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel3.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel3.Name = "ultraExpandableGroupBoxPanel3";
+            this.ultraExpandableGroupBoxPanel3.Size = new System.Drawing.Size(190, 165);
+            this.ultraExpandableGroupBoxPanel3.TabIndex = 0;
+            // 
+            // ultraGrid3
+            // 
+            this.ultraGrid3.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid3.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid3.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.ultraGrid3.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid3.DisplayLayout.Override.CellPadding = 0;
+            this.ultraGrid3.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.ultraGrid3.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid3.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.ultraGrid3.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.ultraGrid3.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.ultraGrid3.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.ultraGrid3.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.ultraGrid3.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid3.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid3.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid3.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid3.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid3.Name = "ultraGrid3";
+            this.ultraGrid3.Size = new System.Drawing.Size(190, 165);
+            this.ultraGrid3.TabIndex = 10;
+            this.ultraGrid3.Text = "ultraGrid3";
+            // 
+            // ultraExpandableGroupBox4
+            // 
+            this.ultraExpandableGroupBox4.Controls.Add(this.ultraExpandableGroupBoxPanel4);
+            this.ultraExpandableGroupBox4.ExpandedSize = new System.Drawing.Size(0, 0);
+            this.ultraExpandableGroupBox4.Location = new System.Drawing.Point(0, 0);
+            this.ultraExpandableGroupBox4.Name = "ultraExpandableGroupBox4";
+            this.ultraExpandableGroupBox4.Size = new System.Drawing.Size(200, 185);
+            this.ultraExpandableGroupBox4.SupportThemes = false;
+            this.ultraExpandableGroupBox4.TabIndex = 0;
+            // 
+            // ultraExpandableGroupBoxPanel4
+            // 
+            this.ultraExpandableGroupBoxPanel4.Location = new System.Drawing.Point(0, 0);
+            this.ultraExpandableGroupBoxPanel4.Name = "ultraExpandableGroupBoxPanel4";
+            this.ultraExpandableGroupBoxPanel4.Size = new System.Drawing.Size(200, 100);
+            this.ultraExpandableGroupBoxPanel4.TabIndex = 0;
+            // 
+            // Frm_PlanDrawUp
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1358, 721);
+            this.Controls.Add(this.tab_Coroll);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_PlanDrawUp";
+            this.Text = "钢卷开平计划制订";
+            this.Load += new System.EventHandler(this.Frm_PlanDrawUp_Load);
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_QuShi)).EndInit();
+            this.ultraTabPageControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
+            this.ultraExpandableGroupBox2.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ply)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_div_no)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_PlanBuress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_EditType_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IS)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.tab_Coroll)).EndInit();
+            this.tab_Coroll.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).EndInit();
+            this.ultraTabControl1.ResumeLayout(false);
+            this.ultraTabPageControl3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
+            this.ultraTabPageControl4.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox3)).EndInit();
+            this.ultraExpandableGroupBox3.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox4)).EndInit();
+            this.ultraExpandableGroupBox4.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region 查询
+		private string GetWhere()
+		{
+			string strSql="";
+            //if(this.chk_CollectTime.Checked)
+            //{
+            //    strSql += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+            //        + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+            //}
+            if (this.chk_CollectTime.Checked)
+            {
+                if (this.ultSJ.SelectedIndex == 0)
+                {
+                    strSql += " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+                else
+                {
+                    strSql += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+            }
+			if(this.chk_OrderNO.Checked)
+			{
+				strSql=" AND A.ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
+			}
+			if(this.chk_PactID.Checked)
+			{
+                strSql = " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+			}
+			if(this.chk_RollHao.Checked)
+			{
+				strSql=" AND A.OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
+			}
+			if(this.chk_BanHao.Checked)
+			{
+				strSql=" AND A.SLAB_NO='"+this.txt_GangP.Text+"'";
+			}
+			if(this.chk_PaiHao.Checked)
+			{
+				strSql=" AND A.STL_GRD='"+this.cmb_Sleen.Value+"'";
+			}
+			if(this.Chk_Buttress.Checked)
+			{
+				strSql=" AND B.BUTTRESS='"+this.cmb_Buress.Value.ToString()+"'";
+			}
+			if(this.chk_BNumber.Checked)
+			{
+				strSql+="AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '"+this.txt_BNumber.Text+"'";
+			}
+
+            //if(this.chk_ProcLine.Checked)
+            //{
+            //    strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
+            //}
+			return strSql;
+		}
+		private void StuffQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "StuffQuer", new object[] { _Conntion }, out strOut);
+				this.gb_Stuff.DataSource=ds;
+				this.gb_Stuff.UpdateData();
+				Comm.SetGridSumArea(this.gb_Stuff);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private string Plan_GetWhere()
+		{
+			string strSql="";
+            if (chk_CollectTime.Checked == true)
+            {
+                strSql += " AND to_char(A.DEVLMT_DTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND to_char(A.DEVLMT_DTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+			if(this.chk_OrderNO.Checked)
+			{
+				strSql+=" AND ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
+			}
+			if(this.chk_PactID.Checked)
+			{
+                strSql += " AND ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+			}
+			if(this.chk_RollHao.Checked)
+			{
+				strSql+=" AND OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
+			}
+			if(this.chk_BanHao.Checked)
+			{
+				strSql+=" AND SLAB_NO='"+this.txt_GangP.Text+"'";
+			}
+			if(this.chk_PaiHao.Checked)
+			{
+				strSql+=" AND STL_GRD='"+this.cmb_Sleen.Value+"'";
+			}
+			return strSql;
+		}
+
+		private void PlanQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Qery", new object[] { _Conntion }, out strOut);
+				this.gb_Plan.DataSource=ds;
+				this.gb_Plan.UpdateData();
+				Comm.SetGridSumArea(this.gb_Plan);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void PlanXFQuery(string where1,string where2)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_XF_Qery", new object[] { where1, where2 }, out strOut);
+                ds.Tables["PLAN_DETAIL"].Columns["WORKORDER_ID"].Caption = "工单号";
+                ds.Tables["PLAN_DETAIL"].Columns["OLD_SAMPL_NO"].Caption = "卷号";
+                ds.Tables["PLAN_DETAIL"].Columns["COIL_THK"].Caption = "厚";
+                ds.Tables["PLAN_DETAIL"].Columns["COIL_WTH"].Caption = "宽";
+                ds.Tables["PLAN_DETAIL"].Columns["COIL_LEN"].Caption = "长";
+                ds.Tables["PLAN_DETAIL"].Columns["COIL_NUM"].Caption = "块数";
+                ds.Tables["PLAN_DETAIL"].Columns["STL_GRD"].Caption = "牌号";
+                ds.Tables["PLAN_DETAIL"].Columns["DETAIL_TIME"].Caption = "计划生产时间";
+                ds.Tables["PLAN_DETAIL"].Columns["PLAN_CAR_NO"].Caption = "计划车牌号";
+                ds.Tables["PLAN_DETAIL"].Columns["PLAN_BUTTRESS"].Caption = "计划堆位";
+                ds.Tables["PLAN_DETAIL"].Columns["REMARK"].Caption = "备注";
+                ds.Tables["PLAN_DETAIL"].Columns["DETAIL_NAME"].Caption = "计划制定人";
+                ds.Tables["PLAN_DETAIL"].Columns["XF_FLAG"].Caption = "是否下发";
+                ds.Tables["PLAN_DETAIL"].Columns["AREA"].Caption = "区块";
+                ds.Tables["PLAN_DETAIL"].Columns["GUID"].Caption = "GUID";
+                this.gb_PlanState.DataSource = ds;
+				this.gb_PlanState.UpdateData();
+				Comm.SetGridSumArea(this.gb_PlanState);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region 确定
+		private void Plan_Add()
+		{
+			try
+			{
+                string strOut="";
+			    ArrayList array=new ArrayList();
+			    array=Comm.GetFieldValue(this.gb_Stuff,"FLAG","OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要下发的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add(this.txt_QuShi.Text);
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.cmb_Gylx.Value.ToString());
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set", new object[] { array, Other }, out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_Stuff.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_STUFFLIST"].Select("FLAG='TRUE'");
+					for(int i=0;i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_STUFFLIST"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_STUFFLIST"].AcceptChanges();
+						this.PlanQuery("");
+					}
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region 撤消
+		private void Plan_Del()
+		{
+			try
+			{
+				string strOut="";
+				ArrayList array=new ArrayList();
+                array=Comm.GetFieldValue(this.gb_Plan,"FLAG","OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要撤消的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Del", new object[] { array }, out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+						this.PlanQuery("");
+						this.StuffQuery("");
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region 作业下发
+		private bool Check()
+		{
+			if(this.txt_Scid_End_Y.Text.Trim().Length==0)
+			{
+				MessageBox.Show("工单号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.cmb_ClassOrder.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班次不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.cmb_ClassTeam.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班组不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.txt_Length.Value.ToString().Trim().Length==0)
+			{
+				MessageBox.Show("长度不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			return true;
+		}
+        private bool Check1()
+        {
+            if (this.txt_Scid_End_Y.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("工单号不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+            if (this.cmb_ClassOrder.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("班次不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+            if (this.cmb_ClassTeam.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("班组不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+         
+            
+            return true;
+        }
+		private void Plan_XF()
+		{
+			/*if(!Check1())
+			{
+				return;
+			}*/
+            string strOut = "";
+			try
+			{
+                ArrayList array = new ArrayList();
+                array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set_XF", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.PlanQuery("");
+                    string strSql = " AND WORKORDER_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text + "' ";
+                    this.PlanXFQuery(strSql, strSql);
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+        #region
+        private void Edit()
+        {
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
+                array.Add(gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Text);
+                array.Add(gb_PlanState.ActiveRow.Cells["COIL_THK"].Text);
+                array.Add(gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text);
+                array.Add(gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要修改的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.cmb_ClassOrder.Value.ToString());
+                Other.Add(this.cmb_ClassTeam.Value.ToString());
+                Other.Add(this.dte_Time.Value.ToString());
+                Other.Add(this.txt_Length.Value.ToString());//5
+                Other.Add(this.txt_Width.Value.ToString());
+                Other.Add(this.txt_ply.Value.ToString());
+                Other.Add(this.txt_Num.Text.ToString().Trim());
+                Other.Add(this.txt_div_no.Text.ToString().Trim());
+                Other.Add(this.cmb_PlanBuress.Text.ToString().Trim());//10
+                Other.Add(this.txt_Remark.Text.ToString().Trim());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_ZD_Edit", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.PlanQuery("");
+                    this.PlanXFQuery("","");
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+        #region
+        private void Plan_ZD()
+        {
+            if (!Check())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array = Comm.GetFieldValue(this.gb_Plan, "FLAG", "OLD_SAMPL_NO");
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要制订的钢卷信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text);
+                Other.Add(this.cmb_ClassOrder.Value.ToString());
+                Other.Add(this.cmb_ClassTeam.Value.ToString());
+                Other.Add(this.dte_Time.Value.ToString());
+                Other.Add(this.txt_Length.Value.ToString());//5
+                Other.Add(this.txt_Width.Value.ToString());
+                Other.Add(this.txt_ply.Value.ToString());
+                Other.Add(this.txt_Num.Text.ToString().Trim());
+                Other.Add(this.txt_div_no.Text.ToString().Trim());
+                Other.Add(this.cmb_PlanBuress.Text.ToString().Trim());//10
+                Other.Add(this.txt_Remark.Text.ToString().Trim());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set_ZD", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    /*DataSet ds = (DataSet)this.gb_Plan.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
+                    }*/
+                    string strSql = " AND WORKORDER_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text + "' ";
+                    this.PlanXFQuery(strSql, strSql);
+                    if (this.txt_Num.Text.ToString().Trim() == "余开" || this.txt_Num.Text.ToString().Trim() == "全开" || this.txt_Num.Text.ToString().Trim() == "余开+尾板"
+                        || this.txt_Num.Text.ToString().Trim() == "余开+头板" || this.txt_Num.Text.ToString().Trim() == "余开+头尾板") 
+                    {
+                        this.PlanQuery("");
+                    }
+                    MessageBox.Show("制定成功!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+        #region 撤消下发
+        private void Plan_Del_XF()
+		{
+			try
+			{
+				string strOut="";
+				ArrayList array=new ArrayList();
+                array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要撤消的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Del_XF", new object[] { array, Other }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					this.PlanQuery("");
+                    this.PlanXFQuery("", "");
+				}
+				else
+				{
+                       MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion 
+        #region 计划取消
+        private void Plan_ZD_Del()
+        {
+            try
+            {
+                if (this.gb_PlanState.Selected.Rows.Count == 0)
+                {
+                    string strOut = "";
+                    ArrayList array = new ArrayList();
+                    array.Add(gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text);
+                    array.Add(gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Text);
+                    array.Add(gb_PlanState.ActiveRow.Cells["COIL_THK"].Text);
+                    array.Add(gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text);
+                    array.Add(gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text);
+                    array.Add(gb_PlanState.ActiveRow.Cells["AREA"].Text);
+                    if (array.Count == 0)
+                    {
+                        MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                        return;
+                    }
+                    ArrayList Other = new ArrayList();
+                    Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                    object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_ZD_Del", new object[] { array, Other }, out strOut);
+                    if (obj != null && obj.ToString() == "1")
+                    {
+                        this.PlanQuery("");
+                        this.PlanXFQuery("", "");
+                    }
+                    else
+                    {
+                        MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                    }
+                }
+                else
+                {
+                    for (int i = 0; i < this.gb_PlanState.Selected.Rows.Count;i++ )
+                    {
+                        string strOut = "";
+                        ArrayList array = new ArrayList();
+                        array.Add(gb_PlanState.Selected.Rows[i].Cells["WORKORDER_ID"].Text);
+                        array.Add(gb_PlanState.Selected.Rows[i].Cells["OLD_SAMPL_NO"].Text);
+                        array.Add(gb_PlanState.Selected.Rows[i].Cells["COIL_THK"].Text);
+                        array.Add(gb_PlanState.Selected.Rows[i].Cells["COIL_LEN"].Text);
+                        array.Add(gb_PlanState.Selected.Rows[i].Cells["COIL_NUM"].Text);
+                        array.Add(gb_PlanState.Selected.Rows[i].Cells["AREA"].Text);
+                        if (array.Count == 0)
+                        {
+                            MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                            return;
+                        }
+                        ArrayList Other = new ArrayList();
+                        Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_ZD_Del", new object[] { array, Other }, out strOut);
+                        if (obj != null && obj.ToString() == "1")
+                        {
+                            
+                        }
+                        else
+                        {
+                            MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                        }
+                    }
+                    this.PlanQuery("");
+                    this.PlanXFQuery("", "");
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion 
+
+		#region EVENT
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "QUERY_KC":
+					this.tab_Coroll.Tabs["PROCESS"].Selected=true;
+					this.StuffQuery(this.GetWhere());
+					break;
+				case "QUERY_GY":
+					this.tab_Coroll.Tabs["PLAN"].Selected=true;
+					this.PlanQuery(this.Plan_GetWhere());
+					break;
+				case "AFFIRM":
+					this.Plan_Add();
+					break;
+				case "QUERY_PLAN":
+                    PlanXFQuery(this.Plan_GetWhere(), this.Plan_GetWhere());
+					break;
+                case "PlanZD":
+                    Plan_ZD();
+                    break;
+				case "CANCEL":
+					 this.Plan_Del();
+					break;
+				case "DOWN_PLAN":
+					this.Plan_XF();
+					break;
+                case "Edit":
+                    this.Edit();
+                    break;
+				case "DEL_PLAN":
+                    Plan_ZD_Del();
+                    break;
+                case "DEL_DOWN_PLAN":
+					Plan_Del_XF();
+					break;
+				case "DUCE":
+                    DoExcel();
+                    //ExportButtressInfo();
+					break;
+				case "PRINT":
+					this.Print(this.Plan_GetWhere());
+					break;
+                case "PrintNew":
+                    this.printnew();
+                    break;
+				case "CLOSE":
+					this.Close();
+					break;
+			}
+		}
+        private void DoExcel()
+        {
+            bool expAll = false;
+            string strSQL = ""; string strSampleNo = "";
+            DataSet ds = new DataSet();
+            string err = "";
+       
+            int RowPosition = 4;
+            try
+            {
+
+                Excel.ApplicationClass myExcel = new Excel.ApplicationClass();
+                myExcel.Application.Workbooks.Add(true);
+                myExcel.Visible = true;
+                myExcel.DisplayAlerts = false;
+                Excel.Range RM; 
+
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_PlanState;
+                ArrayList SamleNoList = new ArrayList();
+                ArrayList SteelNameList = new ArrayList();
+                ArrayList PlyList = new ArrayList();
+                ArrayList WidthList = new ArrayList();
+                ArrayList WeightList = new ArrayList();
+                ArrayList CarNoList = new ArrayList();
+                ArrayList RemarkList = new ArrayList();
+                RM = myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[1, 10]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+
+                RM.Value = "新余新钢板材加工厂来料加工计划";
+
+                RM = myExcel.get_Range(myExcel.Cells[2, 1], myExcel.Cells[2, 10]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                //RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                RM.Value = "编号:";
+
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 1], myExcel.Cells[3, 1]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 1], myExcel.Cells[3, 1]).ColumnWidth = 12;
+                RM.Value = "钢卷号";
+
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 2], myExcel.Cells[3, 2]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 2], myExcel.Cells[3, 2]).ColumnWidth = 12;
+                RM.Value = "牌号";
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 3], myExcel.Cells[3, 3]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 3], myExcel.Cells[3, 3]).ColumnWidth = 12;
+                RM.Value = "厚度";
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 4], myExcel.Cells[3, 4]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 4], myExcel.Cells[3, 4]).ColumnWidth = 12;
+                RM.Value = "宽度";
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 5], myExcel.Cells[3, 5]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 5], myExcel.Cells[3, 5]).ColumnWidth = 12;
+                RM.Value = "剪切尺寸(长度)";
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 6], myExcel.Cells[3, 6]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 6], myExcel.Cells[3, 6]).ColumnWidth = 12;
+                RM.Value = "块数";
+
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 7], myExcel.Cells[3, 7]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 7], myExcel.Cells[3, 7]).ColumnWidth = 12;
+                RM.Value = "重量";
+
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 8], myExcel.Cells[3, 8]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 8], myExcel.Cells[3, 8]).ColumnWidth = 12;
+                RM.Value = "车号";
+
+
+                RM = myExcel.get_Range(myExcel.Cells[3, 9], myExcel.Cells[3, 9]);
+                RM.Select();
+                RM.MergeCells = true;
+                RM.Merge(0);
+                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                myExcel.get_Range(myExcel.Cells[3, 9], myExcel.Cells[3, 9]).ColumnWidth = 12;
+                RM.Value = "备注";
+
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in tmpGrid.Rows)
+                
+                {
+                    
+                    if (!expAll && !row.Selected) continue;
+                    if (!row.IsFilteredOut)
+                    {
+
+
+                        
+
+                        strSampleNo = row.Cells["OLD_SAMPL_NO"].Value.ToString();
+
+
+                        strSQL = "SELECT A.OLD_SAMPL_NO,A.STL_GRD,A.COIL_THK, C.COIL_WTH,C.COIL_LEN,C.COIL_NUM,A.CAL_WGT/1000 ACT_WGT,''CARNO,A.REMARK,A.CREATOR,A.CREATETIME "
+                               + " FROM KCJ3_ZY_PLAN_ZW A, KCJ3_STUFFBUTTRESSLIST_ZW B,KCJ3_ZY_PLAN_DETAIL C "
+                               + " WHERE A.OLD_SAMPL_NO = B.OLD_SAMPL_NO AND A.OLD_SAMPL_NO=C.OLD_SAMPL_NO AND  A.OLD_SAMPL_NO ='" + strSampleNo + "' ORDER BY A.OLD_SAMPL_NO,C.DETAIL_TIME ";//
+                        ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSQL }, out err);
+                        if (ds.Tables.Count > 0 && ds.Tables[0].Rows.Count > 0)
+                        {
+                            for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
+                            {
+                                //RowPosition = 4 + i ;
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 1]);
+                                RM.Value = "'" + ds.Tables[0].Rows[i]["OLD_SAMPL_NO"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                                RM.NumberFormat = "@";
+                                RM.Rows.ColumnWidth = 30;
+                                SamleNoList.Add(ds.Tables[0].Rows[i]["OLD_SAMPL_NO"].ToString());
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 2]);
+                                RM.Value = ds.Tables[0].Rows[i]["STL_GRD"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                                RM.Rows.ColumnWidth = 30;
+                                SteelNameList.Add(ds.Tables[0].Rows[i]["STL_GRD"].ToString()); 
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 3]);
+                                RM.Value = ds.Tables[0].Rows[i]["COIL_THK"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                                PlyList.Add(ds.Tables[0].Rows[i]["COIL_THK"].ToString()); 
+
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 4]);
+                                RM.Value = ds.Tables[0].Rows[i]["COIL_WTH"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                                WidthList.Add(ds.Tables[0].Rows[i]["COIL_WTH"].ToString()); 
+                             
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 5]);
+                                RM.Value = ds.Tables[0].Rows[i]["COIL_LEN"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 6]);
+                                RM.Value = ds.Tables[0].Rows[i]["COIL_NUM"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                           
+
+
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 7]);
+                                RM.Value = ds.Tables[0].Rows[i]["ACT_WGT"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                                WeightList.Add(ds.Tables[0].Rows[i]["ACT_WGT"].ToString());
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 8]);
+                                RM.Value = ds.Tables[0].Rows[i]["CARNO"].ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+                                CarNoList.Add(ds.Tables[0].Rows[i]["CARNO"].ToString());
+
+                                RM = ((Excel.Range)myExcel.Cells[RowPosition, 9]);
+                                RM.Value = this.txt_Remark.Text.Trim().ToString();
+                                RM.HorizontalAlignment = Excel.XlVAlign.xlVAlignCenter;
+
+                                RemarkList.Add(this.txt_Remark.Text.Trim().ToString()); 
+
+                                RowPosition++;
+
+                            }
+
+                        }
+                     
+                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[RowPosition + 4, 10]).Font.Name = "Arial Narrow";
+                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[RowPosition + 4, 10]).Font.Bold = true;
+                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[RowPosition + 4, 10]).Font.Size = 12;
+                        myExcel.get_Range(myExcel.Cells[1, 1], myExcel.Cells[1, 10]).Borders.LineStyle = 1;
+                    }
+                    
+
+                }
+
+                if (SamleNoList.Count > 0)
+                {
+                    int XXCount = SamleNoList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)SamleNoList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)SamleNoList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "A" + (LastPosInf + 4).ToString() + ":" + "A" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "A" + (LastPosInf + 4).ToString() + ":" + "A" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)SamleNoList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                SamleNoList.Clear();
+
+                if (SteelNameList.Count > 0)
+                {
+                    int XXCount = SteelNameList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)SteelNameList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)SteelNameList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "B" + (LastPosInf + 4).ToString() + ":" + "B" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "B" + (LastPosInf + 4).ToString() + ":" + "B" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)SteelNameList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                SteelNameList.Clear();
+
+
+                if (PlyList.Count > 0)
+                {
+                    int XXCount = PlyList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)PlyList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)PlyList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "C" + (LastPosInf + 4).ToString() + ":" + "C" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "C" + (LastPosInf + 4).ToString() + ":" + "C" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)PlyList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                PlyList.Clear();
+
+
+                if (WidthList.Count > 0)
+                {
+                    int XXCount = WidthList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)WidthList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)WidthList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "D" + (LastPosInf + 4).ToString() + ":" + "D" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "D" + (LastPosInf + 4).ToString() + ":" + "D" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)WidthList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                WidthList.Clear();
+
+
+                if (WeightList.Count > 0)
+                {
+                    int XXCount = WeightList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)WeightList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)WeightList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "G" + (LastPosInf + 4).ToString() + ":" + "G" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "G" + (LastPosInf + 4).ToString() + ":" + "G" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)WeightList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                WeightList.Clear();
+
+
+
+                if (CarNoList.Count > 0)
+                {
+                    int XXCount = CarNoList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)CarNoList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)CarNoList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "H" + (LastPosInf + 4).ToString() + ":" + "H" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "H" + (LastPosInf + 4).ToString() + ":" + "H" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)CarNoList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                CarNoList.Clear();
+
+
+
+
+                if (RemarkList.Count > 0)
+                {
+                    int XXCount = RemarkList.Count;
+                    string LastName = "";
+                    int LastPosInf = -1;
+                    for (int i = 0; i < XXCount; i++)
+                    {
+                        if (LastName == "")
+                        {
+                            LastName = (string)RemarkList[i];
+                            LastPosInf = i;
+                        }
+                        else
+                        {
+                            if (LastName == (string)RemarkList[i])
+                            {
+                                if (i == XXCount - 1)
+                                {
+                                    if (LastPosInf != i)
+                                    {
+                                        Excel.Range RMX;
+                                        string Inf = "";
+                                        Inf = "I" + (LastPosInf + 4).ToString() + ":" + "I" + (i + 4).ToString();
+                                        RMX = myExcel.get_Range(Inf, Type.Missing);
+                                        RMX.MergeCells = true;
+                                        RMX.Merge(0);
+                                    }
+                                }
+                            }
+                            else
+                            {
+                                if (LastPosInf != i - 1)
+                                {
+                                    Excel.Range RMX;
+                                    string Inf = "";
+                                    Inf = "I" + (LastPosInf + 4).ToString() + ":" + "I" + (i + 3).ToString();
+                                    RMX = myExcel.get_Range(Inf, Type.Missing);
+                                    RMX.MergeCells = true;
+                                    RMX.Merge(0);
+                                }
+                                LastName = (string)RemarkList[i];
+                                LastPosInf = i;
+                            }
+                        }
+                    }
+                }
+                RemarkList.Clear();
+                myExcel.DisplayAlerts = true;
+                Excel.Range range = (Excel.Range)myExcel.Rows[RowPosition, Type.Missing];
+
+                range.EntireRow.Insert(Excel.XlDirection.xlDown);
+                range = ((Excel.Range)myExcel.Cells[RowPosition, 4]);
+                range.Value = "备注:1.来料加工剪切时规格必须要复尺。注意剪切尺寸,不要超过标准。 "
+                            +" 2.头尾料注明钢卷号、规格、随货同行。"
+                            +" 3.剪切好每包必须收集整齐。"
+                            +"4.每种规格用石笔注明规格块数。"
+                            +" 5.原料卷如有波浪,先不开(在允许的范围内可以开)。"
+                            +"6.计划生产完不要丢,装车还要用。 "
+                            +"7.上料核对钢卷标签信息。确认无误再开平。";
+                range.WrapText = true;
+                range.EntireRow.AutoFit();
+
+                range.Rows.RowHeight = 50;
+                range.Columns.ColumnWidth = 24;
+                string sInf = "";
+                sInf = "A" + (RowPosition).ToString() + ":" + "H" + (RowPosition).ToString();
+                range = myExcel.get_Range(sInf, Type.Missing);
+                range.MergeCells = true;
+                range.Merge(0);
+
+
+
+                range = ((Excel.Range)myExcel.Cells[RowPosition+2, 7]);
+                range.Value = ClientCommon._UserInfo.UserName.ToString();
+
+
+                range = ((Excel.Range)myExcel.Cells[RowPosition + 3, 8]);
+                range.Value = DateTime.Now.ToString("yyyy-MM-dd");
+                
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+   
+        private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.dte_BeginTime.Enabled = chk_CollectTime.Checked;
+            this.dte_EndTime.Enabled = chk_CollectTime.Checked;
+        }
+
+		private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_OrderNO.Enabled=this.chk_OrderNO.Checked;
+		}
+
+		private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanID.Enabled=chk_PactID.Checked;
+		}
+
+		private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			   this.txt_RollHao.Enabled=this.chk_RollHao.Checked;
+		}
+
+		private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangP.Enabled=this.chk_BanHao.Checked;
+		}
+
+		private void chk_PaiHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Sleen.Enabled=this.chk_PaiHao.Checked;
+		}
+
+		private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Buress.Enabled=this.Chk_Buttress.Checked;
+		}
+
+		private void gb_Plan_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+                        this.txt_Width.Text = gb_Plan.ActiveRow.Cells["COIL_WTH"].Value.ToString();
+                        this.txt_ply.Text = gb_Plan.ActiveRow.Cells["COIL_THK"].Value.ToString();
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+	    private void gb_Stuff_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+		{
+			
+			try
+			{
+				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_Stuff;
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Stuff.Rows)
+				{
+					if(!row.IsFilteredOut)
+					{
+						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+						row.Update();
+					}
+				}
+				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Plan;
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Plan.Rows)
+				{
+					if(!row.IsFilteredOut)
+					{
+						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+						row.Update();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+			
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Plan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Plan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Plan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Plan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Plan.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Plan.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Plan.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void txt_Scid_End_Y_Click(object sender, System.EventArgs e)
+		{
+		     this.txt_Scid_Begin_Y.Text=System.DateTime.Now.Date.ToString("yyMMdd");
+			if(this.cmb_EditType_Y.Value.ToString()=="1")
+				if(this.Scid_Where().Length==4)
+				{
+					this.txt_Scid_End_Y.Text=this.Scid_Where();
+				}
+				else
+				{
+					this.txt_Scid_End_Y.Text=Comm.ObjToStr(Comm.ObjToInt(this.Scid_Where().Substring(8))+1).PadLeft(4,'0');
+				}
+		}
+		private string Scid_Where()
+		{
+			string strOut="";
+			string ID="0001";
+			try
+			{
+			   string sql="SELECT MAX(WORKORDER_ID) FROM KCJ3_ZY_PLAN_ZW WHERE DOWN_FLAG='1' ORDER BY WORKORDER_ID";
+			   DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common","GetDataSet",new object []{sql},out strOut);
+				if(ds.Tables.Count ==1 && ds.Tables[0].Rows.Count > 0 )
+					if(Comm.ObjToStr(ds.Tables[0].Rows[0][0])!="")
+					{
+						ID=Comm.ObjToStr(ds.Tables[0].Rows[0][0]);
+					}
+					else
+					{
+						ID="0001";
+					}
+
+				return ID;
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return ID;
+			}
+		}
+		private void cmb_EditType_Y_ValueChanged(object sender, System.EventArgs e)
+		{
+			if(this.cmb_EditType_Y.SelectedIndex==0)
+			{
+				this.txt_Scid_Begin_Y.ReadOnly=true;
+				this.txt_Scid_End_Y.ReadOnly=true;
+				this.txt_Scid_Top_Y.ReadOnly=true;
+			}
+			else
+			{
+				this.txt_Scid_Begin_Y.ReadOnly=false;
+				this.txt_Scid_End_Y.ReadOnly=false;
+				this.txt_Scid_Top_Y.ReadOnly=false;
+			}
+		}
+		#endregion
+
+		#region 初始化
+		private void Frm_PlanDrawUp_Load(object sender, System.EventArgs e)
+		{
+			Comm.SetGridSumArea(this.gb_Plan);
+			Comm.SetGridSumArea(this.gb_PlanState);
+			Comm.SetGridSumArea(this.gb_Stuff);
+			this.txt_Scid_Begin_Y.Text=System.DateTime.Now.Date.ToString("yyMMdd");
+			this.txt_Scid_Top_Y.Text="J1";
+			this.cmb_EditType_Y.SelectedIndex=0;
+
+			try
+			{
+				string strOut="";
+				string sql="";
+				DataSet ds;
+				//班次
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+				//班组
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+                
+				//堆位
+                sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+				Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+
+                //计划堆位
+                sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_PLANBUTTRESS";
+
+                Comm.Init_ComboControl(this.cmb_PlanBuress, "KCJ_PLANBUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+
+                //块数
+                sql = "SELECT NAME_ FROM KCJ3_ZY_PLAN_DATA WHERE NAME_ IN ('余开','全开','余开+尾板','余开+头板','余开+头尾板')";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ3_ZY_PLAN_DATA";
+
+                Comm.Init_ComboControl(this.txt_Num, "KCJ3_ZY_PLAN_DATA", "NAME_", "NAME_", ref ds);
+
+                //工艺类型
+                sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='8077'";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                Comm.Init_ComboControl(this.cmb_Gylx, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+           
+                
+                //sql ="SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8055'" ;
+                //ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.Common","GetDataSet",new object []{sql},out strOut);
+                //ds.Tables[0].TableName="KCJ_BASEDATA";
+
+                ////Comm.Init_ComboControl(this.cmb_ProcLine,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+                //Comm.Init_ComboControl(this.cmb_ProcL,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+		#endregion
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_PlanState.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_PlanState,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+		private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_BNumber.Enabled=this.chk_BNumber.Checked;
+		}
+		private void Print(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "PLAN_Print", new object[] { _Conntion }, out strOut);
+				Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+				rtp._rtpDataSet = ds;
+                rtp._rtpFileName = @"PlanQrawUpZW.rpt";
+				rtp.ShowDialog();
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+        private void printnew()
+        {
+            if(gb_PlanState.ActiveRow == null)
+            {
+                MessageBox.Show("请选择需要导出的数据!");
+                return;
+            }
+            string work_id = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Text;
+            string url = "http://172.16.0.41/FineReport/decision/view/report?viewlet=XGCX%252F%25E6%2596%25B0%25E4%25BD%2599%25E6%2596%25B0%25E9%2592%25A2%25E6%259D%25BF%25E6%259D%2590%25E5%258A%25A0%25E5%25B7%25A5%2528%25E5%258D%258E%25E5%258E%259F%2529%25E6%259D%25A5%25E6%2596%2599%25E5%258A%25A0%25E5%25B7%25A5%25E4%25B8%25AD%25E5%25BF%2583%25E6%258A%25A5%25E8%25A1%25A8.cpt&ref_t=design&ref_c=787747db-e656-421f-b2e5-498a7358ade3&workorder_id=" + work_id;
+            System.Diagnostics.Process.Start("IEXPLORE.EXE",url);
+        }
+
+		private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_IS.Enabled=this.chk_ProcLine.Checked;
+		}
+
+        private void gb_Plan_AfterRowActivate(object sender, EventArgs e)
+        {
+            if (this.gb_Plan.ActiveRow == null) return;
+            if (gb_Plan.ActiveRow != null)
+            {
+                if (gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString() != "")
+                {
+                    this.txt_Scid_Top_Y.Text = gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(0, 2);
+                    this.txt_Scid_Begin_Y.Text = gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(2, 6);
+                    this.txt_Scid_End_Y.Text = gb_Plan.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(8);
+                }
+            }
+
+            
+        }
+
+        private void gb_PlanState_AfterRowActivate(object sender, EventArgs e)
+        {
+            if (gb_PlanState.ActiveRow.Band.Columns.Count.ToString().Equals(this.gb_PlanState.DisplayLayout.Bands[1].Columns.Count.ToString()))
+            {
+                this.txt_Length.Value = gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text;
+                this.txt_Width.Value = gb_PlanState.ActiveRow.Cells["COIL_WTH"].Text;
+                this.txt_ply.Value = gb_PlanState.ActiveRow.Cells["COIL_THK"].Text;
+                this.txt_Num.Text = gb_PlanState.ActiveRow.Cells["COIL_NUM"].Text;
+                this.txt_div_no.Text = gb_PlanState.ActiveRow.Cells["PLAN_CAR_NO"].Text;
+                this.cmb_PlanBuress.Text = gb_PlanState.ActiveRow.Cells["COIL_LEN"].Text;
+                this.txt_Remark.Text = gb_PlanState.ActiveRow.Cells["PLAN_BUTTRESS"].Text;
+            }
+            /*if (this.gb_PlanState.ActiveRow == null) return;
+            if (gb_PlanState.ActiveRow != null)
+            {
+                if (gb_PlanState.ActiveRow.Band.Key == "dtXF_Main")
+                {
+                    if (gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString() != "")
+                    {
+                        this.txt_Scid_Top_Y.Text = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(0, 2);
+                        this.txt_Scid_Begin_Y.Text = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(2, 6);
+                        this.txt_Scid_End_Y.Text = gb_PlanState.ActiveRow.Cells["WORKORDER_ID"].Value.ToString().Substring(8);
+                    }
+                }
+                if (gb_PlanState.ActiveRow.Band.Key == "ReltnXF")
+                {
+                    this.txt_Length.Text = gb_PlanState.ActiveRow.Cells["长度"].Value.ToString();
+                    this.txt_Width.Text = gb_PlanState.ActiveRow.Cells["宽度"].Value.ToString();
+                    this.txt_Num.Text = gb_PlanState.ActiveRow.Cells["块数"].Value.ToString();
+                    
+                }
+            }*/
+        }
+
+        private void gb_PlanState_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
+        {
+            //this.gb_PlanState.Rows.ExpandAll(true);
+        }
+
+        private void Btn_UpdateCar_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                string strOut = "";
+                string GUID = gb_PlanState.ActiveRow.Cells["GUID"].Text.Trim();
+                string PLAN_CAR_NO = txt_div_no.Text.ToString().Trim();
+                string PLAN_BUTTRESS = cmb_PlanBuress.Text.ToString().Trim();
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "UPDATE_PLAN", new object[] { GUID, PLAN_CAR_NO, PLAN_BUTTRESS }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("修改成功!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+	}
+}

+ 2977 - 0
Client/.svn/pristine/09/099846680522f42c94b5123f1d8b8eaca3d650ca.svn-base

@@ -0,0 +1,2977 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using Infragistics.Win.UltraWinGrid;
+using Core.XgMes.Client.StorageBase;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Frm_TurnoSendCan 的摘要说明。
+	/// </summary>
+	public class Frm_TurnoSendCan : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_AskPlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AskPlanID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCode;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ListCode;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CoilID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CoilID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactNO;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DeliveryTime;
+		private System.Windows.Forms.Panel panel2;
+		private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+		private System.Windows.Forms.Panel panel3;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.Misc.UltraButton btn_NSendID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_SendPactNO;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+		private Infragistics.Win.UltraWinEditors.UltraOptionSet Ops_SendType;
+		private Infragistics.Win.Misc.UltraButton Btn_GetListCoding;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coil_ID;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Remark;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassTeam;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassOrder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_SendMan;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_ListCoding;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_VecihleNO;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_AskPlan;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+		private Infragistics.Win.Misc.UltraButton Btn_SendBillet;
+		private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scouid;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendTime;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coid_TOP;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coid_End;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Send;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QX;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_IncpName;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Station;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_UserBM;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_UserName;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_EndTime;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
+		private Infragistics.Win.Misc.UltraButton ultraButton1;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultBJPactno;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_PLD;
+        private UltraGrid ultraGrid2;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_ZL;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private UltraCombo Cmb_Txt_ListCodingTop;
+        private Infragistics.Win.Misc.UltraButton btn_zlupdate;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZYCH;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_TurnoSendCan()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 13, true);
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CREATOR", 23, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "XJJL_WEIGHT", 24, true);
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "MJ", 25, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "MJ", 25, true);
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISVALID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_ROUTE", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROUTE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANVEHICLEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LISTNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PICKSTORAGETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLEARFLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BJ_PACTNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PICKSTORAGEMAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRAINWAGON_NZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSFERLINE");
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 13, true);
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings6 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 12, true);
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings7 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 19, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 19, true);
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings8 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "COIL_NO_ID", 6, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "COIL_NO_ID", 6, true);
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings9 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "XJJL_WEIGHT", 24, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "XJJL_WEIGHT", 24, true);
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings10 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "MJ", 25, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "MJ", 25, true);
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("COLSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("COLSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ASKPLAN_ID", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Descending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERCODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCEPTCORPCODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCEPTDATE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STATIONNAME");
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Send = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_UserName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_UserBM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ListCode = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_ListCode = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_CoilID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_CoilID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_DeliveryTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.ultraTabControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.txt_ZYCH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.btn_zlupdate = new Infragistics.Win.Misc.UltraButton();
+            this.Cmb_Txt_ListCodingTop = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Cmb_ZL = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_PLD = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultBJPactno = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Station = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_IncpName = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_Coid_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Coid_TOP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Dte_SendTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_Scouid = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Btn_SendBillet = new Infragistics.Win.Misc.UltraButton();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_QX = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.btn_NSendID = new Infragistics.Win.Misc.UltraButton();
+            this.Txt_SendPactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.Ops_SendType = new Infragistics.Win.UltraWinEditors.UltraOptionSet();
+            this.Btn_GetListCoding = new Infragistics.Win.Misc.UltraButton();
+            this.txt_Coil_ID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_SendMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_ListCoding = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_AskPlan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit();
+            this.ultraTabPageControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Send)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserBM)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_CoilID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).BeginInit();
+            this.ultraTabControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZYCH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ZL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_PLD)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultBJPactno)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Station)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IncpName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_End)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_TOP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scouid)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Ops_SendType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coil_ID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.gb_Turn);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(1016, 159);
+            // 
+            // gb_Turn
+            // 
+            ultraGridColumn1.Header.Caption = "卷板包号";
+            ultraGridColumn1.Header.VisiblePosition = 15;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 2;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "垛位";
+            ultraGridColumn5.Header.VisiblePosition = 14;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "订单号";
+            ultraGridColumn6.Header.VisiblePosition = 3;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "牌号";
+            ultraGridColumn7.Header.VisiblePosition = 9;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "厚度";
+            ultraGridColumn8.Header.VisiblePosition = 4;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "宽度";
+            ultraGridColumn9.Header.VisiblePosition = 5;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "长度";
+            ultraGridColumn10.Header.VisiblePosition = 6;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "数量";
+            ultraGridColumn11.Header.VisiblePosition = 8;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "炉号";
+            ultraGridColumn12.Header.VisiblePosition = 16;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "批号";
+            ultraGridColumn13.Header.VisiblePosition = 17;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn14.Header.Caption = "理论重量";
+            ultraGridColumn14.Header.VisiblePosition = 7;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "综合判定";
+            ultraGridColumn15.Header.VisiblePosition = 10;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "执行标准";
+            ultraGridColumn16.Header.VisiblePosition = 18;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "卷板总包号";
+            ultraGridColumn17.Header.VisiblePosition = 19;
+            ultraGridColumn17.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(128, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "缺陷1";
+            ultraGridColumn18.Header.VisiblePosition = 11;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "质保书编号";
+            ultraGridColumn19.Header.VisiblePosition = 13;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "车辆号";
+            ultraGridColumn20.Header.VisiblePosition = 12;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "班次";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "班组";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "登记时间";
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "登记人";
+            ultraGridColumn24.Header.VisiblePosition = 23;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn25.Header.Caption = "过磅重量";
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "面积";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26});
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}吨";
+            summarySettings1.GroupBySummaryValueAppearance = appearance1;
+            summarySettings2.DisplayFormat = "{0}块";
+            summarySettings2.GroupBySummaryValueAppearance = appearance2;
+            summarySettings3.DisplayFormat = "{0}吨";
+            summarySettings3.GroupBySummaryValueAppearance = appearance3;
+            summarySettings4.GroupBySummaryValueAppearance = appearance4;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2,
+            summarySettings3,
+            summarySettings4});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Turn.DisplayLayout.Override.CellPadding = 0;
+            this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Turn.Location = new System.Drawing.Point(0, 0);
+            this.gb_Turn.Name = "gb_Turn";
+            this.gb_Turn.Size = new System.Drawing.Size(1016, 159);
+            this.gb_Turn.TabIndex = 0;
+            // 
+            // ultraTabPageControl2
+            // 
+            this.ultraTabPageControl2.Controls.Add(this.gb_Send);
+            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
+            this.ultraTabPageControl2.Size = new System.Drawing.Size(1016, 159);
+            // 
+            // gb_Send
+            // 
+            ultraGridColumn27.Header.Caption = "确认";
+            ultraGridColumn27.Header.VisiblePosition = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "收货单位";
+            ultraGridColumn28.Header.VisiblePosition = 2;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(146, 0);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "到站";
+            ultraGridColumn29.Header.VisiblePosition = 3;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "发运号";
+            ultraGridColumn30.Header.VisiblePosition = 5;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(116, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "车号";
+            ultraGridColumn31.Header.VisiblePosition = 7;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "明细号";
+            ultraGridColumn32.Header.VisiblePosition = 9;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.Caption = "卷板包号";
+            ultraGridColumn33.Header.VisiblePosition = 13;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(136, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "钢卷号";
+            ultraGridColumn34.Header.VisiblePosition = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "牌号";
+            ultraGridColumn35.Header.VisiblePosition = 11;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "厚度";
+            ultraGridColumn36.Header.VisiblePosition = 14;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "宽度";
+            ultraGridColumn37.Header.VisiblePosition = 4;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "长度";
+            ultraGridColumn38.Header.VisiblePosition = 6;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "数量";
+            ultraGridColumn39.Header.VisiblePosition = 8;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "理论重量";
+            ultraGridColumn40.Header.VisiblePosition = 10;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(97, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "发运时间";
+            ultraGridColumn41.Header.VisiblePosition = 15;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "炉号";
+            ultraGridColumn42.Header.VisiblePosition = 16;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "垛位";
+            ultraGridColumn43.Header.VisiblePosition = 12;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "合同号";
+            ultraGridColumn44.Header.VisiblePosition = 17;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(130, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.VisiblePosition = 18;
+            ultraGridColumn45.Hidden = true;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "过磅总量";
+            ultraGridColumn46.Header.VisiblePosition = 19;
+            ultraGridColumn46.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "备注";
+            ultraGridColumn47.Header.VisiblePosition = 20;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "销售合同号";
+            ultraGridColumn48.Header.VisiblePosition = 21;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "发运人";
+            ultraGridColumn49.Header.VisiblePosition = 22;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "登记人";
+            ultraGridColumn50.Header.VisiblePosition = 23;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "过磅重量";
+            ultraGridColumn51.Header.VisiblePosition = 24;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "面积";
+            ultraGridColumn52.Header.VisiblePosition = 25;
+            ultraGridColumn52.Hidden = true;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "转运车号";
+            ultraGridColumn53.Header.VisiblePosition = 26;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "运输方式";
+            ultraGridColumn54.Header.VisiblePosition = 27;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "转运单位";
+            ultraGridColumn55.Header.VisiblePosition = 28;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55});
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings5.DisplayFormat = "{0}吨";
+            summarySettings5.GroupBySummaryValueAppearance = appearance5;
+            summarySettings6.DisplayFormat = "{0}块";
+            summarySettings6.GroupBySummaryValueAppearance = appearance6;
+            summarySettings7.DisplayFormat = "{0}吨";
+            summarySettings7.GroupBySummaryValueAppearance = appearance7;
+            summarySettings8.DisplayFormat = "{0}包";
+            summarySettings8.GroupBySummaryValueAppearance = appearance8;
+            summarySettings9.DisplayFormat = "{0}吨";
+            summarySettings9.GroupBySummaryValueAppearance = appearance9;
+            summarySettings10.GroupBySummaryValueAppearance = appearance10;
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings5,
+            summarySettings6,
+            summarySettings7,
+            summarySettings8,
+            summarySettings9,
+            summarySettings10});
+            ultraGridBand2.UseRowLayout = true;
+            this.gb_Send.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gb_Send.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Send.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_Send.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Send.DisplayLayout.Override.CellPadding = 0;
+            this.gb_Send.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_Send.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Send.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_Send.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Send.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Send.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_Send.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_Send.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Send.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Send.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Send.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Send.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Send.Location = new System.Drawing.Point(0, 0);
+            this.gb_Send.Name = "gb_Send";
+            this.gb_Send.Size = new System.Drawing.Size(1016, 159);
+            this.gb_Send.TabIndex = 0;
+            this.gb_Send.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gb_Send_InitializeRow);
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1020, 24);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool7.SharedProps.Caption = "排车信息查询";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "发运查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "删除发运";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "打印明细";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "关闭";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "导出";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1020, 27);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1020, 27);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1020, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.ultraTextEditor2);
+            this.ultraGroupBox1.Controls.Add(this.ultraTextEditor1);
+            this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.Dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.Dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.txt_UserName);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel15);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel13);
+            this.ultraGroupBox1.Controls.Add(this.txt_UserBM);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel11);
+            this.ultraGroupBox1.Controls.Add(this.txt_AskPlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_AskPlanID);
+            this.ultraGroupBox1.Controls.Add(this.txt_ListCode);
+            this.ultraGroupBox1.Controls.Add(this.chk_ListCode);
+            this.ultraGroupBox1.Controls.Add(this.txt_CoilID);
+            this.ultraGroupBox1.Controls.Add(this.chk_CoilID);
+            this.ultraGroupBox1.Controls.Add(this.Txt_PactNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_DeliveryTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1020, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.BackColor = System.Drawing.Color.White;
+            this.chk_AllowFilter.Location = new System.Drawing.Point(904, 27);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 146;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // txt_GangJuan
+            // 
+            this.txt_GangJuan.AutoSize = true;
+            this.txt_GangJuan.Enabled = false;
+            this.txt_GangJuan.FlatMode = true;
+            this.txt_GangJuan.Location = new System.Drawing.Point(616, 6);
+            this.txt_GangJuan.Name = "txt_GangJuan";
+            this.txt_GangJuan.Size = new System.Drawing.Size(96, 19);
+            this.txt_GangJuan.TabIndex = 145;
+            this.txt_GangJuan.Tag = "";
+            // 
+            // ultraTextEditor2
+            // 
+            this.ultraTextEditor2.AutoSize = true;
+            this.ultraTextEditor2.Enabled = false;
+            this.ultraTextEditor2.FlatMode = true;
+            this.ultraTextEditor2.Location = new System.Drawing.Point(360, 6);
+            this.ultraTextEditor2.Name = "ultraTextEditor2";
+            this.ultraTextEditor2.Size = new System.Drawing.Size(32, 19);
+            this.ultraTextEditor2.TabIndex = 144;
+            this.ultraTextEditor2.Tag = "";
+            // 
+            // ultraTextEditor1
+            // 
+            this.ultraTextEditor1.AutoSize = true;
+            this.ultraTextEditor1.Enabled = false;
+            this.ultraTextEditor1.FlatMode = true;
+            this.ultraTextEditor1.Location = new System.Drawing.Point(272, 6);
+            this.ultraTextEditor1.Name = "ultraTextEditor1";
+            this.ultraTextEditor1.Size = new System.Drawing.Size(88, 19);
+            this.ultraTextEditor1.TabIndex = 143;
+            this.ultraTextEditor1.Tag = "";
+            // 
+            // chk_GangJuan
+            // 
+            this.chk_GangJuan.BackColor = System.Drawing.Color.White;
+            this.chk_GangJuan.FlatMode = true;
+            this.chk_GangJuan.Location = new System.Drawing.Point(560, 10);
+            this.chk_GangJuan.Name = "chk_GangJuan";
+            this.chk_GangJuan.Size = new System.Drawing.Size(60, 14);
+            this.chk_GangJuan.TabIndex = 142;
+            this.chk_GangJuan.Text = "钢卷号";
+            this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
+            // 
+            // Dte_EndTime
+            // 
+            this.Dte_EndTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_EndTime.Enabled = false;
+            this.Dte_EndTime.FlatMode = true;
+            this.Dte_EndTime.Location = new System.Drawing.Point(56, 26);
+            this.Dte_EndTime.Name = "Dte_EndTime";
+            this.Dte_EndTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_EndTime.TabIndex = 141;
+            this.Dte_EndTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            // 
+            // Dte_BeginTime
+            // 
+            this.Dte_BeginTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_BeginTime.Enabled = false;
+            this.Dte_BeginTime.FlatMode = true;
+            this.Dte_BeginTime.Location = new System.Drawing.Point(56, 4);
+            this.Dte_BeginTime.Name = "Dte_BeginTime";
+            this.Dte_BeginTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_BeginTime.TabIndex = 140;
+            this.Dte_BeginTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            // 
+            // txt_UserName
+            // 
+            this.txt_UserName.AutoSize = true;
+            this.txt_UserName.FlatMode = true;
+            this.txt_UserName.Location = new System.Drawing.Point(776, 28);
+            this.txt_UserName.Name = "txt_UserName";
+            this.txt_UserName.Size = new System.Drawing.Size(120, 19);
+            this.txt_UserName.TabIndex = 137;
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.BackColor = System.Drawing.Color.White;
+            this.ultraLabel15.Location = new System.Drawing.Point(720, 30);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 136;
+            this.ultraLabel15.Text = "用户名称";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.BackColor = System.Drawing.Color.White;
+            this.ultraLabel13.Location = new System.Drawing.Point(720, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 135;
+            this.ultraLabel13.Text = "用户编码";
+            // 
+            // txt_UserBM
+            // 
+            this.txt_UserBM.AutoSize = true;
+            this.txt_UserBM.FlatMode = true;
+            this.txt_UserBM.Location = new System.Drawing.Point(776, 4);
+            this.txt_UserBM.Name = "txt_UserBM";
+            this.txt_UserBM.Size = new System.Drawing.Size(120, 19);
+            this.txt_UserBM.TabIndex = 134;
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.BackColor = System.Drawing.Color.Red;
+            this.ultraLabel11.Font = new System.Drawing.Font("宋体", 9.4F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraLabel11.Location = new System.Drawing.Point(560, 27);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(152, 20);
+            this.ultraLabel11.TabIndex = 133;
+            this.ultraLabel11.Text = "颜色表示不满足交货需求";
+            // 
+            // txt_AskPlanID
+            // 
+            this.txt_AskPlanID.AutoSize = true;
+            this.txt_AskPlanID.Enabled = false;
+            this.txt_AskPlanID.FlatMode = true;
+            this.txt_AskPlanID.Location = new System.Drawing.Point(456, 6);
+            this.txt_AskPlanID.Name = "txt_AskPlanID";
+            this.txt_AskPlanID.Size = new System.Drawing.Size(98, 19);
+            this.txt_AskPlanID.TabIndex = 132;
+            this.txt_AskPlanID.Tag = "";
+            // 
+            // chk_AskPlanID
+            // 
+            this.chk_AskPlanID.BackColor = System.Drawing.Color.White;
+            this.chk_AskPlanID.FlatMode = true;
+            this.chk_AskPlanID.Location = new System.Drawing.Point(400, 10);
+            this.chk_AskPlanID.Name = "chk_AskPlanID";
+            this.chk_AskPlanID.Size = new System.Drawing.Size(60, 14);
+            this.chk_AskPlanID.TabIndex = 131;
+            this.chk_AskPlanID.Text = "发运号";
+            this.chk_AskPlanID.CheckedChanged += new System.EventHandler(this.chk_AskPlanID_CheckedChanged);
+            // 
+            // txt_ListCode
+            // 
+            this.txt_ListCode.AutoSize = true;
+            this.txt_ListCode.Enabled = false;
+            this.txt_ListCode.FlatMode = true;
+            this.txt_ListCode.Location = new System.Drawing.Point(456, 28);
+            this.txt_ListCode.Name = "txt_ListCode";
+            this.txt_ListCode.Size = new System.Drawing.Size(98, 19);
+            this.txt_ListCode.TabIndex = 130;
+            this.txt_ListCode.Tag = "";
+            // 
+            // chk_ListCode
+            // 
+            this.chk_ListCode.BackColor = System.Drawing.Color.White;
+            this.chk_ListCode.FlatMode = true;
+            this.chk_ListCode.Location = new System.Drawing.Point(400, 32);
+            this.chk_ListCode.Name = "chk_ListCode";
+            this.chk_ListCode.Size = new System.Drawing.Size(60, 14);
+            this.chk_ListCode.TabIndex = 129;
+            this.chk_ListCode.Text = "明细号";
+            this.chk_ListCode.CheckedChanged += new System.EventHandler(this.chk_ListCode_CheckedChanged);
+            // 
+            // txt_CoilID
+            // 
+            this.txt_CoilID.AutoSize = true;
+            this.txt_CoilID.Enabled = false;
+            this.txt_CoilID.FlatMode = true;
+            this.txt_CoilID.Location = new System.Drawing.Point(248, 6);
+            this.txt_CoilID.Name = "txt_CoilID";
+            this.txt_CoilID.Size = new System.Drawing.Size(24, 19);
+            this.txt_CoilID.TabIndex = 128;
+            this.txt_CoilID.Tag = "";
+            // 
+            // chk_CoilID
+            // 
+            this.chk_CoilID.BackColor = System.Drawing.Color.White;
+            this.chk_CoilID.FlatMode = true;
+            this.chk_CoilID.Location = new System.Drawing.Point(176, 8);
+            this.chk_CoilID.Name = "chk_CoilID";
+            this.chk_CoilID.Size = new System.Drawing.Size(72, 14);
+            this.chk_CoilID.TabIndex = 127;
+            this.chk_CoilID.Text = "卷板包号";
+            this.chk_CoilID.CheckedChanged += new System.EventHandler(this.chk_CoilID_CheckedChanged);
+            // 
+            // Txt_PactNO
+            // 
+            this.Txt_PactNO.AutoSize = true;
+            this.Txt_PactNO.Enabled = false;
+            this.Txt_PactNO.FlatMode = true;
+            this.Txt_PactNO.Location = new System.Drawing.Point(248, 28);
+            this.Txt_PactNO.Name = "Txt_PactNO";
+            this.Txt_PactNO.Size = new System.Drawing.Size(144, 19);
+            this.Txt_PactNO.TabIndex = 126;
+            this.Txt_PactNO.Tag = "";
+            // 
+            // chk_PactNO
+            // 
+            this.chk_PactNO.BackColor = System.Drawing.Color.White;
+            this.chk_PactNO.FlatMode = true;
+            this.chk_PactNO.Location = new System.Drawing.Point(176, 30);
+            this.chk_PactNO.Name = "chk_PactNO";
+            this.chk_PactNO.Size = new System.Drawing.Size(60, 14);
+            this.chk_PactNO.TabIndex = 125;
+            this.chk_PactNO.Text = "合同号";
+            this.chk_PactNO.CheckedChanged += new System.EventHandler(this.chk_PactNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.BackColor = System.Drawing.Color.White;
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(33, 27);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 123;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_DeliveryTime
+            // 
+            this.chk_DeliveryTime.BackColor = System.Drawing.Color.White;
+            this.chk_DeliveryTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_DeliveryTime.FlatMode = true;
+            this.chk_DeliveryTime.Location = new System.Drawing.Point(8, 8);
+            this.chk_DeliveryTime.Name = "chk_DeliveryTime";
+            this.chk_DeliveryTime.Size = new System.Drawing.Size(48, 14);
+            this.chk_DeliveryTime.TabIndex = 121;
+            this.chk_DeliveryTime.Text = "时间";
+            this.chk_DeliveryTime.CheckedChanged += new System.EventHandler(this.chk_DeliveryTime_CheckedChanged);
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.ultraGrid2);
+            this.panel2.Controls.Add(this.ultraGrid1);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 80);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1020, 144);
+            this.panel2.TabIndex = 2;
+            // 
+            // ultraGrid2
+            // 
+            ultraGridColumn56.Header.Caption = "发运号";
+            ultraGridColumn56.Header.VisiblePosition = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "合同号";
+            ultraGridColumn57.Header.VisiblePosition = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "客户名称";
+            ultraGridColumn58.Header.VisiblePosition = 2;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.Caption = "收货单位";
+            ultraGridColumn59.Header.VisiblePosition = 3;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "下车时间";
+            ultraGridColumn60.Header.VisiblePosition = 4;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "排车量";
+            ultraGridColumn61.Header.VisiblePosition = 6;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "车号";
+            ultraGridColumn62.Header.VisiblePosition = 5;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "备注";
+            ultraGridColumn63.Header.VisiblePosition = 7;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "到站";
+            ultraGridColumn64.Header.VisiblePosition = 8;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand3.Columns.AddRange(new object[] {
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64});
+            ultraGridBand3.UseRowLayout = true;
+            this.ultraGrid2.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
+            this.ultraGrid2.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid2.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid2.DisplayLayout.MaxColScrollRegions = 1;
+            this.ultraGrid2.DisplayLayout.MaxRowScrollRegions = 1;
+            this.ultraGrid2.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.ultraGrid2.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
+            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid2.Name = "ultraGrid2";
+            this.ultraGrid2.Size = new System.Drawing.Size(1020, 144);
+            this.ultraGrid2.TabIndex = 2;
+            this.ultraGrid2.Text = "ultraGrid2";
+            this.ultraGrid2.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.ultraGrid2_DoubleClickRow);
+            // 
+            // ultraGrid1
+            // 
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(1020, 144);
+            this.ultraGrid1.TabIndex = 1;
+            // 
+            // panel3
+            // 
+            this.panel3.Controls.Add(this.ultraTabControl1);
+            this.panel3.Controls.Add(this.ultraGroupBox2);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel3.Location = new System.Drawing.Point(0, 224);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(1020, 278);
+            this.panel3.TabIndex = 3;
+            // 
+            // ultraTabControl1
+            // 
+            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl1);
+            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl2);
+            this.ultraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraTabControl1.Location = new System.Drawing.Point(0, 96);
+            this.ultraTabControl1.Name = "ultraTabControl1";
+            this.ultraTabControl1.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.ultraTabControl1.Size = new System.Drawing.Size(1020, 182);
+            this.ultraTabControl1.TabIndex = 1;
+            ultraTab1.Key = "TAB_KF";
+            ultraTab1.TabPage = this.ultraTabPageControl1;
+            ultraTab1.Text = "可发信息";
+            ultraTab2.Key = "TAB_YF";
+            ultraTab2.TabPage = this.ultraTabPageControl2;
+            ultraTab2.Text = "已发信息";
+            this.ultraTabControl1.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1,
+            ultraTab2});
+            this.ultraTabControl1.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1016, 159);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.txt_ZYCH);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel20);
+            this.ultraGroupBox2.Controls.Add(this.btn_zlupdate);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_Txt_ListCodingTop);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_ZL);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel17);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_PLD);
+            this.ultraGroupBox2.Controls.Add(this.ultBJPactno);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel16);
+            this.ultraGroupBox2.Controls.Add(this.ultraButton1);
+            this.ultraGroupBox2.Controls.Add(this.txt_WEIGHT);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel19);
+            this.ultraGroupBox2.Controls.Add(this.cmb_Station);
+            this.ultraGroupBox2.Controls.Add(this.cmb_IncpName);
+            this.ultraGroupBox2.Controls.Add(this.txt_Coid_End);
+            this.ultraGroupBox2.Controls.Add(this.txt_Coid_TOP);
+            this.ultraGroupBox2.Controls.Add(this.Dte_SendTime);
+            this.ultraGroupBox2.Controls.Add(this.txt_Scouid);
+            this.ultraGroupBox2.Controls.Add(this.Btn_SendBillet);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel12);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel10);
+            this.ultraGroupBox2.Controls.Add(this.chk_QX);
+            this.ultraGroupBox2.Controls.Add(this.btn_NSendID);
+            this.ultraGroupBox2.Controls.Add(this.Txt_SendPactNO);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel18);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel14);
+            this.ultraGroupBox2.Controls.Add(this.Ops_SendType);
+            this.ultraGroupBox2.Controls.Add(this.Btn_GetListCoding);
+            this.ultraGroupBox2.Controls.Add(this.txt_Coil_ID);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel9);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel8);
+            this.ultraGroupBox2.Controls.Add(this.Txt_Remark);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel7);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_ClassTeam);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_ClassOrder);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox2.Controls.Add(this.Cmb_SendMan);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
+            this.ultraGroupBox2.Controls.Add(this.Txt_ListCoding);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel3);
+            this.ultraGroupBox2.Controls.Add(this.Txt_VecihleNO);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
+            this.ultraGroupBox2.Controls.Add(this.Txt_AskPlan);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1020, 96);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 0;
+            this.ultraGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            this.ultraGroupBox2.Click += new System.EventHandler(this.ultraGroupBox2_Click);
+            // 
+            // txt_ZYCH
+            // 
+            this.txt_ZYCH.AutoSize = true;
+            this.txt_ZYCH.FlatMode = true;
+            this.txt_ZYCH.Location = new System.Drawing.Point(264, 72);
+            this.txt_ZYCH.Name = "txt_ZYCH";
+            this.txt_ZYCH.Size = new System.Drawing.Size(144, 19);
+            this.txt_ZYCH.TabIndex = 679;
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel20.Location = new System.Drawing.Point(212, 72);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel20.TabIndex = 680;
+            this.ultraLabel20.Text = "转运车号";
+            // 
+            // btn_zlupdate
+            // 
+            this.btn_zlupdate.Location = new System.Drawing.Point(870, 68);
+            this.btn_zlupdate.Name = "btn_zlupdate";
+            this.btn_zlupdate.Size = new System.Drawing.Size(98, 24);
+            this.btn_zlupdate.TabIndex = 678;
+            this.btn_zlupdate.Text = "过磅重量修改";
+            this.btn_zlupdate.Visible = false;
+            this.btn_zlupdate.Click += new System.EventHandler(this.btn_zlupdate_Click);
+            // 
+            // Cmb_Txt_ListCodingTop
+            // 
+            this.Cmb_Txt_ListCodingTop.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxRowScrollRegions = 1;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellPadding = 0;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_Txt_ListCodingTop.DisplayMember = "";
+            this.Cmb_Txt_ListCodingTop.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_Txt_ListCodingTop.FlatMode = true;
+            this.Cmb_Txt_ListCodingTop.Location = new System.Drawing.Point(62, 48);
+            this.Cmb_Txt_ListCodingTop.Name = "Cmb_Txt_ListCodingTop";
+            this.Cmb_Txt_ListCodingTop.Size = new System.Drawing.Size(74, 19);
+            this.Cmb_Txt_ListCodingTop.TabIndex = 677;
+            this.Cmb_Txt_ListCodingTop.ValueMember = "";
+            // 
+            // Cmb_ZL
+            // 
+            this.Cmb_ZL.AutoSize = true;
+            valueListItem2.DataValue = "0";
+            valueListItem2.DisplayText = "小件计重";
+            valueListItem1.DataValue = valueListItem2;
+            valueListItem1.DisplayText = "小件计重";
+            valueListItem4.DataValue = "1";
+            valueListItem4.DisplayText = "过磅总重";
+            valueListItem3.DataValue = valueListItem4;
+            valueListItem3.DisplayText = "过磅总重";
+            this.Cmb_ZL.Items.Add(valueListItem1);
+            this.Cmb_ZL.Items.Add(valueListItem3);
+            this.Cmb_ZL.Location = new System.Drawing.Point(690, 71);
+            this.Cmb_ZL.Name = "Cmb_ZL";
+            this.Cmb_ZL.Size = new System.Drawing.Size(84, 21);
+            this.Cmb_ZL.TabIndex = 210;
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(632, 75);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel17.TabIndex = 209;
+            this.ultraLabel17.Text = "打印方式";
+            // 
+            // Cmb_PLD
+            // 
+            this.Cmb_PLD.AutoSize = true;
+            this.Cmb_PLD.Location = new System.Drawing.Point(850, 27);
+            this.Cmb_PLD.Name = "Cmb_PLD";
+            this.Cmb_PLD.Size = new System.Drawing.Size(84, 21);
+            this.Cmb_PLD.TabIndex = 208;
+            // 
+            // ultBJPactno
+            // 
+            this.ultBJPactno.AutoSize = true;
+            this.ultBJPactno.FlatMode = true;
+            this.ultBJPactno.Location = new System.Drawing.Point(264, 27);
+            this.ultBJPactno.Name = "ultBJPactno";
+            this.ultBJPactno.Size = new System.Drawing.Size(144, 19);
+            this.ultBJPactno.TabIndex = 206;
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel16.Location = new System.Drawing.Point(212, 28);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel16.TabIndex = 207;
+            this.ultraLabel16.Text = "销售合同号";
+            // 
+            // ultraButton1
+            // 
+            this.ultraButton1.FlatMode = true;
+            this.ultraButton1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraButton1.Location = new System.Drawing.Point(175, 27);
+            this.ultraButton1.Name = "ultraButton1";
+            this.ultraButton1.Size = new System.Drawing.Size(37, 20);
+            this.ultraButton1.TabIndex = 205;
+            this.ultraButton1.Text = "修改";
+            this.ultraButton1.Visible = false;
+            this.ultraButton1.Click += new System.EventHandler(this.ultraButton1_Click);
+            // 
+            // txt_WEIGHT
+            // 
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(632, 28);
+            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.Size = new System.Drawing.Size(144, 19);
+            this.txt_WEIGHT.TabIndex = 12;
+            this.txt_WEIGHT.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.Location = new System.Drawing.Point(575, 31);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel19.TabIndex = 100;
+            this.ultraLabel19.Text = "过磅重量";
+            // 
+            // cmb_Station
+            // 
+            this.cmb_Station.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Station.DisplayMember = "";
+            this.cmb_Station.Location = new System.Drawing.Point(264, 47);
+            this.cmb_Station.Name = "cmb_Station";
+            this.cmb_Station.Size = new System.Drawing.Size(144, 21);
+            this.cmb_Station.TabIndex = 7;
+            this.cmb_Station.ValueMember = "";
+            this.cmb_Station.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.cmb_Station.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // cmb_IncpName
+            // 
+            this.cmb_IncpName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_IncpName.DisplayMember = "";
+            this.cmb_IncpName.Location = new System.Drawing.Point(62, 70);
+            this.cmb_IncpName.Name = "cmb_IncpName";
+            this.cmb_IncpName.Size = new System.Drawing.Size(134, 21);
+            this.cmb_IncpName.TabIndex = 6;
+            this.cmb_IncpName.ValueMember = "";
+            this.cmb_IncpName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.cmb_IncpName.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // txt_Coid_End
+            // 
+            this.txt_Coid_End.AutoSize = true;
+            this.txt_Coid_End.FlatMode = true;
+            this.txt_Coid_End.Location = new System.Drawing.Point(743, 49);
+            this.txt_Coid_End.Name = "txt_Coid_End";
+            this.txt_Coid_End.Size = new System.Drawing.Size(32, 19);
+            this.txt_Coid_End.TabIndex = 16;
+            this.txt_Coid_End.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Coid_End.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // txt_Coid_TOP
+            // 
+            this.txt_Coid_TOP.AutoSize = true;
+            this.txt_Coid_TOP.FlatMode = true;
+            this.txt_Coid_TOP.Location = new System.Drawing.Point(663, 49);
+            this.txt_Coid_TOP.MaxLength = 10;
+            this.txt_Coid_TOP.Name = "txt_Coid_TOP";
+            this.txt_Coid_TOP.Size = new System.Drawing.Size(81, 19);
+            this.txt_Coid_TOP.TabIndex = 15;
+            this.txt_Coid_TOP.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Coid_TOP.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // Dte_SendTime
+            // 
+            this.Dte_SendTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_SendTime.Location = new System.Drawing.Point(632, 4);
+            this.Dte_SendTime.Name = "Dte_SendTime";
+            this.Dte_SendTime.Size = new System.Drawing.Size(144, 21);
+            this.Dte_SendTime.TabIndex = 11;
+            this.Dte_SendTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
+            this.Dte_SendTime.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Dte_SendTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // txt_Scouid
+            // 
+            this.txt_Scouid.AutoSize = true;
+            this.txt_Scouid.FlatMode = true;
+            this.txt_Scouid.Location = new System.Drawing.Point(138, 49);
+            this.txt_Scouid.Name = "txt_Scouid";
+            this.txt_Scouid.Size = new System.Drawing.Size(75, 19);
+            this.txt_Scouid.TabIndex = 4;
+            this.txt_Scouid.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Scouid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // Btn_SendBillet
+            // 
+            this.Btn_SendBillet.Location = new System.Drawing.Point(792, 68);
+            this.Btn_SendBillet.Name = "Btn_SendBillet";
+            this.Btn_SendBillet.Size = new System.Drawing.Size(72, 24);
+            this.Btn_SendBillet.TabIndex = 17;
+            this.Btn_SendBillet.Text = "发运登记";
+            this.Btn_SendBillet.Click += new System.EventHandler(this.Btn_SendBillet_Click);
+            this.Btn_SendBillet.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Btn_SendBillet.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(792, 31);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel12.TabIndex = 97;
+            this.ultraLabel12.Text = "转运单位";
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel10.Location = new System.Drawing.Point(240, 52);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel10.TabIndex = 96;
+            this.ultraLabel10.Text = "到站";
+            // 
+            // chk_QX
+            // 
+            this.chk_QX.FlatMode = true;
+            this.chk_QX.Location = new System.Drawing.Point(792, 50);
+            this.chk_QX.Name = "chk_QX";
+            this.chk_QX.Size = new System.Drawing.Size(76, 16);
+            this.chk_QX.TabIndex = 203;
+            this.chk_QX.Text = "强行发运";
+            // 
+            // btn_NSendID
+            // 
+            this.btn_NSendID.FlatMode = true;
+            this.btn_NSendID.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btn_NSendID.Location = new System.Drawing.Point(174, 6);
+            this.btn_NSendID.Name = "btn_NSendID";
+            this.btn_NSendID.Size = new System.Drawing.Size(22, 20);
+            this.btn_NSendID.TabIndex = 92;
+            this.btn_NSendID.Text = "……";
+            this.btn_NSendID.Visible = false;
+            this.btn_NSendID.Click += new System.EventHandler(this.btn_NSendID_Click);
+            // 
+            // Txt_SendPactNO
+            // 
+            this.Txt_SendPactNO.AutoSize = true;
+            this.Txt_SendPactNO.FlatMode = true;
+            this.Txt_SendPactNO.Location = new System.Drawing.Point(264, 6);
+            this.Txt_SendPactNO.Name = "Txt_SendPactNO";
+            this.Txt_SendPactNO.ReadOnly = true;
+            this.Txt_SendPactNO.Size = new System.Drawing.Size(144, 19);
+            this.Txt_SendPactNO.TabIndex = 5;
+            this.Txt_SendPactNO.ValueChanged += new System.EventHandler(this.Txt_SendPactNO_ValueChanged);
+            this.Txt_SendPactNO.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_SendPactNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel18.Location = new System.Drawing.Point(224, 8);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel18.TabIndex = 91;
+            this.ultraLabel18.Text = "合同号";
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel14.Location = new System.Drawing.Point(4, 72);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 90;
+            this.ultraLabel14.Text = "订货单位";
+            // 
+            // Ops_SendType
+            // 
+            this.Ops_SendType.BackColor = System.Drawing.Color.Transparent;
+            this.Ops_SendType.FlatMode = true;
+            this.Ops_SendType.ItemAppearance = appearance11;
+            valueListItem6.DataValue = "0";
+            valueListItem6.DisplayText = "正常发运";
+            valueListItem5.DataValue = valueListItem6;
+            valueListItem5.DisplayText = "正常发运";
+            this.Ops_SendType.Items.Add(valueListItem5);
+            this.Ops_SendType.Location = new System.Drawing.Point(792, 6);
+            this.Ops_SendType.Name = "Ops_SendType";
+            this.Ops_SendType.Size = new System.Drawing.Size(72, 18);
+            this.Ops_SendType.TabIndex = 201;
+            this.Ops_SendType.ValueChanged += new System.EventHandler(this.Ops_SendType_ValueChanged);
+            // 
+            // Btn_GetListCoding
+            // 
+            this.Btn_GetListCoding.FlatMode = true;
+            this.Btn_GetListCoding.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Btn_GetListCoding.Location = new System.Drawing.Point(215, 48);
+            this.Btn_GetListCoding.Name = "Btn_GetListCoding";
+            this.Btn_GetListCoding.Size = new System.Drawing.Size(22, 20);
+            this.Btn_GetListCoding.TabIndex = 87;
+            this.Btn_GetListCoding.Text = "……";
+            this.Btn_GetListCoding.Click += new System.EventHandler(this.Btn_GetListCoding_Click);
+            // 
+            // txt_Coil_ID
+            // 
+            this.txt_Coil_ID.AutoSize = true;
+            this.txt_Coil_ID.FlatMode = true;
+            this.txt_Coil_ID.Location = new System.Drawing.Point(632, 49);
+            this.txt_Coil_ID.MaxLength = 2;
+            this.txt_Coil_ID.Name = "txt_Coil_ID";
+            this.txt_Coil_ID.Size = new System.Drawing.Size(32, 19);
+            this.txt_Coil_ID.TabIndex = 14;
+            this.txt_Coil_ID.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.txt_Coil_ID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(575, 52);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel9.TabIndex = 86;
+            this.ultraLabel9.Text = "卷板包号";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(575, 8);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 83;
+            this.ultraLabel8.Text = "发运时间";
+            // 
+            // Txt_Remark
+            // 
+            this.Txt_Remark.AutoSize = true;
+            this.Txt_Remark.FlatMode = true;
+            this.Txt_Remark.Location = new System.Drawing.Point(468, 72);
+            this.Txt_Remark.Multiline = true;
+            this.Txt_Remark.Name = "Txt_Remark";
+            this.Txt_Remark.Size = new System.Drawing.Size(161, 19);
+            this.Txt_Remark.TabIndex = 13;
+            this.Txt_Remark.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel7.Location = new System.Drawing.Point(410, 74);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 81;
+            this.ultraLabel7.Text = "发运备注";
+            // 
+            // Cmb_ClassTeam
+            // 
+            this.Cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.Cmb_ClassTeam.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassTeam.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassTeam.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassTeam.DisplayLayout.MaxRowScrollRegions = 1;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellPadding = 0;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassTeam.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassTeam.DisplayMember = "";
+            this.Cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_ClassTeam.FlatMode = true;
+            this.Cmb_ClassTeam.Location = new System.Drawing.Point(466, 49);
+            this.Cmb_ClassTeam.Name = "Cmb_ClassTeam";
+            this.Cmb_ClassTeam.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_ClassTeam.TabIndex = 10;
+            this.Cmb_ClassTeam.ValueMember = "";
+            this.Cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.Cmb_ClassTeam.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(410, 52);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 77;
+            this.ultraLabel6.Text = "发运班组";
+            // 
+            // Cmb_ClassOrder
+            // 
+            this.Cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.Cmb_ClassOrder.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassOrder.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassOrder.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassOrder.DisplayLayout.MaxRowScrollRegions = 1;
+            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellPadding = 0;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.Cmb_ClassOrder.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_ClassOrder.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassOrder.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassOrder.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassOrder.DisplayMember = "";
+            this.Cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_ClassOrder.FlatMode = true;
+            this.Cmb_ClassOrder.Location = new System.Drawing.Point(466, 28);
+            this.Cmb_ClassOrder.Name = "Cmb_ClassOrder";
+            this.Cmb_ClassOrder.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_ClassOrder.TabIndex = 9;
+            this.Cmb_ClassOrder.ValueMember = "";
+            this.Cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.Cmb_ClassOrder.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(410, 31);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel5.TabIndex = 75;
+            this.ultraLabel5.Text = "发运班次";
+            // 
+            // Cmb_SendMan
+            // 
+            this.Cmb_SendMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.Cmb_SendMan.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_SendMan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_SendMan.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_SendMan.DisplayLayout.MaxRowScrollRegions = 1;
+            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_SendMan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_SendMan.DisplayLayout.Override.CellPadding = 0;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.Cmb_SendMan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.Cmb_SendMan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_SendMan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_SendMan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_SendMan.DisplayMember = "";
+            this.Cmb_SendMan.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_SendMan.FlatMode = true;
+            this.Cmb_SendMan.Location = new System.Drawing.Point(466, 6);
+            this.Cmb_SendMan.Name = "Cmb_SendMan";
+            this.Cmb_SendMan.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_SendMan.TabIndex = 8;
+            this.Cmb_SendMan.ValueMember = "";
+            this.Cmb_SendMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            this.Cmb_SendMan.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel4.Location = new System.Drawing.Point(418, 8);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel4.TabIndex = 73;
+            this.ultraLabel4.Text = "发运人";
+            // 
+            // Txt_ListCoding
+            // 
+            this.Txt_ListCoding.AutoSize = true;
+            this.Txt_ListCoding.FlatMode = true;
+            this.Txt_ListCoding.Location = new System.Drawing.Point(954, 29);
+            this.Txt_ListCoding.Name = "Txt_ListCoding";
+            this.Txt_ListCoding.Size = new System.Drawing.Size(30, 19);
+            this.Txt_ListCoding.TabIndex = 3;
+            this.Txt_ListCoding.Text = "KP9";
+            this.Txt_ListCoding.Visible = false;
+            this.Txt_ListCoding.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_ListCoding.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(4, 52);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 72;
+            this.ultraLabel3.Text = "明细编码";
+            // 
+            // Txt_VecihleNO
+            // 
+            this.Txt_VecihleNO.AutoSize = true;
+            this.Txt_VecihleNO.FlatMode = true;
+            this.Txt_VecihleNO.Location = new System.Drawing.Point(62, 28);
+            this.Txt_VecihleNO.Name = "Txt_VecihleNO";
+            this.Txt_VecihleNO.Size = new System.Drawing.Size(112, 19);
+            this.Txt_VecihleNO.TabIndex = 2;
+            this.Txt_VecihleNO.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_VecihleNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(4, 31);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel2.TabIndex = 70;
+            this.ultraLabel2.Text = "发运车号";
+            // 
+            // Txt_AskPlan
+            // 
+            this.Txt_AskPlan.AutoSize = true;
+            this.Txt_AskPlan.FlatMode = true;
+            this.Txt_AskPlan.Location = new System.Drawing.Point(62, 6);
+            this.Txt_AskPlan.Name = "Txt_AskPlan";
+            this.Txt_AskPlan.ReadOnly = true;
+            this.Txt_AskPlan.Size = new System.Drawing.Size(112, 19);
+            this.Txt_AskPlan.TabIndex = 1;
+            this.Txt_AskPlan.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
+            this.Txt_AskPlan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel1.Location = new System.Drawing.Point(4, 8);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel1.TabIndex = 67;
+            this.ultraLabel1.Text = "发运号码";
+            // 
+            // Frm_TurnoSendCan
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1020, 502);
+            this.Controls.Add(this.panel3);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_TurnoSendCan";
+            this.Text = "卷板开平转运信息登记";
+            this.Load += new System.EventHandler(this.Frm_TurnoSendCan_Load);
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit();
+            this.ultraTabPageControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Send)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_UserBM)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_CoilID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).EndInit();
+            this.ultraTabControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZYCH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ZL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_PLD)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultBJPactno)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Station)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IncpName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_End)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_TOP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scouid)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Ops_SendType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Coil_ID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+		private string getWhere()
+		{
+			string strSql="";
+			if(chk_DeliveryTime.Checked)
+			{
+				strSql += " AND TO_CHAR(A.PICKSTORAGETIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.Dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+					+ " AND TO_CHAR(A.PICKSTORAGETIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.Dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+			}
+			if(this.chk_CoilID.Checked)
+			{
+				strSql+=" AND A.COIL_NO_ID  like '"+txt_CoilID.Text+"%'";
+			}
+			if(this.chk_PactNO.Checked)
+			{
+				strSql+=" AND A.ORD_NO like'%"+this.Txt_PactNO.Text+"%'";
+			}
+			if(this.chk_AskPlanID.Checked)
+			{
+				strSql+=" AND A.PLANVEHICLEID LIKE '%"+this.txt_AskPlanID.Text+"%'";
+			}
+			if(this.chk_ListCode.Checked)
+			{
+				strSql+=" AND LISTNUMBER LIKE '%"+this.txt_ListCode.Text+"%'";
+			}
+			if(this.chk_GangJuan.Checked)
+			{
+				strSql+=" AND A.OLD_SAMPL_NO LIKE '%"+this.txt_GangJuan.Text+"%'";
+			}
+			return strSql;
+		}
+		private void SendQuery(string _Conntion)
+		{
+           
+			try
+			{
+				string strOut="";
+
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_ZH", new object[] { _Conntion }, out strOut);
+				this.gb_Send.DataSource=ds;
+             
+				this.gb_Send.UpdateData();
+				Comm.SetGridSumArea(this.gb_Send);
+
+                //if (Convert.ToDecimal(this.gb_Send.Rows.SummaryValues[0].Value) > 0)
+                //{
+                //    System.Decimal Weight = Math.Round(Convert.ToDecimal(this.gb_Send.Rows.SummaryValues[3].Value), 3);
+                //    this.gb_Send.DisplayLayout.Bands[0].Summaries[7].DisplayFormat = Convert.ToString(Weight);
+                //}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private bool CheckAdd()
+		{
+			if(this.txt_Scouid.Text.Trim().Length==0)
+			{
+				MessageBox.Show("明细号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+//			if(this.Txt_AskPlan.Text.Trim().Length==0)
+//			{
+//				MessageBox.Show("发运号码不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+//				return false;
+//			}
+			if(Txt_VecihleNO.Text.Trim().Length==0)
+			{
+				MessageBox.Show("发运车号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.Txt_SendPactNO.Text.Trim().Length==0)
+			{
+				MessageBox.Show("合同号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(cmb_IncpName.Text.Trim().Length==0&&cmb_Station.Text.Trim().Length==0)
+			{
+				MessageBox.Show("订货单位,到站不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.Cmb_ClassOrder.Text.Trim().Length==0&&this.Cmb_ClassTeam.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班次,班组不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.txt_Coil_ID.Text.Trim().Length==0&&this.txt_Coid_TOP.Text.Trim().Length==0&&this.txt_Coid_End.Text.Trim().Length==0)
+			{
+				MessageBox.Show("卷板包号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			return true;
+		}
+		private void Btn_SendBillet_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(!CheckAdd())
+				{
+					return;
+				}
+				string strOut="";
+				ArrayList Other=new ArrayList();
+				Other.Add(this.Txt_AskPlan.Text);
+				Other.Add(this.Txt_VecihleNO.Text);
+                Other.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
+				Other.Add(this.Txt_SendPactNO.Text);
+				Other.Add(this.cmb_IncpName.Text);
+				Other.Add(cmb_Station.Text);
+				Other.Add(Cmb_SendMan.Text);
+				Other.Add(Cmb_ClassOrder.Value.ToString());
+				Other.Add(Cmb_ClassTeam.Value.ToString());
+				Other.Add(Dte_SendTime.Value.ToString());
+				Other.Add(this.txt_Coil_ID.Text+"-"+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text);
+				Other.Add(this.Ops_SendType.Value);
+                
+                if (Cmb_PLD.Value ==null)
+                {
+                    Other.Add("");
+                }
+                else
+                {
+                    Other.Add(Cmb_PLD.Value.ToString());
+                }
+				Other.Add(this.Txt_Remark.Text);
+				if(this.chk_QX.Checked)
+				{
+					Other.Add("0");
+				}
+				else
+				{
+					Other.Add("");
+				}
+				
+					Other.Add("");
+				
+				Other.Add(this.txt_WEIGHT.Value.ToString());
+                Other.Add(this.ultBJPactno.Text.ToString());
+                Other.Add(ClientCommon._UserInfo.UserName.ToString());
+                //Other.Add(this.Cmb_PLD.Value.ToString());
+                Other.Add(txt_ZYCH.Text.Trim().ToString());
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "TranSend", new object[] { Other }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+                    string Sql = " AND LISTNUMBER='" + this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text + "'";
+					this.SendQuery(Sql);
+					Comm.SetGridSumArea(gb_Send);
+					MessageBox.Show("输入成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					this.txt_Coid_TOP.Focus();
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Txt_IncpName_ValueChanged(object sender, System.EventArgs e)
+		{
+		
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "PC":
+                    AskQuery();
+					break;
+				case "FY":
+					this.SendQuery(this.getWhere());
+					this.ultraTabControl1.Tabs["TAB_YF"].Selected=true;
+					break;
+				case "DEL":
+					 SendCan_Del();
+					break;
+				case "PRINT":
+					Print();
+					break;
+				case "DUCE":
+					ExportButtressInfo();
+					break;
+                case "COLSE":
+					this.Close();
+					break;
+			}
+		}
+
+		private void Frm_TurnoSendCan_Load(object sender, System.EventArgs e)
+		{
+			
+			string sql="";
+			DataSet ds;
+			string strOut="";
+            Cmb_ZL.Value = "1";
+            Ops_SendType.Value = "0";
+            Dte_BeginTime.Value = DateTime.Today;
+            Dte_EndTime.Value = DateTime.Today;
+            Dte_SendTime.Value = DateTime.Today;
+            Comm.SetGridSumArea(this.gb_Send);
+			Comm.SetGridSumArea(this.gb_Turn);
+            
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.Cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//班组
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.Cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//负责人
+			sql ="SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_BASEDATA";
+
+			Comm.Init_ComboControl(this.Cmb_SendMan,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+
+
+            //明细编码
+            sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE='8094' AND (NAME_  LIKE 'DWJB%' )";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.Cmb_Txt_ListCodingTop, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+            this.Cmb_Txt_ListCodingTop.Value = "809403";
+
+           
+		}
+
+		private void Txt_SendPactNO_ValueChanged(object sender, System.EventArgs e)
+		{
+		
+		}
+
+		private void Txt_AskPlan_Enter(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+				}
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+				}
+                if(((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name=="Txt_VecihleNO")
+                {
+                txt_ZYCH.Text = Txt_VecihleNO.Text;
+                }
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Txt_AskPlan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData == Keys.Return)
+				{
+					  if(((System.Windows.Forms.Control)sender).Name =="txt_Coid_End")
+					{
+						try
+						{
+							string err="";
+							string ID="	AND A.COIL_NO_ID='"+this.txt_Coil_ID.Text+"-"+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text+"'";
+                            DataSet ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_Query", new object[] { ID }, out err);
+							this.gb_Turn.DataSource=ds1;
+                            Txt_SendPactNO.Text = ds1.Tables[0].Rows[0]["ORD_NO"].ToString();
+							this.gb_Turn.UpdateData();
+							Comm.SetGridSumArea(this.gb_Turn);
+						}
+						catch(Exception ex)
+						{
+							System.Diagnostics.Debug.WriteLine(ex.ToString());
+						}
+						Comm.SetGridSumArea(gb_Send);
+					}
+					
+					if(((System.Windows.Forms.Control)sender).Name=="txt_Scouid")
+					{
+						try
+						{
+							string err="";
+							string ID=this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text;
+							DataSet ds2=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","GetData",new object[]{ID},out err);
+							this.Txt_AskPlan.Text=ds2.Tables[0].Rows[0]["PLANVEHICLEID"].ToString();
+							this.Txt_VecihleNO.Text=ds2.Tables[0].Rows[0]["TRANS_CAR_NO"].ToString();
+							this.Txt_SendPactNO.Text=ds2.Tables[0].Rows[0]["ORD_NO"].ToString();
+							this.cmb_IncpName.Text=ds2.Tables[0].Rows[0]["INSTR_ROUTE"].ToString();
+							this.cmb_Station.Text=ds2.Tables[0].Rows[0]["ROUTE"].ToString();
+							this.Cmb_SendMan.Text=ds2.Tables[0].Rows[0]["PICKSTORAGEMAN"].ToString();
+							this.Cmb_ClassOrder.Text=ds2.Tables[0].Rows[0]["CLASSORDER"].ToString();
+							this.Cmb_ClassTeam.Text=ds2.Tables[0].Rows[0]["CLASSTEAM"].ToString();
+							this.txt_WEIGHT.Value=Comm.ObjToDecimal(ds2.Tables[0].Rows[0]["CAL_WGT"]);
+						}
+						catch(Exception ex)
+						{
+							System.Diagnostics.Debug.WriteLine(ex.ToString());
+						}
+					}
+					if(((System.Windows.Forms.Control)sender).Name =="Btn_SendBillet")
+					{
+						if(!CheckAdd())
+						{
+							return;
+						}
+						string strOut="";
+						ArrayList Other=new ArrayList();
+						Other.Add(this.Txt_AskPlan.Text);
+						Other.Add(this.Txt_VecihleNO.Text);
+						Other.Add(this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text);
+						Other.Add(this.Txt_SendPactNO.Text);
+						Other.Add(this.cmb_IncpName.Text);
+						Other.Add(cmb_Station.Text);
+						Other.Add(Cmb_SendMan.Text);
+						Other.Add(Cmb_ClassOrder.Value.ToString());
+						Other.Add(Cmb_ClassTeam.Value.ToString());
+						Other.Add(Dte_SendTime.Value.ToString());
+						Other.Add(this.txt_Coil_ID.Text+"-"+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text);
+						Other.Add(this.Ops_SendType.Value);
+						Other.Add(Cmb_PLD.Text);
+						Other.Add(this.Txt_Remark.Text);
+						if(this.chk_QX.Checked)
+						{
+							Other.Add("0");
+						}
+						else
+						{
+							Other.Add("");
+						}
+						
+							Other.Add("");
+						
+						Other.Add(this.txt_WEIGHT.Value.ToString());
+                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "TranSend", new object[] { Other }, out strOut);
+						if(obj!=null&&obj.ToString()=="1")
+						{
+							string Sql=" AND LISTNUMBER='"+this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text+"'";
+							this.SendQuery(Sql);
+							Comm.SetGridSumArea(gb_Send);
+							MessageBox.Show("输入成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+						}
+						else
+						{
+							MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+						}
+					}
+                    if (((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name == "Txt_VecihleNO")
+                    {
+                        txt_ZYCH.Text = Txt_VecihleNO.Text;
+                    }
+				System.Windows.Forms.SendKeys.Send("{TAB}");
+				}
+				
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void gb_Send_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
+		{
+			try
+			{
+				string SendFlag=Comm.ObjToStr(e.Row.Cells["CLEARFLAG"].Value);
+				
+				if(SendFlag=="0")
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
+				}
+				if(SendFlag=="1")
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Print()
+		{
+			try
+			{
+				string strOut = "";
+				if(!this.txt_ListCode.Enabled | this.txt_ListCode.Text.Trim()=="")
+				{
+					MessageBox.Show("请您输写要打印的发运明细编号!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return;
+				}
+				string Sql=" AND A.LISTNUMBER='"+this.txt_ListCode.Text+"' ";
+                string listnumber = this.txt_ListCode.Text.Trim();
+                DataSet ds;
+                DataSet ds1;
+                if (Cmb_ZL.Value == "1")
+                {
+                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_DY", new object[] { Sql }, out strOut);
+                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "DistsctListnumber1", new object[] { listnumber }, out strOut);
+                    Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+                    rtp._rtpFileName = @"SendCanGZB.rpt";
+                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
+                    //rtp._rtpDataSet.Merge(ds.Copy());
+                    rtp._rtpDataSet = ds;
+                    if (ds1.Tables[0].Rows.Count <= 0)
+                    {
+                        //if (ds1.Tables[0].Rows[0]["cal_wgt"] == null)
+                        //{
+                            rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
+                        //}
+                        //if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
+                        //{
+                            rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
+                        //}
+                    }
+                    else
+                    {
+                        rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["cal_wgt"].ToString();
+                        rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
+                    }
+                    rtp._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+
+                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+
+                    //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
+                    //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
+
+
+                    rtp.ShowDialog();
+                }
+                else
+                {
+                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_DY1", new object[] { Sql }, out strOut);
+                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "DistsctListnumber", new object[] { listnumber }, out strOut);
+                    Core.XgMes.Client.Print.FrmPrintBase rtp1 = new Core.XgMes.Client.Print.FrmPrintBase();
+                    rtp1._rtpFileName = @"SendCanZlDW.rpt";
+                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
+                    //rtp._rtpDataSet.Merge(ds.Copy());
+                    rtp1._rtpDataSet = ds;
+                    if (ds1.Tables[0].Rows.Count <= 0)
+                    {
+                        if (ds1.Tables[0].Rows[0]["LNZL"] == null)
+                        {
+                            rtp1._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
+                        }
+                        if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
+                        {
+                            rtp1._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
+                        }
+                    }
+                    else
+                    {
+                        rtp1._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["LNZL"].ToString();
+                        rtp1._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
+                    }
+                    
+                 
+                    rtp1._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+
+                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+
+                    //rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
+                    //rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
+
+
+                    rtp1.ShowDialog();
+                }
+				if(ds==null)
+				{
+					MessageBox.Show("请您确认输写的发运明细编号是否正确!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return;
+				}
+                //Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+                //rtp._rtpFileName=@"SendCan.rpt";
+                ////(obj as System.Data.DataSet).Tables["DATA"].Clear();
+                ////rtp._rtpDataSet.Merge(ds.Copy());
+                //rtp._rtpDataSet = ds;
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["cal_wgt"].ToString();
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+
+                ////Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
+              
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"]=this.txt_UserBM.Text;
+                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"]=this.txt_UserName.Text;
+                
+              
+                //rtp.ShowDialog();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void SendCan_Del()
+		{
+			try
+			{
+				string strOut="";
+				ArrayList array=new ArrayList();
+				string ID="";
+				string ASK_ID="";
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Send.Selected.Rows)
+				{
+					array.Add(row.Cells["LISTNUMBER"].Value.ToString());
+                    ID=Comm.ObjToStr(row.Cells["COIL_NO_ID"].Value);
+					ASK_ID=Comm.ObjToStr(row.Cells["PLANVEHICLEID"].Value);
+				}
+				if(array.Count==0)
+				{
+                    MessageBox.Show("请选中你要删除的行!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(ID);
+				Other.Add(ASK_ID);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "SendCan_DEL", new object[] { array, Other }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_Send.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_TURNOFFSENDLIST"].Select("COIL_NO_ID='"+ID+"'");
+					for(int i=0;i<row.Length;i++)
+					{
+                        ds.Tables["KCJ3_TURNOFFSENDLIST"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_TURNOFFSENDLIST"].AcceptChanges();
+					}
+					Comm.SetGridSumArea(gb_Send);
+				}
+				else
+				{
+                    MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+					
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+        //排车信息查询 add by lyp 20101123
+        public void AskQuery()
+        {
+            string err = "";
+            try
+            {
+                
+                string where = GetWhereAsk("PLAN");
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan",
+                    "GetAskPlanData", new object[] { where }, out err);
+                if (obj != null)
+                {
+                    this.ultraGrid2.DataSource = (DataSet)obj;
+                }
+               
+                //StorageBaseClass.SetGridSumArea(this.Grd_HCSendPlan);
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private string GetWhereAsk(string type)
+        {
+            string rtnStr = "";
+            if (this.chk_DeliveryTime.Checked)
+            {
+                if (type == "PLAN")
+                {
+                    rtnStr = " AND TO_CHAR(T1.INCEPTDATE,'YYYYMMDD')  >='" + Convert.ToDateTime(this.Dte_BeginTime.Value).ToString("yyyyMMdd") + "'  " +
+                                                  " AND TO_CHAR(T1.INCEPTDATE,'YYYYMMDD')<='" + Convert.ToDateTime(this.Dte_EndTime.Value).ToString("yyyyMMdd") + "'";
+                                    
+                }
+               
+            }
+            //if (this.chk_PactNO.Enabled)
+    
+            if (this.Txt_PactNO.Enabled && this.Txt_PactNO.Text.Length > 0)
+            {
+                if (type == "PLAN")
+                {
+                    rtnStr = rtnStr + " AND substr(t1.PACTNO,1,12) LIKE '%" + this.Txt_PactNO.Text + "%' ";
+                }
+                
+            }
+            
+            if (this.txt_AskPlanID.Enabled && this.txt_AskPlanID.Text.Length > 0)
+            {
+                rtnStr = rtnStr + " AND t1.ASKPLAN_ID LIKE '%" + this.txt_AskPlanID.Text + "%' ";
+            }        
+            return rtnStr;
+        }
+		private void ultraGroupBox2_Click(object sender, System.EventArgs e)
+		{
+			
+		}
+
+		private void chk_CoilID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_CoilID.Enabled=this.chk_CoilID.Checked;
+			this.ultraTextEditor1.Enabled=this.chk_CoilID.Checked;
+			this.ultraTextEditor2.Enabled=this.chk_CoilID.Checked;
+		}
+
+		private void chk_PactNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Txt_PactNO.Enabled=this.chk_PactNO.Checked;
+		}
+
+		private void chk_AskPlanID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_AskPlanID.Enabled=this.chk_AskPlanID.Checked;
+		}
+
+		private void chk_ListCode_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_ListCode.Enabled=this.chk_ListCode.Checked;
+		}
+
+		private void chk_DeliveryTime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Dte_BeginTime.Enabled=this.chk_DeliveryTime.Checked;
+			this.Dte_EndTime.Enabled=this.chk_DeliveryTime.Checked;
+		}
+
+		private void Ops_SendType_ValueChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+				switch(this.Ops_SendType.Value.ToString())
+				{
+					case "0":
+						this.Txt_AskPlan.Text = "";
+						break;
+					case "1":
+						this.Txt_AskPlan.Text = System.DateTime.Now.ToString("yyyyMMddHHmmss");
+						this.Txt_AskPlan.Enabled = true;
+						this.btn_NSendID.Visible=true;
+						break;
+					case "4":
+						this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+						this.Txt_AskPlan.Enabled = true;
+						this.btn_NSendID.Visible=true;
+						break;
+				
+					case "7":
+						this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+						this.Txt_AskPlan.Enabled = true;
+						this.btn_NSendID.Visible=true;
+						break;
+				  
+
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void btn_NSendID_Click(object sender, System.EventArgs e)
+		{
+			switch(this.Ops_SendType.Value.ToString())
+			{
+				case "1":
+					this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+					break;
+				case "7":
+					this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
+					break;
+
+			}
+		}
+
+		private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
+		}
+
+		private void ultraButton1_Click(object sender, System.EventArgs e)
+		{
+			string strOut="";
+			ArrayList array=new ArrayList();
+			array.Add(Txt_AskPlan.Text);
+			array.Add(this.Txt_VecihleNO.Text);
+            object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "CanUpdate", new object[] { array }, out strOut);
+			if(obj!=null&&obj.ToString()=="1")
+			{
+				MessageBox.Show("修改成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+			}
+			else
+			{
+                MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+			}
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Send.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Send.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Send.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Send.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Send.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Send.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Send,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+
+        private void ultraGrid2_DoubleClickRow(object sender, DoubleClickRowEventArgs e)
+        {
+            try
+            {
+                if (e.Row != null)
+                {
+                    if (e.Row.ChildBands == null)
+                    {
+                        string where = " AND A.PLANVEHICLEID='" + e.Row.Cells["ASKPLAN_ID"].Value.ToString() + "' ";
+                 
+
+                        string strOut = "";
+
+                        DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_ZH", new object[] { where }, out strOut);
+                        if (ds != null && ds.Tables[0].Rows.Count>0)
+                        {
+                            this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+                            this.cmb_Station.Text = e.Row.Cells["STATIONNAME"].Text;
+                            this.cmb_IncpName.Text = e.Row.Cells["INCEPTCORPCODE"].Text;
+                            Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Text;
+                            this.Txt_VecihleNO.Text = ds.Tables[0].Rows[0]["TRANS_CAR_NO"].ToString();
+                            this.txt_ZYCH.Text = ds.Tables[0].Rows[0]["TRAINWAGON_NZ"].ToString();
+                            txt_Scouid.Text = ds.Tables[0].Rows[0]["LISTNUMBER"].ToString().Substring(5);
+                            this.Txt_ListCoding.Text = "";
+                            this.Txt_Remark.Text = "";
+                            this.Cmb_SendMan.Text = "";
+                            this.Cmb_ClassOrder.Value = "";
+                            this.Cmb_ClassTeam.Value = "";
+                            this.Dte_SendTime.Value = System.DateTime.Now;
+                            this.gb_Send.DataSource = ds;
+
+                            this.gb_Send.UpdateData();
+                            Comm.SetGridSumArea(this.gb_Send);
+                        }
+                        else
+                        {
+                            this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+                            this.cmb_Station.Text = e.Row.Cells["STATIONNAME"].Text;
+                            this.cmb_IncpName.Text = e.Row.Cells["INCEPTCORPCODE"].Text;
+                            Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Text;
+                            txt_Scouid.Text = "";
+                            Txt_VecihleNO.Text = "";
+                            this.Txt_ListCoding.Text = "";
+                            this.Txt_Remark.Text = "";
+                            this.Cmb_SendMan.Text = "";
+                            this.Cmb_ClassOrder.Value = "";
+                            this.Cmb_ClassTeam.Value = "";
+                            this.txt_ZYCH.Text = "";
+                            this.Dte_SendTime.Value = System.DateTime.Now;
+                            this.gb_Send.DataSource = ds;
+
+                            this.gb_Send.UpdateData();
+                            Comm.SetGridSumArea(this.gb_Send);
+                        }
+                        //}
+                       
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void btn_zlupdate_Click(object sender, EventArgs e)
+        {
+            string strOut = "";
+            ArrayList array = new ArrayList();
+            array.Add(Txt_AskPlan.Text);
+            array.Add(this.txt_WEIGHT.Text);
+            array.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
+            object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "ZLUpdate", new object[] { array }, out strOut);
+            if (obj != null && obj.ToString() == "1")
+            {
+                MessageBox.Show("修改成功!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+            }
+            else
+            {
+                MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+            }
+        }
+
+        private void Txt_VecihleNO_Enter(object sender, EventArgs e)
+        {
+            try
+            {
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+                }
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+                }
+                if (((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name == "Txt_VecihleNO")
+                {
+                    txt_ZYCH.Text = Txt_VecihleNO.Text;
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void Btn_GetListCoding_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                //string year = this.Txt_ListCodingTop.Text.Substring(2,this.Txt_ListCodingTop.Text.Length-2);
+                string year = this.Cmb_Txt_ListCodingTop.Text.Substring(5, 1);
+                string strerr = "";
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan",
+                    "GetListCoding", new object[] { "SEND", year }, out strerr);
+                if (StorageBaseClass.CheckNullStr(obj).Length == 0)
+                {
+                    MessageBox.Show("获取申报编号失败", StorageBaseClass.MsgCaption);
+                }
+                else
+                {
+                    this.txt_Scouid.Text = StorageBaseClass.CheckNullStr(obj);
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+	}
+}

+ 916 - 0
Client/.svn/pristine/0a/0a944d7b32834fb7eeb46840ea4c4fafa082dbbf.svn-base

@@ -0,0 +1,916 @@
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Windows.Forms;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// 中板成品库存综合查询统计分析控件
+	/// </summary>
+	public class ctlKCJListStat : System.Windows.Forms.UserControl
+	{
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatButtress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatRollNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatBilletID;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatResult;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatPlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatCondole;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatSend;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatSendOnly;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatInTime;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_NOrderNOStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlyStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_WidthStat;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_LengthStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatPrd;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatStoveNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatRemark;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_shdw;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DZ;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultchkPactnoDW;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uchk_InSteel;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uchk_Steel;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uck_Pactno;
+		/// <summary> 
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+		public ctlKCJListStat()
+		{
+			// 该调用是 Windows.Forms 窗体设计器所必需的。
+			InitializeComponent();
+
+			// TODO: 在 InitializeComponent 调用后添加任何初始化
+
+		}
+
+		/// <summary> 
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region 组件设计器生成的代码
+		/// <summary> 
+		/// 设计器支持所需的方法 - 不要使用代码编辑器 
+		/// 修改此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            this.chk_StatButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatRollNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatBilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatResult = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatPlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatCondole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatSend = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatSendOnly = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatInTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_NOrderNOStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_PlyStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_WidthStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_LengthStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatPrd = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatStoveNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatRemark = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_shdw = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_DZ = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultchkPactnoDW = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uchk_InSteel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uchk_Steel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uck_Pactno = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.SuspendLayout();
+            // 
+            // chk_StatButtress
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatButtress.Appearance = appearance1;
+            this.chk_StatButtress.Location = new System.Drawing.Point(0, 2);
+            this.chk_StatButtress.Name = "chk_StatButtress";
+            this.chk_StatButtress.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatButtress.TabIndex = 34;
+            this.chk_StatButtress.Text = "堆位";
+            // 
+            // chk_StatRollNO
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatRollNO.Appearance = appearance2;
+            this.chk_StatRollNO.Location = new System.Drawing.Point(98, 2);
+            this.chk_StatRollNO.Name = "chk_StatRollNO";
+            this.chk_StatRollNO.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatRollNO.TabIndex = 35;
+            this.chk_StatRollNO.Text = "轧编号";
+            // 
+            // chk_StatBilletID
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatBilletID.Appearance = appearance3;
+            this.chk_StatBilletID.Location = new System.Drawing.Point(0, 52);
+            this.chk_StatBilletID.Name = "chk_StatBilletID";
+            this.chk_StatBilletID.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatBilletID.TabIndex = 36;
+            this.chk_StatBilletID.Text = "序号";
+            // 
+            // chk_StatResult
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatResult.Appearance = appearance4;
+            this.chk_StatResult.Checked = true;
+            this.chk_StatResult.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.chk_StatResult.Location = new System.Drawing.Point(0, 73);
+            this.chk_StatResult.Name = "chk_StatResult";
+            this.chk_StatResult.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatResult.TabIndex = 38;
+            this.chk_StatResult.Text = "含判定结果";
+            // 
+            // chk_StatPlanNO
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatPlanNO.Appearance = appearance5;
+            this.chk_StatPlanNO.Location = new System.Drawing.Point(0, 18);
+            this.chk_StatPlanNO.Name = "chk_StatPlanNO";
+            this.chk_StatPlanNO.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatPlanNO.TabIndex = 41;
+            this.chk_StatPlanNO.Text = "现计划号";
+            // 
+            // chk_StatCondole
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatCondole.Appearance = appearance6;
+            this.chk_StatCondole.Location = new System.Drawing.Point(98, 19);
+            this.chk_StatCondole.Name = "chk_StatCondole";
+            this.chk_StatCondole.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatCondole.TabIndex = 42;
+            this.chk_StatCondole.Text = "含吊号";
+            // 
+            // chk_StatSend
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatSend.Appearance = appearance7;
+            this.chk_StatSend.Location = new System.Drawing.Point(0, 129);
+            this.chk_StatSend.Name = "chk_StatSend";
+            this.chk_StatSend.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatSend.TabIndex = 43;
+            this.chk_StatSend.Text = "含已发运";
+            this.chk_StatSend.CheckedChanged += new System.EventHandler(this.chk_StatSend_CheckedChanged);
+            // 
+            // chk_StatSendOnly
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatSendOnly.Appearance = appearance8;
+            this.chk_StatSendOnly.Location = new System.Drawing.Point(98, 73);
+            this.chk_StatSendOnly.Name = "chk_StatSendOnly";
+            this.chk_StatSendOnly.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatSendOnly.TabIndex = 45;
+            this.chk_StatSendOnly.Text = "仅已发运";
+            this.chk_StatSendOnly.CheckedChanged += new System.EventHandler(this.chk_StatSendOnly_CheckedChanged);
+            // 
+            // chk_StatInTime
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatInTime.Appearance = appearance9;
+            this.chk_StatInTime.Location = new System.Drawing.Point(0, 147);
+            this.chk_StatInTime.Name = "chk_StatInTime";
+            this.chk_StatInTime.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatInTime.TabIndex = 47;
+            this.chk_StatInTime.Text = "含入库信息";
+            // 
+            // chk_NOrderNOStat
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_NOrderNOStat.Appearance = appearance10;
+            this.chk_NOrderNOStat.Location = new System.Drawing.Point(0, 34);
+            this.chk_NOrderNOStat.Name = "chk_NOrderNOStat";
+            this.chk_NOrderNOStat.Size = new System.Drawing.Size(102, 20);
+            this.chk_NOrderNOStat.TabIndex = 49;
+            this.chk_NOrderNOStat.Text = "现订单号";
+            // 
+            // chk_PlyStat
+            // 
+            appearance11.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_PlyStat.Appearance = appearance11;
+            this.chk_PlyStat.Location = new System.Drawing.Point(0, 93);
+            this.chk_PlyStat.Name = "chk_PlyStat";
+            this.chk_PlyStat.Size = new System.Drawing.Size(80, 20);
+            this.chk_PlyStat.TabIndex = 52;
+            this.chk_PlyStat.Text = "厚";
+            // 
+            // chk_WidthStat
+            // 
+            appearance12.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_WidthStat.Appearance = appearance12;
+            this.chk_WidthStat.Location = new System.Drawing.Point(52, 93);
+            this.chk_WidthStat.Name = "chk_WidthStat";
+            this.chk_WidthStat.Size = new System.Drawing.Size(80, 20);
+            this.chk_WidthStat.TabIndex = 53;
+            this.chk_WidthStat.Text = "宽";
+            // 
+            // chk_LengthStat
+            // 
+            appearance13.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_LengthStat.Appearance = appearance13;
+            this.chk_LengthStat.Location = new System.Drawing.Point(0, 109);
+            this.chk_LengthStat.Name = "chk_LengthStat";
+            this.chk_LengthStat.Size = new System.Drawing.Size(102, 20);
+            this.chk_LengthStat.TabIndex = 54;
+            this.chk_LengthStat.Text = "含长度";
+            // 
+            // Chk_StatPrd
+            // 
+            appearance14.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatPrd.Appearance = appearance14;
+            this.Chk_StatPrd.Location = new System.Drawing.Point(0, 166);
+            this.Chk_StatPrd.Name = "Chk_StatPrd";
+            this.Chk_StatPrd.Size = new System.Drawing.Size(102, 20);
+            this.Chk_StatPrd.TabIndex = 56;
+            this.Chk_StatPrd.Text = "含生产信息";
+            // 
+            // Chk_StatStoveNO
+            // 
+            appearance15.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatStoveNO.Appearance = appearance15;
+            this.Chk_StatStoveNO.Location = new System.Drawing.Point(98, 38);
+            this.Chk_StatStoveNO.Name = "Chk_StatStoveNO";
+            this.Chk_StatStoveNO.Size = new System.Drawing.Size(92, 20);
+            this.Chk_StatStoveNO.TabIndex = 57;
+            this.Chk_StatStoveNO.Text = "炉号";
+            // 
+            // Chk_StatRemark
+            // 
+            appearance16.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatRemark.Appearance = appearance16;
+            this.Chk_StatRemark.Location = new System.Drawing.Point(98, 90);
+            this.Chk_StatRemark.Name = "Chk_StatRemark";
+            this.Chk_StatRemark.Size = new System.Drawing.Size(92, 20);
+            this.Chk_StatRemark.TabIndex = 58;
+            this.Chk_StatRemark.Text = "备注";
+            // 
+            // chk_shdw
+            // 
+            appearance17.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_shdw.Appearance = appearance17;
+            this.chk_shdw.Location = new System.Drawing.Point(98, 112);
+            this.chk_shdw.Name = "chk_shdw";
+            this.chk_shdw.Size = new System.Drawing.Size(84, 17);
+            this.chk_shdw.TabIndex = 66;
+            this.chk_shdw.Text = "收货单位";
+            // 
+            // chk_DZ
+            // 
+            appearance18.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_DZ.Appearance = appearance18;
+            this.chk_DZ.Location = new System.Drawing.Point(98, 129);
+            this.chk_DZ.Name = "chk_DZ";
+            this.chk_DZ.Size = new System.Drawing.Size(56, 17);
+            this.chk_DZ.TabIndex = 65;
+            this.chk_DZ.Text = "到站";
+            // 
+            // ultchkPactnoDW
+            // 
+            appearance19.BackColor = System.Drawing.Color.LightCyan;
+            this.ultchkPactnoDW.Appearance = appearance19;
+            this.ultchkPactnoDW.Location = new System.Drawing.Point(98, 55);
+            this.ultchkPactnoDW.Name = "ultchkPactnoDW";
+            this.ultchkPactnoDW.Size = new System.Drawing.Size(92, 20);
+            this.ultchkPactnoDW.TabIndex = 69;
+            this.ultchkPactnoDW.Text = "合同单位";
+            // 
+            // uchk_InSteel
+            // 
+            appearance20.BackColor = System.Drawing.Color.LightCyan;
+            this.uchk_InSteel.Appearance = appearance20;
+            this.uchk_InSteel.Location = new System.Drawing.Point(193, 2);
+            this.uchk_InSteel.Name = "uchk_InSteel";
+            this.uchk_InSteel.Size = new System.Drawing.Size(92, 20);
+            this.uchk_InSteel.TabIndex = 73;
+            this.uchk_InSteel.Text = "入库牌号";
+            // 
+            // uchk_Steel
+            // 
+            appearance21.BackColor = System.Drawing.Color.LightCyan;
+            this.uchk_Steel.Appearance = appearance21;
+            this.uchk_Steel.Location = new System.Drawing.Point(193, 20);
+            this.uchk_Steel.Name = "uchk_Steel";
+            this.uchk_Steel.Size = new System.Drawing.Size(92, 20);
+            this.uchk_Steel.TabIndex = 74;
+            this.uchk_Steel.Text = "牌号";
+            // 
+            // uck_Pactno
+            // 
+            appearance22.BackColor = System.Drawing.Color.LightCyan;
+            this.uck_Pactno.Appearance = appearance22;
+            this.uck_Pactno.Location = new System.Drawing.Point(193, 38);
+            this.uck_Pactno.Name = "uck_Pactno";
+            this.uck_Pactno.Size = new System.Drawing.Size(92, 20);
+            this.uck_Pactno.TabIndex = 76;
+            this.uck_Pactno.Text = "合同号";
+            // 
+            // ctlKCJListStat
+            // 
+            this.Controls.Add(this.uck_Pactno);
+            this.Controls.Add(this.uchk_Steel);
+            this.Controls.Add(this.uchk_InSteel);
+            this.Controls.Add(this.chk_shdw);
+            this.Controls.Add(this.chk_DZ);
+            this.Controls.Add(this.ultchkPactnoDW);
+            this.Controls.Add(this.Chk_StatRemark);
+            this.Controls.Add(this.Chk_StatStoveNO);
+            this.Controls.Add(this.Chk_StatPrd);
+            this.Controls.Add(this.chk_LengthStat);
+            this.Controls.Add(this.chk_WidthStat);
+            this.Controls.Add(this.chk_PlyStat);
+            this.Controls.Add(this.chk_NOrderNOStat);
+            this.Controls.Add(this.chk_StatInTime);
+            this.Controls.Add(this.chk_StatSendOnly);
+            this.Controls.Add(this.chk_StatSend);
+            this.Controls.Add(this.chk_StatCondole);
+            this.Controls.Add(this.chk_StatPlanNO);
+            this.Controls.Add(this.chk_StatResult);
+            this.Controls.Add(this.chk_StatBilletID);
+            this.Controls.Add(this.chk_StatRollNO);
+            this.Controls.Add(this.chk_StatButtress);
+            this.Name = "ctlKCJListStat";
+            this.Size = new System.Drawing.Size(285, 187);
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region "Property
+
+        private string _SelectStr = "SELECT 1 THEORYWEIGHTZL  ";
+        //+ "COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT ";
+        private string _FromStr = "FROM KCJ_TURNOFFLIST_ZW A,KCJ_TURNOFFBUTTRESSLIST_ZW B,SEL_PACTDETAIL C WHERE A.BILLETID=B.BILLETID AND A.ORDERNO=C.ORDERNO(+) AND A.STORAGESTATUS='501602' AND A.ISVALID='1' ";
+        private string _GroupbyStr = " GROUP BY A.DETERMINANTCARDNUMBER,BUYERCODE ";
+
+        private string _SendSelectStr = " SELECT TO_CHAR(B.PICKSTORAGETIME,'YY-MM-DD HH24') PICKSTORAGETIME,B.LISTNUMBER ";
+        private string _SendGroupby = " GROUP BY A.DETERMINANTCARDNUMBER,B.PICKSTORAGETIME,B.LISTNUMBER,BUYERCODE";
+        private string _SendFromStr = " FROM KCJ_TURNOFFLIST_ZW A,KCJ_TURNOFFSENDLIST_ZW B,SEL_PACTDETAIL C WHERE A.BILLETID=B.SERIALNUMBER AND A.ORDERNO=C.ORDERNO(+) AND B.ISVALID<>'0'  AND B.SENDTYPE<='1' AND A.ISVALID='1' ";
+
+        private string _CSendSelectStr = " SELECT  TO_CHAR(B.PICKSTORAGETIME,'YY-MM-DD HH24') PICKSTORAGETIME,B.LISTNUMBER";
+        private string _CSendGroupBy = " GROUP BY A.DETERMINANTCARDNUMBER,B.PICKSTORAGETIME,B.LISTNUMBER,BUYERCODE";
+        private string _CSendFromStr = " FROM KCJ_TURNOFFLIST_ZW A,KCJ_TURNOFFSENDLIST_ZW B,SEL_PACTINFO_CLEAR C WHERE A.BILLETID=B.SERIALNUMBER AND B.ISVALID<>'0'  AND B.SENDTYPE<='1' AND A.ISVALID='1' ";
+        //+" AND B.BUTTRESS=D.BUTTRESS(+) AND D.BUTTRESS(+) NOT IN('虚拟堆位','预装发运')";
+        private void chk_StatSendOnly_CheckedChanged(object sender, System.EventArgs e)
+        {
+            if (this.chk_StatSendOnly.Checked)
+            {
+                this.chk_StatSend.Checked = false;
+            }
+        }
+
+        private void chk_StatSend_CheckedChanged(object sender, System.EventArgs e)
+        {
+            if (this.chk_StatSend.Checked)
+            {
+                this.chk_StatSendOnly.Checked = false;
+            }
+        }
+
+        public System.Collections.ArrayList SendSelectStr
+        {
+            get
+            {
+                if (this.chk_StatSend.Checked | this.chk_StatSendOnly.Checked)
+                {
+                    System.Collections.ArrayList rtnList = new ArrayList();
+                    string rtnStr = _SendSelectStr;
+                    string CrtnStr = _CSendSelectStr;
+
+                    if (this.chk_StatButtress.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.BUTTRESS ";
+                        CrtnStr = CrtnStr + ",B.BUTTRESS ";
+                    }
+                    if (this.chk_StatRollNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ROLLNO ROLLNUMBER ";
+                        CrtnStr = CrtnStr + ",B.ROLLNO ROLLNUMBER ";
+                    }
+                    if (this.chk_StatPlanNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.PACTNO,C.PACTINDEX ";
+                        CrtnStr = CrtnStr + ",C.PACTNO,C.PACTINDEX ";
+                    }
+                 
+                   
+                  
+                  
+                    if (this.chk_NOrderNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ORDERFORMNUMBER ALLOTORDERFORM ";
+                        CrtnStr = CrtnStr + ",B.ORDERFORMNUMBER ALLOTORDERFORM ";
+                    }
+                  
+                    if (this.uchk_Steel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER DETERMINANTCARDNUMBER ";
+                        CrtnStr = CrtnStr + ",A.DETERMINANTCARDNUMBER DETERMINANTCARDNUMBER ";
+                    }
+                 
+                    if (this.uchk_InSteel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.Insteel INSTROAGESTEEL ";
+                        CrtnStr = CrtnStr + ",A.Insteel INSTROAGESTEEL ";
+                    }
+
+                   
+                    if (this.chk_StatCondole.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+                        CrtnStr = CrtnStr + ",B.CONDOLENUMBER ";
+                    }
+                   
+                    if (this.chk_StatResult.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.DETERMINANTRESULT) DETERMINANTRESULT,A.DETERMINANTREASON,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.JUDGEEASONCODE) JUDGEEASONCODE ";
+                        CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.DETERMINANTRESULT) DETERMINANTRESULT,A.DETERMINANTREASON,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.JUDGEEASONCODE) JUDGEEASONCODE ";
+                    }
+                   
+                    if (this.chk_PlyStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.PLY ";
+                        CrtnStr = CrtnStr + ",B.PLY ";
+                    }
+                    if (this.chk_WidthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.WIDTH ";
+                        CrtnStr = CrtnStr + ",B.WIDTH ";
+                    }
+                    if (this.chk_LengthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.LENGTH ";
+                        CrtnStr = CrtnStr + ",B.LENGTH ";
+                    }
+                    if (this.Chk_StatStoveNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.STOVENO ";
+                        CrtnStr = CrtnStr + ",B.STOVENO ";
+                    }
+                    if (this.uck_Pactno.Checked)
+                    {
+                        rtnStr = rtnStr + ",c.pactno ";
+                        CrtnStr = CrtnStr + ",c.pactno ";
+                    }
+                    if (this.Chk_StatRemark.Checked)
+                    {
+                        rtnStr = rtnStr + ",NULL HANDREMARK ";
+                        CrtnStr = CrtnStr + ",NULL HANDREMARK ";
+                    }
+                  
+                    
+                   
+                    if (this.chk_StatInTime.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD') INSTORAGETIME,A.INSTEEL INSTROAGESTEEL,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.INCLASSTEAM) INCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD') INSTORAGETIME,A.INSTEEL INSTROAGESTEEL,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.INCLASSTEAM) INCLASSTEAM ";
+                    }
+                    if (this.Chk_StatPrd.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD') PTIME,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.PCLASSTEAM) PCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD') PTIME,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.PCLASSTEAM) PCLASSTEAM ";
+                    }
+
+                    
+
+                    if (this.chk_StatBilletID.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.BILLETID,1 QUANTITY,B.WEIGHT THEORYWEIGHT ";
+                        CrtnStr = CrtnStr + ",A.BILLETID,1 QUANTITY,B.WEIGHT THEORYWEIGHT ";
+                    }
+                    
+                    if (this.chk_DZ.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT STATIONNAME FROM SEL_STATIONINFO WHERE STATIONCODE = C.STATIONCODE) STATIONCODE ";
+                        CrtnStr = CrtnStr + ",(SELECT STATIONNAME FROM SEL_STATIONINFO WHERE STATIONCODE = C.STATIONCODE) STATIONCODE ";
+                    }
+                    if (this.chk_shdw.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT INCEPTCORPNAME FROM SEL_INCEPTCORPINFO WHERE INCEPTCORPCODE = C.INCEPTCORPCODE) INCEPTCORPCODE ";
+                        CrtnStr = CrtnStr + ",(SELECT INCEPTCORPNAME FROM SEL_INCEPTCORPINFO WHERE INCEPTCORPCODE = C.INCEPTCORPCODE) INCEPTCORPCODE ";
+                    }
+                    if (this.ultchkPactnoDW.Checked)
+                    {
+                        rtnStr = rtnStr + ",(select tt.buyername from sel_buyerbaseinfo tt WHERE tt.buyercode = C.BUYERCODE) BUYERCODE ";
+                        CrtnStr = CrtnStr + ",(select tt.buyername from sel_buyerbaseinfo tt WHERE tt.buyercode = C.BUYERCODE) BUYERCODE ";
+                    }
+                
+                    else
+                    {
+                        rtnStr = rtnStr + ",COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT  ";
+                        CrtnStr = CrtnStr + ",COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT  ";
+                    }
+                    rtnStr = rtnStr + _SendFromStr;
+                    CrtnStr = CrtnStr + _CSendFromStr;
+                    rtnList.Add(rtnStr);
+                    rtnList.Add(CrtnStr);
+                    return rtnList;
+                }
+                else
+                {
+                    return null;
+                }
+            }
+        }
+        public System.Collections.ArrayList SendGroupby
+        {
+            get
+            {
+                if (this.chk_StatSend.Checked | this.chk_StatSendOnly.Checked)
+                {
+                    System.Collections.ArrayList rtnList = new ArrayList();
+                    string rtnStr = _SendGroupby;
+                    string CrtnStr = _CSendGroupBy;
+                    if (this.chk_StatButtress.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.BUTTRESS ";
+                        CrtnStr = CrtnStr + ",B.BUTTRESS ";
+                    }
+                    if (this.chk_StatRollNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ROLLNO ";
+                        CrtnStr = CrtnStr + ",B.ROLLNO ";
+                    }
+                    if (this.chk_StatPlanNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.PACTNO,C.PACTINDEX ";
+                        CrtnStr = CrtnStr + ",C.PACTNO,C.PACTINDEX ";
+                    }
+                    
+                    if (this.chk_NOrderNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ORDERFORMNUMBER ";
+                        CrtnStr = CrtnStr + ",B.ORDERFORMNUMBER ";
+                    }
+                  
+                    if (this.uck_Pactno.Checked)
+                    {
+                        rtnStr = rtnStr + ",c.pactno ";
+                        CrtnStr = CrtnStr + ",c.pactno ";
+                    }
+                    if (this.uchk_InSteel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.Insteel ";
+                        CrtnStr = CrtnStr + ",A.Insteel ";
+                    }
+                    if (this.uchk_Steel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER ";
+                        CrtnStr = CrtnStr + ",A.DETERMINANTCARDNUMBER ";
+                    }
+                  
+                    if (this.chk_StatCondole.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+                        CrtnStr = CrtnStr + ",B.CONDOLENUMBER ";
+                    }
+                   
+                  
+                    if (this.chk_StatResult.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.DETERMINANTRESULT  ";
+                        CrtnStr = CrtnStr + ",B.DETERMINANTRESULT  ";
+                    }
+                   
+
+                  
+
+                    if (this.chk_PlyStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.PLY ";
+                        CrtnStr = CrtnStr + ",B.PLY ";
+                    }
+                    if (this.chk_WidthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.WIDTH ";
+                        CrtnStr = CrtnStr + ",B.WIDTH ";
+                    }
+                    if (this.chk_LengthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.LENGTH ";
+                        CrtnStr = CrtnStr + ",B.LENGTH ";
+                    }
+                    if (this.Chk_StatStoveNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.STOVENO ";
+                        CrtnStr = CrtnStr + ",B.STOVENO ";
+                    }
+                   
+                    if (this.chk_DZ.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.STATIONCODE ";
+                        CrtnStr = CrtnStr + ",C.STATIONCODE ";
+                    }
+                    if (this.chk_shdw.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.INCEPTCORPCODE ";
+                        CrtnStr = CrtnStr + ",C.INCEPTCORPCODE ";
+                    }
+                   
+                    if (this.chk_StatInTime.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD'),A.INSTEEL,A.INCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD'),A.INSTEEL,A.INCLASSTEAM ";
+                    }
+                    if (this.Chk_StatPrd.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD'),A.PCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD'),A.PCLASSTEAM ";
+                    }
+                   
+                    if (chk_StatBilletID.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.WEIGHT ";
+                        CrtnStr = CrtnStr + ",B.WEIGHT ";
+                    }
+                 
+                    rtnList.Add(rtnStr);
+                    rtnList.Add(CrtnStr);
+                    return rtnList;
+                }
+                else
+                {
+                    return null;
+                }
+            }
+        }
+
+        public System.Collections.ArrayList Groupby
+        {
+            get
+            {
+                System.Collections.ArrayList rtnList = new ArrayList();
+                string rtnStr = _GroupbyStr;
+                if (this.chk_StatSendOnly.Checked)
+                {
+                    return null;
+                }
+                if (this.chk_StatButtress.Checked)
+                {
+                    rtnStr = rtnStr + ",B.BUTTRESS";
+                }
+               
+                if (this.chk_StatRollNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ROLLNUMBER";
+                }
+                
+
+                if (this.chk_StatPlanNO.Checked)
+                {
+                    rtnStr = rtnStr + ",C.PACTNO,C.PACTINDEX ";
+                }
+                
+                if (this.uck_Pactno.Checked)
+                {
+                    rtnStr = rtnStr + ",C.PACTNO  ";
+                }
+               
+                if (this.uck_Pactno.Checked)
+                {
+                    rtnStr = rtnStr + ",c.pactno";
+
+                }
+                if (this.uchk_InSteel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.Insteel ";
+
+                }
+                if (this.uchk_Steel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER ";
+
+                }
+                
+                
+                
+                if (this.chk_NOrderNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ORDERNO ";
+                }
+               
+
+               
+                if (this.chk_StatResult.Checked)
+                {
+                    rtnStr = rtnStr + ",A.DETERMINANTRESULT";
+                }
+               
+                if (this.chk_PlyStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLY ";
+                }
+                if (this.chk_StatCondole.Checked)
+                {
+                    rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+
+
+                }
+                if (this.chk_WidthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.WIDTH ";
+                }
+                if (this.chk_LengthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.LENGTH ";
+                }
+                if (this.Chk_StatStoveNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.STOVENO ";
+                }
+                if (this.Chk_StatRemark.Checked)
+                {
+                    rtnStr = rtnStr + ",B.HANDREMARK ";
+                }
+              
+                if (this.chk_DZ.Checked)
+                {
+                    rtnStr = rtnStr + ",C.STATIONCODE ";
+                }
+                if (this.chk_shdw.Checked)
+                {
+                    rtnStr = rtnStr + ",C.INCEPTCORPCODE ";
+                }
+        
+                if (this.chk_StatInTime.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD'),A.INSTEEL,A.INCLASSTEAM ";
+                }
+                if (this.Chk_StatPrd.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD'),A.PCLASSTEAM ";
+                }
+              
+                if (this.chk_StatBilletID.Checked)
+                {
+                    rtnStr = "";
+                    rtnList.Add("");
+                    return rtnList;
+                }
+
+                rtnList.Add(rtnStr);
+                return rtnList;
+
+            }
+        }
+        public System.Collections.ArrayList SelectStr
+        {
+            get
+            {
+                System.Collections.ArrayList rtnList = new ArrayList();
+                string rtnStr = _SelectStr;
+                if (this.chk_StatSendOnly.Checked)//仅发运信息
+                {
+                    return null;
+                }
+                if (this.chk_StatButtress.Checked)
+                {
+                    rtnStr = rtnStr + ",B.BUTTRESS ";
+                }
+                if (this.chk_StatRollNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ROLLNUMBER ";
+                }
+                
+
+
+               
+                if (this.uchk_Steel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER ";
+
+                }
+               
+                if (this.uchk_InSteel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.Insteel INSTROAGESTEEL ";
+
+                }
+
+               
+                if (this.uck_Pactno.Checked)
+                {
+                    rtnStr = rtnStr + ",c.PACTNO ";
+
+                }
+              
+                if (this.chk_StatPlanNO.Checked)
+                {
+                    rtnStr = rtnStr + ",C.PACTINDEX ";
+                }
+               
+               
+                if (this.chk_NOrderNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ORDERNO ALLOTORDERFORM ";
+                }
+                
+                if (this.chk_StatCondole.Checked)
+                {
+                    rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+                    if (rtnStr.IndexOf("THEORYWEIGHTZL") > 0)
+                    {
+                        rtnStr.Replace(" A.THEORYWEIGHT THEORYWEIGHTZL  ,", " ");
+                    }
+                }
+               
+               
+                if (this.chk_StatResult.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT ";
+                }
+               
+                if (this.chk_PlyStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLY ";
+                }
+                if (this.chk_WidthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.WIDTH ";
+                }
+                if (this.chk_LengthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.LENGTH ";
+                }
+                if (this.Chk_StatStoveNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.STOVENO ";
+                }
+                if (this.Chk_StatRemark.Checked)
+                {
+                    rtnStr = rtnStr + ",B.HANDREMARK ";
+                }
+               
+              
+                
+                if (this.chk_DZ.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT STATIONNAME FROM SEL_STATIONINFO WHERE STATIONCODE = C.STATIONCODE) STATIONCODE ";
+                }
+                if (this.chk_shdw.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT INCEPTCORPNAME FROM SEL_INCEPTCORPINFO WHERE INCEPTCORPCODE = C.INCEPTCORPCODE) INCEPTCORPCODE ";
+                }
+               
+                if (this.chk_StatInTime.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD') INSTORAGETIME,A.INSTEEL INSTROAGESTEEL,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.INCLASSTEAM) INCLASSTEAM ";
+                }
+                if (this.Chk_StatPrd.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD') PTIME,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.PCLASSTEAM) PCLASSTEAM ";
+                }
+                
+                if (this.chk_StatBilletID.Checked)
+                {
+                    rtnStr = rtnStr + ",A.BILLETID,1 QUANTITY,A.THEORYWEIGHT ";
+                }
+                else
+                {
+                    rtnStr = rtnStr + ",COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT  ";
+                }
+                rtnStr = rtnStr + _FromStr;
+                rtnList.Add(rtnStr);
+                return rtnList;
+
+            }
+        }
+		
+		#endregion
+	}
+}

+ 373 - 0
Client/.svn/pristine/0b/0b5b9b906c778d00c813ada4ab9a0a3ce53ab833.svn-base

@@ -0,0 +1,373 @@
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+    partial class frmKCJListQuery
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnQuery");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExport");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExt");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnQuery");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExport");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tlbtnExt");
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.panel1_Fill_Panel = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.frmZBKCListQuery_Fill_Panel = new System.Windows.Forms.Panel();
+            this.Grd_Report = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.exp_SetArea = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.Grp_QueryCondition = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_fs = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ctlKCJListStat1 = new Core.XgMes.Client.JGKC.SteelPlateManager.ctlKCJListStat();
+            this.ctlKCJListQuery1 = new Core.XgMes.Client.JGKC.SteelPlateManager.ctlKCJListQuery();
+            this.ultraGridExcelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            this.frmZBKCListQuery_Fill_Panel.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Report)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.exp_SetArea)).BeginInit();
+            this.exp_SetArea.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_QueryCondition)).BeginInit();
+            this.Grp_QueryCondition.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.panel1_Fill_Panel);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(842, 25);
+            this.panel1.TabIndex = 0;
+            // 
+            // panel1_Fill_Panel
+            // 
+            this.panel1_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
+            this.panel1_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1_Fill_Panel.Location = new System.Drawing.Point(0, 24);
+            this.panel1_Fill_Panel.Name = "panel1_Fill_Panel";
+            this.panel1_Fill_Panel.Size = new System.Drawing.Size(842, 1);
+            this.panel1_Fill_Panel.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 1);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool4.SharedProps.Caption = "查询";
+            buttonTool4.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool5.SharedProps.Caption = "导出";
+            buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool6.SharedProps.Caption = "退出";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(842, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 1);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(842, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 25);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(842, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // frmZBKCListQuery_Fill_Panel
+            // 
+            this.frmZBKCListQuery_Fill_Panel.Controls.Add(this.Grd_Report);
+            this.frmZBKCListQuery_Fill_Panel.Controls.Add(this.exp_SetArea);
+            this.frmZBKCListQuery_Fill_Panel.Controls.Add(this.panel1);
+            this.frmZBKCListQuery_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
+            this.frmZBKCListQuery_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.frmZBKCListQuery_Fill_Panel.Location = new System.Drawing.Point(0, 0);
+            this.frmZBKCListQuery_Fill_Panel.Name = "frmZBKCListQuery_Fill_Panel";
+            this.frmZBKCListQuery_Fill_Panel.Size = new System.Drawing.Size(842, 722);
+            this.frmZBKCListQuery_Fill_Panel.TabIndex = 0;
+            // 
+            // Grd_Report
+            // 
+            ultraGridBand1.UseRowLayout = true;
+            this.Grd_Report.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.Grd_Report.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
+            appearance1.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance1.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance1.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance1.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Report.DisplayLayout.GroupByBox.Appearance = appearance1;
+            appearance2.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Report.DisplayLayout.GroupByBox.BandLabelAppearance = appearance2;
+            this.Grd_Report.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Report.DisplayLayout.GroupByBox.Hidden = true;
+            appearance3.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance3.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Report.DisplayLayout.GroupByBox.PromptAppearance = appearance3;
+            this.Grd_Report.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_Report.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.RaisedSoft;
+            this.Grd_Report.DisplayLayout.Override.CellPadding = 0;
+            appearance4.BackColor = System.Drawing.SystemColors.Control;
+            appearance4.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance4.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Report.DisplayLayout.Override.GroupByRowAppearance = appearance4;
+            appearance5.BackColor = System.Drawing.Color.LightSteelBlue;
+            appearance5.TextHAlign = Infragistics.Win.HAlign.Center;
+            this.Grd_Report.DisplayLayout.Override.HeaderAppearance = appearance5;
+            this.Grd_Report.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.Select;
+            this.Grd_Report.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.Grd_Report.DisplayLayout.Override.MinRowHeight = 21;
+            appearance6.BackColor = System.Drawing.SystemColors.Window;
+            appearance6.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_Report.DisplayLayout.Override.RowAppearance = appearance6;
+            appearance7.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorAppearance = appearance7;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.Grd_Report.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.Grd_Report.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_Report.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
+            appearance8.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_Report.DisplayLayout.Override.TemplateAddRowAppearance = appearance8;
+            this.Grd_Report.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_Report.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_Report.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_Report.Location = new System.Drawing.Point(0, 268);
+            this.Grd_Report.Name = "Grd_Report";
+            this.Grd_Report.Size = new System.Drawing.Size(842, 454);
+            this.Grd_Report.TabIndex = 42;
+            // 
+            // exp_SetArea
+            // 
+            this.exp_SetArea.BackColor = System.Drawing.SystemColors.Control;
+            this.exp_SetArea.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.exp_SetArea.Dock = System.Windows.Forms.DockStyle.Top;
+            this.exp_SetArea.ExpandedSize = new System.Drawing.Size(1004, 320);
+            this.exp_SetArea.Location = new System.Drawing.Point(0, 25);
+            this.exp_SetArea.Name = "exp_SetArea";
+            this.exp_SetArea.Size = new System.Drawing.Size(842, 243);
+            this.exp_SetArea.SupportThemes = false;
+            this.exp_SetArea.TabIndex = 2;
+            this.exp_SetArea.Text = "统计模式及查询条件设置区域";
+            this.exp_SetArea.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Grp_QueryCondition);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 22);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(838, 219);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // Grp_QueryCondition
+            // 
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            this.Grp_QueryCondition.ContentAreaAppearance = appearance9;
+            this.Grp_QueryCondition.Controls.Add(this.chk_fs);
+            this.Grp_QueryCondition.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Grp_QueryCondition.Controls.Add(this.ctlKCJListQuery1);
+            this.Grp_QueryCondition.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grp_QueryCondition.Location = new System.Drawing.Point(0, 0);
+            this.Grp_QueryCondition.Name = "Grp_QueryCondition";
+            this.Grp_QueryCondition.Size = new System.Drawing.Size(838, 219);
+            this.Grp_QueryCondition.SupportThemes = false;
+            this.Grp_QueryCondition.TabIndex = 3;
+            this.Grp_QueryCondition.Text = "查询条件";
+            this.Grp_QueryCondition.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // chk_fs
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_fs.Appearance = appearance10;
+            this.chk_fs.FlatMode = true;
+            this.chk_fs.Location = new System.Drawing.Point(428, 150);
+            this.chk_fs.Name = "chk_fs";
+            this.chk_fs.Size = new System.Drawing.Size(120, 20);
+            this.chk_fs.TabIndex = 52;
+            this.chk_fs.Text = "统计方式全选";
+            this.chk_fs.CheckedChanged += new System.EventHandler(this.chk_fs_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Right;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(285, 274);
+            this.ultraExpandableGroupBox1.HeaderPosition = Infragistics.Win.Misc.GroupBoxHeaderPosition.RightOutsideBorder;
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(551, 20);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(285, 197);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 51;
+            this.ultraExpandableGroupBox1.Text = "统计方式";
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.ctlKCJListStat1);
+            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(3, 3);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(258, 191);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            // 
+            // ctlKCJListStat1
+            // 
+            this.ctlKCJListStat1.Location = new System.Drawing.Point(0, 2);
+            this.ctlKCJListStat1.Name = "ctlKCJListStat1";
+            this.ctlKCJListStat1.Size = new System.Drawing.Size(285, 186);
+            this.ctlKCJListStat1.TabIndex = 0;
+            // 
+            // ctlKCJListQuery1
+            // 
+            this.ctlKCJListQuery1.AutoSize = true;
+            this.ctlKCJListQuery1.Location = new System.Drawing.Point(0, 22);
+            this.ctlKCJListQuery1.Name = "ctlKCJListQuery1";
+            this.ctlKCJListQuery1.Size = new System.Drawing.Size(552, 138);
+            this.ctlKCJListQuery1.TabIndex = 2;
+            // 
+            // frmKCJListQuery
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(842, 722);
+            this.Controls.Add(this.frmZBKCListQuery_Fill_Panel);
+            this.Name = "frmKCJListQuery";
+            this.Text = "板加库存综合查询";
+            this.Load += new System.EventHandler(this.frmKCJListQuery_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            this.frmZBKCListQuery_Fill_Panel.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Report)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.exp_SetArea)).EndInit();
+            this.exp_SetArea.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_QueryCondition)).EndInit();
+            this.Grp_QueryCondition.ResumeLayout(false);
+            this.Grp_QueryCondition.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Panel panel1_Fill_Panel;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private System.Windows.Forms.Panel frmZBKCListQuery_Fill_Panel;
+        protected Infragistics.Win.Misc.UltraExpandableGroupBox exp_SetArea;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private Infragistics.Win.Misc.UltraGroupBox Grp_QueryCondition;
+        private Infragistics.Win.UltraWinGrid.UltraGrid Grd_Report;
+        private Core.XgMes.Client.JGKC.SteelPlateManager.ctlKCJListQuery ctlKCJListQuery1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_fs;
+        protected Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter ultraGridExcelExporter;
+        private Core.XgMes.Client.JGKC.SteelPlateManager.ctlKCJListStat ctlKCJListStat1;
+    }
+}

+ 3401 - 0
Client/.svn/pristine/0c/0c191c7ab8b94606627301f24f75e973b691a9c5.svn-base

@@ -0,0 +1,3401 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using  System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+	/// <summary>
+    /// FrmPlanApproval的摘要说明。
+	/// </summary>
+	public class FrmPlanApproval : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel21;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel22;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel23;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel24;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel25;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor15;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel26;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor16;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_WZName;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor8;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor18;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel27;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor19;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor20;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor3;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel37;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel38;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor5;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel39;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel40;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel41;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor8;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel42;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel43;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor10;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel44;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel45;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor21;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel46;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor22;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel47;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor23;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel48;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor24;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel49;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor25;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel51;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor26;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel52;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor27;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel53;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor28;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel54;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor29;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor30;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor11;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel55;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor12;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel56;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor13;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel57;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel58;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor15;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel59;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor16;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel60;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor17;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel61;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor18;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel62;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel63;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor31;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel64;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor32;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel65;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor33;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel66;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor34;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel67;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor35;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gd_PlanSP;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Time;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+        public Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor17;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor36;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor19;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor37;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel28;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor38;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel30;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor39;
+        public Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor40;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel31;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor41;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel32;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor20;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel33;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel34;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor42;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel35;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor43;
+        private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_Name;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel72;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor44;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel73;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor45;
+        private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel74;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel76;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor ultraDateTimeEditor1;
+        private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo2;
+        private Infragistics.Win.UltraWinGrid.UltraCombo ultraCombo3;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel77;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel78;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel79;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor46;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel80;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor47;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor48;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel81;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor21;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel82;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel83;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor49;
+        private Panel panel3;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_SPDate;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ID;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel75;
+        private Label label2;
+        private Label label1;
+		private System.ComponentModel.IContainer components;
+
+        public FrmPlanApproval()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DECLARE_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DECLARE_LX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("METARILCODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("METARILNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANPRICE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MAKE_CYCLE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DECLARE_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DECLAR_DATE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISJZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISSP");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DIRECTOR_DATE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MANAGER_DATE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIME_");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("KCNUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("JLSP");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZRSP");
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem17 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem18 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem19 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem20 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem21 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem22 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem23 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem24 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem25 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem26 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem27 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem28 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem29 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem30 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem31 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem32 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem33 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem34 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem35 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem36 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem37 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem38 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem39 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem40 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinEditors.EditorButton editorButton1 = new Infragistics.Win.UltraWinEditors.EditorButton();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem41 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem42 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinEditors.EditorButton editorButton2 = new Infragistics.Win.UltraWinEditors.EditorButton();
+            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem43 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem44 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance78 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance79 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance80 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance81 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance82 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance83 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance84 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance85 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance86 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance87 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance88 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance89 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem45 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance90 = new Infragistics.Win.Appearance();
+            this.Cmb_Name = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.label2 = new System.Windows.Forms.Label();
+            this.label1 = new System.Windows.Forms.Label();
+            this.chk_Time = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_WZName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.dte_SPDate = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_ID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel75 = new Infragistics.Win.Misc.UltraLabel();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.gd_PlanSP = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel22 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel23 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor14 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor15 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel26 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor16 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor8 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor18 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor19 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor20 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor3 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor4 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel38 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor5 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel39 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor6 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel40 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor7 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel41 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor8 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel42 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor9 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel43 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor10 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel44 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel45 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor21 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel46 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor22 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel47 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor23 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel48 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor24 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel49 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor25 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel51 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor26 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel52 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor27 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel53 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor28 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel54 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor29 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor30 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor11 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel55 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor12 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel56 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor13 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel57 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor14 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel58 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor15 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel59 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor16 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel60 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor17 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel61 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor18 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel62 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel63 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor31 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel64 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor32 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel65 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor33 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel66 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor34 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel67 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor35 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor17 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor36 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor19 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor37 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel28 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor38 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel30 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor39 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor40 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel31 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor41 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel32 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor20 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel33 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel34 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor42 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel35 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor43 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel72 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor44 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel73 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor45 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraCombo1 = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel74 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel76 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraDateTimeEditor1 = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraCombo2 = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraCombo3 = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel77 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel78 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel79 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor46 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel80 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor47 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor48 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel81 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor21 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel82 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel83 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor49 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Name)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_SPDate)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_PlanSP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor18)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor19)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor20)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor21)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor22)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor23)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor24)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor25)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor26)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor27)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor28)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor29)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor30)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor18)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor31)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor32)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor33)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor34)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor35)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor36)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor19)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor37)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor38)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor39)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor40)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor41)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor20)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor42)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor43)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor44)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor45)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor46)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor47)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor48)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor21)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor49)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // Cmb_Name
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_Name.Appearance = appearance1;
+            this.Cmb_Name.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.Cmb_Name.DisplayMember = "";
+            this.Cmb_Name.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_Name.Enabled = false;
+            this.Cmb_Name.FlatMode = true;
+            this.Cmb_Name.Location = new System.Drawing.Point(445, 6);
+            this.Cmb_Name.Name = "Cmb_Name";
+            this.Cmb_Name.Size = new System.Drawing.Size(270, 19);
+            this.Cmb_Name.TabIndex = 614;
+            this.Cmb_Name.Tag = "";
+            this.Cmb_Name.ValueMember = "";
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1028, 32);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 8);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool6.SharedProps.Caption = "审批";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool7.SharedProps.Caption = "查询";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "关闭";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "导出";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "重新申报";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "取消";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool6,
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1028, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 8);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1028, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1028, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraGroupBox1.Appearance = appearance2;
+            this.ultraGroupBox1.Controls.Add(this.label2);
+            this.ultraGroupBox1.Controls.Add(this.label1);
+            this.ultraGroupBox1.Controls.Add(this.Cmb_Name);
+            this.ultraGroupBox1.Controls.Add(this.chk_Time);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.Chk_WZName);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1028, 35);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // label2
+            // 
+            this.label2.ForeColor = System.Drawing.Color.YellowGreen;
+            this.label2.Location = new System.Drawing.Point(828, 7);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(100, 21);
+            this.label2.TabIndex = 616;
+            this.label2.Text = "经理审批";
+            // 
+            // label1
+            // 
+            this.label1.ForeColor = System.Drawing.Color.Red;
+            this.label1.Location = new System.Drawing.Point(722, 6);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(100, 21);
+            this.label1.TabIndex = 615;
+            this.label1.Text = "主任审批";
+            // 
+            // chk_Time
+            // 
+            this.chk_Time.Location = new System.Drawing.Point(12, 7);
+            this.chk_Time.Name = "chk_Time";
+            this.chk_Time.Size = new System.Drawing.Size(84, 22);
+            this.chk_Time.TabIndex = 397;
+            this.chk_Time.Text = "申报时间";
+            this.chk_Time.CheckedChanged += new System.EventHandler(this.chk_Time_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.DateTime = new System.DateTime(2016, 12, 2, 0, 0, 0, 0);
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(251, 6);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 396;
+            this.dte_EndTime.Value = new System.DateTime(2016, 12, 2, 0, 0, 0, 0);
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.DateTime = new System.DateTime(2016, 12, 2, 0, 0, 0, 0);
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(103, 7);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 395;
+            this.dte_BeginTime.Value = new System.DateTime(2016, 12, 2, 0, 0, 0, 0);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(225, 8);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 394;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(1086, 7);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
+            this.chk_AllowFilter.TabIndex = 131;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "允许过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // Chk_WZName
+            // 
+            this.Chk_WZName.FlatMode = true;
+            this.Chk_WZName.Location = new System.Drawing.Point(374, 8);
+            this.Chk_WZName.Name = "Chk_WZName";
+            this.Chk_WZName.Size = new System.Drawing.Size(75, 17);
+            this.Chk_WZName.TabIndex = 112;
+            this.Chk_WZName.Text = "物资名称";
+            this.Chk_WZName.CheckedChanged += new System.EventHandler(this.Chk_CKLB_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(200, 185);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 430);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1028, 88);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 4;
+            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel3);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 66);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // panel3
+            // 
+            this.panel3.Controls.Add(this.dte_SPDate);
+            this.panel3.Controls.Add(this.txt_ID);
+            this.panel3.Controls.Add(this.ultraLabel2);
+            this.panel3.Controls.Add(this.txt_Remark);
+            this.panel3.Controls.Add(this.ultraLabel75);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel3.Location = new System.Drawing.Point(0, 0);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(1024, 66);
+            this.panel3.TabIndex = 0;
+            // 
+            // dte_SPDate
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_SPDate.Appearance = appearance3;
+            this.dte_SPDate.DateTime = new System.DateTime(2014, 11, 6, 0, 0, 0, 0);
+            this.dte_SPDate.FlatMode = true;
+            this.dte_SPDate.Location = new System.Drawing.Point(77, 11);
+            this.dte_SPDate.MaskInput = "{date} {time}";
+            this.dte_SPDate.Name = "dte_SPDate";
+            this.dte_SPDate.Size = new System.Drawing.Size(159, 19);
+            this.dte_SPDate.TabIndex = 671;
+            this.dte_SPDate.Value = new System.DateTime(2014, 11, 6, 0, 0, 0, 0);
+            this.dte_SPDate.Enter += new System.EventHandler(this.dte_SPDate_Enter);
+            this.dte_SPDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dte_SPDate_KeyDown);
+            // 
+            // txt_ID
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_ID.Appearance = appearance4;
+            this.txt_ID.AutoSize = true;
+            this.txt_ID.FlatMode = true;
+            this.txt_ID.Location = new System.Drawing.Point(644, 114);
+            this.txt_ID.Name = "txt_ID";
+            this.txt_ID.Size = new System.Drawing.Size(156, 19);
+            this.txt_ID.TabIndex = 670;
+            this.txt_ID.Tag = "";
+            this.txt_ID.Visible = false;
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(3, 13);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(67, 20);
+            this.ultraLabel2.TabIndex = 669;
+            this.ultraLabel2.Text = "审批日期";
+            // 
+            // txt_Remark
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Remark.Appearance = appearance5;
+            this.txt_Remark.AutoSize = true;
+            this.txt_Remark.FlatMode = true;
+            this.txt_Remark.Location = new System.Drawing.Point(288, 12);
+            this.txt_Remark.Multiline = true;
+            this.txt_Remark.Name = "txt_Remark";
+            this.txt_Remark.Size = new System.Drawing.Size(404, 47);
+            this.txt_Remark.TabIndex = 668;
+            this.txt_Remark.Tag = "";
+            this.txt_Remark.Enter += new System.EventHandler(this.dte_SPDate_Enter);
+            this.txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dte_SPDate_KeyDown);
+            // 
+            // ultraLabel75
+            // 
+            this.ultraLabel75.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel75.Location = new System.Drawing.Point(249, 12);
+            this.ultraLabel75.Name = "ultraLabel75";
+            this.ultraLabel75.Size = new System.Drawing.Size(29, 20);
+            this.ultraLabel75.TabIndex = 667;
+            this.ultraLabel75.Text = "备注";
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.gd_PlanSP);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel2.Location = new System.Drawing.Point(0, 67);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1028, 363);
+            this.panel2.TabIndex = 5;
+            // 
+            // gd_PlanSP
+            // 
+            appearance6.BackColor = System.Drawing.Color.Ivory;
+            this.gd_PlanSP.DisplayLayout.Appearance = appearance6;
+            ultraGridColumn1.Header.Caption = "申报ID";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "申报类型";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.Hidden = true;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "物资代码";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "规格型号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(50, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "材质";
+            ultraGridColumn5.Header.VisiblePosition = 5;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "物资名称";
+            ultraGridColumn6.Header.VisiblePosition = 6;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "计量单位";
+            ultraGridColumn7.Header.VisiblePosition = 4;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "单重";
+            ultraGridColumn8.Header.VisiblePosition = 8;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "物资类别";
+            ultraGridColumn9.Header.VisiblePosition = 9;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "计划单价";
+            ultraGridColumn10.Header.VisiblePosition = 11;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "制造周期";
+            ultraGridColumn11.Header.VisiblePosition = 12;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "申报数量";
+            ultraGridColumn12.Header.VisiblePosition = 13;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "申报日期";
+            ultraGridColumn13.Header.VisiblePosition = 14;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "是否急件";
+            ultraGridColumn14.Header.VisiblePosition = 15;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(62, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.VisiblePosition = 16;
+            ultraGridColumn15.Hidden = true;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "主任审批日期";
+            ultraGridColumn16.Header.VisiblePosition = 17;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "经理审批日期";
+            ultraGridColumn17.Header.VisiblePosition = 18;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "操作人员";
+            ultraGridColumn18.Header.VisiblePosition = 10;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "操作时间";
+            ultraGridColumn19.Header.VisiblePosition = 19;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "备注";
+            ultraGridColumn20.Header.VisiblePosition = 7;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "库存数";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.Hidden = true;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.Hidden = true;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23});
+            ultraGridBand1.UseRowLayout = true;
+            this.gd_PlanSP.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gd_PlanSP.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gd_PlanSP.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_PlanSP.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!";
+            appearance7.BorderColor = System.Drawing.Color.Black;
+            appearance7.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_PlanSP.DisplayLayout.Override.CellAppearance = appearance7;
+            this.gd_PlanSP.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
+            this.gd_PlanSP.DisplayLayout.Override.CellPadding = 0;
+            appearance8.BackColor = System.Drawing.SystemColors.Control;
+            appearance8.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance8.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance8.BorderColor = System.Drawing.SystemColors.Window;
+            appearance8.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance8.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_PlanSP.DisplayLayout.Override.GroupByRowAppearance = appearance8;
+            this.gd_PlanSP.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
+            this.gd_PlanSP.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance9.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_PlanSP.DisplayLayout.Override.HeaderAppearance = appearance9;
+            this.gd_PlanSP.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
+            this.gd_PlanSP.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance10.BackColor = System.Drawing.SystemColors.Window;
+            appearance10.BorderColor = System.Drawing.Color.Black;
+            appearance10.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_PlanSP.DisplayLayout.Override.RowAppearance = appearance10;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Black;
+            appearance11.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_PlanSP.DisplayLayout.Override.RowPreviewAppearance = appearance11;
+            this.gd_PlanSP.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_PlanSP.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_PlanSP.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance12.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance12.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_PlanSP.DisplayLayout.Override.SelectedRowAppearance = appearance12;
+            this.gd_PlanSP.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance13.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_PlanSP.DisplayLayout.Override.SummaryFooterAppearance = appearance13;
+            appearance14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance14.ForeColor = System.Drawing.Color.Red;
+            this.gd_PlanSP.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance14;
+            this.gd_PlanSP.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance15.BackColor = System.Drawing.Color.MistyRose;
+            appearance15.ForeColor = System.Drawing.Color.Blue;
+            appearance15.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance15.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_PlanSP.DisplayLayout.Override.SummaryValueAppearance = appearance15;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_PlanSP.DisplayLayout.Override.TemplateAddRowAppearance = appearance16;
+            this.gd_PlanSP.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_PlanSP.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_PlanSP.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_PlanSP.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_PlanSP.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gd_PlanSP.Location = new System.Drawing.Point(0, 0);
+            this.gd_PlanSP.Name = "gd_PlanSP";
+            this.gd_PlanSP.Size = new System.Drawing.Size(1028, 363);
+            this.gd_PlanSP.TabIndex = 1;
+            this.gd_PlanSP.Text = "原料垛位信息";
+            this.gd_PlanSP.AfterRowActivate += new System.EventHandler(this.gd_PlanSP_AfterRowActivate);
+            this.gd_PlanSP.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gd_PlanSP_InitializeRow);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 365;
+            this.ultraLabel3.Text = "规格型号";
+            // 
+            // ultraTextEditor1
+            // 
+            appearance17.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor1.Appearance = appearance17;
+            this.ultraTextEditor1.AutoSize = true;
+            this.ultraTextEditor1.Enabled = false;
+            this.ultraTextEditor1.FlatMode = true;
+            this.ultraTextEditor1.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor1.Multiline = true;
+            this.ultraTextEditor1.Name = "ultraTextEditor1";
+            this.ultraTextEditor1.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor1.TabIndex = 364;
+            this.ultraTextEditor1.Tag = "";
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel5.TabIndex = 363;
+            this.ultraLabel5.Text = "物资名称";
+            // 
+            // ultraTextEditor2
+            // 
+            appearance18.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor2.Appearance = appearance18;
+            this.ultraTextEditor2.AutoSize = true;
+            this.ultraTextEditor2.Enabled = false;
+            this.ultraTextEditor2.FlatMode = true;
+            this.ultraTextEditor2.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor2.Multiline = true;
+            this.ultraTextEditor2.Name = "ultraTextEditor2";
+            this.ultraTextEditor2.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor2.TabIndex = 362;
+            this.ultraTextEditor2.Tag = "";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel6.TabIndex = 361;
+            this.ultraLabel6.Text = "物资代码";
+            // 
+            // ultraTextEditor3
+            // 
+            appearance19.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor3.Appearance = appearance19;
+            this.ultraTextEditor3.AutoSize = true;
+            this.ultraTextEditor3.Enabled = false;
+            this.ultraTextEditor3.FlatMode = true;
+            this.ultraTextEditor3.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor3.Name = "ultraTextEditor3";
+            this.ultraTextEditor3.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor3.TabIndex = 358;
+            this.ultraTextEditor3.Tag = "";
+            // 
+            // ultraComboEditor1
+            // 
+            appearance20.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor1.Appearance = appearance20;
+            this.ultraComboEditor1.AutoSize = true;
+            valueListItem1.DataValue = "0";
+            valueListItem2.DataValue = "A";
+            valueListItem2.DisplayText = "A";
+            valueListItem3.DataValue = "B";
+            valueListItem3.DisplayText = "B";
+            valueListItem4.DataValue = "C";
+            valueListItem4.DisplayText = "C";
+            this.ultraComboEditor1.Items.Add(valueListItem1);
+            this.ultraComboEditor1.Items.Add(valueListItem2);
+            this.ultraComboEditor1.Items.Add(valueListItem3);
+            this.ultraComboEditor1.Items.Add(valueListItem4);
+            this.ultraComboEditor1.Location = new System.Drawing.Point(340, 5);
+            this.ultraComboEditor1.Name = "ultraComboEditor1";
+            this.ultraComboEditor1.Size = new System.Drawing.Size(86, 21);
+            this.ultraComboEditor1.TabIndex = 369;
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel9.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel9.TabIndex = 368;
+            this.ultraLabel9.Text = "物资类别";
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel10.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel10.TabIndex = 367;
+            this.ultraLabel10.Text = "材质";
+            // 
+            // ultraTextEditor4
+            // 
+            appearance21.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor4.Appearance = appearance21;
+            this.ultraTextEditor4.AutoSize = true;
+            this.ultraTextEditor4.Enabled = false;
+            this.ultraTextEditor4.FlatMode = true;
+            this.ultraTextEditor4.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor4.Multiline = true;
+            this.ultraTextEditor4.Name = "ultraTextEditor4";
+            this.ultraTextEditor4.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor4.TabIndex = 366;
+            this.ultraTextEditor4.Tag = "";
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel11.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel11.TabIndex = 365;
+            this.ultraLabel11.Text = "规格型号";
+            // 
+            // ultraTextEditor5
+            // 
+            appearance22.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor5.Appearance = appearance22;
+            this.ultraTextEditor5.AutoSize = true;
+            this.ultraTextEditor5.Enabled = false;
+            this.ultraTextEditor5.FlatMode = true;
+            this.ultraTextEditor5.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor5.Multiline = true;
+            this.ultraTextEditor5.Name = "ultraTextEditor5";
+            this.ultraTextEditor5.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor5.TabIndex = 364;
+            this.ultraTextEditor5.Tag = "";
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel12.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel12.TabIndex = 363;
+            this.ultraLabel12.Text = "物资名称";
+            // 
+            // ultraTextEditor6
+            // 
+            appearance23.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor6.Appearance = appearance23;
+            this.ultraTextEditor6.AutoSize = true;
+            this.ultraTextEditor6.Enabled = false;
+            this.ultraTextEditor6.FlatMode = true;
+            this.ultraTextEditor6.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor6.Multiline = true;
+            this.ultraTextEditor6.Name = "ultraTextEditor6";
+            this.ultraTextEditor6.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor6.TabIndex = 362;
+            this.ultraTextEditor6.Tag = "";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel13.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 361;
+            this.ultraLabel13.Text = "物资代码";
+            // 
+            // ultraTextEditor7
+            // 
+            appearance24.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor7.Appearance = appearance24;
+            this.ultraTextEditor7.AutoSize = true;
+            this.ultraTextEditor7.Enabled = false;
+            this.ultraTextEditor7.FlatMode = true;
+            this.ultraTextEditor7.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor7.Name = "ultraTextEditor7";
+            this.ultraTextEditor7.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor7.TabIndex = 358;
+            this.ultraTextEditor7.Tag = "";
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel18.Location = new System.Drawing.Point(3, 99);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel18.TabIndex = 377;
+            this.ultraLabel18.Text = "最高限价";
+            // 
+            // ultraTextEditor9
+            // 
+            appearance25.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor9.Appearance = appearance25;
+            this.ultraTextEditor9.AutoSize = true;
+            this.ultraTextEditor9.Enabled = false;
+            this.ultraTextEditor9.FlatMode = true;
+            this.ultraTextEditor9.Location = new System.Drawing.Point(60, 96);
+            this.ultraTextEditor9.Name = "ultraTextEditor9";
+            this.ultraTextEditor9.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor9.TabIndex = 376;
+            this.ultraTextEditor9.Tag = "";
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel19.Location = new System.Drawing.Point(289, 77);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel19.TabIndex = 375;
+            this.ultraLabel19.Text = "最高限价";
+            // 
+            // ultraTextEditor10
+            // 
+            appearance26.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor10.Appearance = appearance26;
+            this.ultraTextEditor10.AutoSize = true;
+            this.ultraTextEditor10.Enabled = false;
+            this.ultraTextEditor10.FlatMode = true;
+            this.ultraTextEditor10.Location = new System.Drawing.Point(346, 74);
+            this.ultraTextEditor10.Name = "ultraTextEditor10";
+            this.ultraTextEditor10.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor10.TabIndex = 374;
+            this.ultraTextEditor10.Tag = "";
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel20.Location = new System.Drawing.Point(289, 55);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel20.TabIndex = 373;
+            this.ultraLabel20.Text = "预估价";
+            // 
+            // ultraTextEditor11
+            // 
+            appearance27.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor11.Appearance = appearance27;
+            this.ultraTextEditor11.AutoSize = true;
+            this.ultraTextEditor11.Enabled = false;
+            this.ultraTextEditor11.FlatMode = true;
+            this.ultraTextEditor11.Location = new System.Drawing.Point(346, 52);
+            this.ultraTextEditor11.Name = "ultraTextEditor11";
+            this.ultraTextEditor11.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor11.TabIndex = 372;
+            this.ultraTextEditor11.Tag = "";
+            // 
+            // ultraLabel21
+            // 
+            this.ultraLabel21.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel21.Location = new System.Drawing.Point(289, 33);
+            this.ultraLabel21.Name = "ultraLabel21";
+            this.ultraLabel21.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel21.TabIndex = 371;
+            this.ultraLabel21.Text = "计划价";
+            // 
+            // ultraTextEditor12
+            // 
+            appearance28.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor12.Appearance = appearance28;
+            this.ultraTextEditor12.AutoSize = true;
+            this.ultraTextEditor12.Enabled = false;
+            this.ultraTextEditor12.FlatMode = true;
+            this.ultraTextEditor12.Location = new System.Drawing.Point(346, 30);
+            this.ultraTextEditor12.Name = "ultraTextEditor12";
+            this.ultraTextEditor12.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor12.TabIndex = 370;
+            this.ultraTextEditor12.Tag = "";
+            // 
+            // ultraComboEditor2
+            // 
+            appearance29.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor2.Appearance = appearance29;
+            this.ultraComboEditor2.AutoSize = true;
+            valueListItem5.DataValue = "0";
+            valueListItem6.DataValue = "A";
+            valueListItem6.DisplayText = "A";
+            valueListItem7.DataValue = "B";
+            valueListItem7.DisplayText = "B";
+            valueListItem8.DataValue = "C";
+            valueListItem8.DisplayText = "C";
+            this.ultraComboEditor2.Items.Add(valueListItem5);
+            this.ultraComboEditor2.Items.Add(valueListItem6);
+            this.ultraComboEditor2.Items.Add(valueListItem7);
+            this.ultraComboEditor2.Items.Add(valueListItem8);
+            this.ultraComboEditor2.Location = new System.Drawing.Point(346, 5);
+            this.ultraComboEditor2.Name = "ultraComboEditor2";
+            this.ultraComboEditor2.Size = new System.Drawing.Size(86, 21);
+            this.ultraComboEditor2.TabIndex = 369;
+            // 
+            // ultraLabel22
+            // 
+            this.ultraLabel22.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel22.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel22.Name = "ultraLabel22";
+            this.ultraLabel22.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel22.TabIndex = 368;
+            this.ultraLabel22.Text = "物资类别";
+            // 
+            // ultraLabel23
+            // 
+            this.ultraLabel23.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel23.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel23.Name = "ultraLabel23";
+            this.ultraLabel23.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel23.TabIndex = 367;
+            this.ultraLabel23.Text = "材质";
+            // 
+            // ultraTextEditor13
+            // 
+            appearance30.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor13.Appearance = appearance30;
+            this.ultraTextEditor13.AutoSize = true;
+            this.ultraTextEditor13.Enabled = false;
+            this.ultraTextEditor13.FlatMode = true;
+            this.ultraTextEditor13.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor13.Multiline = true;
+            this.ultraTextEditor13.Name = "ultraTextEditor13";
+            this.ultraTextEditor13.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor13.TabIndex = 366;
+            this.ultraTextEditor13.Tag = "";
+            // 
+            // ultraLabel24
+            // 
+            this.ultraLabel24.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel24.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel24.Name = "ultraLabel24";
+            this.ultraLabel24.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel24.TabIndex = 365;
+            this.ultraLabel24.Text = "规格型号";
+            // 
+            // ultraTextEditor14
+            // 
+            appearance31.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor14.Appearance = appearance31;
+            this.ultraTextEditor14.AutoSize = true;
+            this.ultraTextEditor14.Enabled = false;
+            this.ultraTextEditor14.FlatMode = true;
+            this.ultraTextEditor14.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor14.Multiline = true;
+            this.ultraTextEditor14.Name = "ultraTextEditor14";
+            this.ultraTextEditor14.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor14.TabIndex = 364;
+            this.ultraTextEditor14.Tag = "";
+            // 
+            // ultraLabel25
+            // 
+            this.ultraLabel25.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel25.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel25.Name = "ultraLabel25";
+            this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel25.TabIndex = 363;
+            this.ultraLabel25.Text = "物资名称";
+            // 
+            // ultraTextEditor15
+            // 
+            appearance32.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor15.Appearance = appearance32;
+            this.ultraTextEditor15.AutoSize = true;
+            this.ultraTextEditor15.Enabled = false;
+            this.ultraTextEditor15.FlatMode = true;
+            this.ultraTextEditor15.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor15.Multiline = true;
+            this.ultraTextEditor15.Name = "ultraTextEditor15";
+            this.ultraTextEditor15.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor15.TabIndex = 362;
+            this.ultraTextEditor15.Tag = "";
+            // 
+            // ultraLabel26
+            // 
+            this.ultraLabel26.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel26.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel26.Name = "ultraLabel26";
+            this.ultraLabel26.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel26.TabIndex = 361;
+            this.ultraLabel26.Text = "物资代码";
+            // 
+            // ultraTextEditor16
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor16.Appearance = appearance33;
+            this.ultraTextEditor16.AutoSize = true;
+            this.ultraTextEditor16.Enabled = false;
+            this.ultraTextEditor16.FlatMode = true;
+            this.ultraTextEditor16.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor16.Name = "ultraTextEditor16";
+            this.ultraTextEditor16.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor16.TabIndex = 358;
+            this.ultraTextEditor16.Tag = "";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel16.Location = new System.Drawing.Point(261, 33);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(118, 18);
+            this.ultraLabel16.TabIndex = 405;
+            this.ultraLabel16.Text = "委托代理人身份证号";
+            // 
+            // ultraTextEditor8
+            // 
+            appearance34.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor8.Appearance = appearance34;
+            this.ultraTextEditor8.AutoSize = true;
+            this.ultraTextEditor8.FlatMode = true;
+            this.ultraTextEditor8.Location = new System.Drawing.Point(385, 30);
+            this.ultraTextEditor8.Multiline = true;
+            this.ultraTextEditor8.Name = "ultraTextEditor8";
+            this.ultraTextEditor8.Size = new System.Drawing.Size(91, 19);
+            this.ultraTextEditor8.TabIndex = 404;
+            this.ultraTextEditor8.Tag = "";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel17.Location = new System.Drawing.Point(4, 99);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(109, 19);
+            this.ultraLabel17.TabIndex = 403;
+            this.ultraLabel17.Text = "法人代表身份证号";
+            // 
+            // ultraTextEditor18
+            // 
+            appearance35.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor18.Appearance = appearance35;
+            this.ultraTextEditor18.AutoSize = true;
+            this.ultraTextEditor18.FlatMode = true;
+            this.ultraTextEditor18.Location = new System.Drawing.Point(112, 96);
+            this.ultraTextEditor18.Multiline = true;
+            this.ultraTextEditor18.Name = "ultraTextEditor18";
+            this.ultraTextEditor18.Size = new System.Drawing.Size(139, 19);
+            this.ultraTextEditor18.TabIndex = 402;
+            this.ultraTextEditor18.Tag = "";
+            // 
+            // ultraLabel27
+            // 
+            this.ultraLabel27.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel27.Location = new System.Drawing.Point(261, 7);
+            this.ultraLabel27.Name = "ultraLabel27";
+            this.ultraLabel27.Size = new System.Drawing.Size(66, 16);
+            this.ultraLabel27.TabIndex = 401;
+            this.ultraLabel27.Text = "委托代理人";
+            // 
+            // ultraTextEditor19
+            // 
+            appearance36.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor19.Appearance = appearance36;
+            this.ultraTextEditor19.AutoSize = true;
+            this.ultraTextEditor19.FlatMode = true;
+            this.ultraTextEditor19.Location = new System.Drawing.Point(333, 4);
+            this.ultraTextEditor19.Multiline = true;
+            this.ultraTextEditor19.Name = "ultraTextEditor19";
+            this.ultraTextEditor19.Size = new System.Drawing.Size(143, 19);
+            this.ultraTextEditor19.TabIndex = 400;
+            this.ultraTextEditor19.Tag = "";
+            // 
+            // ultraTextEditor20
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor20.Appearance = appearance37;
+            this.ultraTextEditor20.AutoSize = true;
+            this.ultraTextEditor20.FlatMode = true;
+            this.ultraTextEditor20.Location = new System.Drawing.Point(927, 28);
+            this.ultraTextEditor20.Multiline = true;
+            this.ultraTextEditor20.Name = "ultraTextEditor20";
+            this.ultraTextEditor20.Size = new System.Drawing.Size(173, 85);
+            this.ultraTextEditor20.TabIndex = 399;
+            this.ultraTextEditor20.Tag = "";
+            // 
+            // ultraComboEditor3
+            // 
+            appearance38.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor3.Appearance = appearance38;
+            this.ultraComboEditor3.AutoSize = true;
+            valueListItem9.DataValue = "0";
+            valueListItem9.DisplayText = "非以旧换新";
+            valueListItem10.DataValue = "1";
+            valueListItem10.DisplayText = "以旧换新";
+            this.ultraComboEditor3.Items.Add(valueListItem9);
+            this.ultraComboEditor3.Items.Add(valueListItem10);
+            this.ultraComboEditor3.Location = new System.Drawing.Point(962, 2);
+            this.ultraComboEditor3.Name = "ultraComboEditor3";
+            this.ultraComboEditor3.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor3.TabIndex = 398;
+            // 
+            // ultraLabel37
+            // 
+            this.ultraLabel37.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel37.Location = new System.Drawing.Point(886, 5);
+            this.ultraLabel37.Name = "ultraLabel37";
+            this.ultraLabel37.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel37.TabIndex = 397;
+            this.ultraLabel37.Text = "是否以旧换新";
+            // 
+            // ultraComboEditor4
+            // 
+            appearance39.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor4.Appearance = appearance39;
+            this.ultraComboEditor4.AutoSize = true;
+            valueListItem11.DataValue = "0";
+            valueListItem11.DisplayText = "非招标物资";
+            valueListItem12.DataValue = "1";
+            valueListItem12.DisplayText = "招标物资";
+            this.ultraComboEditor4.Items.Add(valueListItem11);
+            this.ultraComboEditor4.Items.Add(valueListItem12);
+            this.ultraComboEditor4.Location = new System.Drawing.Point(760, 73);
+            this.ultraComboEditor4.Name = "ultraComboEditor4";
+            this.ultraComboEditor4.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor4.TabIndex = 396;
+            // 
+            // ultraLabel38
+            // 
+            this.ultraLabel38.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel38.Location = new System.Drawing.Point(684, 76);
+            this.ultraLabel38.Name = "ultraLabel38";
+            this.ultraLabel38.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel38.TabIndex = 395;
+            this.ultraLabel38.Text = "是否招标物资";
+            // 
+            // ultraComboEditor5
+            // 
+            appearance40.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor5.Appearance = appearance40;
+            this.ultraComboEditor5.AutoSize = true;
+            valueListItem13.DataValue = "0";
+            valueListItem13.DisplayText = "非修复物资";
+            valueListItem14.DataValue = "1";
+            valueListItem14.DisplayText = "修复物资";
+            this.ultraComboEditor5.Items.Add(valueListItem13);
+            this.ultraComboEditor5.Items.Add(valueListItem14);
+            this.ultraComboEditor5.Location = new System.Drawing.Point(760, 49);
+            this.ultraComboEditor5.Name = "ultraComboEditor5";
+            this.ultraComboEditor5.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor5.TabIndex = 394;
+            // 
+            // ultraLabel39
+            // 
+            this.ultraLabel39.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel39.Location = new System.Drawing.Point(684, 52);
+            this.ultraLabel39.Name = "ultraLabel39";
+            this.ultraLabel39.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel39.TabIndex = 393;
+            this.ultraLabel39.Text = "是否修复物资";
+            // 
+            // ultraComboEditor6
+            // 
+            appearance41.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor6.Appearance = appearance41;
+            this.ultraComboEditor6.AutoSize = true;
+            valueListItem15.DataValue = "0";
+            valueListItem15.DisplayText = "不包安装";
+            valueListItem16.DataValue = "1";
+            valueListItem16.DisplayText = "包安装";
+            this.ultraComboEditor6.Items.Add(valueListItem15);
+            this.ultraComboEditor6.Items.Add(valueListItem16);
+            this.ultraComboEditor6.Location = new System.Drawing.Point(760, 26);
+            this.ultraComboEditor6.Name = "ultraComboEditor6";
+            this.ultraComboEditor6.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor6.TabIndex = 392;
+            // 
+            // ultraLabel40
+            // 
+            this.ultraLabel40.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel40.Location = new System.Drawing.Point(684, 29);
+            this.ultraLabel40.Name = "ultraLabel40";
+            this.ultraLabel40.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel40.TabIndex = 391;
+            this.ultraLabel40.Text = "是否包安装";
+            // 
+            // ultraComboEditor7
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor7.Appearance = appearance42;
+            this.ultraComboEditor7.AutoSize = true;
+            valueListItem17.DataValue = "0";
+            valueListItem17.DisplayText = "非备库物资";
+            valueListItem18.DataValue = "1";
+            valueListItem18.DisplayText = "备库物资";
+            this.ultraComboEditor7.Items.Add(valueListItem17);
+            this.ultraComboEditor7.Items.Add(valueListItem18);
+            this.ultraComboEditor7.Location = new System.Drawing.Point(760, 3);
+            this.ultraComboEditor7.Name = "ultraComboEditor7";
+            this.ultraComboEditor7.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor7.TabIndex = 390;
+            // 
+            // ultraLabel41
+            // 
+            this.ultraLabel41.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel41.Location = new System.Drawing.Point(684, 6);
+            this.ultraLabel41.Name = "ultraLabel41";
+            this.ultraLabel41.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel41.TabIndex = 389;
+            this.ultraLabel41.Text = "是否备库物资";
+            // 
+            // ultraComboEditor8
+            // 
+            appearance43.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor8.Appearance = appearance43;
+            this.ultraComboEditor8.AutoSize = true;
+            valueListItem19.DataValue = "0";
+            valueListItem19.DisplayText = "正在使用的物资";
+            valueListItem20.DataValue = "1";
+            valueListItem20.DisplayText = "已废除的物资";
+            this.ultraComboEditor8.Items.Add(valueListItem19);
+            this.ultraComboEditor8.Items.Add(valueListItem20);
+            this.ultraComboEditor8.Location = new System.Drawing.Point(584, 76);
+            this.ultraComboEditor8.Name = "ultraComboEditor8";
+            this.ultraComboEditor8.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor8.TabIndex = 388;
+            // 
+            // ultraLabel42
+            // 
+            this.ultraLabel42.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel42.Location = new System.Drawing.Point(482, 79);
+            this.ultraLabel42.Name = "ultraLabel42";
+            this.ultraLabel42.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel42.TabIndex = 387;
+            this.ultraLabel42.Text = "是否废除的物资";
+            // 
+            // ultraComboEditor9
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor9.Appearance = appearance44;
+            this.ultraComboEditor9.AutoSize = true;
+            valueListItem21.DataValue = "0";
+            valueListItem21.DisplayText = "不允许负数发";
+            valueListItem22.DataValue = "1";
+            valueListItem22.DisplayText = "允许负数发料";
+            this.ultraComboEditor9.Items.Add(valueListItem21);
+            this.ultraComboEditor9.Items.Add(valueListItem22);
+            this.ultraComboEditor9.Location = new System.Drawing.Point(584, 52);
+            this.ultraComboEditor9.Name = "ultraComboEditor9";
+            this.ultraComboEditor9.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor9.TabIndex = 386;
+            // 
+            // ultraLabel43
+            // 
+            this.ultraLabel43.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel43.Location = new System.Drawing.Point(482, 55);
+            this.ultraLabel43.Name = "ultraLabel43";
+            this.ultraLabel43.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel43.TabIndex = 385;
+            this.ultraLabel43.Text = "是否允许负数发料";
+            // 
+            // ultraComboEditor10
+            // 
+            appearance45.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor10.Appearance = appearance45;
+            this.ultraComboEditor10.AutoSize = true;
+            valueListItem23.DataValue = "0";
+            valueListItem23.DisplayText = "非零库存物资";
+            valueListItem24.DataValue = "1";
+            valueListItem24.DisplayText = "零库存物资";
+            this.ultraComboEditor10.Items.Add(valueListItem23);
+            this.ultraComboEditor10.Items.Add(valueListItem24);
+            this.ultraComboEditor10.Location = new System.Drawing.Point(550, 28);
+            this.ultraComboEditor10.Name = "ultraComboEditor10";
+            this.ultraComboEditor10.Size = new System.Drawing.Size(128, 21);
+            this.ultraComboEditor10.TabIndex = 384;
+            // 
+            // ultraLabel44
+            // 
+            this.ultraLabel44.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel44.Location = new System.Drawing.Point(482, 31);
+            this.ultraLabel44.Name = "ultraLabel44";
+            this.ultraLabel44.Size = new System.Drawing.Size(66, 20);
+            this.ultraLabel44.TabIndex = 383;
+            this.ultraLabel44.Text = "是否零库存";
+            // 
+            // ultraLabel45
+            // 
+            this.ultraLabel45.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel45.Location = new System.Drawing.Point(482, 8);
+            this.ultraLabel45.Name = "ultraLabel45";
+            this.ultraLabel45.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel45.TabIndex = 381;
+            this.ultraLabel45.Text = "制造周期";
+            // 
+            // ultraTextEditor21
+            // 
+            appearance46.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor21.Appearance = appearance46;
+            this.ultraTextEditor21.AutoSize = true;
+            this.ultraTextEditor21.FlatMode = true;
+            this.ultraTextEditor21.Location = new System.Drawing.Point(550, 5);
+            this.ultraTextEditor21.Name = "ultraTextEditor21";
+            this.ultraTextEditor21.Size = new System.Drawing.Size(128, 19);
+            this.ultraTextEditor21.TabIndex = 380;
+            this.ultraTextEditor21.Tag = "";
+            // 
+            // ultraLabel46
+            // 
+            this.ultraLabel46.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel46.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel46.Name = "ultraLabel46";
+            this.ultraLabel46.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel46.TabIndex = 367;
+            this.ultraLabel46.Text = "法人代表";
+            // 
+            // ultraTextEditor22
+            // 
+            appearance47.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor22.Appearance = appearance47;
+            this.ultraTextEditor22.AutoSize = true;
+            this.ultraTextEditor22.FlatMode = true;
+            this.ultraTextEditor22.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor22.Multiline = true;
+            this.ultraTextEditor22.Name = "ultraTextEditor22";
+            this.ultraTextEditor22.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor22.TabIndex = 366;
+            this.ultraTextEditor22.Tag = "";
+            // 
+            // ultraLabel47
+            // 
+            this.ultraLabel47.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel47.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel47.Name = "ultraLabel47";
+            this.ultraLabel47.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel47.TabIndex = 365;
+            this.ultraLabel47.Text = "产品标准";
+            // 
+            // ultraTextEditor23
+            // 
+            appearance48.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor23.Appearance = appearance48;
+            this.ultraTextEditor23.AutoSize = true;
+            this.ultraTextEditor23.FlatMode = true;
+            this.ultraTextEditor23.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor23.Multiline = true;
+            this.ultraTextEditor23.Name = "ultraTextEditor23";
+            this.ultraTextEditor23.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor23.TabIndex = 364;
+            this.ultraTextEditor23.Tag = "";
+            // 
+            // ultraLabel48
+            // 
+            this.ultraLabel48.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel48.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel48.Name = "ultraLabel48";
+            this.ultraLabel48.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel48.TabIndex = 363;
+            this.ultraLabel48.Text = "供方名称";
+            // 
+            // ultraTextEditor24
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor24.Appearance = appearance49;
+            this.ultraTextEditor24.AutoSize = true;
+            this.ultraTextEditor24.FlatMode = true;
+            this.ultraTextEditor24.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor24.Multiline = true;
+            this.ultraTextEditor24.Name = "ultraTextEditor24";
+            this.ultraTextEditor24.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor24.TabIndex = 362;
+            this.ultraTextEditor24.Tag = "";
+            // 
+            // ultraLabel49
+            // 
+            this.ultraLabel49.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel49.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel49.Name = "ultraLabel49";
+            this.ultraLabel49.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel49.TabIndex = 361;
+            this.ultraLabel49.Text = "供方代码";
+            // 
+            // ultraTextEditor25
+            // 
+            appearance50.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor25.Appearance = appearance50;
+            this.ultraTextEditor25.AutoSize = true;
+            this.ultraTextEditor25.Enabled = false;
+            this.ultraTextEditor25.FlatMode = true;
+            this.ultraTextEditor25.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor25.Name = "ultraTextEditor25";
+            this.ultraTextEditor25.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor25.TabIndex = 358;
+            this.ultraTextEditor25.Tag = "";
+            // 
+            // ultraLabel51
+            // 
+            this.ultraLabel51.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel51.Location = new System.Drawing.Point(261, 57);
+            this.ultraLabel51.Name = "ultraLabel51";
+            this.ultraLabel51.Size = new System.Drawing.Size(66, 16);
+            this.ultraLabel51.TabIndex = 407;
+            this.ultraLabel51.Text = "注册资金";
+            // 
+            // ultraTextEditor26
+            // 
+            appearance51.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor26.Appearance = appearance51;
+            this.ultraTextEditor26.AutoSize = true;
+            this.ultraTextEditor26.FlatMode = true;
+            this.ultraTextEditor26.Location = new System.Drawing.Point(333, 54);
+            this.ultraTextEditor26.Multiline = true;
+            this.ultraTextEditor26.Name = "ultraTextEditor26";
+            this.ultraTextEditor26.Size = new System.Drawing.Size(143, 19);
+            this.ultraTextEditor26.TabIndex = 406;
+            this.ultraTextEditor26.Tag = "";
+            // 
+            // ultraLabel52
+            // 
+            this.ultraLabel52.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel52.Location = new System.Drawing.Point(261, 33);
+            this.ultraLabel52.Name = "ultraLabel52";
+            this.ultraLabel52.Size = new System.Drawing.Size(118, 18);
+            this.ultraLabel52.TabIndex = 405;
+            this.ultraLabel52.Text = "委托代理人身份证号";
+            // 
+            // ultraTextEditor27
+            // 
+            appearance52.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor27.Appearance = appearance52;
+            this.ultraTextEditor27.AutoSize = true;
+            this.ultraTextEditor27.FlatMode = true;
+            this.ultraTextEditor27.Location = new System.Drawing.Point(385, 30);
+            this.ultraTextEditor27.Multiline = true;
+            this.ultraTextEditor27.Name = "ultraTextEditor27";
+            this.ultraTextEditor27.Size = new System.Drawing.Size(91, 19);
+            this.ultraTextEditor27.TabIndex = 404;
+            this.ultraTextEditor27.Tag = "";
+            // 
+            // ultraLabel53
+            // 
+            this.ultraLabel53.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel53.Location = new System.Drawing.Point(4, 99);
+            this.ultraLabel53.Name = "ultraLabel53";
+            this.ultraLabel53.Size = new System.Drawing.Size(109, 19);
+            this.ultraLabel53.TabIndex = 403;
+            this.ultraLabel53.Text = "法人代表身份证号";
+            // 
+            // ultraTextEditor28
+            // 
+            appearance53.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor28.Appearance = appearance53;
+            this.ultraTextEditor28.AutoSize = true;
+            this.ultraTextEditor28.FlatMode = true;
+            this.ultraTextEditor28.Location = new System.Drawing.Point(112, 96);
+            this.ultraTextEditor28.Multiline = true;
+            this.ultraTextEditor28.Name = "ultraTextEditor28";
+            this.ultraTextEditor28.Size = new System.Drawing.Size(139, 19);
+            this.ultraTextEditor28.TabIndex = 402;
+            this.ultraTextEditor28.Tag = "";
+            // 
+            // ultraLabel54
+            // 
+            this.ultraLabel54.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel54.Location = new System.Drawing.Point(261, 7);
+            this.ultraLabel54.Name = "ultraLabel54";
+            this.ultraLabel54.Size = new System.Drawing.Size(66, 16);
+            this.ultraLabel54.TabIndex = 401;
+            this.ultraLabel54.Text = "委托代理人";
+            // 
+            // ultraTextEditor29
+            // 
+            appearance54.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor29.Appearance = appearance54;
+            this.ultraTextEditor29.AutoSize = true;
+            this.ultraTextEditor29.FlatMode = true;
+            this.ultraTextEditor29.Location = new System.Drawing.Point(333, 4);
+            this.ultraTextEditor29.Multiline = true;
+            this.ultraTextEditor29.Name = "ultraTextEditor29";
+            this.ultraTextEditor29.Size = new System.Drawing.Size(143, 19);
+            this.ultraTextEditor29.TabIndex = 400;
+            this.ultraTextEditor29.Tag = "";
+            // 
+            // ultraTextEditor30
+            // 
+            appearance55.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor30.Appearance = appearance55;
+            this.ultraTextEditor30.AutoSize = true;
+            this.ultraTextEditor30.FlatMode = true;
+            this.ultraTextEditor30.Location = new System.Drawing.Point(927, 28);
+            this.ultraTextEditor30.Multiline = true;
+            this.ultraTextEditor30.Name = "ultraTextEditor30";
+            this.ultraTextEditor30.Size = new System.Drawing.Size(173, 85);
+            this.ultraTextEditor30.TabIndex = 399;
+            this.ultraTextEditor30.Tag = "";
+            // 
+            // ultraComboEditor11
+            // 
+            appearance56.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor11.Appearance = appearance56;
+            this.ultraComboEditor11.AutoSize = true;
+            valueListItem25.DataValue = "0";
+            valueListItem25.DisplayText = "非以旧换新";
+            valueListItem26.DataValue = "1";
+            valueListItem26.DisplayText = "以旧换新";
+            this.ultraComboEditor11.Items.Add(valueListItem25);
+            this.ultraComboEditor11.Items.Add(valueListItem26);
+            this.ultraComboEditor11.Location = new System.Drawing.Point(962, 2);
+            this.ultraComboEditor11.Name = "ultraComboEditor11";
+            this.ultraComboEditor11.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor11.TabIndex = 398;
+            // 
+            // ultraLabel55
+            // 
+            this.ultraLabel55.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel55.Location = new System.Drawing.Point(886, 5);
+            this.ultraLabel55.Name = "ultraLabel55";
+            this.ultraLabel55.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel55.TabIndex = 397;
+            this.ultraLabel55.Text = "是否以旧换新";
+            // 
+            // ultraComboEditor12
+            // 
+            appearance57.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor12.Appearance = appearance57;
+            this.ultraComboEditor12.AutoSize = true;
+            valueListItem27.DataValue = "0";
+            valueListItem27.DisplayText = "非招标物资";
+            valueListItem28.DataValue = "1";
+            valueListItem28.DisplayText = "招标物资";
+            this.ultraComboEditor12.Items.Add(valueListItem27);
+            this.ultraComboEditor12.Items.Add(valueListItem28);
+            this.ultraComboEditor12.Location = new System.Drawing.Point(760, 73);
+            this.ultraComboEditor12.Name = "ultraComboEditor12";
+            this.ultraComboEditor12.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor12.TabIndex = 396;
+            // 
+            // ultraLabel56
+            // 
+            this.ultraLabel56.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel56.Location = new System.Drawing.Point(684, 76);
+            this.ultraLabel56.Name = "ultraLabel56";
+            this.ultraLabel56.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel56.TabIndex = 395;
+            this.ultraLabel56.Text = "是否招标物资";
+            // 
+            // ultraComboEditor13
+            // 
+            appearance58.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor13.Appearance = appearance58;
+            this.ultraComboEditor13.AutoSize = true;
+            valueListItem29.DataValue = "0";
+            valueListItem29.DisplayText = "非修复物资";
+            valueListItem30.DataValue = "1";
+            valueListItem30.DisplayText = "修复物资";
+            this.ultraComboEditor13.Items.Add(valueListItem29);
+            this.ultraComboEditor13.Items.Add(valueListItem30);
+            this.ultraComboEditor13.Location = new System.Drawing.Point(760, 49);
+            this.ultraComboEditor13.Name = "ultraComboEditor13";
+            this.ultraComboEditor13.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor13.TabIndex = 394;
+            // 
+            // ultraLabel57
+            // 
+            this.ultraLabel57.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel57.Location = new System.Drawing.Point(684, 52);
+            this.ultraLabel57.Name = "ultraLabel57";
+            this.ultraLabel57.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel57.TabIndex = 393;
+            this.ultraLabel57.Text = "是否修复物资";
+            // 
+            // ultraComboEditor14
+            // 
+            appearance59.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor14.Appearance = appearance59;
+            this.ultraComboEditor14.AutoSize = true;
+            valueListItem31.DataValue = "0";
+            valueListItem31.DisplayText = "不包安装";
+            valueListItem32.DataValue = "1";
+            valueListItem32.DisplayText = "包安装";
+            this.ultraComboEditor14.Items.Add(valueListItem31);
+            this.ultraComboEditor14.Items.Add(valueListItem32);
+            this.ultraComboEditor14.Location = new System.Drawing.Point(760, 26);
+            this.ultraComboEditor14.Name = "ultraComboEditor14";
+            this.ultraComboEditor14.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor14.TabIndex = 392;
+            // 
+            // ultraLabel58
+            // 
+            this.ultraLabel58.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel58.Location = new System.Drawing.Point(684, 29);
+            this.ultraLabel58.Name = "ultraLabel58";
+            this.ultraLabel58.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel58.TabIndex = 391;
+            this.ultraLabel58.Text = "是否包安装";
+            // 
+            // ultraComboEditor15
+            // 
+            appearance60.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor15.Appearance = appearance60;
+            this.ultraComboEditor15.AutoSize = true;
+            valueListItem33.DataValue = "0";
+            valueListItem33.DisplayText = "非备库物资";
+            valueListItem34.DataValue = "1";
+            valueListItem34.DisplayText = "备库物资";
+            this.ultraComboEditor15.Items.Add(valueListItem33);
+            this.ultraComboEditor15.Items.Add(valueListItem34);
+            this.ultraComboEditor15.Location = new System.Drawing.Point(760, 3);
+            this.ultraComboEditor15.Name = "ultraComboEditor15";
+            this.ultraComboEditor15.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor15.TabIndex = 390;
+            // 
+            // ultraLabel59
+            // 
+            this.ultraLabel59.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel59.Location = new System.Drawing.Point(684, 6);
+            this.ultraLabel59.Name = "ultraLabel59";
+            this.ultraLabel59.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel59.TabIndex = 389;
+            this.ultraLabel59.Text = "是否备库物资";
+            // 
+            // ultraComboEditor16
+            // 
+            appearance61.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor16.Appearance = appearance61;
+            this.ultraComboEditor16.AutoSize = true;
+            valueListItem35.DataValue = "0";
+            valueListItem35.DisplayText = "正在使用的物资";
+            valueListItem36.DataValue = "1";
+            valueListItem36.DisplayText = "已废除的物资";
+            this.ultraComboEditor16.Items.Add(valueListItem35);
+            this.ultraComboEditor16.Items.Add(valueListItem36);
+            this.ultraComboEditor16.Location = new System.Drawing.Point(584, 76);
+            this.ultraComboEditor16.Name = "ultraComboEditor16";
+            this.ultraComboEditor16.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor16.TabIndex = 388;
+            // 
+            // ultraLabel60
+            // 
+            this.ultraLabel60.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel60.Location = new System.Drawing.Point(482, 79);
+            this.ultraLabel60.Name = "ultraLabel60";
+            this.ultraLabel60.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel60.TabIndex = 387;
+            this.ultraLabel60.Text = "是否废除的物资";
+            // 
+            // ultraComboEditor17
+            // 
+            appearance62.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor17.Appearance = appearance62;
+            this.ultraComboEditor17.AutoSize = true;
+            valueListItem37.DataValue = "0";
+            valueListItem37.DisplayText = "不允许负数发";
+            valueListItem38.DataValue = "1";
+            valueListItem38.DisplayText = "允许负数发料";
+            this.ultraComboEditor17.Items.Add(valueListItem37);
+            this.ultraComboEditor17.Items.Add(valueListItem38);
+            this.ultraComboEditor17.Location = new System.Drawing.Point(584, 52);
+            this.ultraComboEditor17.Name = "ultraComboEditor17";
+            this.ultraComboEditor17.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor17.TabIndex = 386;
+            // 
+            // ultraLabel61
+            // 
+            this.ultraLabel61.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel61.Location = new System.Drawing.Point(482, 55);
+            this.ultraLabel61.Name = "ultraLabel61";
+            this.ultraLabel61.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel61.TabIndex = 385;
+            this.ultraLabel61.Text = "是否允许负数发料";
+            // 
+            // ultraComboEditor18
+            // 
+            appearance63.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor18.Appearance = appearance63;
+            this.ultraComboEditor18.AutoSize = true;
+            valueListItem39.DataValue = "0";
+            valueListItem39.DisplayText = "非零库存物资";
+            valueListItem40.DataValue = "1";
+            valueListItem40.DisplayText = "零库存物资";
+            this.ultraComboEditor18.Items.Add(valueListItem39);
+            this.ultraComboEditor18.Items.Add(valueListItem40);
+            this.ultraComboEditor18.Location = new System.Drawing.Point(550, 28);
+            this.ultraComboEditor18.Name = "ultraComboEditor18";
+            this.ultraComboEditor18.Size = new System.Drawing.Size(128, 21);
+            this.ultraComboEditor18.TabIndex = 384;
+            // 
+            // ultraLabel62
+            // 
+            this.ultraLabel62.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel62.Location = new System.Drawing.Point(482, 31);
+            this.ultraLabel62.Name = "ultraLabel62";
+            this.ultraLabel62.Size = new System.Drawing.Size(66, 20);
+            this.ultraLabel62.TabIndex = 383;
+            this.ultraLabel62.Text = "是否零库存";
+            // 
+            // ultraLabel63
+            // 
+            this.ultraLabel63.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel63.Location = new System.Drawing.Point(482, 8);
+            this.ultraLabel63.Name = "ultraLabel63";
+            this.ultraLabel63.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel63.TabIndex = 381;
+            this.ultraLabel63.Text = "制造周期";
+            // 
+            // ultraTextEditor31
+            // 
+            appearance64.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor31.Appearance = appearance64;
+            this.ultraTextEditor31.AutoSize = true;
+            this.ultraTextEditor31.FlatMode = true;
+            this.ultraTextEditor31.Location = new System.Drawing.Point(550, 5);
+            this.ultraTextEditor31.Name = "ultraTextEditor31";
+            this.ultraTextEditor31.Size = new System.Drawing.Size(128, 19);
+            this.ultraTextEditor31.TabIndex = 380;
+            this.ultraTextEditor31.Tag = "";
+            // 
+            // ultraLabel64
+            // 
+            this.ultraLabel64.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel64.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel64.Name = "ultraLabel64";
+            this.ultraLabel64.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel64.TabIndex = 367;
+            this.ultraLabel64.Text = "法人代表";
+            // 
+            // ultraTextEditor32
+            // 
+            appearance65.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor32.Appearance = appearance65;
+            this.ultraTextEditor32.AutoSize = true;
+            this.ultraTextEditor32.FlatMode = true;
+            this.ultraTextEditor32.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor32.Multiline = true;
+            this.ultraTextEditor32.Name = "ultraTextEditor32";
+            this.ultraTextEditor32.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor32.TabIndex = 366;
+            this.ultraTextEditor32.Tag = "";
+            // 
+            // ultraLabel65
+            // 
+            this.ultraLabel65.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel65.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel65.Name = "ultraLabel65";
+            this.ultraLabel65.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel65.TabIndex = 365;
+            this.ultraLabel65.Text = "产品标准";
+            // 
+            // ultraTextEditor33
+            // 
+            appearance66.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor33.Appearance = appearance66;
+            this.ultraTextEditor33.AutoSize = true;
+            this.ultraTextEditor33.FlatMode = true;
+            this.ultraTextEditor33.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor33.Multiline = true;
+            this.ultraTextEditor33.Name = "ultraTextEditor33";
+            this.ultraTextEditor33.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor33.TabIndex = 364;
+            this.ultraTextEditor33.Tag = "";
+            // 
+            // ultraLabel66
+            // 
+            this.ultraLabel66.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel66.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel66.Name = "ultraLabel66";
+            this.ultraLabel66.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel66.TabIndex = 363;
+            this.ultraLabel66.Text = "供方名称";
+            // 
+            // ultraTextEditor34
+            // 
+            appearance67.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor34.Appearance = appearance67;
+            this.ultraTextEditor34.AutoSize = true;
+            this.ultraTextEditor34.FlatMode = true;
+            this.ultraTextEditor34.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor34.Multiline = true;
+            this.ultraTextEditor34.Name = "ultraTextEditor34";
+            this.ultraTextEditor34.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor34.TabIndex = 362;
+            this.ultraTextEditor34.Tag = "";
+            // 
+            // ultraLabel67
+            // 
+            this.ultraLabel67.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel67.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel67.Name = "ultraLabel67";
+            this.ultraLabel67.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel67.TabIndex = 361;
+            this.ultraLabel67.Text = "供方代码";
+            // 
+            // ultraTextEditor35
+            // 
+            appearance68.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor35.Appearance = appearance68;
+            this.ultraTextEditor35.AutoSize = true;
+            this.ultraTextEditor35.Enabled = false;
+            this.ultraTextEditor35.FlatMode = true;
+            this.ultraTextEditor35.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor35.Name = "ultraTextEditor35";
+            this.ultraTextEditor35.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor35.TabIndex = 358;
+            this.ultraTextEditor35.Tag = "";
+            // 
+            // ultraTextEditor17
+            // 
+            appearance69.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor17.Appearance = appearance69;
+            this.ultraTextEditor17.AutoSize = true;
+            this.ultraTextEditor17.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraTextEditor17.ButtonsRight.Add(editorButton1);
+            this.ultraTextEditor17.Enabled = false;
+            this.ultraTextEditor17.Location = new System.Drawing.Point(76, 32);
+            this.ultraTextEditor17.MaxLength = 18;
+            this.ultraTextEditor17.Name = "ultraTextEditor17";
+            this.ultraTextEditor17.Size = new System.Drawing.Size(159, 19);
+            this.ultraTextEditor17.TabIndex = 442;
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel7.Location = new System.Drawing.Point(3, 33);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel7.TabIndex = 441;
+            this.ultraLabel7.Text = "物资代码";
+            // 
+            // ultraTextEditor36
+            // 
+            appearance70.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor36.Appearance = appearance70;
+            this.ultraTextEditor36.AutoSize = true;
+            this.ultraTextEditor36.Enabled = false;
+            this.ultraTextEditor36.FlatMode = true;
+            this.ultraTextEditor36.Location = new System.Drawing.Point(490, 3);
+            this.ultraTextEditor36.Multiline = true;
+            this.ultraTextEditor36.Name = "ultraTextEditor36";
+            this.ultraTextEditor36.Size = new System.Drawing.Size(357, 49);
+            this.ultraTextEditor36.TabIndex = 440;
+            this.ultraTextEditor36.Tag = "";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(446, 6);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel8.TabIndex = 436;
+            this.ultraLabel8.Text = "备注";
+            // 
+            // ultraComboEditor19
+            // 
+            appearance71.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor19.Appearance = appearance71;
+            this.ultraComboEditor19.AutoSize = true;
+            valueListItem41.DataValue = "0";
+            valueListItem41.DisplayText = "非零库存";
+            valueListItem42.DataValue = "1";
+            valueListItem42.DisplayText = "零库存";
+            this.ultraComboEditor19.Items.Add(valueListItem41);
+            this.ultraComboEditor19.Items.Add(valueListItem42);
+            this.ultraComboEditor19.Location = new System.Drawing.Point(76, 3);
+            this.ultraComboEditor19.Name = "ultraComboEditor19";
+            this.ultraComboEditor19.Size = new System.Drawing.Size(159, 21);
+            this.ultraComboEditor19.TabIndex = 429;
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel14.Location = new System.Drawing.Point(3, 6);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel14.TabIndex = 428;
+            this.ultraLabel14.Text = "是否零库存";
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel15.Location = new System.Drawing.Point(869, 35);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 363;
+            this.ultraLabel15.Text = "仓库名称";
+            // 
+            // ultraTextEditor37
+            // 
+            appearance72.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor37.Appearance = appearance72;
+            this.ultraTextEditor37.AutoSize = true;
+            this.ultraTextEditor37.FlatMode = true;
+            this.ultraTextEditor37.Location = new System.Drawing.Point(926, 32);
+            this.ultraTextEditor37.Multiline = true;
+            this.ultraTextEditor37.Name = "ultraTextEditor37";
+            this.ultraTextEditor37.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor37.TabIndex = 362;
+            this.ultraTextEditor37.Tag = "";
+            // 
+            // ultraLabel28
+            // 
+            this.ultraLabel28.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel28.Location = new System.Drawing.Point(869, 12);
+            this.ultraLabel28.Name = "ultraLabel28";
+            this.ultraLabel28.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel28.TabIndex = 361;
+            this.ultraLabel28.Text = "仓库代码";
+            // 
+            // ultraTextEditor38
+            // 
+            appearance73.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor38.Appearance = appearance73;
+            this.ultraTextEditor38.AutoSize = true;
+            this.ultraTextEditor38.Enabled = false;
+            this.ultraTextEditor38.FlatMode = true;
+            this.ultraTextEditor38.Location = new System.Drawing.Point(926, 9);
+            this.ultraTextEditor38.Name = "ultraTextEditor38";
+            this.ultraTextEditor38.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor38.TabIndex = 358;
+            this.ultraTextEditor38.Tag = "";
+            // 
+            // ultraLabel30
+            // 
+            this.ultraLabel30.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel30.Location = new System.Drawing.Point(241, 6);
+            this.ultraLabel30.Name = "ultraLabel30";
+            this.ultraLabel30.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel30.TabIndex = 444;
+            this.ultraLabel30.Text = "规格型号";
+            // 
+            // ultraTextEditor39
+            // 
+            appearance74.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor39.Appearance = appearance74;
+            this.ultraTextEditor39.AutoSize = true;
+            this.ultraTextEditor39.Enabled = false;
+            this.ultraTextEditor39.FlatMode = true;
+            this.ultraTextEditor39.Location = new System.Drawing.Point(298, 3);
+            this.ultraTextEditor39.Name = "ultraTextEditor39";
+            this.ultraTextEditor39.Size = new System.Drawing.Size(128, 19);
+            this.ultraTextEditor39.TabIndex = 443;
+            this.ultraTextEditor39.Tag = "";
+            // 
+            // ultraTextEditor40
+            // 
+            appearance75.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor40.Appearance = appearance75;
+            this.ultraTextEditor40.AutoSize = true;
+            this.ultraTextEditor40.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraTextEditor40.ButtonsRight.Add(editorButton2);
+            this.ultraTextEditor40.Enabled = false;
+            this.ultraTextEditor40.Location = new System.Drawing.Point(76, 32);
+            this.ultraTextEditor40.MaxLength = 18;
+            this.ultraTextEditor40.Name = "ultraTextEditor40";
+            this.ultraTextEditor40.Size = new System.Drawing.Size(159, 19);
+            this.ultraTextEditor40.TabIndex = 442;
+            // 
+            // ultraLabel31
+            // 
+            this.ultraLabel31.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel31.Location = new System.Drawing.Point(3, 33);
+            this.ultraLabel31.Name = "ultraLabel31";
+            this.ultraLabel31.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel31.TabIndex = 441;
+            this.ultraLabel31.Text = "物资代码";
+            // 
+            // ultraTextEditor41
+            // 
+            appearance76.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor41.Appearance = appearance76;
+            this.ultraTextEditor41.AutoSize = true;
+            this.ultraTextEditor41.Enabled = false;
+            this.ultraTextEditor41.FlatMode = true;
+            this.ultraTextEditor41.Location = new System.Drawing.Point(490, 3);
+            this.ultraTextEditor41.Multiline = true;
+            this.ultraTextEditor41.Name = "ultraTextEditor41";
+            this.ultraTextEditor41.Size = new System.Drawing.Size(357, 49);
+            this.ultraTextEditor41.TabIndex = 440;
+            this.ultraTextEditor41.Tag = "";
+            // 
+            // ultraLabel32
+            // 
+            this.ultraLabel32.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel32.Location = new System.Drawing.Point(446, 6);
+            this.ultraLabel32.Name = "ultraLabel32";
+            this.ultraLabel32.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel32.TabIndex = 436;
+            this.ultraLabel32.Text = "备注";
+            // 
+            // ultraComboEditor20
+            // 
+            appearance77.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor20.Appearance = appearance77;
+            this.ultraComboEditor20.AutoSize = true;
+            valueListItem43.DataValue = "0";
+            valueListItem43.DisplayText = "非零库存";
+            valueListItem44.DataValue = "1";
+            valueListItem44.DisplayText = "零库存";
+            this.ultraComboEditor20.Items.Add(valueListItem43);
+            this.ultraComboEditor20.Items.Add(valueListItem44);
+            this.ultraComboEditor20.Location = new System.Drawing.Point(76, 3);
+            this.ultraComboEditor20.Name = "ultraComboEditor20";
+            this.ultraComboEditor20.Size = new System.Drawing.Size(159, 21);
+            this.ultraComboEditor20.TabIndex = 429;
+            // 
+            // ultraLabel33
+            // 
+            this.ultraLabel33.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel33.Location = new System.Drawing.Point(3, 6);
+            this.ultraLabel33.Name = "ultraLabel33";
+            this.ultraLabel33.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel33.TabIndex = 428;
+            this.ultraLabel33.Text = "是否零库存";
+            // 
+            // ultraLabel34
+            // 
+            this.ultraLabel34.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel34.Location = new System.Drawing.Point(869, 35);
+            this.ultraLabel34.Name = "ultraLabel34";
+            this.ultraLabel34.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel34.TabIndex = 363;
+            this.ultraLabel34.Text = "仓库名称";
+            // 
+            // ultraTextEditor42
+            // 
+            appearance78.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor42.Appearance = appearance78;
+            this.ultraTextEditor42.AutoSize = true;
+            this.ultraTextEditor42.FlatMode = true;
+            this.ultraTextEditor42.Location = new System.Drawing.Point(926, 32);
+            this.ultraTextEditor42.Multiline = true;
+            this.ultraTextEditor42.Name = "ultraTextEditor42";
+            this.ultraTextEditor42.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor42.TabIndex = 362;
+            this.ultraTextEditor42.Tag = "";
+            // 
+            // ultraLabel35
+            // 
+            this.ultraLabel35.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel35.Location = new System.Drawing.Point(869, 12);
+            this.ultraLabel35.Name = "ultraLabel35";
+            this.ultraLabel35.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel35.TabIndex = 361;
+            this.ultraLabel35.Text = "仓库代码";
+            // 
+            // ultraTextEditor43
+            // 
+            appearance79.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor43.Appearance = appearance79;
+            this.ultraTextEditor43.AutoSize = true;
+            this.ultraTextEditor43.Enabled = false;
+            this.ultraTextEditor43.FlatMode = true;
+            this.ultraTextEditor43.Location = new System.Drawing.Point(926, 9);
+            this.ultraTextEditor43.Name = "ultraTextEditor43";
+            this.ultraTextEditor43.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor43.TabIndex = 358;
+            this.ultraTextEditor43.Tag = "";
+            // 
+            // ultraLabel72
+            // 
+            this.ultraLabel72.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel72.Location = new System.Drawing.Point(241, 33);
+            this.ultraLabel72.Name = "ultraLabel72";
+            this.ultraLabel72.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel72.TabIndex = 624;
+            this.ultraLabel72.Text = "材质";
+            // 
+            // ultraTextEditor44
+            // 
+            appearance80.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor44.Appearance = appearance80;
+            this.ultraTextEditor44.AutoSize = true;
+            this.ultraTextEditor44.Enabled = false;
+            this.ultraTextEditor44.FlatMode = true;
+            this.ultraTextEditor44.Location = new System.Drawing.Point(298, 30);
+            this.ultraTextEditor44.Name = "ultraTextEditor44";
+            this.ultraTextEditor44.Size = new System.Drawing.Size(156, 19);
+            this.ultraTextEditor44.TabIndex = 623;
+            this.ultraTextEditor44.Tag = "";
+            // 
+            // ultraLabel73
+            // 
+            this.ultraLabel73.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel73.Location = new System.Drawing.Point(2, 102);
+            this.ultraLabel73.Name = "ultraLabel73";
+            this.ultraLabel73.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel73.TabIndex = 622;
+            this.ultraLabel73.Text = "规格型号";
+            // 
+            // ultraTextEditor45
+            // 
+            appearance81.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor45.Appearance = appearance81;
+            this.ultraTextEditor45.AutoSize = true;
+            this.ultraTextEditor45.Enabled = false;
+            this.ultraTextEditor45.FlatMode = true;
+            this.ultraTextEditor45.Location = new System.Drawing.Point(76, 99);
+            this.ultraTextEditor45.Name = "ultraTextEditor45";
+            this.ultraTextEditor45.Size = new System.Drawing.Size(159, 19);
+            this.ultraTextEditor45.TabIndex = 621;
+            this.ultraTextEditor45.Tag = "";
+            // 
+            // ultraCombo1
+            // 
+            appearance82.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraCombo1.Appearance = appearance82;
+            this.ultraCombo1.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.ultraCombo1.DisplayMember = "";
+            this.ultraCombo1.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.ultraCombo1.FlatMode = true;
+            this.ultraCombo1.Location = new System.Drawing.Point(76, 54);
+            this.ultraCombo1.Name = "ultraCombo1";
+            this.ultraCombo1.Size = new System.Drawing.Size(159, 19);
+            this.ultraCombo1.TabIndex = 620;
+            this.ultraCombo1.Tag = "";
+            this.ultraCombo1.ValueMember = "";
+            // 
+            // ultraLabel74
+            // 
+            this.ultraLabel74.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel74.Location = new System.Drawing.Point(2, 57);
+            this.ultraLabel74.Name = "ultraLabel74";
+            this.ultraLabel74.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel74.TabIndex = 619;
+            this.ultraLabel74.Text = "物资代码";
+            // 
+            // ultraLabel76
+            // 
+            this.ultraLabel76.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel76.Location = new System.Drawing.Point(2, 31);
+            this.ultraLabel76.Name = "ultraLabel76";
+            this.ultraLabel76.Size = new System.Drawing.Size(67, 20);
+            this.ultraLabel76.TabIndex = 618;
+            this.ultraLabel76.Text = "申报日期";
+            // 
+            // ultraDateTimeEditor1
+            // 
+            appearance83.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraDateTimeEditor1.Appearance = appearance83;
+            this.ultraDateTimeEditor1.DateTime = new System.DateTime(2016, 12, 2, 0, 0, 0, 0);
+            this.ultraDateTimeEditor1.Enabled = false;
+            this.ultraDateTimeEditor1.FlatMode = true;
+            this.ultraDateTimeEditor1.Location = new System.Drawing.Point(76, 30);
+            this.ultraDateTimeEditor1.Name = "ultraDateTimeEditor1";
+            this.ultraDateTimeEditor1.Size = new System.Drawing.Size(159, 19);
+            this.ultraDateTimeEditor1.TabIndex = 617;
+            this.ultraDateTimeEditor1.Value = new System.DateTime(2016, 12, 2, 0, 0, 0, 0);
+            // 
+            // ultraCombo2
+            // 
+            appearance84.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraCombo2.Appearance = appearance84;
+            this.ultraCombo2.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.ultraCombo2.DisplayMember = "";
+            this.ultraCombo2.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.ultraCombo2.FlatMode = true;
+            this.ultraCombo2.Location = new System.Drawing.Point(507, 31);
+            this.ultraCombo2.Name = "ultraCombo2";
+            this.ultraCombo2.Size = new System.Drawing.Size(156, 19);
+            this.ultraCombo2.TabIndex = 616;
+            this.ultraCombo2.Tag = "";
+            this.ultraCombo2.ValueMember = "";
+            // 
+            // ultraCombo3
+            // 
+            appearance85.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraCombo3.Appearance = appearance85;
+            this.ultraCombo3.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.ultraCombo3.DisplayMember = "";
+            this.ultraCombo3.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.ultraCombo3.FlatMode = true;
+            this.ultraCombo3.Location = new System.Drawing.Point(751, 27);
+            this.ultraCombo3.Name = "ultraCombo3";
+            this.ultraCombo3.Size = new System.Drawing.Size(84, 19);
+            this.ultraCombo3.TabIndex = 615;
+            this.ultraCombo3.Tag = "";
+            this.ultraCombo3.ValueMember = "";
+            // 
+            // ultraLabel77
+            // 
+            this.ultraLabel77.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel77.Location = new System.Drawing.Point(694, 30);
+            this.ultraLabel77.Name = "ultraLabel77";
+            this.ultraLabel77.Size = new System.Drawing.Size(56, 23);
+            this.ultraLabel77.TabIndex = 452;
+            this.ultraLabel77.Text = "仓库类别";
+            // 
+            // ultraLabel78
+            // 
+            this.ultraLabel78.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel78.Location = new System.Drawing.Point(450, 33);
+            this.ultraLabel78.Name = "ultraLabel78";
+            this.ultraLabel78.Size = new System.Drawing.Size(33, 20);
+            this.ultraLabel78.TabIndex = 449;
+            this.ultraLabel78.Text = "供方";
+            // 
+            // ultraLabel79
+            // 
+            this.ultraLabel79.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel79.Location = new System.Drawing.Point(241, 6);
+            this.ultraLabel79.Name = "ultraLabel79";
+            this.ultraLabel79.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel79.TabIndex = 448;
+            this.ultraLabel79.Text = "计量单位";
+            // 
+            // ultraTextEditor46
+            // 
+            appearance86.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor46.Appearance = appearance86;
+            this.ultraTextEditor46.AutoSize = true;
+            this.ultraTextEditor46.Enabled = false;
+            this.ultraTextEditor46.FlatMode = true;
+            this.ultraTextEditor46.Location = new System.Drawing.Point(298, 3);
+            this.ultraTextEditor46.Name = "ultraTextEditor46";
+            this.ultraTextEditor46.Size = new System.Drawing.Size(156, 19);
+            this.ultraTextEditor46.TabIndex = 447;
+            this.ultraTextEditor46.Tag = "";
+            // 
+            // ultraLabel80
+            // 
+            this.ultraLabel80.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel80.Location = new System.Drawing.Point(2, 80);
+            this.ultraLabel80.Name = "ultraLabel80";
+            this.ultraLabel80.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel80.TabIndex = 446;
+            this.ultraLabel80.Text = "物资名称";
+            // 
+            // ultraTextEditor47
+            // 
+            appearance87.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor47.Appearance = appearance87;
+            this.ultraTextEditor47.AutoSize = true;
+            this.ultraTextEditor47.Enabled = false;
+            this.ultraTextEditor47.FlatMode = true;
+            this.ultraTextEditor47.Location = new System.Drawing.Point(76, 77);
+            this.ultraTextEditor47.Name = "ultraTextEditor47";
+            this.ultraTextEditor47.Size = new System.Drawing.Size(159, 19);
+            this.ultraTextEditor47.TabIndex = 445;
+            this.ultraTextEditor47.Tag = "";
+            // 
+            // ultraTextEditor48
+            // 
+            appearance88.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor48.Appearance = appearance88;
+            this.ultraTextEditor48.AutoSize = true;
+            this.ultraTextEditor48.FlatMode = true;
+            this.ultraTextEditor48.Location = new System.Drawing.Point(887, 4);
+            this.ultraTextEditor48.Multiline = true;
+            this.ultraTextEditor48.Name = "ultraTextEditor48";
+            this.ultraTextEditor48.Size = new System.Drawing.Size(297, 49);
+            this.ultraTextEditor48.TabIndex = 440;
+            this.ultraTextEditor48.Tag = "";
+            // 
+            // ultraLabel81
+            // 
+            this.ultraLabel81.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel81.Location = new System.Drawing.Point(848, 4);
+            this.ultraLabel81.Name = "ultraLabel81";
+            this.ultraLabel81.Size = new System.Drawing.Size(29, 20);
+            this.ultraLabel81.TabIndex = 436;
+            this.ultraLabel81.Text = "备注";
+            // 
+            // ultraComboEditor21
+            // 
+            appearance89.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor21.Appearance = appearance89;
+            this.ultraComboEditor21.AutoSize = true;
+            valueListItem45.DataValue = "0";
+            valueListItem45.DisplayText = "板加公司(生产)";
+            this.ultraComboEditor21.Items.Add(valueListItem45);
+            this.ultraComboEditor21.Location = new System.Drawing.Point(76, 3);
+            this.ultraComboEditor21.Name = "ultraComboEditor21";
+            this.ultraComboEditor21.Size = new System.Drawing.Size(159, 21);
+            this.ultraComboEditor21.TabIndex = 429;
+            // 
+            // ultraLabel82
+            // 
+            this.ultraLabel82.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel82.Location = new System.Drawing.Point(2, 6);
+            this.ultraLabel82.Name = "ultraLabel82";
+            this.ultraLabel82.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel82.TabIndex = 428;
+            this.ultraLabel82.Text = "申报类别";
+            // 
+            // ultraLabel83
+            // 
+            this.ultraLabel83.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel83.Location = new System.Drawing.Point(694, 6);
+            this.ultraLabel83.Name = "ultraLabel83";
+            this.ultraLabel83.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel83.TabIndex = 363;
+            this.ultraLabel83.Text = "仓库初始值";
+            // 
+            // ultraTextEditor49
+            // 
+            appearance90.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor49.Appearance = appearance90;
+            this.ultraTextEditor49.AutoSize = true;
+            this.ultraTextEditor49.FlatMode = true;
+            this.ultraTextEditor49.Location = new System.Drawing.Point(751, 3);
+            this.ultraTextEditor49.Multiline = true;
+            this.ultraTextEditor49.Name = "ultraTextEditor49";
+            this.ultraTextEditor49.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor49.TabIndex = 362;
+            this.ultraTextEditor49.Tag = "";
+            // 
+            // FrmPlanApproval
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1028, 518);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmPlanApproval";
+            this.Text = "计划申报管理";
+            this.Load += new System.EventHandler(this.FrmPlanApproval_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Name)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.dte_SPDate)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_PlanSP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor18)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor19)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor20)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor21)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor22)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor23)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor24)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor25)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor26)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor27)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor28)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor29)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor30)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor18)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor31)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor32)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor33)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor34)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor35)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor36)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor19)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor37)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor38)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor39)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor40)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor41)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor20)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor42)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor43)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor44)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor45)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraDateTimeEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraCombo3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor46)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor47)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor48)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor21)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor49)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+
+
+
+        private void Init()
+        {
+            try
+            {
+                string strOut = "";
+                string sql = "";
+                DataSet ds;
+              
+                //物资
+                sql = "SELECT MATERIAL_CODE ID_,MATERIAL_NAME NAME_ FROM MATERIAL_CODE_MANAGE  ";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "MATERIAL_CODE_MANAGE";
+
+                Comm.Init_ComboControl(this.Cmb_Name, "MATERIAL_CODE_MANAGE", "NAME_", "ID_", ref ds);
+
+               
+               
+                
+
+                
+                
+            }
+            catch(Exception ex)
+            {
+            }
+        }
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if (this.chk_AllowFilter.Checked)
+			{
+                this.gd_PlanSP.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;			
+			}
+			else
+			{
+                this.gd_PlanSP.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+				
+			}
+
+		}
+        private void DoQuery(bool iFlag)
+        {
+            string where = "";
+            string sql = "";
+            string err = "";
+            if (iFlag == false)
+            {
+                if (chk_Time.Checked == false && Chk_WZName.Checked == false)
+                {
+                    MessageBox.Show("请选择条件进行查询!!!!");
+                    return;
+                }
+                if (this.chk_Time.Checked)
+                {
+                    where += " AND TO_CHAR(A.DECLAR_DATE,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                            + " AND TO_CHAR(A.DECLAR_DATE,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+            }
+            else
+            {
+                where += " AND TO_CHAR(A.DECLAR_DATE,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                               + " AND TO_CHAR(A.DECLAR_DATE,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+            if (this.Cmb_Name.Enabled && this.Cmb_Name.Text.Trim().Length > 0)
+            {
+                where += " AND A.METARILNAME LIKE '" + this.Cmb_Name.Value.ToString().Trim().ToString() + "%'";
+            }
+
+            if (sKey == "1")
+            {
+                where += " AND A.ISSP='0'";
+            }
+            else
+            {
+                where += " AND A.ZRSP='1'";
+            }
+
+            sql = "SELECT DECODE(A.ISJZ,'0','','1','是')ISJZ,A.DECLARE_ID,a.DECLARE_LX,a.METARILCODE,a.SPEC,a.JLSP,a.ZRSP,a.MATERIAL,a.METARILNAME,a.UNITS,a.WEIGHT,a.MATERIAL_LB,a.PLANPRICE,a.MAKE_CYCLE,a.DECLARE_NUM,a.DECLAR_DATE,a.DIRECTOR_DATE,a.MANAGER_DATE,a.RECODER,TO_CHAR(a.TIME_,'YYYY-MM-DD HH24:MI:SS')TIME_,a.REMARK,b.STOCK_INITIAL KCNUM "
+
+                + "FROM KCJ_PLANDELCAR A,KCJ_STORESMAGNAGER B WHERE 1=1 AND A.METARILCODE=B.MATERIALCODE(+) " + where
+                ;
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                gd_PlanSP.DataSource = ds;
+            }
+            
+        }
+        private void Export()
+        {
+            if (this.gd_PlanSP.Rows.Count > 0)
+            {
+                Comm.ExPortExcel(this.gd_PlanSP, this.excelExporter);
+            }
+            else
+            {
+                MessageBox.Show("无申报信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+            }
+
+        }
+        private void Add(string strMode)
+        {
+            try
+            {
+                string strerr = "";
+              
+                System.Collections.ArrayList MetarilInfo = new ArrayList();
+
+
+                if (strMode == "SB")
+                {
+                    if (txt_ID.Text.ToString().Trim().ToString() == "")
+                    {
+                        MessageBox.Show("申报ID不能为空");
+                        return;
+                    }
+                }
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_ID.Text.ToString().Trim()));//1 申报ID
+                MetarilInfo.Add(Convert.ToDateTime(this.dte_SPDate.Value).ToString("yyyy-MM-dd"));//2 申报日期
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//3 备注
+                MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//4 操作人
+                MetarilInfo.Add(strMode);//5 操作模式
+                MetarilInfo.Add(sKey);//6 操作模式
+                
+               
+
+
+
+                object obj = new object();
+                System.Windows.Forms.DialogResult result = DialogResult.No;
+                if (strMode == "SP")
+                {
+                   
+
+                            result = MessageBox.Show("是否审批?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+                            if (result == DialogResult.Yes)
+                            {
+                                obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
+                                      "PlanSPAdd", new object[] { MetarilInfo }, out strerr);
+                            }
+                }
+                else if (strMode == "SB")
+                {
+                    result = MessageBox.Show("是否重新申报?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+                    if (result == DialogResult.Yes)
+                    {
+                        obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
+                              "PlanSPAdd", new object[] { MetarilInfo }, out strerr);
+                    }
+                }
+              
+                
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("操作成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    DoQuery(true);
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+            }
+        }
+        public string sKey = "";
+        private void FrmPlanApproval_Load(object sender, System.EventArgs e)
+		{
+
+            sKey = this.Key.Split('@')[1];
+            if (sKey == "1")
+            {
+                this.Text = "计划申报(主任审批)";
+            }
+            else
+            { this.Text = "计划申报(经理审批)"; }
+            dte_SPDate.Value = DateTime.Now;
+            dte_BeginTime.Value = DateTime.Now;
+            dte_EndTime.Value = DateTime.Now;
+            Init();
+            
+		}
+
+	
+
+		
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+            switch (e.Tool.Key)
+            {
+                case "Add":
+                    Add("SP");
+                    break;
+                case "UPDATE":
+                    Add("SB");
+                    break;
+             
+                case "Query":
+                    DoQuery(false);
+                    break;
+                case "Export":
+                    Export();
+                    break;
+                case "Close":
+                    this.Close();
+                    break;
+
+            }
+
+		}
+
+
+
+        private void dte_SPDate_Enter(object sender, EventArgs e)
+        {
+            if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+            {
+                ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+            }
+            if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+            {
+                ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+            }
+        }
+
+        private void dte_SPDate_KeyDown(object sender, KeyEventArgs e)
+        {
+           
+
+            try
+            {
+                if (e.KeyData == System.Windows.Forms.Keys.Return)
+                {
+
+                    if (((System.Windows.Forms.Control)sender).Name == "dte_SPDate")
+                    {
+                        txt_Remark.Focus();
+                        txt_Remark.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_Remark")
+                    {
+                        
+
+                            System.Windows.Forms.DialogResult result = DialogResult.No;
+
+                            result = MessageBox.Show("是否审批?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+                            if (result == DialogResult.Yes)
+                            {
+
+                                this.Add("SP");
+                            }
+                            else
+                            {
+                                this.Add("SB");
+                            }
+                            this.dte_SPDate.Focus();
+                            this.dte_SPDate.SelectAll();
+                            return;
+
+                        }
+                 
+                    //System.Windows.Forms.SendKeys.Send("{TAB}");
+
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+      
+        private void Chk_CKLB_CheckedChanged(object sender, EventArgs e)
+        {
+            Cmb_Name.Enabled = Chk_WZName.Checked;
+        }
+
+        private void gd_PlanSP_AfterRowActivate(object sender, EventArgs e)
+        {
+            try
+            {
+                if (this.gd_PlanSP.Rows.Count > 0)
+                {
+
+
+                    if (sKey == "1" )
+                    {
+                        if (this.gd_PlanSP.ActiveRow.Cells["DIRECTOR_DATE"].Value.ToString() != "")
+                        {
+                            this.dte_SPDate.Value = Comm.ObjToStr(this.gd_PlanSP.ActiveRow.Cells["DIRECTOR_DATE"].Value);//审批日期
+                        }
+                    }
+                    else
+                    {
+                        if (this.gd_PlanSP.ActiveRow.Cells["MANAGER_DATE"].Value.ToString() != "")
+                        {
+                            this.dte_SPDate.Value = Comm.ObjToStr(this.gd_PlanSP.ActiveRow.Cells["MANAGER_DATE"].Value);//审批日期
+                        }
+                      
+                    }
+                    txt_Remark.Text = Comm.ObjToStr(this.gd_PlanSP.ActiveRow.Cells["REMARK"].Value);//备注
+                    txt_ID.Text = Comm.ObjToStr(this.gd_PlanSP.ActiveRow.Cells["DECLARE_ID"].Value);//申报ID
+                  
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        
+        private void chk_Time_CheckedChanged(object sender, EventArgs e)
+        {
+            dte_BeginTime.Enabled = dte_EndTime.Enabled = chk_Time.Checked;
+        }
+
+        private void gd_PlanSP_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
+        {
+          
+            if (e.Row.Cells["ZRSP"].Value.ToString() == "1")
+            {
+                e.Row.Cells["DIRECTOR_DATE"].Appearance.BackColor = System.Drawing.Color.Red;
+            }
+            if (e.Row.Cells["JLSP"].Value.ToString() == "1")
+            {
+                e.Row.Cells["MANAGER_DATE"].Appearance.BackColor = System.Drawing.Color.YellowGreen;
+            }
+        }
+
+        
+
+		
+
+	
+
+		
+
+	
+		
+
+
+
+		
+
+	
+
+
+	
+
+
+
+
+
+	
+
+	
+	
+
+
+
+
+
+	}
+}

BIN
Client/.svn/pristine/0c/0ca4a5086bf08f23953907895be2ce792ca320fc.svn-base


+ 35 - 0
Client/.svn/pristine/0f/0fbb4e59f399587827cb65ec1325fad0e73fe602.svn-base

@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过下列属性集
+// 控制。更改这些属性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Core.XgMes.Client.JGKC.MaterialManager")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Sky123.Org")]
+[assembly: AssemblyProduct("Core.XgMes.Client.JGKC.MaterialManager")]
+[assembly: AssemblyCopyright("版权所有 (C) Sky123.Org 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 属性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("e74b2259-d0cb-4a6e-b8f0-43bb8db0ca90")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+//      主版本
+//      次版本 
+//      内部版本号
+//      修订号
+//
+// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
+// 方法是按如下所示使用“*”:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 1417 - 0
Client/.svn/pristine/0f/0fd4ca96a6ce5e9b05916ae2a78525c5227a1f85.svn-base

@@ -0,0 +1,1417 @@
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Windows.Forms;
+
+namespace Core.XgMes.Client.Control
+{
+	/// <summary>
+	/// 中板成品库存综合查询统计分析控件
+	/// </summary>
+	public class ctlKCJListStat : System.Windows.Forms.UserControl
+	{
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatButtress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatRollNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatBilletID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatDeteMarHeat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatResult;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatCutSide;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatRole;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatPlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatCondole;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatSend;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatOrgan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatSendOnly;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatInTime;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OPlanNOStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_NOrderNOStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OOrderNOStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_HeatStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlyStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_WidthStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_LengthStat;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_FaceQuanlity;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatPrd;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatStoveNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatRemark;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_shdw;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DZ;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_jhq;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultchkPactnoDW;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ysfs;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SYSJ;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultchkcplx;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uchk_InSteel;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uchk_Steel;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uchk_FSteel;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor uck_Pactno;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_JHZT;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RCL;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_YLZL;
+		/// <summary> 
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+		public ctlKCJListStat()
+		{
+			// 该调用是 Windows.Forms 窗体设计器所必需的。
+			InitializeComponent();
+
+			// TODO: 在 InitializeComponent 调用后添加任何初始化
+
+		}
+
+		/// <summary> 
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region 组件设计器生成的代码
+		/// <summary> 
+		/// 设计器支持所需的方法 - 不要使用代码编辑器 
+		/// 修改此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            this.chk_StatButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatRollNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatBilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatDeteMarHeat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatResult = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatCutSide = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatRole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatPlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatCondole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatSend = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatOrgan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatSendOnly = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatInTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_OPlanNOStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_NOrderNOStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_OOrderNOStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_HeatStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_PlyStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_WidthStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_LengthStat = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_FaceQuanlity = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatPrd = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatStoveNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatRemark = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_shdw = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_DZ = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_jhq = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultchkPactnoDW = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_ysfs = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_SYSJ = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultchkcplx = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uchk_InSteel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uchk_Steel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uchk_FSteel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.uck_Pactno = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_JHZT = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_RCL = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_YLZL = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.SuspendLayout();
+            // 
+            // chk_StatButtress
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatButtress.Appearance = appearance1;
+            this.chk_StatButtress.Location = new System.Drawing.Point(0, 2);
+            this.chk_StatButtress.Name = "chk_StatButtress";
+            this.chk_StatButtress.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatButtress.TabIndex = 34;
+            this.chk_StatButtress.Text = "堆位";
+            // 
+            // chk_StatRollNO
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatRollNO.Appearance = appearance2;
+            this.chk_StatRollNO.Location = new System.Drawing.Point(98, 2);
+            this.chk_StatRollNO.Name = "chk_StatRollNO";
+            this.chk_StatRollNO.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatRollNO.TabIndex = 35;
+            this.chk_StatRollNO.Text = "轧编号";
+            // 
+            // chk_StatBilletID
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatBilletID.Appearance = appearance3;
+            this.chk_StatBilletID.Location = new System.Drawing.Point(0, 52);
+            this.chk_StatBilletID.Name = "chk_StatBilletID";
+            this.chk_StatBilletID.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatBilletID.TabIndex = 36;
+            this.chk_StatBilletID.Text = "序号";
+            // 
+            // chk_StatDeteMarHeat
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatDeteMarHeat.Appearance = appearance4;
+            this.chk_StatDeteMarHeat.Location = new System.Drawing.Point(0, 69);
+            this.chk_StatDeteMarHeat.Name = "chk_StatDeteMarHeat";
+            this.chk_StatDeteMarHeat.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatDeteMarHeat.TabIndex = 37;
+            this.chk_StatDeteMarHeat.Text = "含探伤";
+            // 
+            // chk_StatResult
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatResult.Appearance = appearance5;
+            this.chk_StatResult.Checked = true;
+            this.chk_StatResult.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.chk_StatResult.Location = new System.Drawing.Point(0, 86);
+            this.chk_StatResult.Name = "chk_StatResult";
+            this.chk_StatResult.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatResult.TabIndex = 38;
+            this.chk_StatResult.Text = "含判定结果";
+            // 
+            // chk_StatCutSide
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatCutSide.Appearance = appearance6;
+            this.chk_StatCutSide.Location = new System.Drawing.Point(98, 137);
+            this.chk_StatCutSide.Name = "chk_StatCutSide";
+            this.chk_StatCutSide.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatCutSide.TabIndex = 39;
+            this.chk_StatCutSide.Text = "含切边";
+            // 
+            // chk_StatRole
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatRole.Appearance = appearance7;
+            this.chk_StatRole.Location = new System.Drawing.Point(0, 155);
+            this.chk_StatRole.Name = "chk_StatRole";
+            this.chk_StatRole.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatRole.TabIndex = 40;
+            this.chk_StatRole.Text = "含定尺";
+            // 
+            // chk_StatPlanNO
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatPlanNO.Appearance = appearance8;
+            this.chk_StatPlanNO.Location = new System.Drawing.Point(0, 18);
+            this.chk_StatPlanNO.Name = "chk_StatPlanNO";
+            this.chk_StatPlanNO.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatPlanNO.TabIndex = 41;
+            this.chk_StatPlanNO.Text = "现计划号";
+            // 
+            // chk_StatCondole
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatCondole.Appearance = appearance9;
+            this.chk_StatCondole.Location = new System.Drawing.Point(98, 52);
+            this.chk_StatCondole.Name = "chk_StatCondole";
+            this.chk_StatCondole.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatCondole.TabIndex = 42;
+            this.chk_StatCondole.Text = "含吊号";
+            // 
+            // chk_StatSend
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatSend.Appearance = appearance10;
+            this.chk_StatSend.Location = new System.Drawing.Point(0, 173);
+            this.chk_StatSend.Name = "chk_StatSend";
+            this.chk_StatSend.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatSend.TabIndex = 43;
+            this.chk_StatSend.Text = "含已发运";
+            this.chk_StatSend.CheckedChanged += new System.EventHandler(this.chk_StatSend_CheckedChanged);
+            // 
+            // chk_StatOrgan
+            // 
+            appearance11.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatOrgan.Appearance = appearance11;
+            this.chk_StatOrgan.Location = new System.Drawing.Point(0, 103);
+            this.chk_StatOrgan.Name = "chk_StatOrgan";
+            this.chk_StatOrgan.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatOrgan.TabIndex = 44;
+            this.chk_StatOrgan.Text = "含船检结果";
+            // 
+            // chk_StatSendOnly
+            // 
+            appearance12.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatSendOnly.Appearance = appearance12;
+            this.chk_StatSendOnly.Location = new System.Drawing.Point(98, 174);
+            this.chk_StatSendOnly.Name = "chk_StatSendOnly";
+            this.chk_StatSendOnly.Size = new System.Drawing.Size(92, 20);
+            this.chk_StatSendOnly.TabIndex = 45;
+            this.chk_StatSendOnly.Text = "仅已发运";
+            this.chk_StatSendOnly.CheckedChanged += new System.EventHandler(this.chk_StatSendOnly_CheckedChanged);
+            // 
+            // chk_StatInTime
+            // 
+            appearance13.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatInTime.Appearance = appearance13;
+            this.chk_StatInTime.Location = new System.Drawing.Point(0, 191);
+            this.chk_StatInTime.Name = "chk_StatInTime";
+            this.chk_StatInTime.Size = new System.Drawing.Size(102, 20);
+            this.chk_StatInTime.TabIndex = 47;
+            this.chk_StatInTime.Text = "含入库信息";
+            // 
+            // chk_OPlanNOStat
+            // 
+            appearance14.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_OPlanNOStat.Appearance = appearance14;
+            this.chk_OPlanNOStat.Location = new System.Drawing.Point(98, 18);
+            this.chk_OPlanNOStat.Name = "chk_OPlanNOStat";
+            this.chk_OPlanNOStat.Size = new System.Drawing.Size(92, 20);
+            this.chk_OPlanNOStat.TabIndex = 48;
+            this.chk_OPlanNOStat.Text = "原计划号";
+            // 
+            // chk_NOrderNOStat
+            // 
+            appearance15.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_NOrderNOStat.Appearance = appearance15;
+            this.chk_NOrderNOStat.Location = new System.Drawing.Point(0, 34);
+            this.chk_NOrderNOStat.Name = "chk_NOrderNOStat";
+            this.chk_NOrderNOStat.Size = new System.Drawing.Size(102, 20);
+            this.chk_NOrderNOStat.TabIndex = 49;
+            this.chk_NOrderNOStat.Text = "现订单号";
+            // 
+            // chk_OOrderNOStat
+            // 
+            appearance16.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_OOrderNOStat.Appearance = appearance16;
+            this.chk_OOrderNOStat.Location = new System.Drawing.Point(98, 34);
+            this.chk_OOrderNOStat.Name = "chk_OOrderNOStat";
+            this.chk_OOrderNOStat.Size = new System.Drawing.Size(92, 20);
+            this.chk_OOrderNOStat.TabIndex = 50;
+            this.chk_OOrderNOStat.Text = "原订单号";
+            // 
+            // chk_HeatStat
+            // 
+            appearance17.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_HeatStat.Appearance = appearance17;
+            this.chk_HeatStat.Location = new System.Drawing.Point(98, 69);
+            this.chk_HeatStat.Name = "chk_HeatStat";
+            this.chk_HeatStat.Size = new System.Drawing.Size(92, 20);
+            this.chk_HeatStat.TabIndex = 51;
+            this.chk_HeatStat.Text = "含正火";
+            // 
+            // chk_PlyStat
+            // 
+            appearance18.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_PlyStat.Appearance = appearance18;
+            this.chk_PlyStat.Location = new System.Drawing.Point(0, 119);
+            this.chk_PlyStat.Name = "chk_PlyStat";
+            this.chk_PlyStat.Size = new System.Drawing.Size(80, 20);
+            this.chk_PlyStat.TabIndex = 52;
+            this.chk_PlyStat.Text = "厚";
+            // 
+            // chk_WidthStat
+            // 
+            appearance19.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_WidthStat.Appearance = appearance19;
+            this.chk_WidthStat.Location = new System.Drawing.Point(52, 119);
+            this.chk_WidthStat.Name = "chk_WidthStat";
+            this.chk_WidthStat.Size = new System.Drawing.Size(80, 20);
+            this.chk_WidthStat.TabIndex = 53;
+            this.chk_WidthStat.Text = "宽";
+            // 
+            // chk_LengthStat
+            // 
+            appearance20.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_LengthStat.Appearance = appearance20;
+            this.chk_LengthStat.Location = new System.Drawing.Point(0, 137);
+            this.chk_LengthStat.Name = "chk_LengthStat";
+            this.chk_LengthStat.Size = new System.Drawing.Size(102, 20);
+            this.chk_LengthStat.TabIndex = 54;
+            this.chk_LengthStat.Text = "含长度";
+            // 
+            // chk_FaceQuanlity
+            // 
+            appearance21.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_FaceQuanlity.Appearance = appearance21;
+            this.chk_FaceQuanlity.Location = new System.Drawing.Point(98, 155);
+            this.chk_FaceQuanlity.Name = "chk_FaceQuanlity";
+            this.chk_FaceQuanlity.Size = new System.Drawing.Size(92, 20);
+            this.chk_FaceQuanlity.TabIndex = 55;
+            this.chk_FaceQuanlity.Text = "含表面";
+            // 
+            // Chk_StatPrd
+            // 
+            appearance22.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatPrd.Appearance = appearance22;
+            this.Chk_StatPrd.Location = new System.Drawing.Point(0, 210);
+            this.Chk_StatPrd.Name = "Chk_StatPrd";
+            this.Chk_StatPrd.Size = new System.Drawing.Size(102, 20);
+            this.Chk_StatPrd.TabIndex = 56;
+            this.Chk_StatPrd.Text = "含生产信息";
+            // 
+            // Chk_StatStoveNO
+            // 
+            appearance23.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatStoveNO.Appearance = appearance23;
+            this.Chk_StatStoveNO.Location = new System.Drawing.Point(98, 86);
+            this.Chk_StatStoveNO.Name = "Chk_StatStoveNO";
+            this.Chk_StatStoveNO.Size = new System.Drawing.Size(92, 20);
+            this.Chk_StatStoveNO.TabIndex = 57;
+            this.Chk_StatStoveNO.Text = "炉号";
+            // 
+            // Chk_StatRemark
+            // 
+            appearance24.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatRemark.Appearance = appearance24;
+            this.Chk_StatRemark.Location = new System.Drawing.Point(98, 191);
+            this.Chk_StatRemark.Name = "Chk_StatRemark";
+            this.Chk_StatRemark.Size = new System.Drawing.Size(92, 20);
+            this.Chk_StatRemark.TabIndex = 58;
+            this.Chk_StatRemark.Text = "备注";
+            // 
+            // chk_shdw
+            // 
+            appearance25.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_shdw.Appearance = appearance25;
+            this.chk_shdw.Location = new System.Drawing.Point(47, 231);
+            this.chk_shdw.Name = "chk_shdw";
+            this.chk_shdw.Size = new System.Drawing.Size(84, 17);
+            this.chk_shdw.TabIndex = 66;
+            this.chk_shdw.Text = "收货单位";
+            // 
+            // chk_DZ
+            // 
+            appearance26.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_DZ.Appearance = appearance26;
+            this.chk_DZ.Location = new System.Drawing.Point(0, 231);
+            this.chk_DZ.Name = "chk_DZ";
+            this.chk_DZ.Size = new System.Drawing.Size(56, 17);
+            this.chk_DZ.TabIndex = 65;
+            this.chk_DZ.Text = "到站";
+            // 
+            // chk_jhq
+            // 
+            appearance27.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_jhq.Appearance = appearance27;
+            this.chk_jhq.Location = new System.Drawing.Point(98, 210);
+            this.chk_jhq.Name = "chk_jhq";
+            this.chk_jhq.Size = new System.Drawing.Size(92, 20);
+            this.chk_jhq.TabIndex = 64;
+            this.chk_jhq.Text = "交货日期";
+            // 
+            // ultchkPactnoDW
+            // 
+            appearance28.BackColor = System.Drawing.Color.LightCyan;
+            this.ultchkPactnoDW.Appearance = appearance28;
+            this.ultchkPactnoDW.Location = new System.Drawing.Point(98, 103);
+            this.ultchkPactnoDW.Name = "ultchkPactnoDW";
+            this.ultchkPactnoDW.Size = new System.Drawing.Size(92, 20);
+            this.ultchkPactnoDW.TabIndex = 69;
+            this.ultchkPactnoDW.Text = "合同单位";
+            // 
+            // chk_ysfs
+            // 
+            appearance29.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_ysfs.Appearance = appearance29;
+            this.chk_ysfs.Location = new System.Drawing.Point(121, 231);
+            this.chk_ysfs.Name = "chk_ysfs";
+            this.chk_ysfs.Size = new System.Drawing.Size(87, 16);
+            this.chk_ysfs.TabIndex = 70;
+            this.chk_ysfs.Text = "运输方式";
+            // 
+            // chk_SYSJ
+            // 
+            appearance30.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_SYSJ.Appearance = appearance30;
+            this.chk_SYSJ.Location = new System.Drawing.Point(98, 118);
+            this.chk_SYSJ.Name = "chk_SYSJ";
+            this.chk_SYSJ.Size = new System.Drawing.Size(92, 20);
+            this.chk_SYSJ.TabIndex = 71;
+            this.chk_SYSJ.Text = "收样时间";
+            // 
+            // ultchkcplx
+            // 
+            appearance31.BackColor = System.Drawing.Color.LightCyan;
+            this.ultchkcplx.Appearance = appearance31;
+            this.ultchkcplx.Location = new System.Drawing.Point(0, 248);
+            this.ultchkcplx.Name = "ultchkcplx";
+            this.ultchkcplx.Size = new System.Drawing.Size(80, 20);
+            this.ultchkcplx.TabIndex = 72;
+            this.ultchkcplx.Text = "产品类型";
+            // 
+            // uchk_InSteel
+            // 
+            appearance32.BackColor = System.Drawing.Color.LightCyan;
+            this.uchk_InSteel.Appearance = appearance32;
+            this.uchk_InSteel.Location = new System.Drawing.Point(193, 2);
+            this.uchk_InSteel.Name = "uchk_InSteel";
+            this.uchk_InSteel.Size = new System.Drawing.Size(92, 20);
+            this.uchk_InSteel.TabIndex = 73;
+            this.uchk_InSteel.Text = "入库牌号";
+            // 
+            // uchk_Steel
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            this.uchk_Steel.Appearance = appearance33;
+            this.uchk_Steel.Location = new System.Drawing.Point(193, 20);
+            this.uchk_Steel.Name = "uchk_Steel";
+            this.uchk_Steel.Size = new System.Drawing.Size(92, 20);
+            this.uchk_Steel.TabIndex = 74;
+            this.uchk_Steel.Text = "牌号";
+            // 
+            // uchk_FSteel
+            // 
+            appearance34.BackColor = System.Drawing.Color.LightCyan;
+            this.uchk_FSteel.Appearance = appearance34;
+            this.uchk_FSteel.Location = new System.Drawing.Point(193, 38);
+            this.uchk_FSteel.Name = "uchk_FSteel";
+            this.uchk_FSteel.Size = new System.Drawing.Size(92, 20);
+            this.uchk_FSteel.TabIndex = 75;
+            this.uchk_FSteel.Text = "副牌号";
+            // 
+            // uck_Pactno
+            // 
+            appearance35.BackColor = System.Drawing.Color.LightCyan;
+            this.uck_Pactno.Appearance = appearance35;
+            this.uck_Pactno.Location = new System.Drawing.Point(193, 58);
+            this.uck_Pactno.Name = "uck_Pactno";
+            this.uck_Pactno.Size = new System.Drawing.Size(92, 20);
+            this.uck_Pactno.TabIndex = 76;
+            this.uck_Pactno.Text = "合同号";
+            // 
+            // chk_JHZT
+            // 
+            appearance36.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_JHZT.Appearance = appearance36;
+            this.chk_JHZT.Location = new System.Drawing.Point(192, 77);
+            this.chk_JHZT.Name = "chk_JHZT";
+            this.chk_JHZT.Size = new System.Drawing.Size(92, 20);
+            this.chk_JHZT.TabIndex = 77;
+            this.chk_JHZT.Text = "交货状态";
+            // 
+            // chk_RCL
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_RCL.Appearance = appearance37;
+            this.chk_RCL.Location = new System.Drawing.Point(191, 95);
+            this.chk_RCL.Name = "chk_RCL";
+            this.chk_RCL.Size = new System.Drawing.Size(92, 20);
+            this.chk_RCL.TabIndex = 78;
+            this.chk_RCL.Text = "热处理号";
+            // 
+            // chk_YLZL
+            // 
+            appearance38.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_YLZL.Appearance = appearance38;
+            this.chk_YLZL.Location = new System.Drawing.Point(190, 113);
+            this.chk_YLZL.Name = "chk_YLZL";
+            this.chk_YLZL.Size = new System.Drawing.Size(92, 20);
+            this.chk_YLZL.TabIndex = 79;
+            this.chk_YLZL.Text = "原料重量";
+            // 
+            // ctlZBTurnoffListStat
+            // 
+            this.Controls.Add(this.chk_YLZL);
+            this.Controls.Add(this.chk_RCL);
+            this.Controls.Add(this.chk_JHZT);
+            this.Controls.Add(this.uck_Pactno);
+            this.Controls.Add(this.uchk_FSteel);
+            this.Controls.Add(this.uchk_Steel);
+            this.Controls.Add(this.uchk_InSteel);
+            this.Controls.Add(this.chk_ysfs);
+            this.Controls.Add(this.chk_shdw);
+            this.Controls.Add(this.chk_DZ);
+            this.Controls.Add(this.ultchkcplx);
+            this.Controls.Add(this.chk_StatCutSide);
+            this.Controls.Add(this.chk_SYSJ);
+            this.Controls.Add(this.ultchkPactnoDW);
+            this.Controls.Add(this.chk_jhq);
+            this.Controls.Add(this.Chk_StatRemark);
+            this.Controls.Add(this.Chk_StatStoveNO);
+            this.Controls.Add(this.Chk_StatPrd);
+            this.Controls.Add(this.chk_FaceQuanlity);
+            this.Controls.Add(this.chk_LengthStat);
+            this.Controls.Add(this.chk_WidthStat);
+            this.Controls.Add(this.chk_PlyStat);
+            this.Controls.Add(this.chk_HeatStat);
+            this.Controls.Add(this.chk_OOrderNOStat);
+            this.Controls.Add(this.chk_NOrderNOStat);
+            this.Controls.Add(this.chk_OPlanNOStat);
+            this.Controls.Add(this.chk_StatInTime);
+            this.Controls.Add(this.chk_StatSendOnly);
+            this.Controls.Add(this.chk_StatOrgan);
+            this.Controls.Add(this.chk_StatSend);
+            this.Controls.Add(this.chk_StatCondole);
+            this.Controls.Add(this.chk_StatPlanNO);
+            this.Controls.Add(this.chk_StatRole);
+            this.Controls.Add(this.chk_StatResult);
+            this.Controls.Add(this.chk_StatDeteMarHeat);
+            this.Controls.Add(this.chk_StatBilletID);
+            this.Controls.Add(this.chk_StatRollNO);
+            this.Controls.Add(this.chk_StatButtress);
+            this.Name = "ctlZBTurnoffListStat";
+            this.Size = new System.Drawing.Size(285, 269);
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region "Property
+
+        private string _SelectStr = "SELECT 1 THEORYWEIGHTZL  ";
+        //+ "COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT ";
+        private string _FromStr = "FROM KCJ_TURNOFFLIST A,KCJ_TURNOFFBUTTRESSLIST B,SEL_PACTDETAIL C WHERE A.BILLETID=B.BILLETID AND A.STORAGESTATUS='501602' AND A.ISVALID='1' ";
+        private string _GroupbyStr = " GROUP BY A.DETERMINANTCARDNUMBER,C.MULTISTEELNAME,BUYERCODE ";
+
+        private string _SendSelectStr = " SELECT TO_CHAR(B.PICKSTORAGETIME,'YY-MM-DD HH24') PICKSTORAGETIME,B.LISTNUMBER ";
+        private string _SendGroupby = " GROUP BY A.DETERMINANTCARDNUMBER,B.PICKSTORAGETIME,B.LISTNUMBER,C.MULTISTEELNAME,BUYERCODE";
+        private string _SendFromStr = " FROM KCJ_TURNOFFLIST A,KCJ_TURNOFFSENDLIST B,SEL_PACTDETAIL C WHERE A.BILLETID=B.SERIALNUMBER AND B.ISVALID<>'0' AND B.DUMMYSENDFLAG<>'1' AND B.SENDTYPE<='1' AND A.ISVALID='1' ";
+
+        private string _CSendSelectStr = " SELECT  TO_CHAR(B.PICKSTORAGETIME,'YY-MM-DD HH24') PICKSTORAGETIME,B.LISTNUMBER";
+        private string _CSendGroupBy = " GROUP BY A.DETERMINANTCARDNUMBER,B.PICKSTORAGETIME,B.LISTNUMBER,BUYERCODE";
+        private string _CSendFromStr = " FROM KCJ_TURNOFFLIST A,KCJ_TURNOFFSENDLIST B,SEL_PACTINFO_CLEAR C WHERE A.BILLETID=B.SERIALNUMBER AND B.ISVALID<>'0' AND B.DUMMYSENDFLAG<>'1' AND B.SENDTYPE<='1' AND A.ISVALID='1' ";
+        //+" AND B.BUTTRESS=D.BUTTRESS(+) AND D.BUTTRESS(+) NOT IN('虚拟堆位','预装发运')";
+        private void chk_StatSendOnly_CheckedChanged(object sender, System.EventArgs e)
+        {
+            if (this.chk_StatSendOnly.Checked)
+            {
+                this.chk_StatSend.Checked = false;
+            }
+        }
+
+        private void chk_StatSend_CheckedChanged(object sender, System.EventArgs e)
+        {
+            if (this.chk_StatSend.Checked)
+            {
+                this.chk_StatSendOnly.Checked = false;
+            }
+        }
+
+        public System.Collections.ArrayList SendSelectStr
+        {
+            get
+            {
+                if (this.chk_StatSend.Checked | this.chk_StatSendOnly.Checked)
+                {
+                    System.Collections.ArrayList rtnList = new ArrayList();
+                    string rtnStr = _SendSelectStr;
+                    string CrtnStr = _CSendSelectStr;
+
+                    if (this.chk_StatButtress.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.BUTTRESS ";
+                        CrtnStr = CrtnStr + ",B.BUTTRESS ";
+                    }
+                    if (this.chk_StatRollNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ROLLNO ROLLNUMBER ";
+                        CrtnStr = CrtnStr + ",B.ROLLNO ROLLNUMBER ";
+                    }
+                    if (this.chk_StatPlanNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.PACTNO,C.PACTINDEX ";
+                        CrtnStr = CrtnStr + ",C.PACTNO,C.PACTINDEX ";
+                    }
+                    //add by lyp 20120831 zhengjiajiaohuzhantai
+                    if (this.chk_JHZT.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT MEMO FROM SCM_BASE_INFO WHERE ID_= SEL_PUBLIC_K.FSEL_GETSTANDROLL_STATUS(NVL(C.STANDROLLER,'0')))JHZT ";
+                        //CrtnStr = CrtnStr + ",(SELECT MEMO FROM SCM_BASE_INFO WHERE ID_= SEL_PUBLIC_K.FSEL_GETSTANDROLL_STATUS(NVL(C.STANDROLLER,'0')))JHZT ";
+                    }
+                    if (this.chk_ysfs.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.TRANSTYPE ";
+                        CrtnStr = CrtnStr + ",C.TRANSTYPE ";
+                    }
+                    if (this.chk_OPlanNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.PLANNO PLANNUMBER,b.PACTNO PACTNOINDEX ";
+                        CrtnStr = CrtnStr + ",B.PLANNO PLANNUMBER ,b.PACTNO PACTNOINDEX";
+                    }
+                    if (this.chk_SYSJ.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR((SELECT MAX(T1.RECEIVETIME) FROM LH_SAMPLE_CONSIGN_MAIN T1 RIGHT JOIN LH_SAMPLE_CONSIGN_DETAIL T2 ON T1.WTBH = T2.WTBH WHERE T2.PID_MB_CB_ID = a.BILLETID), 'YYYY-MM-DD HH24:MI:SS')RECEIVETIME";
+                        CrtnStr = CrtnStr + ",TO_CHAR((SELECT MAX(T1.RECEIVETIME) FROM LH_SAMPLE_CONSIGN_MAIN T1 RIGHT JOIN LH_SAMPLE_CONSIGN_DETAIL T2 ON T1.WTBH = T2.WTBH WHERE T2.PID_MB_CB_ID = a.BILLETID), 'YYYY-MM-DD HH24:MI:SS')RECEIVETIME";
+                    }
+                    if (this.chk_NOrderNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ORDERFORMNUMBER ALLOTORDERFORM ";
+                        CrtnStr = CrtnStr + ",B.ORDERFORMNUMBER ALLOTORDERFORM ";
+                    }
+                    if (this.chk_OOrderNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.PLANORDERNO PLANORDERFORM ";
+                        CrtnStr = CrtnStr + ",A.PLANORDERNO PLANORDERFORM ";
+                    }
+                    if (this.uchk_Steel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER DETERMINANTCARDNUMBER ";
+                        CrtnStr = CrtnStr + ",A.DETERMINANTCARDNUMBER DETERMINANTCARDNUMBER ";
+                    }
+                    if (this.chk_RCL.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.RCL_STATE ";
+                        CrtnStr = CrtnStr + ",A.RCL_STATE ";
+                    }
+                    if (this.uchk_InSteel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.Insteel INSTROAGESTEEL ";
+                        CrtnStr = CrtnStr + ",A.Insteel INSTROAGESTEEL ";
+                    }
+
+                    if (this.uchk_FSteel.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.MULTISTEELNAME  MULTISTEELNAME ";
+                        //CrtnStr = CrtnStr + ",C.MULTISTEELNAME MULTISTEELNAME ";
+                    }
+                    if (this.chk_StatCondole.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+                        CrtnStr = CrtnStr + ",B.CONDOLENUMBER ";
+                    }
+                    //if (this.chk_Pactno.Checked)
+                    //{
+                    //    rtnStr = rtnStr + ",C.pactno ";
+                    //    CrtnStr = CrtnStr + ",C.pactno ";
+                    //}
+                    if (this.chk_StatDeteMarHeat.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.DETECTMAR) DETECTMARBOOKIN ";
+                        CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.DETECTMAR) DETECTMARBOOKIN ";
+                    }
+                    if (this.chk_HeatStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",DECODE(B.ISHEAT,'1','√',NULL) HEATDEAL ";
+                        CrtnStr = CrtnStr + ",DECODE(B.ISHEAT,'1','√',NULL) HEATDEAL ";
+                    }
+                    if (this.chk_StatResult.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.DETERMINANTRESULT) DETERMINANTRESULT,A.DETERMINANTREASON,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.JUDGEEASONCODE) JUDGEEASONCODE ";
+                        CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.DETERMINANTRESULT) DETERMINANTRESULT,A.DETERMINANTREASON,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.JUDGEEASONCODE) JUDGEEASONCODE ";
+                    }
+                    if (this.chk_StatOrgan.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=C.CHECKORG) ATTESTATIONORGAN,B.ATTESTATIONRESULT ";
+                        CrtnStr = CrtnStr + ",NULL ATTESTATIONORGAN,B.ATTESTATIONRESULT ";
+                    }
+                    if (this.chk_PlyStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.PLY ";
+                        CrtnStr = CrtnStr + ",B.PLY ";
+                    }
+                    if (this.chk_WidthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.WIDTH ";
+                        CrtnStr = CrtnStr + ",B.WIDTH ";
+                    }
+                    if (this.chk_LengthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.LENGTH ";
+                        CrtnStr = CrtnStr + ",B.LENGTH ";
+                    }
+                    if (this.Chk_StatStoveNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.STOVENO ";
+                        CrtnStr = CrtnStr + ",B.STOVENO ";
+                    }
+                    if (this.uck_Pactno.Checked)
+                    {
+                        rtnStr = rtnStr + ",c.pactno ";
+                        CrtnStr = CrtnStr + ",c.pactno ";
+                    }
+                    if (this.Chk_StatRemark.Checked)
+                    {
+                        rtnStr = rtnStr + ",NULL HANDREMARK ";
+                        CrtnStr = CrtnStr + ",NULL HANDREMARK ";
+                    }
+                    if (this.chk_StatCutSide.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.CLIPTYPEPROCESS) CUTSIDESTATE ";
+                        CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.CLIPTYPEPROCESS) CUTSIDESTATE ";
+                    }
+                    if (this.chk_StatRole.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.ROLE) ROLE ";
+                        CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.ROLE) ROLE ";
+                    }
+                    if (this.chk_FaceQuanlity.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.FACEQUALITY) FACEQUALITY"
+                            + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.BUGREASON) BUGREASON"
+                            + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DEGRADEREASON) DEGRADEREASON ";
+                        CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=B.FACEQUALITY) FACEQUALITY"
+                            + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.BUGREASON) BUGREASON"
+                            + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DEGRADEREASON) DEGRADEREASON ";
+                    }
+                    if (this.chk_StatInTime.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD') INSTORAGETIME,A.INSTEEL INSTROAGESTEEL,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.INCLASSTEAM) INCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD') INSTORAGETIME,A.INSTEEL INSTROAGESTEEL,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.INCLASSTEAM) INCLASSTEAM ";
+                    }
+                    if (this.Chk_StatPrd.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD') PTIME,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.PCLASSTEAM) PCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD') PTIME,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.PCLASSTEAM) PCLASSTEAM ";
+                    }
+
+                    ///newcpxl
+                    if (this.ultchkcplx.Checked)
+                    {
+                        rtnStr = rtnStr + ",(select name_ from scm_base_info where id_ = a.PRODUCT_NAME) PRODUCT_NAME ";
+                        CrtnStr = CrtnStr + ",a.PRODUCT_NAME ";
+                    }
+
+                    if (this.chk_StatBilletID.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.BILLETID,1 QUANTITY,B.WEIGHT THEORYWEIGHT ";
+                        CrtnStr = CrtnStr + ",A.BILLETID,1 QUANTITY,B.WEIGHT THEORYWEIGHT ";
+                    }
+                    if (this.chk_jhq.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(C.SENDBEGINDATE,'YYYY-MM-DD') SENDBEGINDATE ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(C.SENDBEGINDATE,'YYYY-MM-DD') SENDBEGINDATE ";
+                    }
+                    if (this.chk_DZ.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT STATIONNAME FROM SEL_STATIONINFO WHERE STATIONCODE = C.STATIONCODE) STATIONCODE ";
+                        CrtnStr = CrtnStr + ",(SELECT STATIONNAME FROM SEL_STATIONINFO WHERE STATIONCODE = C.STATIONCODE) STATIONCODE ";
+                    }
+                    if (this.chk_shdw.Checked)
+                    {
+                        rtnStr = rtnStr + ",(SELECT INCEPTCORPNAME FROM SEL_INCEPTCORPINFO WHERE INCEPTCORPCODE = C.INCEPTCORPCODE) INCEPTCORPCODE ";
+                        CrtnStr = CrtnStr + ",(SELECT INCEPTCORPNAME FROM SEL_INCEPTCORPINFO WHERE INCEPTCORPCODE = C.INCEPTCORPCODE) INCEPTCORPCODE ";
+                    }
+                    if (this.ultchkPactnoDW.Checked)
+                    {
+                        rtnStr = rtnStr + ",(select tt.buyername from sel_buyerbaseinfo tt WHERE tt.buyercode = C.BUYERCODE) BUYERCODE ";
+                        CrtnStr = CrtnStr + ",(select tt.buyername from sel_buyerbaseinfo tt WHERE tt.buyercode = C.BUYERCODE) BUYERCODE ";
+                    }
+                    //					if(this.chk_rzjg.Checked)
+                    //					{
+                    //						rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = C.CHECKORG) CHECKORG ";
+                    //						CrtnStr = CrtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = C.CHECKORG) CHECKORG ";
+                    //					}
+                    else
+                    {
+                        rtnStr = rtnStr + ",COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT  ";
+                        CrtnStr = CrtnStr + ",COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT  ";
+                    }
+                    rtnStr = rtnStr + _SendFromStr;
+                    CrtnStr = CrtnStr + _CSendFromStr;
+                    rtnList.Add(rtnStr);
+                    rtnList.Add(CrtnStr);
+                    return rtnList;
+                }
+                else
+                {
+                    return null;
+                }
+            }
+        }
+        public System.Collections.ArrayList SendGroupby
+        {
+            get
+            {
+                if (this.chk_StatSend.Checked | this.chk_StatSendOnly.Checked)
+                {
+                    System.Collections.ArrayList rtnList = new ArrayList();
+                    string rtnStr = _SendGroupby;
+                    string CrtnStr = _CSendGroupBy;
+                    if (this.chk_StatButtress.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.BUTTRESS ";
+                        CrtnStr = CrtnStr + ",B.BUTTRESS ";
+                    }
+                    if (this.chk_StatRollNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ROLLNO ";
+                        CrtnStr = CrtnStr + ",B.ROLLNO ";
+                    }
+                    if (this.chk_StatPlanNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.PACTNO,C.PACTINDEX ";
+                        CrtnStr = CrtnStr + ",C.PACTNO,C.PACTINDEX ";
+                    }
+                    if (this.chk_JHZT.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.STANDROLLER ";
+                        //CrtnStr = CrtnStr + ",C.STANDROLLER ";
+                    }
+                    if (this.chk_RCL.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.RCL_STATE ";
+                        CrtnStr = CrtnStr + ",A.RCL_STATE ";
+                    }
+                    if (this.chk_ysfs.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.TRANSTYPE,C.TRANSTYPE ";
+                        CrtnStr = CrtnStr + ",C.TRANSTYPE,C.TRANSTYPE ";
+                    }
+                    if (this.chk_OPlanNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.PLANNO,b.PACTNO  ";
+                        CrtnStr = CrtnStr + ",B.PLANNO,b.PACTNO  ";
+                    }
+                    if (this.chk_NOrderNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ORDERFORMNUMBER ";
+                        CrtnStr = CrtnStr + ",B.ORDERFORMNUMBER ";
+                    }
+                    if (this.chk_OOrderNOStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.PLANORDERNO ";
+                        CrtnStr = CrtnStr + ",A.PLANORDERNO ";
+                    }
+                    if (this.uck_Pactno.Checked)
+                    {
+                        rtnStr = rtnStr + ",c.pactno ";
+                        CrtnStr = CrtnStr + ",c.pactno ";
+                    }
+                    if (this.uchk_InSteel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.Insteel ";
+                        CrtnStr = CrtnStr + ",A.Insteel ";
+                    }
+                    if (this.uchk_Steel.Checked)
+                    {
+                        rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER ";
+                        CrtnStr = CrtnStr + ",A.DETERMINANTCARDNUMBER ";
+                    }
+                    if (this.uchk_FSteel.Checked)
+                    {
+                        rtnStr = rtnStr + ",c.MULTISTEELNAME ";
+                        //CrtnStr = CrtnStr + ",c.MULTISTEELNAME ";
+                    }
+                    if (this.chk_StatCondole.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+                        CrtnStr = CrtnStr + ",B.CONDOLENUMBER ";
+                    }
+                    if (this.chk_StatDeteMarHeat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.DETECTMAR ";
+                        CrtnStr = CrtnStr + ",B.DETECTMAR ";
+                    }
+                    if (this.chk_HeatStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ISHEAT ";
+                        CrtnStr = CrtnStr + ",B.ISHEAT ";
+                    }
+                    if (this.chk_StatResult.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.DETERMINANTRESULT,A.DETERMINANTREASON,B.JUDGEEASONCODE  ";
+                        CrtnStr = CrtnStr + ",B.DETERMINANTRESULT,A.DETERMINANTREASON,B.JUDGEEASONCODE  ";
+                    }
+                    if (this.chk_StatOrgan.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.CHECKORG,B.ATTESTATIONRESULT ";
+                        CrtnStr = CrtnStr + ",B.ATTESTATIONRESULT ";
+                    }
+
+                    if (this.chk_SYSJ.Checked)
+                    {
+                        rtnStr = rtnStr + ",a.BILLETID ";
+                        CrtnStr = CrtnStr + ",a.BILLETID ";
+                    }
+
+                    if (this.chk_PlyStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.PLY ";
+                        CrtnStr = CrtnStr + ",B.PLY ";
+                    }
+                    if (this.chk_WidthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.WIDTH ";
+                        CrtnStr = CrtnStr + ",B.WIDTH ";
+                    }
+                    if (this.chk_LengthStat.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.LENGTH ";
+                        CrtnStr = CrtnStr + ",B.LENGTH ";
+                    }
+                    if (this.Chk_StatStoveNO.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.STOVENO ";
+                        CrtnStr = CrtnStr + ",B.STOVENO ";
+                    }
+                    //if (this.Chk_StatRemark.Checked)
+                    //{
+                    //    rtnStr = rtnStr + ",HANDREMARK ";
+                    //    CrtnStr = CrtnStr + ",HANDREMARK ";
+                    //}
+                    if (this.chk_StatCutSide.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.CLIPTYPEPROCESS ";
+                        CrtnStr = CrtnStr + ",B.CLIPTYPEPROCESS ";
+                    }
+                    if (this.chk_StatRole.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.ROLE ";
+                        CrtnStr = CrtnStr + ",B.ROLE ";
+                    }
+                    if (this.chk_jhq.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(C.SENDBEGINDATE,'YYYY-MM-DD') ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(C.SENDBEGINDATE,'YYYY-MM-DD') ";
+                    }
+                    if (this.chk_DZ.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.STATIONCODE ";
+                        CrtnStr = CrtnStr + ",C.STATIONCODE ";
+                    }
+                    if (this.chk_shdw.Checked)
+                    {
+                        rtnStr = rtnStr + ",C.INCEPTCORPCODE ";
+                        CrtnStr = CrtnStr + ",C.INCEPTCORPCODE ";
+                    }
+                    //					if(this.chk_rzjg.Checked)
+                    //					{
+                    //						rtnStr = rtnStr + ",C.CHECKORG ";
+                    //						CrtnStr = CrtnStr + ",C.CHECKORG ";
+                    //					}
+                    if (this.chk_FaceQuanlity.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.FACEQUALITY,A.BUGREASON,A.DEGRADEREASON ";
+                        CrtnStr = CrtnStr + ",B.FACEQUALITY,A.BUGREASON,A.DEGRADEREASON ";
+                    }
+                    if (this.chk_StatInTime.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD'),A.INSTEEL,A.INCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD'),A.INSTEEL,A.INCLASSTEAM ";
+                    }
+                    if (this.Chk_StatPrd.Checked)
+                    {
+                        rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD'),A.PCLASSTEAM ";
+                        CrtnStr = CrtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD'),A.PCLASSTEAM ";
+                    }
+                    ///newcplx
+                    if (this.ultchkcplx.Checked)
+                    {
+                        rtnStr = rtnStr + ",a.PRODUCT_NAME ";
+                        //rtnStr = rtnStr + ",(select name_ from scm_base_info where id_ = a.PRODUCT_NAME) PRODUCT_NAME ";
+                        CrtnStr = CrtnStr + ",a.PRODUCT_NAME ";
+                    }
+                    if (chk_StatBilletID.Checked)
+                    {
+                        rtnStr = rtnStr + ",B.WEIGHT ";
+                        CrtnStr = CrtnStr + ",B.WEIGHT ";
+                    }
+                    //if(this.chk_StatBilletID.Checked)
+                    //{
+                    //    rtnStr = "";
+                    //    rtnList.Add("");
+                    //    CrtnStr = "";
+                    //    rtnList.Add("");
+                    //    return rtnList;
+                    //}
+                    rtnList.Add(rtnStr);
+                    rtnList.Add(CrtnStr);
+                    return rtnList;
+                }
+                else
+                {
+                    return null;
+                }
+            }
+        }
+
+        public System.Collections.ArrayList Groupby
+        {
+            get
+            {
+                System.Collections.ArrayList rtnList = new ArrayList();
+                string rtnStr = _GroupbyStr;
+                if (this.chk_StatSendOnly.Checked)
+                {
+                    return null;
+                }
+                if (this.chk_StatButtress.Checked)
+                {
+                    rtnStr = rtnStr + ",B.BUTTRESS";
+                }
+                if (this.chk_SYSJ.Checked)
+                {
+                    rtnStr = rtnStr + ",a.BILLETID ";
+                    //CrtnStr = CrtnStr + ",RECEIVETIME ";
+                }
+                if (this.chk_StatRollNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ROLLNUMBER";
+                }
+                if (this.chk_YLZL.Checked)
+                {
+                    rtnStr = rtnStr + ",A.BILLETID";
+                }
+
+                if (this.chk_StatPlanNO.Checked)
+                {
+                    rtnStr = rtnStr + ",C.PACTNO,C.PACTINDEX ";
+                }
+                if (this.chk_JHZT.Checked)
+                {
+                    rtnStr = rtnStr + ",C.STANDROLLER ";
+                }
+                if (this.uck_Pactno.Checked)
+                {
+                    rtnStr = rtnStr + ",C.PACTNO  ";
+                }
+                if (this.chk_ysfs.Checked)
+                {
+                    rtnStr = rtnStr + ",C.TRANSTYPE";
+                }
+                if (this.uck_Pactno.Checked)
+                {
+                    rtnStr = rtnStr + ",c.pactno";
+
+                }
+                if (this.uchk_InSteel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.Insteel ";
+
+                }
+                if (this.uchk_Steel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER ";
+
+                }
+                if (this.uchk_FSteel.Checked)
+                {
+                    rtnStr = rtnStr + ",c.MULTISTEELNAME ";
+
+                }
+                if (this.chk_RCL.Checked)
+                {
+                    rtnStr = rtnStr + ",A.RCL_STATE ";
+
+                }
+                if (this.chk_OPlanNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLANNO ";
+                }
+                if (this.chk_NOrderNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ORDERNO ";
+                }
+                if (this.chk_OOrderNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLANORDERNO ";
+                }
+
+                if (this.chk_StatDeteMarHeat.Checked)
+                {
+                    rtnStr = rtnStr + ",DETECTMARBOOKIN ";
+                }
+                if (this.chk_HeatStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.HEATDEAL ";
+                }
+                if (this.chk_StatResult.Checked)
+                {
+                    rtnStr = rtnStr + ",A.DETERMINANTRESULT,A.DETERMINANTREASON,A.JUDGEEASONCODE ";
+                }
+                if (this.chk_StatOrgan.Checked)
+                {
+                    rtnStr = rtnStr + ",C.CHECKORG,A.ATTESTATIONRESULT ";
+                }
+                if (this.chk_PlyStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLY ";
+                }
+                if (this.chk_StatCondole.Checked)
+                {
+                    rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+
+
+                }
+                if (this.chk_WidthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.WIDTH ";
+                }
+                if (this.chk_LengthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.LENGTH ";
+                }
+                if (this.Chk_StatStoveNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.STOVENO ";
+                }
+                if (this.Chk_StatRemark.Checked)
+                {
+                    rtnStr = rtnStr + ",B.HANDREMARK ";
+                }
+                if (this.chk_StatCutSide.Checked)
+                {
+                    rtnStr = rtnStr + ",A.CLIPTYPEPROCESS ";
+                }
+                if (this.chk_StatRole.Checked)
+                {
+                    rtnStr = rtnStr + ",A.RULE ";
+                }
+                if (this.chk_jhq.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(C.SENDBEGINDATE,'YYYY-MM-DD') ";
+                }
+                if (this.chk_DZ.Checked)
+                {
+                    rtnStr = rtnStr + ",C.STATIONCODE ";
+                }
+                if (this.chk_shdw.Checked)
+                {
+                    rtnStr = rtnStr + ",C.INCEPTCORPCODE ";
+                }
+                //				if(this.chk_rzjg.Checked)
+                //				{
+                //					rtnStr = rtnStr + ",C.CHECKORG "; 
+                //				}
+                if (this.chk_FaceQuanlity.Checked)
+                {
+                    rtnStr = rtnStr + ",A.FACEQUALITY,A.BUGREASON,A.DEGRADEREASON ";
+                }
+                if (this.chk_StatInTime.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD'),A.INSTEEL,A.INCLASSTEAM ";
+                }
+                if (this.Chk_StatPrd.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD'),A.PCLASSTEAM ";
+                }
+                if (this.ultchkcplx.Checked)
+                {
+
+                    rtnStr = rtnStr + ", a.PRODUCT_NAME  ";
+                }
+                if (this.chk_StatBilletID.Checked)
+                {
+                    rtnStr = "";
+                    rtnList.Add("");
+                    return rtnList;
+                }
+
+                rtnList.Add(rtnStr);
+                return rtnList;
+
+            }
+        }
+        public System.Collections.ArrayList SelectStr
+        {
+            get
+            {
+                System.Collections.ArrayList rtnList = new ArrayList();
+                string rtnStr = _SelectStr;
+                if (this.chk_StatSendOnly.Checked)//仅发运信息
+                {
+                    return null;
+                }
+                if (this.chk_StatButtress.Checked)
+                {
+                    rtnStr = rtnStr + ",B.BUTTRESS ";
+                }
+                if (this.chk_StatRollNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ROLLNUMBER ";
+                }
+                if (this.chk_YLZL.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT STUFFWEIGHT FROM RPTTMP_ZB_TURNOFFQUALITY WHERE BILLETID = A.BILLETID) STUFFWEIGHT ";
+                }
+
+
+                if (this.chk_ysfs.Checked)
+                {
+                    rtnStr = rtnStr + ",decode(C.TRANSTYPE,'101101','火车','101102','汽车','101103','水运','101104','自提')TRANSTYPE  ";
+                }
+                if (this.uchk_Steel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.DETERMINANTCARDNUMBER ";
+
+                }
+                if (this.chk_RCL.Checked)
+                {
+                    rtnStr = rtnStr + ",A.RCL_STATE ";
+
+                }
+                if (this.uchk_InSteel.Checked)
+                {
+                    rtnStr = rtnStr + ",A.Insteel INSTROAGESTEEL ";
+
+                }
+
+                if (this.uchk_FSteel.Checked)
+                {
+                    rtnStr = rtnStr + ",c.MULTISTEELNAME ";
+
+                }
+                if (this.uck_Pactno.Checked)
+                {
+                    rtnStr = rtnStr + ",c.PACTNO ";
+
+                }
+                if (this.chk_JHZT.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT MEMO FROM SCM_BASE_INFO WHERE ID_= SEL_PUBLIC_K.FSEL_GETSTANDROLL_STATUS(NVL(C.STANDROLLER,'0')))JHZT ";
+
+                }
+                if (this.chk_StatPlanNO.Checked)
+                {
+                    rtnStr = rtnStr + ",C.PACTINDEX ";
+                }
+                if (this.chk_SYSJ.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR((SELECT MAX(T1.RECEIVETIME) FROM LH_SAMPLE_CONSIGN_MAIN T1 RIGHT JOIN LH_SAMPLE_CONSIGN_DETAIL T2 ON T1.WTBH = T2.WTBH WHERE T2.PID_MB_CB_ID = a.BILLETID), 'YYYY-MM-DD HH24:MI:SS')RECEIVETIME";
+                    //CrtnStr = CrtnStr + ",TO_CHAR((SELECT MAX(T1.RECEIVETIME) FROM LH_SAMPLE_CONSIGN_MAIN T1 RIGHT JOIN LH_SAMPLE_CONSIGN_DETAIL T2 ON T1.WTBH = T2.WTBH WHERE T2.PID_MB_CB_ID = a.BILLETID), 'YYYY-MM-DD HH24:MI:SS')RECEIVETIME";
+                }
+                if (this.chk_OPlanNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLANNO PLANNUMBER ";
+                }
+                if (this.chk_NOrderNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.ORDERNO ALLOTORDERFORM ";
+                }
+                if (this.chk_OOrderNOStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLANORDERNO PLANORDERFORM ";
+                }
+                if (this.chk_StatCondole.Checked)
+                {
+                    rtnStr = rtnStr + ",B.CONDOLENUMBER ";
+                    if (rtnStr.IndexOf("THEORYWEIGHTZL") > 0)
+                    {
+                        rtnStr.Replace(" A.THEORYWEIGHT THEORYWEIGHTZL  ,", " ");
+                    }
+                }
+                if (this.chk_StatDeteMarHeat.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETECTMARBOOKIN) DETECTMARBOOKIN ";
+                }
+                if (this.chk_HeatStat.Checked)
+                {
+                    rtnStr = rtnStr + ",DECODE(A.HEATDEAL,'1','√',NULL) HEATDEAL ";
+                }
+                if (this.chk_StatResult.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DETERMINANTRESULT) DETERMINANTRESULT,A.DETERMINANTREASON,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.JUDGEEASONCODE) JUDGEEASONCODE ";
+                }
+                if (this.chk_StatOrgan.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=C.CHECKORG) ATTESTATIONORGAN,A.ATTESTATIONRESULT ";
+                }
+                if (this.chk_PlyStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.PLY ";
+                }
+                if (this.chk_WidthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.WIDTH ";
+                }
+                if (this.chk_LengthStat.Checked)
+                {
+                    rtnStr = rtnStr + ",A.LENGTH ";
+                }
+                if (this.Chk_StatStoveNO.Checked)
+                {
+                    rtnStr = rtnStr + ",A.STOVENO ";
+                }
+                if (this.Chk_StatRemark.Checked)
+                {
+                    rtnStr = rtnStr + ",B.HANDREMARK ";
+                }
+                if (this.chk_StatCutSide.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.CLIPTYPEPROCESS) CUTSIDESTATE ";
+                }
+                if (this.chk_StatRole.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.RULE) ROLE ";
+                }
+                if (this.chk_jhq.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(C.SENDBEGINDATE,'YYYY-MM-DD') SENDBEGINDATE ";
+                }
+                if (this.chk_DZ.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT STATIONNAME FROM SEL_STATIONINFO WHERE STATIONCODE = C.STATIONCODE) STATIONCODE ";
+                }
+                if (this.chk_shdw.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT INCEPTCORPNAME FROM SEL_INCEPTCORPINFO WHERE INCEPTCORPCODE = C.INCEPTCORPCODE) INCEPTCORPCODE ";
+                }
+                //				if(this.chk_rzjg.Checked)
+                //				{
+                //					rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_ = C.CHECKORG) CHECKORG "; 
+                //				}
+                if (this.chk_FaceQuanlity.Checked)
+                {
+                    rtnStr = rtnStr + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.FACEQUALITY) FACEQUALITY"
+                        + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.BUGREASON) BUGREASON"
+                        + ",(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.DEGRADEREASON) DEGRADEREASON ";
+                }
+                if (this.chk_StatInTime.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.INTIME,'YYYY-MM-DD') INSTORAGETIME,A.INSTEEL INSTROAGESTEEL,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.INCLASSTEAM) INCLASSTEAM ";
+                }
+                if (this.Chk_StatPrd.Checked)
+                {
+                    rtnStr = rtnStr + ",TO_CHAR(A.PTIME,'YYYY-MM-DD') PTIME,(SELECT NAME_ FROM SCM_BASE_INFO WHERE ID_=A.PCLASSTEAM) PCLASSTEAM ";
+                }
+                if (ultchkcplx.Checked)
+                {
+                    rtnStr = rtnStr + ",(select name_ from scm_base_info where id_ = a.PRODUCT_NAME) PRODUCT_NAME ";
+                }
+                if (this.chk_StatBilletID.Checked)
+                {
+                    rtnStr = rtnStr + ",A.BILLETID,1 QUANTITY,A.THEORYWEIGHT ";
+                }
+                else
+                {
+                    rtnStr = rtnStr + ",COUNT(A.BILLETID) QUANTITY,SUM(A.THEORYWEIGHT) THEORYWEIGHT  ";
+                }
+                rtnStr = rtnStr + _FromStr;
+                rtnList.Add(rtnStr);
+                return rtnList;
+
+            }
+        }
+		
+		#endregion
+	}
+}

+ 59 - 0
Client/.svn/pristine/10/102c27522787f75526857e52053489d0a4b3425e.svn-base

@@ -0,0 +1,59 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    public partial class FrmDepotDialog : Mes.ClientFrameWork.FrmBase
+    {
+        public FrmDepotDialog()
+        {
+            InitializeComponent();
+        }
+
+
+        public void Init()
+        {
+            string err = "";
+            string sql = "SELECT DEPOTID,DEPOTNAME,DEPOT_LB "
+
+                + "FROM KCJ_DEPOTMAGAGER WHERE 1=1 "
+                ;
+
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                ultraGrid1.DataSource = ds;
+            }
+        }
+
+        public string strckdm = "";
+        public string stckmc = "";
+        public string strcklb = "";
+        private void btrqr_Click(object sender, EventArgs e)
+        {
+            Infragistics.Win.UltraWinGrid.UltraGridRow row = ultraGrid1.ActiveRow;
+            if (row.Selected) return;
+            strckdm = row.Cells["DEPOTID"].Value.ToString();
+            stckmc = row.Cells["DEPOTNAME"].Value.ToString();
+            strcklb = row.Cells["DEPOT_LB"].Value.ToString();
+            this.Close();
+       
+        }
+
+        private void FrmDepotDialog_Load(object sender, EventArgs e)
+        {
+            Init();
+        }
+
+      
+
+    }
+}

BIN
Client/.svn/pristine/10/109caa441baed55c9288171cefbc82d3074a7ee8.svn-base


+ 303 - 0
Client/.svn/pristine/11/11fbb2baaaecaceeaff636ef3223fa7af2278611.svn-base

@@ -0,0 +1,303 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using Infragistics.Win.UltraWinGrid;
+using Infragistics.Shared;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+    public partial class FrmSetArea : Core.Mes.ClientFrameWork.FrmBase
+    {
+        public FrmSetArea()
+        {
+            InitializeComponent();
+        }
+
+        #region "查询区域"
+
+        private void Query()
+        {
+            string areaCode = "";
+            string areaName = "";
+            string areaType = "";
+            string strOut = "";
+
+            if (this.ultxt_AreaID.Enabled && this.ultxt_AreaID.Text.Trim().Length > 0)
+            {
+                areaCode = this.ultxt_AreaID.Text.Trim();
+            }
+            if (this.ultxt_AreaName.Enabled && this.ultxt_AreaName.Text.Trim().Length > 0)
+            {
+                areaName = this.ultxt_AreaName.Text.Trim();
+            }
+            if (this.ucob_kAreas.Enabled && this.ucob_kAreas.Value.ToString().Trim().Length > 0)
+            {
+                areaType = ucob_kAreas.Value.ToString().Trim();
+            }
+           
+            
+            try
+            {
+                this.ds_Area.Tables["KCJ_AREA"].Clear();
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SetArea",
+                            "QueryAreaInfo", new object[] { areaCode, areaName, areaType }, out strOut);
+
+                if (strOut == "")
+                {
+                    this.ds_Area.Merge(ds);
+                    this.ds_Area.Tables["KCJ_AREA"].AcceptChanges();
+                    this.ulgrid_Area.UpdateData();//++++
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+
+            }
+
+        }
+
+        #endregion
+
+        #region "新增区域信息"
+
+        private void AddRecode()
+        {
+            string strOut = "";
+            string areaCode = "";
+            string areaName = "";
+            string areaType = "";
+
+            try
+            {
+                System.Data.DataTable dt = this.ds_Area.Tables["KCJ_AREA"].Clone();
+                System.Data.DataRow row = dt.NewRow();
+                row["Creator"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+                row["LastEditor"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+                //				row["AreaCode"] = this.ultxt_AreaCodeEdit.Text.Trim();
+                row["AreaName"] = this.ultxt_AreaNameEdit.Text.Trim();
+                row["AreaExplain"] = this.ultxt_AreaRemark.Text.Trim();
+                row["AreaType"] = ulcob_Karea.Value.ToString();
+
+                dt.Rows.Add(row);
+                DataSet ds = new DataSet();
+                ds.Merge(dt);
+                ds.AcceptChanges();
+
+                string info = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SetArea",
+                    "AddOrUpdateArea", new object[] { "add", ds }, out strOut).ToString();
+                if (info == "1")
+                {
+                    MessageBox.Show("新增成功。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    try
+                    {
+                        areaName = this.ultxt_AreaNameEdit.Text.Trim();
+                        areaType = "0";
+
+                        DataSet dstb = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SetArea",
+                            "QueryAreaInfo", new object[] { areaCode, areaName, areaType }, out strOut);
+
+                        if (strOut == "")
+                        {
+                            dstb.Tables[0].TableName = "KCJ_AREA";
+                            this.ds_Area.Clear();
+                            this.ds_Area.Merge(dstb);
+                            this.ds_Area.Tables["KCJ_AREA"].AcceptChanges();
+
+                        }
+                        else
+                        {
+                            MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                        }
+
+                    }
+                    catch (System.Exception ex)
+                    {
+                        System.Diagnostics.Debug.WriteLine(ex.ToString());
+                    }
+
+                }
+                else if (info.Length == 0)
+                {
+                    MessageBox.Show("编辑区域填写的信息有错误,新增失败。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+                else
+                {
+                    MessageBox.Show(info, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+
+        }
+
+        #endregion
+
+        #region "更新区域信息"
+
+        private void updateRecode()
+        {
+            string strOut = "";
+            string areaCode = "";
+            string areaName = "";
+            string areaType = "";
+
+            try
+            {
+                System.Data.DataTable dt = this.ds_Area.Tables["KCJ_AREA"].Clone();
+                System.Data.DataRow row = dt.NewRow();
+                row["Creator"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+                row["LastEditor"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+                row["AreaCode"] = this.ultxt_AreaCodeEdit.Text.Trim();
+                row["AreaName"] = this.ultxt_AreaNameEdit.Text.Trim();
+                row["AreaExplain"] = this.ultxt_AreaRemark.Text.Trim();
+                row["AreaType"] = ulcob_Karea.Value.ToString();
+
+                dt.Rows.Add(row);
+                DataSet ds = new DataSet();
+                ds.Merge(dt);
+                ds.AcceptChanges();
+
+                string info = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SetArea",
+                    "AddOrUpdateArea", new object[] { "update", ds }, out strOut).ToString();
+
+                if (info == "1")
+                {
+                    MessageBox.Show("修改成功。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    try
+                    {
+                        areaCode = this.ultxt_AreaCodeEdit.Text.Trim();
+                        areaType = "0";
+
+                        DataSet dstb = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SetArea",
+                            "QueryAreaInfo", new object[] { areaCode, areaName, areaType }, out strOut);
+
+                        if (strOut == "")
+                        {
+                            dstb.Tables[0].TableName = "KCJ_AREA";
+                            this.ds_Area.Clear();
+                            this.ds_Area.Merge(dstb);
+                            this.ds_Area.Tables["KCJ_AREA"].AcceptChanges();
+
+                        }
+                        else
+                        {
+                            MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                        }
+
+                    }
+                    catch (System.Exception ex)
+                    {
+                        System.Diagnostics.Debug.WriteLine(ex.ToString());
+                    }
+
+                }
+                else if (info.Length == 0)
+                {
+                    MessageBox.Show("编辑区域填写的信息有错误,修改失败。", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+                else
+                {
+                    MessageBox.Show(info, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+
+        }
+
+        #endregion
+        private void ulck_AreaID_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.ultxt_AreaID.Enabled = this.ulck_AreaID.Checked;
+            if (!this.ulck_AreaID.Checked)
+            {
+                this.ultxt_AreaID.Clear();
+            }
+
+        }
+
+        private void ulck_AreaName_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.ultxt_AreaName.Enabled = this.ulck_AreaName.Checked;
+            if (!this.ulck_AreaName.Checked)
+            {
+                this.ultxt_AreaName.Clear();
+            }
+
+        }
+
+        //激活行后动作
+        private void ulgrid_Area_AfterRowActivate(object sender, System.EventArgs e)
+        {
+
+            try
+            {
+                if (ulgrid_Area.Rows.Count > 0)
+                {
+                    this.ultxt_AreaCodeEdit.Text = Comm.ObjToStr(this.ulgrid_Area.ActiveRow.Cells["AREACODE"].Value);
+                    this.ultxt_AreaNameEdit.Text = Comm.ObjToStr(this.ulgrid_Area.ActiveRow.Cells["AREANAME"].Value);
+                    this.ultxt_AreaRemark.Text = Comm.ObjToStr(this.ulgrid_Area.ActiveRow.Cells["AreaExplain"].Value);
+                    this.ulcob_Karea.Value = Comm.ObjToStr(this.ulgrid_Area.ActiveRow.Cells["AREATYPE"].Value);
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+        }
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "Add":
+                    this.AddRecode();
+                    break;
+
+                case "Rework":
+                    this.updateRecode();
+                    break;
+
+                case "Query":
+                    this.Query();
+                    break;
+
+                case "Close":
+                    this.Close();
+                    break;
+            }
+        }
+
+        private void FrmSetArea_Load(object sender, EventArgs e)
+        {
+            ulcob_Karea.Value = "0";
+           
+        }
+
+
+        private void chk_Karea_CheckedChanged(object sender, EventArgs e)
+        {
+            ucob_kAreas.Enabled = chk_Karea.Checked;
+        }
+    }
+}

+ 3118 - 0
Client/.svn/pristine/12/12d2358eff013e0249574c984f049e149dbdddf9.svn-base

@@ -0,0 +1,3118 @@
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Windows.Forms;
+using Core.XgMes.Client.StorageBase;
+using Core.XgMes.Client.TurnoffReport.Dialog;
+
+namespace Core.XgMes.Client.Control
+{
+	/// <summary>
+	/// 中板厂成品库存综合查询查询条件控件
+	/// </summary>
+	public class ctlKCJListQuery : System.Windows.Forms.UserControl
+	{
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SteelName;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_SteelName;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buttress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactNO;
+		private Infragistics.Win.UltraWinGrid.UltraGrid grd_SteelName;
+		private Infragistics.Win.UltraWinGrid.UltraGrid Grd_Buttress;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PactNO;
+		private Infragistics.Win.UltraWinGrid.UltraGrid Grd_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNumBegin;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNumEnd;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ply;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyBegin;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyEnd;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthEnd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthBegin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Width;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LengthEnd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LenghtBegin;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Length;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DeteMar;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_DeteMar;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CutSide;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_CutSide;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_HeatDeal;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_InPlan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OutPlan;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
+		private Infragistics.Win.UltraWinEditors.UltraOptionSet Ops_Area;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DummyButtress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Result;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Result;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SteelType;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_SteelType;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OldPlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OldPlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_InStorageTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_Begin;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_End;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanOrder;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanOrder;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_NPlanOrder;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_NPlanOrder;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_HeatDeal;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_FaceQuanlity;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_FaceQuanlity;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReason;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BugReason;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Degree;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Degree;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Role;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RoleQuery;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PrdTime;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_PrdEnd;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_PrdBegin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_NotInButtress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_BeforeSend;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_ButtressRemark;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_BRemark;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNO;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
+
+
+		/// <summary> 
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+		public ctlKCJListQuery()
+		{
+			// 该调用是 Windows.Forms 窗体设计器所必需的。
+			InitializeComponent();
+			txt_RollTop.Text = "H"+System.DateTime.Now.ToString("yy").Substring(1,1);
+			// TODO: 在 InitializeComponent 调用后添加任何初始化
+			
+		}
+
+		/// <summary> 
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region 组件设计器生成的代码
+		/// <summary> 
+		/// 设计器支持所需的方法 - 不要使用代码编辑器 
+		/// 修改此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance78 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance79 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance80 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance81 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance82 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance83 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance84 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance85 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance86 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance87 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance88 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance89 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance90 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance91 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance92 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance93 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance94 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance95 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance96 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance97 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance98 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance99 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance100 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance101 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance102 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance103 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance104 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance105 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance106 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance107 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance108 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance109 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance110 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance111 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance112 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance113 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance114 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance115 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance116 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance117 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance118 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance119 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance120 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance121 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance122 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance123 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance124 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance125 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance126 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance127 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance128 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance129 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance130 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance131 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance132 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance133 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance134 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance135 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance136 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance137 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance138 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance139 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance140 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance141 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance142 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance143 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance144 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance145 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance146 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance147 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance148 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance149 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance150 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance151 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance152 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance153 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance154 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance155 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance156 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance157 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance158 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance159 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance160 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance161 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance162 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance163 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance164 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance165 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance166 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance167 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance168 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance169 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance170 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance171 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance172 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance173 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance174 = new Infragistics.Win.Appearance();
+            this.chk_SteelName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_SteelName = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.grd_SteelName = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.Grd_Buttress = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Grd_PactNO = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollNumBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_RollNumEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_Ply = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlyBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PlyEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_WidthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_WidthBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.chk_Width = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_LengthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_LenghtBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.chk_Length = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_DeteMar = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_DeteMar = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_CutSide = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_CutSide = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_HeatDeal = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_InPlan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_OutPlan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Ops_Area = new Infragistics.Win.UltraWinEditors.UltraOptionSet();
+            this.chk_NotInButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_DummyButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_Result = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Result = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_SteelType = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_SteelType = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_OldPlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OldPlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_InStorageTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Dte_Begin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Dte_End = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_PlanOrder = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanOrder = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_NPlanOrder = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_NPlanOrder = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_HeatDeal = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_FaceQuanlity = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_FaceQuanlity = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_BugReason = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_BugReason = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Degree = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Degree = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Role = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_RoleQuery = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_PrdTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.Dte_PrdEnd = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Dte_PrdBegin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Chk_BeforeSend = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_ButtressRemark = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_BRemark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.grd_SteelName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Buttress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_PactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_DeteMar)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_CutSide)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Ops_Area)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Result)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OldPlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_Begin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_End)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_NPlanOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_HeatDeal)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuanlity)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReason)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Degree)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Role)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_BRemark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // chk_SteelName
+            // 
+            this.chk_SteelName.FlatMode = true;
+            this.chk_SteelName.Location = new System.Drawing.Point(4, 26);
+            this.chk_SteelName.Name = "chk_SteelName";
+            this.chk_SteelName.Size = new System.Drawing.Size(55, 20);
+            this.chk_SteelName.TabIndex = 0;
+            this.chk_SteelName.Text = "牌号";
+            // 
+            // cmb_SteelName
+            // 
+            this.cmb_SteelName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_SteelName.DisplayLayout.Appearance = appearance1;
+            this.cmb_SteelName.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_SteelName.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_SteelName.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_SteelName.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.cmb_SteelName.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_SteelName.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.cmb_SteelName.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_SteelName.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_SteelName.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_SteelName.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.cmb_SteelName.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_SteelName.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_SteelName.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_SteelName.DisplayLayout.Override.CellAppearance = appearance8;
+            this.cmb_SteelName.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_SteelName.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_SteelName.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_SteelName.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.cmb_SteelName.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_SteelName.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_SteelName.DisplayLayout.Override.RowAppearance = appearance11;
+            this.cmb_SteelName.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_SteelName.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.cmb_SteelName.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_SteelName.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_SteelName.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_SteelName.DisplayMember = "";
+            this.cmb_SteelName.FlatMode = true;
+            this.cmb_SteelName.Location = new System.Drawing.Point(54, 26);
+            this.cmb_SteelName.Name = "cmb_SteelName";
+            this.cmb_SteelName.Size = new System.Drawing.Size(72, 19);
+            this.cmb_SteelName.TabIndex = 1;
+            this.cmb_SteelName.ValueMember = "";
+            this.cmb_SteelName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_SteelName_KeyDown);
+            // 
+            // chk_Buttress
+            // 
+            this.chk_Buttress.FlatMode = true;
+            this.chk_Buttress.Location = new System.Drawing.Point(132, 4);
+            this.chk_Buttress.Name = "chk_Buttress";
+            this.chk_Buttress.Size = new System.Drawing.Size(52, 20);
+            this.chk_Buttress.TabIndex = 2;
+            this.chk_Buttress.Text = "堆位";
+            // 
+            // cmb_Buttress
+            // 
+            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance13.BackColor = System.Drawing.SystemColors.Window;
+            appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Buttress.DisplayLayout.Appearance = appearance13;
+            this.cmb_Buttress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Buttress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance14.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.Appearance = appearance14;
+            appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance16.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
+            this.cmb_Buttress.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Buttress.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance17.BackColor = System.Drawing.SystemColors.Window;
+            appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Buttress.DisplayLayout.Override.ActiveCellAppearance = appearance17;
+            appearance18.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Buttress.DisplayLayout.Override.ActiveRowAppearance = appearance18;
+            this.cmb_Buttress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Buttress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance19.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buttress.DisplayLayout.Override.CardAreaAppearance = appearance19;
+            appearance20.BorderColor = System.Drawing.Color.Silver;
+            appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Buttress.DisplayLayout.Override.CellAppearance = appearance20;
+            this.cmb_Buttress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Buttress.DisplayLayout.Override.CellPadding = 0;
+            appearance21.BackColor = System.Drawing.SystemColors.Control;
+            appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance21.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buttress.DisplayLayout.Override.GroupByRowAppearance = appearance21;
+            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Buttress.DisplayLayout.Override.HeaderAppearance = appearance22;
+            this.cmb_Buttress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Buttress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance23.BackColor = System.Drawing.SystemColors.Window;
+            appearance23.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Buttress.DisplayLayout.Override.RowAppearance = appearance23;
+            this.cmb_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Buttress.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
+            this.cmb_Buttress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Buttress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Buttress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Buttress.DisplayMember = "";
+            this.cmb_Buttress.FlatMode = true;
+            this.cmb_Buttress.Location = new System.Drawing.Point(181, 4);
+            this.cmb_Buttress.Name = "cmb_Buttress";
+            this.cmb_Buttress.Size = new System.Drawing.Size(63, 19);
+            this.cmb_Buttress.TabIndex = 3;
+            this.cmb_Buttress.ValueMember = "";
+            this.cmb_Buttress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_Buttress_KeyDown);
+            // 
+            // chk_PactNO
+            // 
+            this.chk_PactNO.FlatMode = true;
+            this.chk_PactNO.Location = new System.Drawing.Point(264, 6);
+            this.chk_PactNO.Name = "chk_PactNO";
+            this.chk_PactNO.Size = new System.Drawing.Size(59, 20);
+            this.chk_PactNO.TabIndex = 4;
+            this.chk_PactNO.Text = "合同";
+            // 
+            // grd_SteelName
+            // 
+            appearance25.BackColor = System.Drawing.SystemColors.Control;
+            appearance25.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.grd_SteelName.DisplayLayout.Appearance = appearance25;
+            this.grd_SteelName.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.grd_SteelName.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance26.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance26.BorderColor = System.Drawing.SystemColors.Window;
+            this.grd_SteelName.DisplayLayout.GroupByBox.Appearance = appearance26;
+            appearance27.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.grd_SteelName.DisplayLayout.GroupByBox.BandLabelAppearance = appearance27;
+            this.grd_SteelName.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.grd_SteelName.DisplayLayout.GroupByBox.Hidden = true;
+            appearance28.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance28.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.grd_SteelName.DisplayLayout.GroupByBox.PromptAppearance = appearance28;
+            this.grd_SteelName.DisplayLayout.MaxColScrollRegions = 1;
+            this.grd_SteelName.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance29.BackColor = System.Drawing.SystemColors.Window;
+            appearance29.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.grd_SteelName.DisplayLayout.Override.ActiveCellAppearance = appearance29;
+            appearance30.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance30.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.grd_SteelName.DisplayLayout.Override.ActiveRowAppearance = appearance30;
+            this.grd_SteelName.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.grd_SteelName.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            this.grd_SteelName.DisplayLayout.Override.CardAreaAppearance = appearance31;
+            appearance32.BorderColor = System.Drawing.Color.Silver;
+            appearance32.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.grd_SteelName.DisplayLayout.Override.CellAppearance = appearance32;
+            this.grd_SteelName.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.grd_SteelName.DisplayLayout.Override.CellPadding = 0;
+            appearance33.BackColor = System.Drawing.SystemColors.Control;
+            appearance33.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance33.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance33.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance33.BorderColor = System.Drawing.SystemColors.Window;
+            this.grd_SteelName.DisplayLayout.Override.GroupByRowAppearance = appearance33;
+            appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.grd_SteelName.DisplayLayout.Override.HeaderAppearance = appearance34;
+            this.grd_SteelName.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.grd_SteelName.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance35.BackColor = System.Drawing.SystemColors.Window;
+            appearance35.BorderColor = System.Drawing.Color.Silver;
+            this.grd_SteelName.DisplayLayout.Override.RowAppearance = appearance35;
+            this.grd_SteelName.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.grd_SteelName.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
+            this.grd_SteelName.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.grd_SteelName.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.grd_SteelName.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.grd_SteelName.FlatMode = true;
+            this.grd_SteelName.Location = new System.Drawing.Point(4, 48);
+            this.grd_SteelName.Name = "grd_SteelName";
+            this.grd_SteelName.Size = new System.Drawing.Size(122, 198);
+            this.grd_SteelName.TabIndex = 5;
+            this.grd_SteelName.Text = "ultraGrid1";
+            this.grd_SteelName.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.grd_SteelName_DoubleClickRow);
+            // 
+            // Grd_Buttress
+            // 
+            appearance37.BackColor = System.Drawing.SystemColors.Control;
+            appearance37.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Grd_Buttress.DisplayLayout.Appearance = appearance37;
+            this.Grd_Buttress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Buttress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance38.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance38.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance38.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance38.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Buttress.DisplayLayout.GroupByBox.Appearance = appearance38;
+            appearance39.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Buttress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance39;
+            this.Grd_Buttress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Buttress.DisplayLayout.GroupByBox.Hidden = true;
+            appearance40.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance40.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance40.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance40.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Buttress.DisplayLayout.GroupByBox.PromptAppearance = appearance40;
+            this.Grd_Buttress.DisplayLayout.MaxColScrollRegions = 1;
+            this.Grd_Buttress.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance41.BackColor = System.Drawing.SystemColors.Window;
+            appearance41.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Grd_Buttress.DisplayLayout.Override.ActiveCellAppearance = appearance41;
+            appearance42.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance42.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Grd_Buttress.DisplayLayout.Override.ActiveRowAppearance = appearance42;
+            this.Grd_Buttress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Grd_Buttress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance43.BackColor = System.Drawing.SystemColors.Window;
+            this.Grd_Buttress.DisplayLayout.Override.CardAreaAppearance = appearance43;
+            appearance44.BorderColor = System.Drawing.Color.Silver;
+            appearance44.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Grd_Buttress.DisplayLayout.Override.CellAppearance = appearance44;
+            this.Grd_Buttress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Grd_Buttress.DisplayLayout.Override.CellPadding = 0;
+            appearance45.BackColor = System.Drawing.SystemColors.Control;
+            appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance45.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance45.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Buttress.DisplayLayout.Override.GroupByRowAppearance = appearance45;
+            appearance46.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Grd_Buttress.DisplayLayout.Override.HeaderAppearance = appearance46;
+            this.Grd_Buttress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Grd_Buttress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance47.BackColor = System.Drawing.SystemColors.Window;
+            appearance47.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_Buttress.DisplayLayout.Override.RowAppearance = appearance47;
+            this.Grd_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance48.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_Buttress.DisplayLayout.Override.TemplateAddRowAppearance = appearance48;
+            this.Grd_Buttress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Grd_Buttress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_Buttress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Grd_Buttress.FlatMode = true;
+            this.Grd_Buttress.Location = new System.Drawing.Point(132, 26);
+            this.Grd_Buttress.Name = "Grd_Buttress";
+            this.Grd_Buttress.Size = new System.Drawing.Size(112, 220);
+            this.Grd_Buttress.TabIndex = 6;
+            this.Grd_Buttress.Text = "ultraGrid1";
+            this.Grd_Buttress.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.Grd_Buttress_DoubleClickRow);
+            // 
+            // txt_PactNO
+            // 
+            this.txt_PactNO.AutoSize = true;
+            this.txt_PactNO.FlatMode = true;
+            this.txt_PactNO.Location = new System.Drawing.Point(315, 6);
+            this.txt_PactNO.Name = "txt_PactNO";
+            this.txt_PactNO.Size = new System.Drawing.Size(183, 19);
+            this.txt_PactNO.TabIndex = 7;
+            this.txt_PactNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_PactNO_KeyDown);
+            // 
+            // Grd_PactNO
+            // 
+            appearance49.BackColor = System.Drawing.SystemColors.Control;
+            appearance49.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Grd_PactNO.DisplayLayout.Appearance = appearance49;
+            this.Grd_PactNO.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_PactNO.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance50.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance50.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance50.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance50.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_PactNO.DisplayLayout.GroupByBox.Appearance = appearance50;
+            appearance51.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_PactNO.DisplayLayout.GroupByBox.BandLabelAppearance = appearance51;
+            this.Grd_PactNO.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_PactNO.DisplayLayout.GroupByBox.Hidden = true;
+            appearance52.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance52.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance52.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance52.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_PactNO.DisplayLayout.GroupByBox.PromptAppearance = appearance52;
+            this.Grd_PactNO.DisplayLayout.MaxColScrollRegions = 1;
+            this.Grd_PactNO.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance53.BackColor = System.Drawing.SystemColors.Window;
+            appearance53.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Grd_PactNO.DisplayLayout.Override.ActiveCellAppearance = appearance53;
+            appearance54.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance54.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Grd_PactNO.DisplayLayout.Override.ActiveRowAppearance = appearance54;
+            this.Grd_PactNO.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Grd_PactNO.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance55.BackColor = System.Drawing.SystemColors.Window;
+            this.Grd_PactNO.DisplayLayout.Override.CardAreaAppearance = appearance55;
+            appearance56.BorderColor = System.Drawing.Color.Silver;
+            appearance56.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Grd_PactNO.DisplayLayout.Override.CellAppearance = appearance56;
+            this.Grd_PactNO.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Grd_PactNO.DisplayLayout.Override.CellPadding = 0;
+            appearance57.BackColor = System.Drawing.SystemColors.Control;
+            appearance57.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance57.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance57.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance57.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_PactNO.DisplayLayout.Override.GroupByRowAppearance = appearance57;
+            appearance58.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Grd_PactNO.DisplayLayout.Override.HeaderAppearance = appearance58;
+            this.Grd_PactNO.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Grd_PactNO.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance59.BackColor = System.Drawing.SystemColors.Window;
+            appearance59.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_PactNO.DisplayLayout.Override.RowAppearance = appearance59;
+            this.Grd_PactNO.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance60.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_PactNO.DisplayLayout.Override.TemplateAddRowAppearance = appearance60;
+            this.Grd_PactNO.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Grd_PactNO.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_PactNO.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Grd_PactNO.FlatMode = true;
+            this.Grd_PactNO.Location = new System.Drawing.Point(264, 26);
+            this.Grd_PactNO.Name = "Grd_PactNO";
+            this.Grd_PactNO.Size = new System.Drawing.Size(234, 88);
+            this.Grd_PactNO.TabIndex = 8;
+            this.Grd_PactNO.Text = "ultraGrid1";
+            this.Grd_PactNO.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.Grd_PactNO_DoubleClickRow);
+            // 
+            // chk_RollNum
+            // 
+            this.chk_RollNum.FlatMode = true;
+            this.chk_RollNum.Location = new System.Drawing.Point(265, 123);
+            this.chk_RollNum.Name = "chk_RollNum";
+            this.chk_RollNum.Size = new System.Drawing.Size(80, 20);
+            this.chk_RollNum.TabIndex = 9;
+            this.chk_RollNum.Text = "轧批号从";
+            // 
+            // txt_RollTop
+            // 
+            this.txt_RollTop.AutoSize = true;
+            this.txt_RollTop.FlatMode = true;
+            this.txt_RollTop.Location = new System.Drawing.Point(339, 119);
+            this.txt_RollTop.Name = "txt_RollTop";
+            this.txt_RollTop.Size = new System.Drawing.Size(26, 19);
+            this.txt_RollTop.TabIndex = 10;
+            this.txt_RollTop.Text = "H7";
+            // 
+            // txt_RollNumBegin
+            // 
+            this.txt_RollNumBegin.AutoSize = true;
+            this.txt_RollNumBegin.FlatMode = true;
+            this.txt_RollNumBegin.Location = new System.Drawing.Point(365, 119);
+            this.txt_RollNumBegin.MaxLength = 5;
+            this.txt_RollNumBegin.Name = "txt_RollNumBegin";
+            this.txt_RollNumBegin.Size = new System.Drawing.Size(57, 19);
+            this.txt_RollNumBegin.TabIndex = 11;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(422, 123);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel1.TabIndex = 12;
+            this.ultraLabel1.Text = "到";
+            // 
+            // txt_RollNumEnd
+            // 
+            this.txt_RollNumEnd.AutoSize = true;
+            this.txt_RollNumEnd.FlatMode = true;
+            this.txt_RollNumEnd.Location = new System.Drawing.Point(440, 119);
+            this.txt_RollNumEnd.MaxLength = 5;
+            this.txt_RollNumEnd.Name = "txt_RollNumEnd";
+            this.txt_RollNumEnd.Size = new System.Drawing.Size(58, 19);
+            this.txt_RollNumEnd.TabIndex = 13;
+            // 
+            // chk_Ply
+            // 
+            this.chk_Ply.FlatMode = true;
+            this.chk_Ply.Location = new System.Drawing.Point(265, 147);
+            this.chk_Ply.Name = "chk_Ply";
+            this.chk_Ply.Size = new System.Drawing.Size(80, 20);
+            this.chk_Ply.TabIndex = 14;
+            this.chk_Ply.Text = "厚度从";
+            // 
+            // txt_PlyBegin
+            // 
+            this.txt_PlyBegin.FlatMode = true;
+            this.txt_PlyBegin.Location = new System.Drawing.Point(339, 143);
+            this.txt_PlyBegin.MaskInput = "nnn.nnn";
+            this.txt_PlyBegin.Name = "txt_PlyBegin";
+            this.txt_PlyBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_PlyBegin.PromptChar = ' ';
+            this.txt_PlyBegin.Size = new System.Drawing.Size(83, 19);
+            this.txt_PlyBegin.TabIndex = 15;
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(422, 147);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel2.TabIndex = 16;
+            this.ultraLabel2.Text = "到";
+            // 
+            // txt_PlyEnd
+            // 
+            this.txt_PlyEnd.FlatMode = true;
+            this.txt_PlyEnd.Location = new System.Drawing.Point(440, 143);
+            this.txt_PlyEnd.MaskInput = "nnn.nnn";
+            this.txt_PlyEnd.Name = "txt_PlyEnd";
+            this.txt_PlyEnd.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_PlyEnd.PromptChar = ' ';
+            this.txt_PlyEnd.Size = new System.Drawing.Size(58, 19);
+            this.txt_PlyEnd.TabIndex = 17;
+            // 
+            // txt_WidthEnd
+            // 
+            this.txt_WidthEnd.FlatMode = true;
+            this.txt_WidthEnd.Location = new System.Drawing.Point(440, 167);
+            this.txt_WidthEnd.MaskInput = "nnnn";
+            this.txt_WidthEnd.Name = "txt_WidthEnd";
+            this.txt_WidthEnd.PromptChar = ' ';
+            this.txt_WidthEnd.Size = new System.Drawing.Size(58, 19);
+            this.txt_WidthEnd.TabIndex = 21;
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(422, 169);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel3.TabIndex = 20;
+            this.ultraLabel3.Text = "到";
+            // 
+            // txt_WidthBegin
+            // 
+            this.txt_WidthBegin.FlatMode = true;
+            this.txt_WidthBegin.Location = new System.Drawing.Point(339, 167);
+            this.txt_WidthBegin.MaskInput = "nnnn";
+            this.txt_WidthBegin.Name = "txt_WidthBegin";
+            this.txt_WidthBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WidthBegin.PromptChar = ' ';
+            this.txt_WidthBegin.Size = new System.Drawing.Size(83, 19);
+            this.txt_WidthBegin.TabIndex = 19;
+            // 
+            // chk_Width
+            // 
+            this.chk_Width.FlatMode = true;
+            this.chk_Width.Location = new System.Drawing.Point(265, 171);
+            this.chk_Width.Name = "chk_Width";
+            this.chk_Width.Size = new System.Drawing.Size(80, 20);
+            this.chk_Width.TabIndex = 18;
+            this.chk_Width.Text = "宽度从";
+            // 
+            // txt_LengthEnd
+            // 
+            this.txt_LengthEnd.FlatMode = true;
+            this.txt_LengthEnd.Location = new System.Drawing.Point(440, 191);
+            this.txt_LengthEnd.MaskInput = "nnnnn";
+            this.txt_LengthEnd.Name = "txt_LengthEnd";
+            this.txt_LengthEnd.PromptChar = ' ';
+            this.txt_LengthEnd.Size = new System.Drawing.Size(58, 19);
+            this.txt_LengthEnd.TabIndex = 25;
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(422, 193);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel4.TabIndex = 24;
+            this.ultraLabel4.Text = "到";
+            // 
+            // txt_LenghtBegin
+            // 
+            this.txt_LenghtBegin.FlatMode = true;
+            this.txt_LenghtBegin.Location = new System.Drawing.Point(339, 191);
+            this.txt_LenghtBegin.MaskInput = "nnnnn";
+            this.txt_LenghtBegin.Name = "txt_LenghtBegin";
+            this.txt_LenghtBegin.PromptChar = ' ';
+            this.txt_LenghtBegin.Size = new System.Drawing.Size(83, 19);
+            this.txt_LenghtBegin.TabIndex = 23;
+            // 
+            // chk_Length
+            // 
+            this.chk_Length.FlatMode = true;
+            this.chk_Length.Location = new System.Drawing.Point(265, 193);
+            this.chk_Length.Name = "chk_Length";
+            this.chk_Length.Size = new System.Drawing.Size(80, 20);
+            this.chk_Length.TabIndex = 22;
+            this.chk_Length.Text = "长度从";
+            // 
+            // chk_DeteMar
+            // 
+            this.chk_DeteMar.FlatMode = true;
+            this.chk_DeteMar.Location = new System.Drawing.Point(504, 99);
+            this.chk_DeteMar.Name = "chk_DeteMar";
+            this.chk_DeteMar.Size = new System.Drawing.Size(80, 20);
+            this.chk_DeteMar.TabIndex = 28;
+            this.chk_DeteMar.Text = "探伤结果";
+            // 
+            // cmb_DeteMar
+            // 
+            this.cmb_DeteMar.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance61.BackColor = System.Drawing.SystemColors.Window;
+            appearance61.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_DeteMar.DisplayLayout.Appearance = appearance61;
+            this.cmb_DeteMar.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_DeteMar.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance62.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance62.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance62.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance62.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_DeteMar.DisplayLayout.GroupByBox.Appearance = appearance62;
+            appearance63.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_DeteMar.DisplayLayout.GroupByBox.BandLabelAppearance = appearance63;
+            this.cmb_DeteMar.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance64.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance64.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance64.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance64.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_DeteMar.DisplayLayout.GroupByBox.PromptAppearance = appearance64;
+            this.cmb_DeteMar.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_DeteMar.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance65.BackColor = System.Drawing.SystemColors.Window;
+            appearance65.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_DeteMar.DisplayLayout.Override.ActiveCellAppearance = appearance65;
+            appearance66.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance66.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_DeteMar.DisplayLayout.Override.ActiveRowAppearance = appearance66;
+            this.cmb_DeteMar.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_DeteMar.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance67.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_DeteMar.DisplayLayout.Override.CardAreaAppearance = appearance67;
+            appearance68.BorderColor = System.Drawing.Color.Silver;
+            appearance68.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_DeteMar.DisplayLayout.Override.CellAppearance = appearance68;
+            this.cmb_DeteMar.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_DeteMar.DisplayLayout.Override.CellPadding = 0;
+            appearance69.BackColor = System.Drawing.SystemColors.Control;
+            appearance69.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance69.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance69.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance69.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_DeteMar.DisplayLayout.Override.GroupByRowAppearance = appearance69;
+            appearance70.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_DeteMar.DisplayLayout.Override.HeaderAppearance = appearance70;
+            this.cmb_DeteMar.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_DeteMar.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance71.BackColor = System.Drawing.SystemColors.Window;
+            appearance71.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_DeteMar.DisplayLayout.Override.RowAppearance = appearance71;
+            this.cmb_DeteMar.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance72.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_DeteMar.DisplayLayout.Override.TemplateAddRowAppearance = appearance72;
+            this.cmb_DeteMar.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_DeteMar.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_DeteMar.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_DeteMar.DisplayMember = "";
+            this.cmb_DeteMar.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_DeteMar.FlatMode = true;
+            this.cmb_DeteMar.Location = new System.Drawing.Point(581, 99);
+            this.cmb_DeteMar.Name = "cmb_DeteMar";
+            this.cmb_DeteMar.Size = new System.Drawing.Size(77, 19);
+            this.cmb_DeteMar.TabIndex = 29;
+            this.cmb_DeteMar.ValueMember = "";
+            // 
+            // chk_CutSide
+            // 
+            this.chk_CutSide.FlatMode = true;
+            this.chk_CutSide.Location = new System.Drawing.Point(661, 147);
+            this.chk_CutSide.Name = "chk_CutSide";
+            this.chk_CutSide.Size = new System.Drawing.Size(80, 20);
+            this.chk_CutSide.TabIndex = 30;
+            this.chk_CutSide.Text = "切边状态";
+            // 
+            // cmb_CutSide
+            // 
+            this.cmb_CutSide.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance73.BackColor = System.Drawing.SystemColors.Window;
+            appearance73.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_CutSide.DisplayLayout.Appearance = appearance73;
+            this.cmb_CutSide.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_CutSide.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance74.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance74.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance74.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance74.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_CutSide.DisplayLayout.GroupByBox.Appearance = appearance74;
+            appearance75.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_CutSide.DisplayLayout.GroupByBox.BandLabelAppearance = appearance75;
+            this.cmb_CutSide.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance76.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance76.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance76.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance76.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_CutSide.DisplayLayout.GroupByBox.PromptAppearance = appearance76;
+            this.cmb_CutSide.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_CutSide.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance77.BackColor = System.Drawing.SystemColors.Window;
+            appearance77.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_CutSide.DisplayLayout.Override.ActiveCellAppearance = appearance77;
+            appearance78.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance78.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_CutSide.DisplayLayout.Override.ActiveRowAppearance = appearance78;
+            this.cmb_CutSide.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_CutSide.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance79.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_CutSide.DisplayLayout.Override.CardAreaAppearance = appearance79;
+            appearance80.BorderColor = System.Drawing.Color.Silver;
+            appearance80.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_CutSide.DisplayLayout.Override.CellAppearance = appearance80;
+            this.cmb_CutSide.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_CutSide.DisplayLayout.Override.CellPadding = 0;
+            appearance81.BackColor = System.Drawing.SystemColors.Control;
+            appearance81.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance81.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance81.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance81.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_CutSide.DisplayLayout.Override.GroupByRowAppearance = appearance81;
+            appearance82.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_CutSide.DisplayLayout.Override.HeaderAppearance = appearance82;
+            this.cmb_CutSide.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_CutSide.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance83.BackColor = System.Drawing.SystemColors.Window;
+            appearance83.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_CutSide.DisplayLayout.Override.RowAppearance = appearance83;
+            this.cmb_CutSide.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance84.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_CutSide.DisplayLayout.Override.TemplateAddRowAppearance = appearance84;
+            this.cmb_CutSide.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_CutSide.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_CutSide.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_CutSide.DisplayMember = "";
+            this.cmb_CutSide.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_CutSide.FlatMode = true;
+            this.cmb_CutSide.Location = new System.Drawing.Point(737, 147);
+            this.cmb_CutSide.Name = "cmb_CutSide";
+            this.cmb_CutSide.Size = new System.Drawing.Size(74, 19);
+            this.cmb_CutSide.TabIndex = 31;
+            this.cmb_CutSide.ValueMember = "";
+            // 
+            // chk_HeatDeal
+            // 
+            this.chk_HeatDeal.FlatMode = true;
+            this.chk_HeatDeal.Location = new System.Drawing.Point(661, 99);
+            this.chk_HeatDeal.Name = "chk_HeatDeal";
+            this.chk_HeatDeal.Size = new System.Drawing.Size(80, 20);
+            this.chk_HeatDeal.TabIndex = 32;
+            this.chk_HeatDeal.Text = "正火结果";
+            // 
+            // chk_InPlan
+            // 
+            appearance85.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_InPlan.Appearance = appearance85;
+            this.chk_InPlan.FlatMode = true;
+            this.chk_InPlan.Location = new System.Drawing.Point(504, 195);
+            this.chk_InPlan.Name = "chk_InPlan";
+            this.chk_InPlan.Size = new System.Drawing.Size(80, 20);
+            this.chk_InPlan.TabIndex = 33;
+            this.chk_InPlan.Text = "有订单";
+            this.chk_InPlan.CheckedChanged += new System.EventHandler(this.chk_InPlan_CheckedChanged);
+            // 
+            // chk_OutPlan
+            // 
+            appearance86.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_OutPlan.Appearance = appearance86;
+            this.chk_OutPlan.FlatMode = true;
+            this.chk_OutPlan.Location = new System.Drawing.Point(504, 217);
+            this.chk_OutPlan.Name = "chk_OutPlan";
+            this.chk_OutPlan.Size = new System.Drawing.Size(80, 20);
+            this.chk_OutPlan.TabIndex = 34;
+            this.chk_OutPlan.Text = "无订单";
+            this.chk_OutPlan.CheckedChanged += new System.EventHandler(this.chk_OutPlan_CheckedChanged);
+            // 
+            // Ops_Area
+            // 
+            this.Ops_Area.BackColor = System.Drawing.Color.Transparent;
+            this.Ops_Area.BorderStyle = Infragistics.Win.UIElementBorderStyle.None;
+            this.Ops_Area.FlatMode = true;
+            this.Ops_Area.ItemAppearance = appearance87;
+            valueListItem1.DataValue = "513201";
+            valueListItem1.DisplayText = "一号库";
+            valueListItem2.DataValue = "513202";
+            valueListItem2.DisplayText = "二号库";
+            valueListItem3.DataValue = "513203";
+            valueListItem3.DisplayText = "三号库";
+            valueListItem4.DataValue = "513204";
+            valueListItem4.DisplayText = "四号库";
+            valueListItem5.DataValue = "513205";
+            valueListItem5.DisplayText = "五号库";
+            valueListItem6.DataValue = "513206";
+            valueListItem6.DisplayText = "六号库";
+            valueListItem7.DataValue = "513207";
+            valueListItem7.DisplayText = "七号库";
+            valueListItem8.DataValue = "513208";
+            valueListItem8.DisplayText = "八号库";
+            valueListItem9.DataValue = "513209";
+            valueListItem9.DisplayText = "九号库";
+            valueListItem10.DataValue = "513210";
+            valueListItem10.DisplayText = "十号库";
+            this.Ops_Area.Items.Add(valueListItem1);
+            this.Ops_Area.Items.Add(valueListItem2);
+            this.Ops_Area.Items.Add(valueListItem3);
+            this.Ops_Area.Items.Add(valueListItem4);
+            this.Ops_Area.Items.Add(valueListItem5);
+            this.Ops_Area.Items.Add(valueListItem6);
+            this.Ops_Area.Items.Add(valueListItem7);
+            this.Ops_Area.Items.Add(valueListItem8);
+            this.Ops_Area.Items.Add(valueListItem9);
+            this.Ops_Area.Items.Add(valueListItem10);
+            this.Ops_Area.ItemSpacingVertical = 6;
+            this.Ops_Area.Location = new System.Drawing.Point(226, 6);
+            this.Ops_Area.Name = "Ops_Area";
+            this.Ops_Area.Size = new System.Drawing.Size(3, 220);
+            this.Ops_Area.TabIndex = 35;
+            this.Ops_Area.ValueChanged += new System.EventHandler(this.Ops_Area_ValueChanged);
+            // 
+            // chk_NotInButtress
+            // 
+            appearance88.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_NotInButtress.Appearance = appearance88;
+            this.chk_NotInButtress.FlatMode = true;
+            this.chk_NotInButtress.Location = new System.Drawing.Point(661, 217);
+            this.chk_NotInButtress.Name = "chk_NotInButtress";
+            this.chk_NotInButtress.Size = new System.Drawing.Size(80, 20);
+            this.chk_NotInButtress.TabIndex = 37;
+            this.chk_NotInButtress.Text = "含未入堆";
+            this.chk_NotInButtress.CheckedChanged += new System.EventHandler(this.chk_ClearStorage_CheckedChanged);
+            // 
+            // chk_DummyButtress
+            // 
+            appearance89.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_DummyButtress.Appearance = appearance89;
+            this.chk_DummyButtress.FlatMode = true;
+            this.chk_DummyButtress.Location = new System.Drawing.Point(584, 195);
+            this.chk_DummyButtress.Name = "chk_DummyButtress";
+            this.chk_DummyButtress.Size = new System.Drawing.Size(87, 20);
+            this.chk_DummyButtress.TabIndex = 38;
+            this.chk_DummyButtress.Text = "含虚拟库";
+            // 
+            // chk_Result
+            // 
+            this.chk_Result.FlatMode = true;
+            this.chk_Result.Location = new System.Drawing.Point(265, 215);
+            this.chk_Result.Name = "chk_Result";
+            this.chk_Result.Size = new System.Drawing.Size(80, 20);
+            this.chk_Result.TabIndex = 39;
+            this.chk_Result.Text = "判定结果";
+            // 
+            // cmb_Result
+            // 
+            this.cmb_Result.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance90.BackColor = System.Drawing.SystemColors.Window;
+            appearance90.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Result.DisplayLayout.Appearance = appearance90;
+            this.cmb_Result.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Result.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance91.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance91.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance91.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance91.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Result.DisplayLayout.GroupByBox.Appearance = appearance91;
+            appearance92.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Result.DisplayLayout.GroupByBox.BandLabelAppearance = appearance92;
+            this.cmb_Result.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance93.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance93.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance93.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance93.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Result.DisplayLayout.GroupByBox.PromptAppearance = appearance93;
+            this.cmb_Result.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Result.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance94.BackColor = System.Drawing.SystemColors.Window;
+            appearance94.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Result.DisplayLayout.Override.ActiveCellAppearance = appearance94;
+            appearance95.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance95.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Result.DisplayLayout.Override.ActiveRowAppearance = appearance95;
+            this.cmb_Result.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Result.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance96.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Result.DisplayLayout.Override.CardAreaAppearance = appearance96;
+            appearance97.BorderColor = System.Drawing.Color.Silver;
+            appearance97.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Result.DisplayLayout.Override.CellAppearance = appearance97;
+            this.cmb_Result.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Result.DisplayLayout.Override.CellPadding = 0;
+            appearance98.BackColor = System.Drawing.SystemColors.Control;
+            appearance98.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance98.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance98.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance98.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Result.DisplayLayout.Override.GroupByRowAppearance = appearance98;
+            appearance99.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Result.DisplayLayout.Override.HeaderAppearance = appearance99;
+            this.cmb_Result.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Result.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance100.BackColor = System.Drawing.SystemColors.Window;
+            appearance100.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Result.DisplayLayout.Override.RowAppearance = appearance100;
+            this.cmb_Result.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance101.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Result.DisplayLayout.Override.TemplateAddRowAppearance = appearance101;
+            this.cmb_Result.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Result.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Result.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Result.DisplayMember = "";
+            this.cmb_Result.FlatMode = true;
+            this.cmb_Result.Location = new System.Drawing.Point(339, 213);
+            this.cmb_Result.Name = "cmb_Result";
+            this.cmb_Result.Size = new System.Drawing.Size(159, 19);
+            this.cmb_Result.TabIndex = 40;
+            this.cmb_Result.ValueMember = "";
+            // 
+            // chk_SteelType
+            // 
+            this.chk_SteelType.FlatMode = true;
+            this.chk_SteelType.Location = new System.Drawing.Point(4, 4);
+            this.chk_SteelType.Name = "chk_SteelType";
+            this.chk_SteelType.Size = new System.Drawing.Size(55, 20);
+            this.chk_SteelType.TabIndex = 41;
+            this.chk_SteelType.Text = "钢类";
+            // 
+            // cmb_SteelType
+            // 
+            this.cmb_SteelType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance102.BackColor = System.Drawing.SystemColors.Window;
+            appearance102.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_SteelType.DisplayLayout.Appearance = appearance102;
+            this.cmb_SteelType.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_SteelType.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance103.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance103.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance103.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance103.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_SteelType.DisplayLayout.GroupByBox.Appearance = appearance103;
+            appearance104.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_SteelType.DisplayLayout.GroupByBox.BandLabelAppearance = appearance104;
+            this.cmb_SteelType.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance105.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance105.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance105.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance105.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_SteelType.DisplayLayout.GroupByBox.PromptAppearance = appearance105;
+            this.cmb_SteelType.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_SteelType.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance106.BackColor = System.Drawing.SystemColors.Window;
+            appearance106.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_SteelType.DisplayLayout.Override.ActiveCellAppearance = appearance106;
+            appearance107.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance107.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_SteelType.DisplayLayout.Override.ActiveRowAppearance = appearance107;
+            this.cmb_SteelType.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_SteelType.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance108.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_SteelType.DisplayLayout.Override.CardAreaAppearance = appearance108;
+            appearance109.BorderColor = System.Drawing.Color.Silver;
+            appearance109.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_SteelType.DisplayLayout.Override.CellAppearance = appearance109;
+            this.cmb_SteelType.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_SteelType.DisplayLayout.Override.CellPadding = 0;
+            appearance110.BackColor = System.Drawing.SystemColors.Control;
+            appearance110.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance110.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance110.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance110.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_SteelType.DisplayLayout.Override.GroupByRowAppearance = appearance110;
+            appearance111.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_SteelType.DisplayLayout.Override.HeaderAppearance = appearance111;
+            this.cmb_SteelType.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_SteelType.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance112.BackColor = System.Drawing.SystemColors.Window;
+            appearance112.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_SteelType.DisplayLayout.Override.RowAppearance = appearance112;
+            this.cmb_SteelType.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance113.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_SteelType.DisplayLayout.Override.TemplateAddRowAppearance = appearance113;
+            this.cmb_SteelType.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_SteelType.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_SteelType.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_SteelType.DisplayMember = "";
+            this.cmb_SteelType.FlatMode = true;
+            this.cmb_SteelType.Location = new System.Drawing.Point(54, 4);
+            this.cmb_SteelType.Name = "cmb_SteelType";
+            this.cmb_SteelType.Size = new System.Drawing.Size(72, 19);
+            this.cmb_SteelType.TabIndex = 42;
+            this.cmb_SteelType.ValueMember = "";
+            // 
+            // chk_OldPlanNO
+            // 
+            this.chk_OldPlanNO.FlatMode = true;
+            this.chk_OldPlanNO.Location = new System.Drawing.Point(504, 53);
+            this.chk_OldPlanNO.Name = "chk_OldPlanNO";
+            this.chk_OldPlanNO.Size = new System.Drawing.Size(80, 20);
+            this.chk_OldPlanNO.TabIndex = 45;
+            this.chk_OldPlanNO.Text = "原计划号";
+            // 
+            // txt_OldPlanNO
+            // 
+            this.txt_OldPlanNO.AutoSize = true;
+            this.txt_OldPlanNO.FlatMode = true;
+            this.txt_OldPlanNO.Location = new System.Drawing.Point(581, 53);
+            this.txt_OldPlanNO.Name = "txt_OldPlanNO";
+            this.txt_OldPlanNO.Size = new System.Drawing.Size(77, 19);
+            this.txt_OldPlanNO.TabIndex = 46;
+            // 
+            // chk_InStorageTime
+            // 
+            this.chk_InStorageTime.FlatMode = true;
+            this.chk_InStorageTime.Location = new System.Drawing.Point(504, 9);
+            this.chk_InStorageTime.Name = "chk_InStorageTime";
+            this.chk_InStorageTime.Size = new System.Drawing.Size(80, 20);
+            this.chk_InStorageTime.TabIndex = 47;
+            this.chk_InStorageTime.Text = "入库时间";
+            // 
+            // Dte_Begin
+            // 
+            this.Dte_Begin.FlatMode = true;
+            this.Dte_Begin.Location = new System.Drawing.Point(581, 9);
+            this.Dte_Begin.Name = "Dte_Begin";
+            this.Dte_Begin.Size = new System.Drawing.Size(100, 19);
+            this.Dte_Begin.TabIndex = 48;
+            // 
+            // Dte_End
+            // 
+            this.Dte_End.FlatMode = true;
+            this.Dte_End.Location = new System.Drawing.Point(711, 8);
+            this.Dte_End.Name = "Dte_End";
+            this.Dte_End.Size = new System.Drawing.Size(100, 19);
+            this.Dte_End.TabIndex = 49;
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(688, 13);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel5.TabIndex = 50;
+            this.ultraLabel5.Text = "到";
+            // 
+            // chk_PlanOrder
+            // 
+            this.chk_PlanOrder.FlatMode = true;
+            this.chk_PlanOrder.Location = new System.Drawing.Point(504, 75);
+            this.chk_PlanOrder.Name = "chk_PlanOrder";
+            this.chk_PlanOrder.Size = new System.Drawing.Size(80, 20);
+            this.chk_PlanOrder.TabIndex = 51;
+            this.chk_PlanOrder.Text = "原有订单";
+            // 
+            // txt_PlanOrder
+            // 
+            this.txt_PlanOrder.AutoSize = true;
+            this.txt_PlanOrder.FlatMode = true;
+            this.txt_PlanOrder.Location = new System.Drawing.Point(581, 75);
+            this.txt_PlanOrder.Name = "txt_PlanOrder";
+            this.txt_PlanOrder.Size = new System.Drawing.Size(77, 19);
+            this.txt_PlanOrder.TabIndex = 52;
+            // 
+            // chk_NPlanOrder
+            // 
+            this.chk_NPlanOrder.FlatMode = true;
+            this.chk_NPlanOrder.Location = new System.Drawing.Point(661, 75);
+            this.chk_NPlanOrder.Name = "chk_NPlanOrder";
+            this.chk_NPlanOrder.Size = new System.Drawing.Size(80, 20);
+            this.chk_NPlanOrder.TabIndex = 53;
+            this.chk_NPlanOrder.Text = "现在订单";
+            // 
+            // txt_NPlanOrder
+            // 
+            this.txt_NPlanOrder.AutoSize = true;
+            this.txt_NPlanOrder.FlatMode = true;
+            this.txt_NPlanOrder.Location = new System.Drawing.Point(737, 75);
+            this.txt_NPlanOrder.Name = "txt_NPlanOrder";
+            this.txt_NPlanOrder.Size = new System.Drawing.Size(74, 19);
+            this.txt_NPlanOrder.TabIndex = 54;
+            // 
+            // cmb_HeatDeal
+            // 
+            this.cmb_HeatDeal.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance114.BackColor = System.Drawing.SystemColors.Window;
+            appearance114.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_HeatDeal.DisplayLayout.Appearance = appearance114;
+            this.cmb_HeatDeal.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_HeatDeal.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance115.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance115.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance115.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance115.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_HeatDeal.DisplayLayout.GroupByBox.Appearance = appearance115;
+            appearance116.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_HeatDeal.DisplayLayout.GroupByBox.BandLabelAppearance = appearance116;
+            this.cmb_HeatDeal.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance117.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance117.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance117.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance117.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_HeatDeal.DisplayLayout.GroupByBox.PromptAppearance = appearance117;
+            this.cmb_HeatDeal.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_HeatDeal.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance118.BackColor = System.Drawing.SystemColors.Window;
+            appearance118.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_HeatDeal.DisplayLayout.Override.ActiveCellAppearance = appearance118;
+            appearance119.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance119.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_HeatDeal.DisplayLayout.Override.ActiveRowAppearance = appearance119;
+            this.cmb_HeatDeal.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_HeatDeal.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance120.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_HeatDeal.DisplayLayout.Override.CardAreaAppearance = appearance120;
+            appearance121.BorderColor = System.Drawing.Color.Silver;
+            appearance121.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_HeatDeal.DisplayLayout.Override.CellAppearance = appearance121;
+            this.cmb_HeatDeal.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_HeatDeal.DisplayLayout.Override.CellPadding = 0;
+            appearance122.BackColor = System.Drawing.SystemColors.Control;
+            appearance122.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance122.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance122.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance122.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_HeatDeal.DisplayLayout.Override.GroupByRowAppearance = appearance122;
+            appearance123.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_HeatDeal.DisplayLayout.Override.HeaderAppearance = appearance123;
+            this.cmb_HeatDeal.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_HeatDeal.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance124.BackColor = System.Drawing.SystemColors.Window;
+            appearance124.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_HeatDeal.DisplayLayout.Override.RowAppearance = appearance124;
+            this.cmb_HeatDeal.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance125.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_HeatDeal.DisplayLayout.Override.TemplateAddRowAppearance = appearance125;
+            this.cmb_HeatDeal.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_HeatDeal.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_HeatDeal.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_HeatDeal.DisplayMember = "";
+            this.cmb_HeatDeal.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_HeatDeal.FlatMode = true;
+            this.cmb_HeatDeal.Location = new System.Drawing.Point(737, 99);
+            this.cmb_HeatDeal.Name = "cmb_HeatDeal";
+            this.cmb_HeatDeal.Size = new System.Drawing.Size(74, 19);
+            this.cmb_HeatDeal.TabIndex = 55;
+            this.cmb_HeatDeal.ValueMember = "";
+            // 
+            // cmb_FaceQuanlity
+            // 
+            this.cmb_FaceQuanlity.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance126.BackColor = System.Drawing.SystemColors.Window;
+            appearance126.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_FaceQuanlity.DisplayLayout.Appearance = appearance126;
+            this.cmb_FaceQuanlity.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_FaceQuanlity.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance127.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance127.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance127.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance127.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_FaceQuanlity.DisplayLayout.GroupByBox.Appearance = appearance127;
+            appearance128.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_FaceQuanlity.DisplayLayout.GroupByBox.BandLabelAppearance = appearance128;
+            this.cmb_FaceQuanlity.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance129.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance129.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance129.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance129.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_FaceQuanlity.DisplayLayout.GroupByBox.PromptAppearance = appearance129;
+            this.cmb_FaceQuanlity.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_FaceQuanlity.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance130.BackColor = System.Drawing.SystemColors.Window;
+            appearance130.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.ActiveCellAppearance = appearance130;
+            appearance131.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance131.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.ActiveRowAppearance = appearance131;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance132.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.CardAreaAppearance = appearance132;
+            appearance133.BorderColor = System.Drawing.Color.Silver;
+            appearance133.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.CellAppearance = appearance133;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.CellPadding = 0;
+            appearance134.BackColor = System.Drawing.SystemColors.Control;
+            appearance134.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance134.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance134.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance134.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.GroupByRowAppearance = appearance134;
+            appearance135.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.HeaderAppearance = appearance135;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance136.BackColor = System.Drawing.SystemColors.Window;
+            appearance136.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.RowAppearance = appearance136;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance137.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_FaceQuanlity.DisplayLayout.Override.TemplateAddRowAppearance = appearance137;
+            this.cmb_FaceQuanlity.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_FaceQuanlity.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_FaceQuanlity.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_FaceQuanlity.DisplayMember = "";
+            this.cmb_FaceQuanlity.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_FaceQuanlity.FlatMode = true;
+            this.cmb_FaceQuanlity.Location = new System.Drawing.Point(581, 123);
+            this.cmb_FaceQuanlity.Name = "cmb_FaceQuanlity";
+            this.cmb_FaceQuanlity.Size = new System.Drawing.Size(77, 19);
+            this.cmb_FaceQuanlity.TabIndex = 57;
+            this.cmb_FaceQuanlity.ValueMember = "";
+            // 
+            // chk_FaceQuanlity
+            // 
+            this.chk_FaceQuanlity.FlatMode = true;
+            this.chk_FaceQuanlity.Location = new System.Drawing.Point(504, 123);
+            this.chk_FaceQuanlity.Name = "chk_FaceQuanlity";
+            this.chk_FaceQuanlity.Size = new System.Drawing.Size(80, 20);
+            this.chk_FaceQuanlity.TabIndex = 56;
+            this.chk_FaceQuanlity.Text = "表面质量";
+            // 
+            // cmb_BugReason
+            // 
+            this.cmb_BugReason.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance138.BackColor = System.Drawing.SystemColors.Window;
+            appearance138.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_BugReason.DisplayLayout.Appearance = appearance138;
+            this.cmb_BugReason.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_BugReason.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance139.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance139.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance139.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance139.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_BugReason.DisplayLayout.GroupByBox.Appearance = appearance139;
+            appearance140.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_BugReason.DisplayLayout.GroupByBox.BandLabelAppearance = appearance140;
+            this.cmb_BugReason.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance141.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance141.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance141.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance141.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_BugReason.DisplayLayout.GroupByBox.PromptAppearance = appearance141;
+            this.cmb_BugReason.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_BugReason.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance142.BackColor = System.Drawing.SystemColors.Window;
+            appearance142.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_BugReason.DisplayLayout.Override.ActiveCellAppearance = appearance142;
+            appearance143.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance143.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_BugReason.DisplayLayout.Override.ActiveRowAppearance = appearance143;
+            this.cmb_BugReason.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_BugReason.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance144.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_BugReason.DisplayLayout.Override.CardAreaAppearance = appearance144;
+            appearance145.BorderColor = System.Drawing.Color.Silver;
+            appearance145.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_BugReason.DisplayLayout.Override.CellAppearance = appearance145;
+            this.cmb_BugReason.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_BugReason.DisplayLayout.Override.CellPadding = 0;
+            appearance146.BackColor = System.Drawing.SystemColors.Control;
+            appearance146.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance146.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance146.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance146.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_BugReason.DisplayLayout.Override.GroupByRowAppearance = appearance146;
+            appearance147.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_BugReason.DisplayLayout.Override.HeaderAppearance = appearance147;
+            this.cmb_BugReason.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_BugReason.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance148.BackColor = System.Drawing.SystemColors.Window;
+            appearance148.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_BugReason.DisplayLayout.Override.RowAppearance = appearance148;
+            this.cmb_BugReason.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance149.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_BugReason.DisplayLayout.Override.TemplateAddRowAppearance = appearance149;
+            this.cmb_BugReason.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_BugReason.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_BugReason.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_BugReason.DisplayMember = "";
+            this.cmb_BugReason.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_BugReason.FlatMode = true;
+            this.cmb_BugReason.Location = new System.Drawing.Point(737, 123);
+            this.cmb_BugReason.Name = "cmb_BugReason";
+            this.cmb_BugReason.Size = new System.Drawing.Size(74, 19);
+            this.cmb_BugReason.TabIndex = 59;
+            this.cmb_BugReason.ValueMember = "";
+            // 
+            // chk_BugReason
+            // 
+            this.chk_BugReason.FlatMode = true;
+            this.chk_BugReason.Location = new System.Drawing.Point(661, 123);
+            this.chk_BugReason.Name = "chk_BugReason";
+            this.chk_BugReason.Size = new System.Drawing.Size(80, 20);
+            this.chk_BugReason.TabIndex = 58;
+            this.chk_BugReason.Text = "缺陷类型";
+            // 
+            // cmb_Degree
+            // 
+            this.cmb_Degree.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance150.BackColor = System.Drawing.SystemColors.Window;
+            appearance150.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Degree.DisplayLayout.Appearance = appearance150;
+            this.cmb_Degree.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Degree.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance151.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance151.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance151.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance151.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Degree.DisplayLayout.GroupByBox.Appearance = appearance151;
+            appearance152.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Degree.DisplayLayout.GroupByBox.BandLabelAppearance = appearance152;
+            this.cmb_Degree.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance153.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance153.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance153.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance153.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Degree.DisplayLayout.GroupByBox.PromptAppearance = appearance153;
+            this.cmb_Degree.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Degree.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance154.BackColor = System.Drawing.SystemColors.Window;
+            appearance154.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Degree.DisplayLayout.Override.ActiveCellAppearance = appearance154;
+            appearance155.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance155.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Degree.DisplayLayout.Override.ActiveRowAppearance = appearance155;
+            this.cmb_Degree.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Degree.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance156.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Degree.DisplayLayout.Override.CardAreaAppearance = appearance156;
+            appearance157.BorderColor = System.Drawing.Color.Silver;
+            appearance157.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Degree.DisplayLayout.Override.CellAppearance = appearance157;
+            this.cmb_Degree.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Degree.DisplayLayout.Override.CellPadding = 0;
+            appearance158.BackColor = System.Drawing.SystemColors.Control;
+            appearance158.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance158.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance158.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance158.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Degree.DisplayLayout.Override.GroupByRowAppearance = appearance158;
+            appearance159.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Degree.DisplayLayout.Override.HeaderAppearance = appearance159;
+            this.cmb_Degree.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Degree.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance160.BackColor = System.Drawing.SystemColors.Window;
+            appearance160.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Degree.DisplayLayout.Override.RowAppearance = appearance160;
+            this.cmb_Degree.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance161.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Degree.DisplayLayout.Override.TemplateAddRowAppearance = appearance161;
+            this.cmb_Degree.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Degree.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Degree.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Degree.DisplayMember = "";
+            this.cmb_Degree.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Degree.FlatMode = true;
+            this.cmb_Degree.Location = new System.Drawing.Point(581, 147);
+            this.cmb_Degree.Name = "cmb_Degree";
+            this.cmb_Degree.Size = new System.Drawing.Size(77, 19);
+            this.cmb_Degree.TabIndex = 61;
+            this.cmb_Degree.ValueMember = "";
+            // 
+            // chk_Degree
+            // 
+            this.chk_Degree.FlatMode = true;
+            this.chk_Degree.Location = new System.Drawing.Point(504, 147);
+            this.chk_Degree.Name = "chk_Degree";
+            this.chk_Degree.Size = new System.Drawing.Size(80, 20);
+            this.chk_Degree.TabIndex = 60;
+            this.chk_Degree.Text = "改判原因";
+            // 
+            // cmb_Role
+            // 
+            this.cmb_Role.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance162.BackColor = System.Drawing.SystemColors.Window;
+            appearance162.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Role.DisplayLayout.Appearance = appearance162;
+            this.cmb_Role.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Role.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance163.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance163.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance163.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance163.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Role.DisplayLayout.GroupByBox.Appearance = appearance163;
+            appearance164.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Role.DisplayLayout.GroupByBox.BandLabelAppearance = appearance164;
+            this.cmb_Role.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance165.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance165.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance165.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance165.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Role.DisplayLayout.GroupByBox.PromptAppearance = appearance165;
+            this.cmb_Role.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Role.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance166.BackColor = System.Drawing.SystemColors.Window;
+            appearance166.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Role.DisplayLayout.Override.ActiveCellAppearance = appearance166;
+            appearance167.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance167.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Role.DisplayLayout.Override.ActiveRowAppearance = appearance167;
+            this.cmb_Role.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Role.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance168.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Role.DisplayLayout.Override.CardAreaAppearance = appearance168;
+            appearance169.BorderColor = System.Drawing.Color.Silver;
+            appearance169.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Role.DisplayLayout.Override.CellAppearance = appearance169;
+            this.cmb_Role.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Role.DisplayLayout.Override.CellPadding = 0;
+            appearance170.BackColor = System.Drawing.SystemColors.Control;
+            appearance170.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance170.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance170.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance170.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Role.DisplayLayout.Override.GroupByRowAppearance = appearance170;
+            appearance171.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Role.DisplayLayout.Override.HeaderAppearance = appearance171;
+            this.cmb_Role.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Role.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance172.BackColor = System.Drawing.SystemColors.Window;
+            appearance172.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Role.DisplayLayout.Override.RowAppearance = appearance172;
+            this.cmb_Role.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance173.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Role.DisplayLayout.Override.TemplateAddRowAppearance = appearance173;
+            this.cmb_Role.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Role.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Role.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Role.DisplayMember = "";
+            this.cmb_Role.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Role.FlatMode = true;
+            this.cmb_Role.Location = new System.Drawing.Point(581, 171);
+            this.cmb_Role.Name = "cmb_Role";
+            this.cmb_Role.Size = new System.Drawing.Size(77, 19);
+            this.cmb_Role.TabIndex = 63;
+            this.cmb_Role.ValueMember = "";
+            // 
+            // chk_RoleQuery
+            // 
+            this.chk_RoleQuery.FlatMode = true;
+            this.chk_RoleQuery.Location = new System.Drawing.Point(504, 171);
+            this.chk_RoleQuery.Name = "chk_RoleQuery";
+            this.chk_RoleQuery.Size = new System.Drawing.Size(80, 20);
+            this.chk_RoleQuery.TabIndex = 65;
+            this.chk_RoleQuery.Text = "定尺方式";
+            // 
+            // Chk_PrdTime
+            // 
+            this.Chk_PrdTime.FlatMode = true;
+            this.Chk_PrdTime.Location = new System.Drawing.Point(504, 31);
+            this.Chk_PrdTime.Name = "Chk_PrdTime";
+            this.Chk_PrdTime.Size = new System.Drawing.Size(80, 20);
+            this.Chk_PrdTime.TabIndex = 66;
+            this.Chk_PrdTime.Text = "生产时间";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(687, 35);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel6.TabIndex = 69;
+            this.ultraLabel6.Text = "到";
+            // 
+            // Dte_PrdEnd
+            // 
+            this.Dte_PrdEnd.FlatMode = true;
+            this.Dte_PrdEnd.Location = new System.Drawing.Point(711, 30);
+            this.Dte_PrdEnd.Name = "Dte_PrdEnd";
+            this.Dte_PrdEnd.Size = new System.Drawing.Size(100, 19);
+            this.Dte_PrdEnd.TabIndex = 68;
+            // 
+            // Dte_PrdBegin
+            // 
+            this.Dte_PrdBegin.FlatMode = true;
+            this.Dte_PrdBegin.Location = new System.Drawing.Point(581, 31);
+            this.Dte_PrdBegin.Name = "Dte_PrdBegin";
+            this.Dte_PrdBegin.Size = new System.Drawing.Size(100, 19);
+            this.Dte_PrdBegin.TabIndex = 67;
+            // 
+            // Chk_BeforeSend
+            // 
+            appearance174.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_BeforeSend.Appearance = appearance174;
+            this.Chk_BeforeSend.FlatMode = true;
+            this.Chk_BeforeSend.Location = new System.Drawing.Point(584, 217);
+            this.Chk_BeforeSend.Name = "Chk_BeforeSend";
+            this.Chk_BeforeSend.Size = new System.Drawing.Size(84, 20);
+            this.Chk_BeforeSend.TabIndex = 70;
+            this.Chk_BeforeSend.Text = "含预装量";
+            // 
+            // Chk_Condole
+            // 
+            this.Chk_Condole.FlatMode = true;
+            this.Chk_Condole.Location = new System.Drawing.Point(661, 171);
+            this.Chk_Condole.Name = "Chk_Condole";
+            this.Chk_Condole.Size = new System.Drawing.Size(80, 20);
+            this.Chk_Condole.TabIndex = 71;
+            this.Chk_Condole.Text = "板块吊号";
+            // 
+            // Txt_Condole
+            // 
+            this.Txt_Condole.AutoSize = true;
+            this.Txt_Condole.FlatMode = true;
+            this.Txt_Condole.Location = new System.Drawing.Point(737, 171);
+            this.Txt_Condole.Name = "Txt_Condole";
+            this.Txt_Condole.Size = new System.Drawing.Size(74, 19);
+            this.Txt_Condole.TabIndex = 72;
+            // 
+            // Chk_ButtressRemark
+            // 
+            this.Chk_ButtressRemark.FlatMode = true;
+            this.Chk_ButtressRemark.Location = new System.Drawing.Point(661, 195);
+            this.Chk_ButtressRemark.Name = "Chk_ButtressRemark";
+            this.Chk_ButtressRemark.Size = new System.Drawing.Size(80, 20);
+            this.Chk_ButtressRemark.TabIndex = 73;
+            this.Chk_ButtressRemark.Text = "堆放备注";
+            // 
+            // Txt_BRemark
+            // 
+            this.Txt_BRemark.AutoSize = true;
+            this.Txt_BRemark.FlatMode = true;
+            this.Txt_BRemark.Location = new System.Drawing.Point(737, 195);
+            this.Txt_BRemark.Name = "Txt_BRemark";
+            this.Txt_BRemark.Size = new System.Drawing.Size(74, 19);
+            this.Txt_BRemark.TabIndex = 74;
+            // 
+            // chk_PlanNO
+            // 
+            this.chk_PlanNO.FlatMode = true;
+            this.chk_PlanNO.Location = new System.Drawing.Point(661, 53);
+            this.chk_PlanNO.Name = "chk_PlanNO";
+            this.chk_PlanNO.Size = new System.Drawing.Size(80, 20);
+            this.chk_PlanNO.TabIndex = 26;
+            this.chk_PlanNO.Text = "现计划号";
+            this.chk_PlanNO.CheckedChanged += new System.EventHandler(this.chk_PlanNO_CheckedChanged);
+            // 
+            // txt_PlanNO
+            // 
+            this.txt_PlanNO.AutoSize = true;
+            this.txt_PlanNO.FlatMode = true;
+            this.txt_PlanNO.Location = new System.Drawing.Point(737, 53);
+            this.txt_PlanNO.Name = "txt_PlanNO";
+            this.txt_PlanNO.Size = new System.Drawing.Size(74, 19);
+            this.txt_PlanNO.TabIndex = 27;
+            // 
+            // ctlKCJListQuery
+            // 
+            this.AutoSize = true;
+            this.Controls.Add(this.chk_NotInButtress);
+            this.Controls.Add(this.Txt_BRemark);
+            this.Controls.Add(this.Txt_Condole);
+            this.Controls.Add(this.Dte_PrdEnd);
+            this.Controls.Add(this.cmb_BugReason);
+            this.Controls.Add(this.cmb_HeatDeal);
+            this.Controls.Add(this.txt_NPlanOrder);
+            this.Controls.Add(this.Dte_End);
+            this.Controls.Add(this.cmb_CutSide);
+            this.Controls.Add(this.txt_PlanNO);
+            this.Controls.Add(this.Dte_PrdBegin);
+            this.Controls.Add(this.cmb_Role);
+            this.Controls.Add(this.cmb_Degree);
+            this.Controls.Add(this.cmb_FaceQuanlity);
+            this.Controls.Add(this.txt_PlanOrder);
+            this.Controls.Add(this.Dte_Begin);
+            this.Controls.Add(this.txt_OldPlanNO);
+            this.Controls.Add(this.cmb_DeteMar);
+            this.Controls.Add(this.txt_LenghtBegin);
+            this.Controls.Add(this.txt_WidthBegin);
+            this.Controls.Add(this.txt_PlyBegin);
+            this.Controls.Add(this.txt_RollNumBegin);
+            this.Controls.Add(this.Chk_ButtressRemark);
+            this.Controls.Add(this.Chk_Condole);
+            this.Controls.Add(this.Chk_BeforeSend);
+            this.Controls.Add(this.ultraLabel6);
+            this.Controls.Add(this.Chk_PrdTime);
+            this.Controls.Add(this.chk_RoleQuery);
+            this.Controls.Add(this.chk_Degree);
+            this.Controls.Add(this.chk_BugReason);
+            this.Controls.Add(this.chk_FaceQuanlity);
+            this.Controls.Add(this.chk_NPlanOrder);
+            this.Controls.Add(this.chk_PlanOrder);
+            this.Controls.Add(this.ultraLabel5);
+            this.Controls.Add(this.chk_InStorageTime);
+            this.Controls.Add(this.chk_OldPlanNO);
+            this.Controls.Add(this.cmb_SteelType);
+            this.Controls.Add(this.chk_SteelType);
+            this.Controls.Add(this.cmb_Result);
+            this.Controls.Add(this.chk_Result);
+            this.Controls.Add(this.chk_DummyButtress);
+            this.Controls.Add(this.chk_OutPlan);
+            this.Controls.Add(this.chk_InPlan);
+            this.Controls.Add(this.chk_HeatDeal);
+            this.Controls.Add(this.chk_CutSide);
+            this.Controls.Add(this.chk_DeteMar);
+            this.Controls.Add(this.chk_PlanNO);
+            this.Controls.Add(this.txt_LengthEnd);
+            this.Controls.Add(this.ultraLabel4);
+            this.Controls.Add(this.chk_Length);
+            this.Controls.Add(this.txt_WidthEnd);
+            this.Controls.Add(this.ultraLabel3);
+            this.Controls.Add(this.chk_Width);
+            this.Controls.Add(this.txt_PlyEnd);
+            this.Controls.Add(this.ultraLabel2);
+            this.Controls.Add(this.chk_Ply);
+            this.Controls.Add(this.txt_RollNumEnd);
+            this.Controls.Add(this.ultraLabel1);
+            this.Controls.Add(this.txt_RollTop);
+            this.Controls.Add(this.chk_RollNum);
+            this.Controls.Add(this.Grd_PactNO);
+            this.Controls.Add(this.txt_PactNO);
+            this.Controls.Add(this.Grd_Buttress);
+            this.Controls.Add(this.grd_SteelName);
+            this.Controls.Add(this.chk_PactNO);
+            this.Controls.Add(this.cmb_Buttress);
+            this.Controls.Add(this.chk_Buttress);
+            this.Controls.Add(this.cmb_SteelName);
+            this.Controls.Add(this.chk_SteelName);
+            this.Controls.Add(this.Ops_Area);
+            this.Name = "ctlKCJListQuery";
+            this.Size = new System.Drawing.Size(814, 262);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.grd_SteelName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Buttress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_PactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNumEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_DeteMar)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_CutSide)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Ops_Area)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Result)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_SteelType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OldPlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_Begin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_End)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_NPlanOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_HeatDeal)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuanlity)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReason)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Degree)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Role)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_PrdBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_BRemark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region "Preporty"
+		private System.Data.DataSet _MyDataSet = null;
+        
+        
+		public System.Data.DataSet MyDataSet
+		{
+			set
+			{
+				_MyDataSet = value;
+				StorageBaseClass.Init_ComboControl(this.cmb_SteelName,"XT_PH|PHMC|PHMC",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_Buttress,"XT_DW|BUTTRESSCODE|BUTTRESS",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_DeteMar,"DETEMAR|DETEMARID|DETEMARNAME",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_CutSide,"XT_QB|QBBM|QBMC",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_Result,"PDJG|PDBM|PDMC",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_SteelType,"XT_GZ|SORTID|REMARK",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_BugReason,"BUGREASON|BUGID|BUGNAME",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_HeatDeal,"HEAT|HEATID|HEATNAME",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_Degree,"DEGREEN|DEGREENID|DEGREENNAME",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_FaceQuanlity,"BMZL|ID_|NAME_",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.cmb_Role,"DCFS|ID_|NAME_",ref this._MyDataSet);
+
+				cmb_SteelType.DisplayLayout.Bands["XT_GZ"].Columns["REMARK"].Width  = cmb_SteelType.Width*2;
+				cmb_BugReason.DisplayLayout.Bands["BUGREASON"].Columns["BUGNAME"].Width  = cmb_BugReason.Width*2;
+				cmb_Degree.DisplayLayout.Bands["DEGREEN"].Columns["DEGREENNAME"].Width  = cmb_Degree.Width*2;
+
+				StorageGridHelper.SetGrid(this.Grd_Buttress,ref this._MyDataSet,"KCH_BUTTRESS",new string[]{"KCH_BUTTRESS"});
+				StorageGridHelper.SetGrid(this.grd_SteelName,ref this._MyDataSet,"KCH_STEELNAME",new string[]{"KCH_STEELNAME"});
+				StorageGridHelper.SetGrid(this.Grd_PactNO,ref this._MyDataSet,"KCH_PACTNO",new string[]{"KCH_PACTNO"});
+				this.Grd_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+				this.grd_SteelName.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+				this.Grd_PactNO.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+				this.Grd_Buttress.DisplayLayout.Bands[0].Columns[0].Band.ColHeadersVisible = false;
+				this.grd_SteelName.DisplayLayout.Bands[0].Columns[0].Band.ColHeadersVisible = false;
+				this.Grd_PactNO.DisplayLayout.Bands[0].Columns[0].Band.ColHeadersVisible = false;
+			}
+		}
+
+		private string _WhereStr = "";
+		public string WhereStr
+		{
+			get
+			{
+				_WhereStr = GetSteelCondition();
+				_WhereStr = _WhereStr + GetButtressCondition();
+				_WhereStr = _WhereStr + GetPactNOCondition();
+				_WhereStr = _WhereStr + GetRollNOCondition();
+				_WhereStr = _WhereStr + GetPlyCondition();
+				_WhereStr = _WhereStr + GetWidthCondition();
+				_WhereStr = _WhereStr + GetLengthCondition();
+				_WhereStr = _WhereStr + GetPlanNOCondition();
+				_WhereStr = _WhereStr + GetOldPlanNOCondition();
+				_WhereStr = _WhereStr + GetDeteMarCondition();
+				_WhereStr = _WhereStr + GetHeatDealCondition();
+				_WhereStr = _WhereStr + GetFaceQuanlityCondition();
+				_WhereStr = _WhereStr + GetBugReasonCondition();
+				_WhereStr = _WhereStr + GetDegreeCondition();
+				_WhereStr = _WhereStr + GetRoleCondition();
+				_WhereStr = _WhereStr + GetCutSideCondition();
+				_WhereStr = _WhereStr + GetPlanCondition();
+				_WhereStr = _WhereStr + GetResultCondition();
+				_WhereStr = _WhereStr + GetDummyButtressCondition();
+				_WhereStr = _WhereStr + GetInStorageDate();
+				_WhereStr = _WhereStr + GetPlanOrder();
+				_WhereStr = _WhereStr + GetNPlanOrder();
+				_WhereStr = _WhereStr + GetPrdStorageDate();
+				_WhereStr = _WhereStr + GetBeforeSendCondition();
+				_WhereStr = _WhereStr + GetNotInButtress();
+				_WhereStr = _WhereStr + GetCondoleCondition();
+				_WhereStr = _WhereStr +	GetButtressRemarkCondition();
+				return _WhereStr;
+			}
+		}
+		private string _SendWhereStr = "";
+		public string SendWhereStr
+		{
+			get
+			{
+				_SendWhereStr = GetSteelCondition();
+				_SendWhereStr = _SendWhereStr + " AND B.ORDERFORMNUMBER=C.ORDERNO ";
+
+				_SendWhereStr = _SendWhereStr + GetPactNOCondition();
+				_SendWhereStr = _SendWhereStr + GetRollNOCondition();
+				_SendWhereStr = _SendWhereStr + GetPlyCondition();
+				_SendWhereStr = _SendWhereStr + GetWidthCondition();
+				_SendWhereStr = _SendWhereStr + GetLengthCondition();
+				_SendWhereStr = _SendWhereStr + GetPlanNOCondition();
+				_SendWhereStr = _SendWhereStr + GetOldPlanNOCondition();
+				_SendWhereStr = _SendWhereStr + GetDeteMarCondition();
+				_SendWhereStr = _SendWhereStr + GetHeatDealCondition();
+				_SendWhereStr = _SendWhereStr + GetFaceQuanlityCondition();
+				_SendWhereStr = _SendWhereStr + GetBugReasonCondition();
+				_SendWhereStr = _SendWhereStr + GetDegreeCondition();
+				_SendWhereStr = _SendWhereStr + GetRoleCondition();
+				_SendWhereStr = _SendWhereStr + GetCutSideCondition();
+				//_SendWhereStr = _SendWhereStr + GetPlanCondition();
+				_SendWhereStr = _SendWhereStr + GetResultCondition();
+				//_WhereStr = _WhereStr + GetDummyButtressCondition();
+				_SendWhereStr = _SendWhereStr + GetInStorageDate();
+				_SendWhereStr = _SendWhereStr + GetPlanOrder();
+				_SendWhereStr = _SendWhereStr + GetNPlanOrder();
+				_SendWhereStr = _SendWhereStr + GetPrdStorageDate();
+				//_SendWhereStr = _SendWhereStr + GetBeforeSendCondition();
+				//_SendWhereStr = _SendWhereStr + GetNotInButtress();
+				_SendWhereStr = _SendWhereStr + GetCondoleCondition();
+				if(_SendWhereStr==" AND B.ORDERFORMNUMBER=C.ORDERNO ")
+				{
+					_SendWhereStr=_SendWhereStr + " AND B.ID='1' ";
+				}
+				return _SendWhereStr;
+			}
+		}
+		private string _CSendWhereStr = "";
+		public string CSendWhereStr
+		{
+			get
+			{
+				_CSendWhereStr = GetSteelCondition();
+				_CSendWhereStr = _CSendWhereStr + " AND B.ORDERFORMNUMBER=C.ORDERNO ";
+
+				_CSendWhereStr = _CSendWhereStr + GetPactNOCondition();
+				_CSendWhereStr = _CSendWhereStr + GetRollNOCondition();
+				_CSendWhereStr = _CSendWhereStr + GetPlyCondition();
+				_CSendWhereStr = _CSendWhereStr + GetWidthCondition();
+				_CSendWhereStr = _CSendWhereStr + GetLengthCondition();
+				_CSendWhereStr = _CSendWhereStr + GetPlanNOCondition();
+				_CSendWhereStr = _CSendWhereStr + GetOldPlanNOCondition();
+				_CSendWhereStr = _CSendWhereStr + GetCDeteMarCondition();
+				_CSendWhereStr = _CSendWhereStr + GetCHeatDealCondition();
+				_CSendWhereStr = _CSendWhereStr + GetFaceQuanlityCondition();
+				_CSendWhereStr = _CSendWhereStr + GetBugReasonCondition();
+				_CSendWhereStr = _CSendWhereStr + GetDegreeCondition();
+				_CSendWhereStr = _CSendWhereStr + GetRoleCondition();
+				_CSendWhereStr = _CSendWhereStr + GetCutSideCondition();
+				//_CSendWhereStr = _CSendWhereStr + GetPlanCondition();
+				_CSendWhereStr = _CSendWhereStr + GetResultCondition();
+				//_WhereStr = _WhereStr + GetDummyButtressCondition();
+				_CSendWhereStr = _CSendWhereStr + GetInStorageDate();
+				_CSendWhereStr = _CSendWhereStr + GetPlanOrder();
+				_CSendWhereStr = _CSendWhereStr + GetNPlanOrder();
+				_CSendWhereStr = _CSendWhereStr + GetPrdStorageDate();
+				//_CSendWhereStr = _CSendWhereStr + GetBeforeSendCondition();
+				//_CSendWhereStr = _CSendWhereStr + GetNotInButtress();
+				_CSendWhereStr = _CSendWhereStr + GetCondoleCondition();
+				if(_CSendWhereStr==" AND B.ORDERFORMNUMBER=C.ORDERNO ")
+				{
+					_CSendWhereStr=_CSendWhereStr + " AND B.ID='1' ";
+				}
+				return _CSendWhereStr;
+			}
+		}
+		#endregion
+		
+		#region "Method"
+		//牌号
+		private string GetSteelCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_SteelName.Checked)
+				{
+					
+					if(this.grd_SteelName.Rows.Count==0)
+					{
+						if(this.cmb_SteelName.Text.Trim().Length>0)
+						{
+							rtnStr = " A.DETERMINANTCARDNUMBER='"+this.cmb_SteelName.Text.Trim()+"' ";
+						}
+					}
+					else
+					{	
+						string tmpStr = "";
+						if(this.cmb_SteelName.Text.Trim().Length>0)
+						{
+							tmpStr = "'"+this.cmb_SteelName.Text.Trim()+"',";
+						}
+						foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.grd_SteelName.Rows)
+						{
+							tmpStr = tmpStr + "'"+StorageBaseClass.CheckNullStr(row.Cells["STEELNAME"].Value) + "',";
+						}
+						tmpStr = tmpStr.Substring(0,tmpStr.Length-1);
+						rtnStr = " A.DETERMINANTCARDNUMBER IN("+tmpStr+") ";
+					}
+				}
+				if(this.chk_SteelType.Checked)
+				{
+					string tstr = "";
+					if(StorageBaseClass.CheckNullStr(this.cmb_SteelType.Value).Length>0)
+					{
+						tstr = "A.DETERMINANTCARDNUMBER IN(SELECT STEELNAME FROM SCM_STEELNAME_SORT WHERE PLID='4001HB1' AND SORTID LIKE '%"+StorageBaseClass.CheckNullStr(this.cmb_SteelType.Value)+"%')";
+					}
+					if(rtnStr.Length>0)
+					{
+						if(tstr.Length>0)
+						{
+							rtnStr = " AND (" + rtnStr + " OR " + tstr + ")";
+						}
+						else
+						{
+							rtnStr = " AND " + rtnStr;
+						}
+						return rtnStr;
+					}
+					else
+					{
+						if(tstr.Length>0)
+						{
+							rtnStr = " AND " + tstr;
+							return rtnStr;
+						}
+					}
+				}
+				else
+				{
+					if(rtnStr.Length>0)
+					{
+						rtnStr = " AND " + rtnStr;
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		
+		//垛位
+		private string GetButtressCondition()
+		{
+			try
+			{
+				if(this.chk_Buttress.Checked)
+				{
+					string rtnStr = "";
+					if(this.Grd_Buttress.Rows.Count == 0 && StorageBaseClass.CheckNullStr(this.cmb_Buttress.Value).Length>0)
+					{
+						rtnStr = " AND B.BUTTRESS='"+StorageBaseClass.CheckNullStr(this.cmb_Buttress.Value)+"' ";
+						return rtnStr;
+					}
+					string tmpStr = "'"+StorageBaseClass.CheckNullStr(this.cmb_Buttress.Value)+"',";
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.Grd_Buttress.Rows)
+					{
+						tmpStr = tmpStr + "'"+StorageBaseClass.CheckNullStr(row.Cells["BUTTRESSCODE"].Value) + "',";
+					}
+					tmpStr = tmpStr.Substring(0,tmpStr.Length-1);
+					rtnStr = " AND B.BUTTRESS IN("+tmpStr+") ";
+					return rtnStr;
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//堆放备注
+		private string GetButtressRemarkCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_ButtressRemark.Checked)
+				{
+					if(this.Txt_BRemark.Text.Trim().Length>0)
+					{
+                        rtnStr = " AND B.HANDREMARK LIKE '%" + this.Txt_BRemark.Text.Trim() + "%' ";
+					}
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+        //堆放备注
+        //private string GetButtressCondition()
+        //{
+        //    try
+        //    {
+        //        string rtnStr = "";
+        //        if (this.chk_Butress.Checked)
+        //        {
+        //            if (this.Txt_BRemark.Text.Trim().Length > 0)
+        //            {
+        //                rtnStr = " AND B.HANDREMARK LIKE '%" + this.Txt_BRemark.Text.Trim() + "%' ";
+        //            }
+        //        }
+        //        return rtnStr;
+        //    }
+        //    catch (System.Exception ex)
+        //    {
+        //        System.Diagnostics.Debug.WriteLine(ex.ToString());
+        //        return "";
+        //    }
+        //}
+		//合同号
+		private string GetPactNOCondition()
+		{
+			try
+			{
+				if(this.chk_PactNO.Checked)
+				{
+					string rtnStr = "";
+					if(this.Grd_PactNO.Rows.Count == 0 && this.txt_PactNO.Text.Trim().Length>0)
+					{
+						rtnStr = " AND C.PACTNO='"+this.txt_PactNO.Text.Trim()+"' ";
+						return rtnStr;
+					}
+					string tmpStr = "'"+this.txt_PactNO.Text.Trim()+"',";
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.Grd_PactNO.Rows)
+					{
+						tmpStr = tmpStr + "'"+StorageBaseClass.CheckNullStr(row.Cells["PACTNO"].Value) + "',";
+					}
+					tmpStr = tmpStr.Substring(0,tmpStr.Length-1);
+					rtnStr = " AND C.PACTNO IN("+tmpStr+") ";
+					return rtnStr;
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//轧批号
+		private string GetRollNOCondition()
+		{
+			try
+			{
+				if(this.chk_RollNum.Checked)
+				{
+					string rtnStr = " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='"+this.txt_RollTop.Text.Trim()+"' ";
+					if(this.txt_RollNumBegin.Text.Trim().Length==5 && this.txt_RollNumEnd.Text.Trim().Length<5)
+					{
+						rtnStr = rtnStr + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='"+this.txt_RollNumBegin.Text.Trim()+"'";
+						return rtnStr;
+					}
+					if(this.txt_RollNumBegin.Text.Trim().Length<5 && this.txt_RollNumEnd.Text.Trim().Length==5)
+					{
+						rtnStr = rtnStr + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNumEnd.Text.Trim()+"'";
+						return rtnStr;
+					}
+					if(this.txt_RollNumBegin.Text.Trim().Length==5 && this.txt_RollNumEnd.Text.Trim().Length==5)
+					{
+						rtnStr = rtnStr + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNumEnd.Text.Trim()+"'"
+							+ " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='"+this.txt_RollNumBegin.Text.Trim()+"'";
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//厚度
+		private string GetPlyCondition()
+		{
+			try
+			{
+				if(this.chk_Ply.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)==0)
+					{
+						rtnStr = " AND A.PLY="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
+					{
+						rtnStr = " AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
+					{
+						rtnStr = " AND A.PLY>="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value)
+							+" AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//宽度
+		private string GetWidthCondition()
+		{
+			try
+			{
+				if(this.chk_Width.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)==0)
+					{
+						rtnStr = " AND A.WIDTH="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
+					{
+						rtnStr = " AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
+					{
+						rtnStr = " AND A.WIDTH>="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value)
+							+" AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//长度
+		private string GetLengthCondition()
+		{
+			try
+			{
+				if(this.chk_Length.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)==0)
+					{
+						rtnStr = " AND A.LENGTH="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
+					{
+						rtnStr = " AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
+					{
+						rtnStr = " AND A.LENGTH>="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value)
+							+" AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//计划号
+		private string GetPlanNOCondition()
+		{
+			try
+			{
+				if(this.chk_PlanNO.Checked)
+				{
+					string rtnStr = "";
+					if(this.txt_PlanNO.Text.Trim().Length>0)
+					{
+						rtnStr = " AND C.PACTINDEX LIKE '%"+this.txt_PlanNO.Text.Trim()+"%' ";
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//获得原计划号
+		private string GetOldPlanNOCondition()
+		{
+			try
+			{
+				if(this.chk_OldPlanNO.Checked)
+				{
+					string rtnStr = "";
+					if(this.txt_OldPlanNO.Text.Trim().Length>0)
+					{
+                        rtnStr = " AND A.PLANNO LIKE '%" + this.txt_OldPlanNO.Text.Trim() + "%' ";
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+        
+     
+		//探伤结果
+		private string GetDeteMarCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_DeteMar.Checked)
+				{
+					switch(StorageBaseClass.CheckNullStr(this.cmb_DeteMar.Value))
+					{
+						case "0":
+							rtnStr = " AND A.DETECTMARBOOKIN IS NULL AND C.ISCHECKSCAR IS NOT NULL AND C.ISCHECKSCAR<>'401900' ";
+							break;
+						case "1":
+							rtnStr = " AND LENGTH(A.DETECTMARBOOKIN)=6 AND A.DETECTMARBOOKIN IS NOT NULL ";
+							break;
+						case "2":
+							rtnStr = " AND LENGTH(A.DETECTMARBOOKIN)>6 AND A.DETECTMARBOOKIN IS NOT NULL";
+							break;
+
+					}
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//探伤结果
+		private string GetCDeteMarCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_DeteMar.Checked)
+				{
+					switch(StorageBaseClass.CheckNullStr(this.cmb_DeteMar.Value))
+					{
+						case "0":
+							rtnStr = " AND A.BILLETID IS NULL ";
+							break;
+						case "1":
+							rtnStr = " AND LENGTH(A.DETECTMARBOOKIN)=6 AND A.DETECTMARBOOKIN IS NOT NULL ";
+							break;
+						case "2":
+							rtnStr = " AND LENGTH(A.DETECTMARBOOKIN)>6 AND A.DETECTMARBOOKIN IS NOT NULL";
+							break;
+
+					}
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//正火结果
+		private string GetHeatDealCondition()
+		{
+			string rtnStr = "";
+			if(this.chk_HeatDeal.Checked)
+			{
+				switch(StorageBaseClass.CheckNullStr(this.cmb_HeatDeal.Value))
+				{
+					case "0":
+						rtnStr = " AND A.HEATDEAL<>'1' AND C.ISHEAT='1' ";
+						break;
+					case "1":
+						rtnStr = " AND A.HEATDEAL='1' ";
+						break;
+				}
+			}
+			return rtnStr;
+		}
+		//正火结果
+		private string GetCHeatDealCondition()
+		{
+			string rtnStr = "";
+			if(this.chk_HeatDeal.Checked)
+			{
+				switch(StorageBaseClass.CheckNullStr(this.cmb_HeatDeal.Value))
+				{
+					case "0":
+						rtnStr = " AND A.BILLETID IS NULL ";
+						break;
+					case "1":
+						rtnStr = " AND A.HEATDEAL='1' ";
+						break;
+				}
+			}
+			return rtnStr;
+		}
+		//表面质量
+		private string GetFaceQuanlityCondition()
+		{
+			string rtnStr = "";
+			if(!this.chk_FaceQuanlity.Checked)
+				return "";
+			if(StorageBaseClass.CheckNullStr(this.cmb_FaceQuanlity.Value).Length>0)
+			{
+				rtnStr = " AND A.FACEQUALITY='" + StorageBaseClass.CheckNullStr(this.cmb_FaceQuanlity.Value) + "' ";
+			}
+			return rtnStr;
+		}
+		//缺陷类型
+		private string GetBugReasonCondition()
+		{
+			string rtnStr = "";
+			if(!this.chk_BugReason.Checked)
+				return "";
+			switch(StorageBaseClass.CheckNullStr(this.cmb_BugReason.Value))
+			{
+				case "0":
+					rtnStr = " AND A.BUGREASON IS NULL ";
+					break;
+				case "1":
+					rtnStr = " AND A.BUGREASON IS NOT NULL ";
+					break;
+				case "HB1G":
+					rtnStr = " AND A.BUGREASON LIKE '4124HB1G%' ";
+					break;
+				case "HB1Z":
+					rtnStr = " AND A.BUGREASON LIKE '4124HB1Z%' ";
+					break;
+			}
+			return rtnStr;
+		}
+		//改判原因
+		private string GetDegreeCondition()
+		{
+			string rtnStr = "";
+			if(!this.chk_Degree.Checked)
+				return "";
+			switch(StorageBaseClass.CheckNullStr(this.cmb_Degree.Value))
+			{
+				case "0"://无改判原因
+					rtnStr = " AND (A.DEGRADEREASON IS NULL OR A.DEGRADEREASON='5131HB1000') ";
+					break;
+				case "1"://有改判原因
+					rtnStr = " AND A.DEGRADEREASON IS NOT NULL AND A.DEGRADEREASON<>'5131HB1000' ";
+					break;
+				case "HB1G"://工艺改判
+					rtnStr = " AND A.DEGRADEREASON IS NOT NULL AND A.DEGRADEREASON<>'5131HB1000' AND INSTR(A.DEGRADEREASON,'HB1Z')>0 AND A.DEGRADEREASON NOT LIKE '5131HB1Z20%' AND A.DEGRADEREASON NOT LIKE '5131HB1Z13%' AND A.DEGRADEREASON NOT LIKE '5131HB1Z14%' ";
+					break;
+				case "HB1Z"://钢质改判
+					rtnStr = " AND A.DEGRADEREASON IS NOT NULL AND A.DEGRADEREASON<>'5131HB1000' AND INSTR(A.DEGRADEREASON,'HB1G')>0 AND LENGTH(A.DEGRADEREASON)=10 AND TO_NUMBER(REPLACE(A.DEGRADEREASON,'5131HB1G',''))>=4 ";
+					break;
+				case "3"://规格改判
+					rtnStr = " AND (A.DEGRADEREASON LIKE '5131HB1G01%' OR (A.DEGRADEREASON LIKE '5131HB1G03%' OR A.DEGRADEREASON='5131HB1Z20') OR (A.DEGRADEREASON LIKE '5131HB1G02%' OR A.DEGRADEREASON LIKE '5131HB1Z14%' OR A.DEGRADEREASON LIKE '5131HB1Z13%')) ";
+					break;
+			}
+			return rtnStr;
+		}
+		//定尺方式
+		private string GetRoleCondition()
+		{
+			try
+			{
+				if(this.chk_RoleQuery.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckNullStr(this.cmb_Role.Value).Length>0)
+					{
+                        rtnStr = " AND A.RULE ='" + StorageBaseClass.CheckNullStr(this.cmb_Role.Value) + "' ";
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//切边方式
+		private string GetCutSideCondition()
+		{
+			try
+			{
+				if(this.chk_CutSide.Checked)
+				{
+					string rtnStr = "";
+					if(this.cmb_CutSide.Text.Trim().Length>0)
+					{
+                        rtnStr = " AND A.CLIPTYPEPROCESS ='" + StorageBaseClass.CheckNullStr(this.cmb_CutSide.Value) + "' ";
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//计划品
+		private string GetPlanCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_InPlan.Checked)
+				{
+					rtnStr = " AND A.ORDERNO=C.ORDERNO";
+					return rtnStr;
+				}
+				if(this.chk_OutPlan.Checked)
+				{
+					rtnStr = " AND (A.ORDERNO IS NULL OR A.ORDERNO='' OR INSTR(A.ORDERNO,'Q')>0) AND A.ORDERNO=C.ORDERNO(+) ";
+					return rtnStr;
+				}
+//				if(this.chk_ClearStorage.Checked)
+//				{
+//					rtnStr = " AND A.ISCLEAR='1' AND A.ORDERNO=C.ORDERNO(+) ";
+//					return rtnStr;
+//				}
+			
+				rtnStr = " AND A.ORDERNO=C.ORDERNO(+)";
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//判定结果
+		private string GetResultCondition()
+		{
+			if(this.chk_Result.Checked)
+			{
+				string rtnStr = "";
+				if(this.cmb_Result.Text.Trim().Length==0)
+				{
+					rtnStr = " AND (A.DETERMINANTRESULT='40140102' OR A.DETERMINANTRESULT IS NULL) ";
+				}
+				else if(StorageBaseClass.CheckNullStr(this.cmb_Result.Value) == "401400")
+				{
+					rtnStr =  " AND (A.DETERMINANTRESULT='40140102' OR A.DETERMINANTRESULT IS NULL) ";
+				}
+				else if(StorageBaseClass.CheckNullStr(this.cmb_Result.Value) == "401401")
+				{
+					rtnStr = " AND (A.DETERMINANTRESULT LIKE '401401%' AND A.DETERMINANTRESULT<>'40140102') ";
+				}
+				else if(StorageBaseClass.CheckNullStr(this.cmb_Result.Value) == "401402")
+				{
+					rtnStr = " AND A.DETERMINANTRESULT LIKE '401402%' ";
+				}
+				else if(StorageBaseClass.CheckNullStr(this.cmb_Result.Value) == "401403")
+				{
+					rtnStr = " AND A.DETERMINANTRESULT LIKE '401403%' "; 
+				}
+				else
+				{
+					rtnStr = " AND A.DETERMINANTRESULT='"+StorageBaseClass.CheckNullStr(this.cmb_Result.Value)+"' ";
+				}
+				return rtnStr;
+			}
+			return "";
+		}
+		
+		//虚拟货位
+		private string GetDummyButtressCondition()
+		{
+			string rtnStr = "";
+			if(!this.chk_DummyButtress.Checked)
+			{
+				rtnStr = " AND B.AREA!='虚拟区域' ";
+				return rtnStr;
+			}
+			return "";
+		}
+		//预装货位
+		private string GetBeforeSendCondition()
+		{
+			string rtnStr = "";
+			if(!this.Chk_BeforeSend.Checked)
+			{
+				rtnStr = " AND B.AREA!='预装车区域' ";
+				return rtnStr;
+			}
+			return "";
+		}
+		//未入堆
+		private string GetNotInButtress()
+		{
+			string rtnStr = "";
+			if(!this.chk_NotInButtress.Checked)
+			{
+				rtnStr = " AND B.AREA!='临时区域' ";
+				return rtnStr;
+			}
+			return "";
+		}
+		//入库时间
+		private string GetInStorageDate()
+		{
+			string rtnStr = "";
+			if(this.chk_InStorageTime.Checked)
+			{
+
+                rtnStr = " AND TO_CHAR(A.INTIME,'YYYYMMDD')>='" + Convert.ToDateTime(this.Dte_Begin.Value).ToString("yyyyMMdd") + "' "
+                        + " AND TO_CHAR(A.INTIME,'YYYYMMDD')<='" + Convert.ToDateTime(this.Dte_End.Value).ToString("yyyyMMdd") + "' ";
+			}
+			return rtnStr;
+		}
+		//计划订单
+		private string GetPlanOrder()
+		{
+			string rtnStr = "";
+			if(this.chk_PlanOrder.Checked && this.txt_PlanOrder.Text.Length>0)
+			{
+
+                rtnStr = " AND A.PLANORDERNO LIKE '" + this.txt_PlanOrder.Text + "%' ";
+			}
+			return rtnStr;
+		}
+		//分配订单
+		private string GetNPlanOrder()
+		{
+			string rtnStr = "";
+			if(this.chk_NPlanOrder.Checked && this.txt_NPlanOrder.Text.Length>0)
+			{
+				
+				rtnStr = " AND A.ORDERNO LIKE '"+this.txt_NPlanOrder.Text+"%' ";
+			}
+			return rtnStr;
+		}
+		//生产时间
+		private string GetPrdStorageDate()
+		{
+			string rtnStr = "";
+			if(this.Chk_PrdTime.Checked)
+			{
+
+                rtnStr = " AND TO_CHAR(A.PTIME,'YYYYMMDD')>='" + Convert.ToDateTime(this.Dte_PrdBegin.Value).ToString("yyyyMMdd") + "' "
+                        + " AND TO_CHAR(A.PTIME,'YYYYMMDD')<='" + Convert.ToDateTime(this.Dte_PrdEnd.Value).ToString("yyyyMMdd") + "' ";
+			}
+			return rtnStr;
+		}
+		//吊号
+		private string GetCondoleCondition()
+		{
+			string rtnStr = "";
+			if(this.Chk_Condole.Checked)
+			{
+				rtnStr = " AND B.CONDOLENUMBER LIKE '%" + this.Txt_Condole.Text + "%' ";
+				return rtnStr;
+			}
+			return "";
+		}
+		#endregion
+
+		#region "Text Event"
+		private void txt_PactNO_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData == System.Windows.Forms.Keys.Return && this.txt_PactNO.Text.Trim().Length>0)
+				{
+					System.Data.DataRow[] rows = this._MyDataSet.Tables["KCH_PACTNO"].Select("PACTNO='"+this.txt_PactNO.Text.Trim()+"'");
+					if(rows.Length == 0)
+					{
+						this.Grd_PactNO.DisplayLayout.Bands[0].AddNew();
+						this.Grd_PactNO.ActiveRow.Cells["PACTNO"].Value = this.txt_PactNO.Text.Trim();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region ComBobox Event"
+		private void cmb_SteelName_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData == System.Windows.Forms.Keys.Return && this.cmb_SteelName.Text.Trim().Length>0)
+				{
+					
+					System.Data.DataRow[] rows = this._MyDataSet.Tables["KCH_STEELNAME"].Select("STEELNAME='"+this.cmb_SteelName.Text.Trim()+"'");
+					if(rows.Length == 0)
+					{
+						this.grd_SteelName.DisplayLayout.Bands[0].AddNew();
+						this.grd_SteelName.ActiveRow.Cells["STEELNAME"].Value = this.cmb_SteelName.Text.Trim();
+						this.grd_SteelName.UpdateData();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void cmb_Buttress_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData == System.Windows.Forms.Keys.Return && StorageBaseClass.CheckNullStr(this.cmb_Buttress.Value).Length>0)
+				{
+					System.Data.DataRow[] rows = this._MyDataSet.Tables["KCH_BUTTRESS"].Select("BUTTRESSCODE='"+this.cmb_Buttress.Value.ToString()+"'");
+					if(rows.Length == 0)
+					{
+						this.Grd_Buttress.DisplayLayout.Bands[0].AddNew();
+						this.Grd_Buttress.ActiveRow.Cells["BUTTRESS"].Value = this.cmb_Buttress.Text.ToString();
+						this.Grd_Buttress.ActiveRow.Cells["BUTTRESSCODE"].Value = this.cmb_Buttress.Value.ToString();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region "Grid Event"
+		private void grd_SteelName_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+		{
+			try
+			{
+				if(this.grd_SteelName.ActiveRow != null)
+				{
+					this.grd_SteelName.ActiveRow.Delete(false);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Grd_Buttress_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+		{
+			try
+			{
+				if(this.Grd_Buttress.ActiveRow!=null)
+				{
+					this.Grd_Buttress.ActiveRow.Delete(false);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Grd_PactNO_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+		{
+			try
+			{
+				if(this.Grd_PactNO.ActiveRow!=null)
+				{
+					this.Grd_PactNO.ActiveRow.Delete(false);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region "CheckBox Event"
+		private void chk_OutPlan_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if(this.chk_OutPlan.Checked)
+			{
+				this.chk_PlanNO.Checked = false;
+				//this.chk_ClearStorage.Checked = false;
+				this.chk_InPlan.Checked = false;
+			}
+		}
+		private void chk_InPlan_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if(this.chk_InPlan.Checked)
+			{
+				//this.chk_ClearStorage.Checked = false;
+				this.chk_OutPlan.Checked = false;
+			}
+		}
+
+		private void chk_ClearStorage_CheckedChanged(object sender, System.EventArgs e)
+		{
+//			if(this.chk_ClearStorage.Checked)
+//			{
+//				this.chk_InPlan.Checked = false;
+//				this.chk_OutPlan.Checked = false;
+//			}
+		}
+		private void chk_PlanNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if(this.chk_PlanNO.Checked)
+			{
+				this.chk_OutPlan.Checked = false;
+			}
+		}
+		#endregion
+
+		#region "Button Event"
+		private void btn_ButtressManager_Click(object sender, System.EventArgs e)
+		{
+            try
+            {
+                if (Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "付志刚" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "刘裕" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "邱蓉" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "管理员")
+                {
+                    MessageBox.Show("您的权限不能操作!");
+                    return;
+                }
+                Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog frm = new Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog();
+                frm.Plid = "4001ZB1";
+                frm.Ops_Area.Visible = false;
+                frm.ops_PactNO.Visible = false;
+                frm.ops_PactNO1.Visible = false;
+                frm.Ops_Area1.Visible = true;
+                frm.Ops_Area6.Visible = false;
+                frm.CustomSetName = "BUTTRESS";
+                
+                frm.ShowDialog();
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+		}
+		private void btn_CustomPactNO_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+//				Dialog.FrmDummyButtressDialog frm = new Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog();
+//				frm.CustomSetName = "PACT";
+//				frm.ShowDialog();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		
+		}
+		#endregion
+
+		#region "OpSet Event"
+		private void Ops_Area_ValueChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(StorageBaseClass.CheckNullStr(this.Ops_Area.Value).Length>0)
+				{
+					this._MyDataSet.Tables["KCZ_BUTTRESS"].Clear();
+					this._MyDataSet.Tables["KCZ_BUTTRESS"].AcceptChanges();
+					string sql = "SELECT NAME_,MEMO FROM KCH_BASEDATA WHERE SUBSTR(ID_,0,6)='"+StorageBaseClass.CheckNullStr(this.Ops_Area.Value)+"' AND LENGTH(ID_)>6";
+					System.Data.DataTable tab = StorageBaseClass.QueryTable_Sql("KCH_BUTTRESS",sql,"4001ZB1");
+					if(tab!=null && tab.Rows.Count>0)
+					{
+						foreach(System.Data.DataRow row in tab.Rows)
+						{
+							this.Grd_Buttress.DisplayLayout.Bands[0].AddNew();
+							this.Grd_Buttress.ActiveRow.Cells["BUTTRESS"].Value = row["MEMO"].ToString();
+							this.Grd_Buttress.ActiveRow.Cells["BUTTRESSCODE"].Value = row["NAME_"].ToString();
+						}
+						this.Grd_Buttress.UpdateData();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+        private void btn_CustomPactNO_Click_1(object sender, EventArgs e)
+        {
+            try
+			{
+                if (Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "付志刚" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "刘裕" & Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName != "邱蓉")
+                {
+                    MessageBox.Show("您的权限不能操作!");
+                    return;
+                }
+				Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog frm = new Core.XgMes.Client.TurnoffReport.Dialog.FrmDummyButtressDialog();
+                frm.Plid = "4001ZB1";
+				frm.CustomSetName = "PACT";
+                frm.Ops_Area.Visible = false;
+                frm.Ops_Area1.Visible = false;
+                frm.ops_PactNO.Visible = false;
+                frm.ops_PactNO1.Visible = true;               
+
+				frm.ShowDialog();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+        }
+		#endregion
+
+	}
+}

+ 1508 - 0
Client/.svn/pristine/15/15ab030448fdf94167db0f261750da0eaf22b1a4.svn-base

@@ -0,0 +1,1508 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using  System.Runtime.InteropServices;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// CPButtressQuery 的摘要说明。
+	/// </summary>
+	public class CPButtressQuery : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ID;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollBegin;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollEnd;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNo;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PiHao;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buttress;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Sleen;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QuYu;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNo;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PiHao;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private System.Data.DataSet ds_All;
+		private System.Data.DataTable dataTable1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_License;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_LicenseManrk;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Num;
+		private System.Data.DataColumn dataColumn1;
+		private System.Data.DataColumn dataColumn2;
+		private System.Data.DataColumn dataColumn3;
+		private System.Data.DataColumn dataColumn4;
+		private System.Data.DataColumn dataColumn5;
+		private System.Data.DataColumn dataColumn6;
+		private System.Data.DataColumn dataColumn7;
+		private System.Data.DataColumn dataColumn8;
+		private System.Data.DataColumn dataColumn9;
+		private System.Data.DataColumn dataColumn10;
+		private System.Data.DataColumn dataColumn12;
+		private System.Data.DataColumn dataColumn13;
+		private System.Data.DataColumn dataColumn14;
+		private System.Data.DataColumn dataColumn15;
+		private System.Data.DataColumn dataColumn16;
+		private System.Data.DataColumn dataColumn17;
+		private System.Data.DataColumn dataColumn11;
+		private System.Data.DataColumn dataColumn18;
+		private System.Data.DataColumn dataColumn19;
+        private System.Data.DataColumn dataColumn20;
+        private DataColumn dataColumn21;
+		private System.ComponentModel.IContainer components;
+
+		public CPButtressQuery()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINTBQ");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINTBQ");
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ3_TURNOFFLIST", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("gg");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIMENAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPM_CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 3, true, "KCJ3_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 3, true);
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 4, true, "KCJ3_TURNOFFLIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 4, true);
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.txt_Num = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_LicenseManrk = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_License = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_QuYu = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Sleen = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PiHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_ID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ds_All = new System.Data.DataSet();
+            this.dataTable1 = new System.Data.DataTable();
+            this.dataColumn1 = new System.Data.DataColumn();
+            this.dataColumn2 = new System.Data.DataColumn();
+            this.dataColumn3 = new System.Data.DataColumn();
+            this.dataColumn4 = new System.Data.DataColumn();
+            this.dataColumn5 = new System.Data.DataColumn();
+            this.dataColumn6 = new System.Data.DataColumn();
+            this.dataColumn7 = new System.Data.DataColumn();
+            this.dataColumn8 = new System.Data.DataColumn();
+            this.dataColumn9 = new System.Data.DataColumn();
+            this.dataColumn10 = new System.Data.DataColumn();
+            this.dataColumn12 = new System.Data.DataColumn();
+            this.dataColumn13 = new System.Data.DataColumn();
+            this.dataColumn14 = new System.Data.DataColumn();
+            this.dataColumn15 = new System.Data.DataColumn();
+            this.dataColumn16 = new System.Data.DataColumn();
+            this.dataColumn17 = new System.Data.DataColumn();
+            this.dataColumn11 = new System.Data.DataColumn();
+            this.dataColumn18 = new System.Data.DataColumn();
+            this.dataColumn19 = new System.Data.DataColumn();
+            this.dataColumn20 = new System.Data.DataColumn();
+            this.dataColumn21 = new System.Data.DataColumn();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit();
+            this.ultraGroupBox3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LicenseManrk)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_License)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1120, 32);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 5);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool6.SharedProps.Caption = "查询";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool7.SharedProps.Caption = "导出";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "关闭";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "打印台帐";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "打印标签";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool6,
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1120, 27);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 5);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1120, 27);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1120, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.ultraGroupBox3);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel15);
+            this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
+            this.ultraGroupBox1.Controls.Add(this.chk_QuYu);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
+            this.ultraGroupBox1.Controls.Add(this.chk_Sleen);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buttress);
+            this.ultraGroupBox1.Controls.Add(this.chk_Buttress);
+            this.ultraGroupBox1.Controls.Add(this.txt_PiHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_PiHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanNo);
+            this.ultraGroupBox1.Controls.Add(this.chk_PlanNo);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollEnd);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollBegin);
+            this.ultraGroupBox1.Controls.Add(this.chk_ID);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1120, 82);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // ultraGroupBox3
+            // 
+            this.ultraGroupBox3.Controls.Add(this.txt_Num);
+            this.ultraGroupBox3.Controls.Add(this.ultraLabel3);
+            this.ultraGroupBox3.Controls.Add(this.txt_LicenseManrk);
+            this.ultraGroupBox3.Controls.Add(this.ultraLabel2);
+            this.ultraGroupBox3.Controls.Add(this.txt_License);
+            this.ultraGroupBox3.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox3.Dock = System.Windows.Forms.DockStyle.Right;
+            this.ultraGroupBox3.Location = new System.Drawing.Point(733, 2);
+            this.ultraGroupBox3.Name = "ultraGroupBox3";
+            this.ultraGroupBox3.Size = new System.Drawing.Size(384, 77);
+            this.ultraGroupBox3.SupportThemes = false;
+            this.ultraGroupBox3.TabIndex = 194;
+            this.ultraGroupBox3.Text = "卷板相关信息打印";
+            // 
+            // txt_Num
+            // 
+            this.txt_Num.AutoSize = true;
+            this.txt_Num.Location = new System.Drawing.Point(261, 19);
+            this.txt_Num.Name = "txt_Num";
+            this.txt_Num.Size = new System.Drawing.Size(88, 21);
+            this.txt_Num.TabIndex = 5;
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(208, 24);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 4;
+            this.ultraLabel3.Text = "打印数量";
+            // 
+            // txt_LicenseManrk
+            // 
+            this.txt_LicenseManrk.AutoSize = true;
+            this.txt_LicenseManrk.Location = new System.Drawing.Point(75, 46);
+            this.txt_LicenseManrk.Name = "txt_LicenseManrk";
+            this.txt_LicenseManrk.Size = new System.Drawing.Size(125, 21);
+            this.txt_LicenseManrk.TabIndex = 3;
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(8, 51);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(72, 16);
+            this.ultraLabel2.TabIndex = 2;
+            this.ultraLabel2.Text = "许可证标识";
+            // 
+            // txt_License
+            // 
+            this.txt_License.AutoSize = true;
+            this.txt_License.Location = new System.Drawing.Point(75, 19);
+            this.txt_License.Name = "txt_License";
+            this.txt_License.Size = new System.Drawing.Size(125, 21);
+            this.txt_License.TabIndex = 1;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(8, 24);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 0;
+            this.ultraLabel1.Text = "许可证号";
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(448, 34);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(48, 20);
+            this.chk_SelectAll.TabIndex = 193;
+            this.chk_SelectAll.Text = "过滤";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // ultraLabel15
+            // 
+            appearance1.BackColor = System.Drawing.Color.Blue;
+            this.ultraLabel15.Appearance = appearance1;
+            this.ultraLabel15.Location = new System.Drawing.Point(496, 36);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(103, 16);
+            this.ultraLabel15.TabIndex = 192;
+            this.ultraLabel15.Text = "注意距交货期11天";
+            // 
+            // cmb_QuYu
+            // 
+            this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance2.BackColor = System.Drawing.SystemColors.Window;
+            appearance2.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_QuYu.DisplayLayout.Appearance = appearance2;
+            this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance3.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance3.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance3.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance3;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance4;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance5.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance5.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance5.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance5.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance5;
+            this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance6.BackColor = System.Drawing.SystemColors.Window;
+            appearance6.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance6;
+            appearance7.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance7.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance7;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance8.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance8;
+            appearance9.BorderColor = System.Drawing.Color.Silver;
+            appearance9.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance9;
+            this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
+            appearance10.BackColor = System.Drawing.SystemColors.Control;
+            appearance10.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance10.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance10.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance10.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance10;
+            appearance11.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance11;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance12.BackColor = System.Drawing.SystemColors.Window;
+            appearance12.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance12;
+            this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance13.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance13;
+            this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_QuYu.DisplayMember = "";
+            this.cmb_QuYu.Enabled = false;
+            this.cmb_QuYu.FlatMode = true;
+            this.cmb_QuYu.Location = new System.Drawing.Point(496, 8);
+            this.cmb_QuYu.Name = "cmb_QuYu";
+            this.cmb_QuYu.Size = new System.Drawing.Size(125, 19);
+            this.cmb_QuYu.TabIndex = 15;
+            this.cmb_QuYu.ValueMember = "";
+            // 
+            // chk_QuYu
+            // 
+            this.chk_QuYu.FlatMode = true;
+            this.chk_QuYu.Location = new System.Drawing.Point(448, 9);
+            this.chk_QuYu.Name = "chk_QuYu";
+            this.chk_QuYu.Size = new System.Drawing.Size(48, 20);
+            this.chk_QuYu.TabIndex = 14;
+            this.chk_QuYu.Text = "区域";
+            this.chk_QuYu.CheckedChanged += new System.EventHandler(this.chk_QuYu_CheckedChanged);
+            // 
+            // cmb_Sleen
+            // 
+            this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance14.BackColor = System.Drawing.SystemColors.Window;
+            appearance14.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Sleen.DisplayLayout.Appearance = appearance14;
+            this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance15.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance15.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance15.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance15.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.Appearance = appearance15;
+            appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BandLabelAppearance = appearance16;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance17.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance17.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance17.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.PromptAppearance = appearance17;
+            this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance18.BackColor = System.Drawing.SystemColors.Window;
+            appearance18.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Sleen.DisplayLayout.Override.ActiveCellAppearance = appearance18;
+            appearance19.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance19.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Sleen.DisplayLayout.Override.ActiveRowAppearance = appearance19;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance20.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.Override.CardAreaAppearance = appearance20;
+            appearance21.BorderColor = System.Drawing.Color.Silver;
+            appearance21.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Sleen.DisplayLayout.Override.CellAppearance = appearance21;
+            this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
+            appearance22.BackColor = System.Drawing.SystemColors.Control;
+            appearance22.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance22.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance22.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.Override.GroupByRowAppearance = appearance22;
+            appearance23.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderAppearance = appearance23;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance24.BackColor = System.Drawing.SystemColors.Window;
+            appearance24.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Sleen.DisplayLayout.Override.RowAppearance = appearance24;
+            this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance25.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Sleen.DisplayLayout.Override.TemplateAddRowAppearance = appearance25;
+            this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Sleen.DisplayMember = "";
+            this.cmb_Sleen.Enabled = false;
+            this.cmb_Sleen.FlatMode = true;
+            this.cmb_Sleen.Location = new System.Drawing.Point(80, 56);
+            this.cmb_Sleen.Name = "cmb_Sleen";
+            this.cmb_Sleen.Size = new System.Drawing.Size(160, 19);
+            this.cmb_Sleen.TabIndex = 13;
+            this.cmb_Sleen.ValueMember = "";
+            // 
+            // chk_Sleen
+            // 
+            this.chk_Sleen.FlatMode = true;
+            this.chk_Sleen.Location = new System.Drawing.Point(8, 56);
+            this.chk_Sleen.Name = "chk_Sleen";
+            this.chk_Sleen.Size = new System.Drawing.Size(48, 20);
+            this.chk_Sleen.TabIndex = 12;
+            this.chk_Sleen.Text = "牌号";
+            this.chk_Sleen.CheckedChanged += new System.EventHandler(this.chk_Sleen_CheckedChanged);
+            // 
+            // cmb_Buttress
+            // 
+            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance26.BackColor = System.Drawing.SystemColors.Window;
+            appearance26.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Buttress.DisplayLayout.Appearance = appearance26;
+            this.cmb_Buttress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Buttress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance27.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance27.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.Appearance = appearance27;
+            appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance28;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance29.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance29.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance29.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance29.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Buttress.DisplayLayout.GroupByBox.PromptAppearance = appearance29;
+            this.cmb_Buttress.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Buttress.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance30.BackColor = System.Drawing.SystemColors.Window;
+            appearance30.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Buttress.DisplayLayout.Override.ActiveCellAppearance = appearance30;
+            appearance31.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance31.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Buttress.DisplayLayout.Override.ActiveRowAppearance = appearance31;
+            this.cmb_Buttress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Buttress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance32.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buttress.DisplayLayout.Override.CardAreaAppearance = appearance32;
+            appearance33.BorderColor = System.Drawing.Color.Silver;
+            appearance33.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Buttress.DisplayLayout.Override.CellAppearance = appearance33;
+            this.cmb_Buttress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Buttress.DisplayLayout.Override.CellPadding = 0;
+            appearance34.BackColor = System.Drawing.SystemColors.Control;
+            appearance34.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance34.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance34.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance34.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buttress.DisplayLayout.Override.GroupByRowAppearance = appearance34;
+            appearance35.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Buttress.DisplayLayout.Override.HeaderAppearance = appearance35;
+            this.cmb_Buttress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Buttress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance36.BackColor = System.Drawing.SystemColors.Window;
+            appearance36.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Buttress.DisplayLayout.Override.RowAppearance = appearance36;
+            this.cmb_Buttress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance37.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Buttress.DisplayLayout.Override.TemplateAddRowAppearance = appearance37;
+            this.cmb_Buttress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Buttress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Buttress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Buttress.DisplayMember = "";
+            this.cmb_Buttress.Enabled = false;
+            this.cmb_Buttress.FlatMode = true;
+            this.cmb_Buttress.Location = new System.Drawing.Point(307, 56);
+            this.cmb_Buttress.Name = "cmb_Buttress";
+            this.cmb_Buttress.Size = new System.Drawing.Size(125, 19);
+            this.cmb_Buttress.TabIndex = 11;
+            this.cmb_Buttress.ValueMember = "";
+            // 
+            // chk_Buttress
+            // 
+            this.chk_Buttress.FlatMode = true;
+            this.chk_Buttress.Location = new System.Drawing.Point(250, 56);
+            this.chk_Buttress.Name = "chk_Buttress";
+            this.chk_Buttress.Size = new System.Drawing.Size(48, 20);
+            this.chk_Buttress.TabIndex = 10;
+            this.chk_Buttress.Text = "垛位";
+            this.chk_Buttress.CheckedChanged += new System.EventHandler(this.chk_Buttress_CheckedChanged);
+            // 
+            // txt_PiHao
+            // 
+            this.txt_PiHao.AutoSize = true;
+            this.txt_PiHao.Enabled = false;
+            this.txt_PiHao.FlatMode = true;
+            this.txt_PiHao.Location = new System.Drawing.Point(307, 33);
+            this.txt_PiHao.Name = "txt_PiHao";
+            this.txt_PiHao.Size = new System.Drawing.Size(125, 19);
+            this.txt_PiHao.TabIndex = 9;
+            // 
+            // chk_PiHao
+            // 
+            this.chk_PiHao.FlatMode = true;
+            this.chk_PiHao.Location = new System.Drawing.Point(250, 34);
+            this.chk_PiHao.Name = "chk_PiHao";
+            this.chk_PiHao.Size = new System.Drawing.Size(64, 20);
+            this.chk_PiHao.TabIndex = 8;
+            this.chk_PiHao.Text = "批号";
+            this.chk_PiHao.CheckedChanged += new System.EventHandler(this.chk_PiHao_CheckedChanged);
+            // 
+            // txt_GangJuan
+            // 
+            this.txt_GangJuan.AutoSize = true;
+            this.txt_GangJuan.Enabled = false;
+            this.txt_GangJuan.FlatMode = true;
+            this.txt_GangJuan.Location = new System.Drawing.Point(307, 8);
+            this.txt_GangJuan.Name = "txt_GangJuan";
+            this.txt_GangJuan.Size = new System.Drawing.Size(125, 19);
+            this.txt_GangJuan.TabIndex = 7;
+            // 
+            // chk_GangJuan
+            // 
+            this.chk_GangJuan.FlatMode = true;
+            this.chk_GangJuan.Location = new System.Drawing.Point(250, 9);
+            this.chk_GangJuan.Name = "chk_GangJuan";
+            this.chk_GangJuan.Size = new System.Drawing.Size(64, 20);
+            this.chk_GangJuan.TabIndex = 6;
+            this.chk_GangJuan.Text = "钢卷号";
+            this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
+            // 
+            // txt_PlanNo
+            // 
+            this.txt_PlanNo.AutoSize = true;
+            this.txt_PlanNo.Enabled = false;
+            this.txt_PlanNo.FlatMode = true;
+            this.txt_PlanNo.Location = new System.Drawing.Point(80, 32);
+            this.txt_PlanNo.Name = "txt_PlanNo";
+            this.txt_PlanNo.Size = new System.Drawing.Size(160, 19);
+            this.txt_PlanNo.TabIndex = 5;
+            // 
+            // chk_PlanNo
+            // 
+            this.chk_PlanNo.FlatMode = true;
+            this.chk_PlanNo.Location = new System.Drawing.Point(8, 34);
+            this.chk_PlanNo.Name = "chk_PlanNo";
+            this.chk_PlanNo.Size = new System.Drawing.Size(64, 20);
+            this.chk_PlanNo.TabIndex = 4;
+            this.chk_PlanNo.Text = "合同号";
+            this.chk_PlanNo.CheckedChanged += new System.EventHandler(this.chk_PlanNo_CheckedChanged);
+            // 
+            // txt_RollEnd
+            // 
+            this.txt_RollEnd.AutoSize = true;
+            this.txt_RollEnd.Enabled = false;
+            this.txt_RollEnd.FlatMode = true;
+            this.txt_RollEnd.Location = new System.Drawing.Point(199, 8);
+            this.txt_RollEnd.Name = "txt_RollEnd";
+            this.txt_RollEnd.Size = new System.Drawing.Size(41, 19);
+            this.txt_RollEnd.TabIndex = 3;
+            // 
+            // txt_RollTop
+            // 
+            this.txt_RollTop.AutoSize = true;
+            this.txt_RollTop.Enabled = false;
+            this.txt_RollTop.FlatMode = true;
+            this.txt_RollTop.Location = new System.Drawing.Point(106, 8);
+            this.txt_RollTop.Name = "txt_RollTop";
+            this.txt_RollTop.Size = new System.Drawing.Size(94, 19);
+            this.txt_RollTop.TabIndex = 2;
+            // 
+            // txt_RollBegin
+            // 
+            this.txt_RollBegin.AutoSize = true;
+            this.txt_RollBegin.Enabled = false;
+            this.txt_RollBegin.FlatMode = true;
+            this.txt_RollBegin.Location = new System.Drawing.Point(80, 8);
+            this.txt_RollBegin.Name = "txt_RollBegin";
+            this.txt_RollBegin.Size = new System.Drawing.Size(32, 19);
+            this.txt_RollBegin.TabIndex = 1;
+            // 
+            // chk_ID
+            // 
+            this.chk_ID.FlatMode = true;
+            this.chk_ID.Location = new System.Drawing.Point(8, 9);
+            this.chk_ID.Name = "chk_ID";
+            this.chk_ID.Size = new System.Drawing.Size(72, 20);
+            this.chk_ID.TabIndex = 0;
+            this.chk_ID.Text = "卷板包号";
+            this.chk_ID.CheckedChanged += new System.EventHandler(this.chk_ID_CheckedChanged);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.gb_Turn);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 114);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1120, 412);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 2;
+            // 
+            // gb_Turn
+            // 
+            this.gb_Turn.DataSource = this.ds_All;
+            appearance38.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Turn.DisplayLayout.Appearance = appearance38;
+            ultraGridColumn1.Header.Caption = "卷板包号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(121, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "牌号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "规格";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "数量";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "重量";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "综合判定";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "合同号";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(139, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "垛位";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "系统备注";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "批号";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "钢卷号";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(132, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "生产时间";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "登记人";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "执行标准";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "区域";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "备注";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(112, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "登记时间";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.Hidden = true;
+            ultraGridColumn19.Header.Caption = "交货期";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.Hidden = true;
+            ultraGridColumn21.Header.Caption = "面积";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21});
+            appearance39.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance39;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}块";
+            summarySettings1.GroupBySummaryValueAppearance = appearance40;
+            summarySettings2.DisplayFormat = "{0}吨";
+            summarySettings2.GroupBySummaryValueAppearance = appearance41;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance42.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance42.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance42.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance42.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Turn.DisplayLayout.GroupByBox.Appearance = appearance42;
+            appearance43.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Turn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance43;
+            this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance44.BackColor = System.Drawing.SystemColors.Window;
+            appearance44.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Turn.DisplayLayout.Override.ActiveCellAppearance = appearance44;
+            appearance45.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance45.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Turn.DisplayLayout.Override.ActiveRowAppearance = appearance45;
+            appearance46.BorderColor = System.Drawing.Color.Black;
+            appearance46.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.CellAppearance = appearance46;
+            this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Turn.DisplayLayout.Override.CellPadding = 0;
+            appearance47.BackColor = System.Drawing.SystemColors.Control;
+            appearance47.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance47.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance47.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance47.BorderColor = System.Drawing.SystemColors.Window;
+            appearance47.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.GroupByRowAppearance = appearance47;
+            this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance48.BackColor = System.Drawing.Color.Silver;
+            this.gb_Turn.DisplayLayout.Override.HeaderAppearance = appearance48;
+            this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance49.BackColor = System.Drawing.SystemColors.Window;
+            appearance49.BorderColor = System.Drawing.Color.Black;
+            appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.RowAppearance = appearance49;
+            appearance50.BackColor = System.Drawing.SystemColors.Window;
+            appearance50.BorderColor = System.Drawing.Color.Black;
+            appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.RowPreviewAppearance = appearance50;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance51.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance51.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.SelectedRowAppearance = appearance51;
+            this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance52.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterAppearance = appearance52;
+            appearance53.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance53.ForeColor = System.Drawing.Color.Red;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance53;
+            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance54.BackColor = System.Drawing.Color.MistyRose;
+            appearance54.ForeColor = System.Drawing.Color.Blue;
+            appearance54.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turn.DisplayLayout.Override.SummaryValueAppearance = appearance54;
+            appearance55.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Turn.DisplayLayout.Override.TemplateAddRowAppearance = appearance55;
+            this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Turn.Location = new System.Drawing.Point(3, 2);
+            this.gb_Turn.Name = "gb_Turn";
+            this.gb_Turn.Size = new System.Drawing.Size(1114, 407);
+            this.gb_Turn.TabIndex = 0;
+            this.gb_Turn.Text = "ultraGrid1";
+            this.gb_Turn.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gb_Turn_InitializeRow);
+            // 
+            // ds_All
+            // 
+            this.ds_All.DataSetName = "NewDataSet";
+            this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
+            this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
+            this.dataTable1});
+            // 
+            // dataTable1
+            // 
+            this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn1,
+            this.dataColumn2,
+            this.dataColumn3,
+            this.dataColumn4,
+            this.dataColumn5,
+            this.dataColumn6,
+            this.dataColumn7,
+            this.dataColumn8,
+            this.dataColumn9,
+            this.dataColumn10,
+            this.dataColumn12,
+            this.dataColumn13,
+            this.dataColumn14,
+            this.dataColumn15,
+            this.dataColumn16,
+            this.dataColumn17,
+            this.dataColumn11,
+            this.dataColumn18,
+            this.dataColumn19,
+            this.dataColumn20,
+            this.dataColumn21});
+            this.dataTable1.TableName = "KCJ3_TURNOFFLIST";
+            // 
+            // dataColumn1
+            // 
+            this.dataColumn1.ColumnName = "COIL_NO_ID";
+            // 
+            // dataColumn2
+            // 
+            this.dataColumn2.ColumnName = "STL_GRD";
+            // 
+            // dataColumn3
+            // 
+            this.dataColumn3.ColumnName = "gg";
+            // 
+            // dataColumn4
+            // 
+            this.dataColumn4.ColumnName = "ZSLAB_NUM";
+            this.dataColumn4.DataType = typeof(decimal);
+            // 
+            // dataColumn5
+            // 
+            this.dataColumn5.ColumnName = "ZSLAB_WEIGHT";
+            this.dataColumn5.DataType = typeof(decimal);
+            // 
+            // dataColumn6
+            // 
+            this.dataColumn6.ColumnName = "TOT_DEC_GRD";
+            // 
+            // dataColumn7
+            // 
+            this.dataColumn7.ColumnName = "ORD_NO";
+            // 
+            // dataColumn8
+            // 
+            this.dataColumn8.ColumnName = "NOW_BUTTRESS";
+            // 
+            // dataColumn9
+            // 
+            this.dataColumn9.ColumnName = "REMARK";
+            // 
+            // dataColumn10
+            // 
+            this.dataColumn10.ColumnName = "BAHCT_NUMBER";
+            // 
+            // dataColumn12
+            // 
+            this.dataColumn12.ColumnName = "OLD_SAMPL_NO";
+            // 
+            // dataColumn13
+            // 
+            this.dataColumn13.ColumnName = "PCTIME";
+            this.dataColumn13.DataType = typeof(System.DateTime);
+            // 
+            // dataColumn14
+            // 
+            this.dataColumn14.ColumnName = "CREATOR";
+            // 
+            // dataColumn15
+            // 
+            this.dataColumn15.ColumnName = "SX_BIAOZHUN";
+            // 
+            // dataColumn16
+            // 
+            this.dataColumn16.ColumnName = "AREA";
+            // 
+            // dataColumn17
+            // 
+            this.dataColumn17.ColumnName = "REM";
+            // 
+            // dataColumn11
+            // 
+            this.dataColumn11.ColumnName = "TIMENAME";
+            this.dataColumn11.DataType = typeof(System.DateTime);
+            // 
+            // dataColumn18
+            // 
+            this.dataColumn18.ColumnName = "SPM_CRK_CD1";
+            // 
+            // dataColumn19
+            // 
+            this.dataColumn19.ColumnName = "DEVLMT_DTIME";
+            // 
+            // dataColumn20
+            // 
+            this.dataColumn20.ColumnName = "CREATETIME";
+            this.dataColumn20.DataType = typeof(System.DateTime);
+            // 
+            // dataColumn21
+            // 
+            this.dataColumn21.ColumnName = "MJ";
+            this.dataColumn21.DataType = typeof(decimal);
+            // 
+            // CPButtressQuery
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1120, 526);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "CPButtressQuery";
+            this.Text = " 成品堆位信息查询";
+            this.Load += new System.EventHandler(this.CPButtressQuery_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit();
+            this.ultraGroupBox3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LicenseManrk)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_License)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dataTable1)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		private void chk_ID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_RollBegin.Enabled=this.chk_ID.Checked;
+			this.txt_RollEnd.Enabled=this.chk_ID.Checked;
+			this.txt_RollTop.Enabled=this.chk_ID.Checked;
+		}
+
+		private void chk_PlanNo_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanNo.Enabled=this.chk_PlanNo.Checked;
+		}
+
+		private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
+		}
+
+		private void chk_PiHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PiHao.Enabled=this.chk_PiHao.Checked;
+		}
+
+		private void chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Buttress.Enabled=this.chk_Buttress.Checked;
+		}
+
+		private void chk_Sleen_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Sleen.Enabled=this.chk_Sleen.Checked;
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "QUERY":
+					this.ButtressQuery(this.getWhere());
+					break;
+				case "DUCE":
+					this.ExportButtressInfo();
+					break;
+				case "CLOSE":
+					this.Close();
+					break;
+				case "TAIZH":
+					PrintGrid();
+					break;
+				case "PRINTBQ":
+					Print_Log();
+					break;
+			}
+		}
+		private string getWhere()
+		{
+			string strSql="";
+			if(this.chk_ID.Checked)
+			{
+				strSql+=" AND A.COIL_NO_ID='"+this.txt_RollBegin.Text+"-"+this.txt_RollTop.Text+"-"+this.txt_RollEnd.Text+"'";
+			}
+			if(this.chk_PiHao.Checked)
+			{
+				strSql+=" AND A.BAHCT_NUMBER='"+this.txt_PiHao.Text+"'";
+			}
+			if(this.chk_Buttress.Checked)
+			{
+				strSql+=" AND C.NOW_BUTTRESS='"+this.cmb_Buttress.Text+"'";
+			}
+			if(this.chk_GangJuan.Checked)
+			{
+				strSql+=" AND C.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'";
+			}
+			if(this.chk_PlanNo.Checked)
+			{
+				strSql+=" AND A.ORD_NO='"+this.txt_PlanNo.Text+"'";
+			}
+			if(this.chk_QuYu.Checked)
+			{
+				if(this.cmb_QuYu.Text.Trim()=="4#库")
+				{
+					strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
+				}
+				else
+				{
+					strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
+				}
+			}
+			if(this.chk_Sleen.Checked)
+			{
+				strSql+=" AND A.STL_GRD='"+this.cmb_Sleen.Text+"'";
+			}
+			return strSql;
+		}
+		private void ButtressQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+				this.ds_All.Tables["KCJ3_TURNOFFLIST"].Clear();
+				DataSet ds=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.CPButtressQuery","CPBuressQuery",new object[]{_Conntion},out strOut);
+				if(strOut=="")
+				{
+					this.ds_All.Merge(ds);
+					this.ds_All.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
+					Comm.SetGridSumArea(this.gb_Turn);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_SelectAll.Checked)
+				{
+					this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Turn.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Turn.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Turn.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Turn.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Turn,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无垛位信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+
+		private void gb_Turn_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
+		{
+			if(Comm.ObjToStr(e.Row.Cells["DEVLMT_DTIME"].Value) != "")
+			{
+				if (DateTime.Today.AddDays(11).ToString("yyyy-MM-dd").CompareTo(Comm.ObjToStr(e.Row.Cells["DEVLMT_DTIME"].Value)) >= 0)
+				{
+					e.Row.Cells["DEVLMT_DTIME"].Appearance.BackColor = Color.Blue;
+				
+				}
+			}
+		}
+		private void PrintGrid()
+		{
+			FrmPrint print=new FrmPrint();
+			print.UltraGrid = this.gb_Turn;
+			print.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buttress.Text);
+			print.UCGridPrint.SubHeadRightText ="打印日期:"+System.DateTime.Now.Date.ToString("yyyy-MM-dd");
+			print.UCGridPrint.HeadText ="板材卷板成品堆垛实物反映表";
+			//			frmPrint.UCGridPrint.SubFootLeftText = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+			
+			print.UCGridPrint.ColumnList["卷板包号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["牌号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["规格"].IsSelected = true;
+			print.UCGridPrint.ColumnList["数量"].IsSelected = true;
+			print.UCGridPrint.ColumnList["重量"].IsSelected = true;
+			print.UCGridPrint.ColumnList["综合判定"].IsSelected = false;
+			print.UCGridPrint.ColumnList["合同号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["垛位"].IsSelected = true;
+			print.UCGridPrint.ColumnList["备注"].IsSelected = true;
+			
+			print.ShowDialog();
+		}
+
+		private void CPButtressQuery_Load(object sender, System.EventArgs e)
+		{
+			string strOut="";
+			string sql="";
+			DataSet ds =null;
+            sql = "select areacode from kcj_area_ZW  where isvalid='1' AND AREACODE='对外加工(卷板)'  ";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_AREA";
+
+			Comm.Init_ComboControl(this.cmb_QuYu,"KCJ_AREA","AREACODE","AREACODE",ref ds);
+
+			//堆位
+            sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)'  ORDER BY BUTTRESSCODE ASC";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+			Comm.Init_ComboControl(this.cmb_Buttress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+
+			Comm.SetGridSumArea(this.gb_Turn);
+		}
+
+		private void chk_QuYu_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_QuYu.Enabled=this.chk_QuYu.Checked;
+		}
+
+
+		//开平板打印标签
+		[DllImport("HorusDC.dll",EntryPoint= "OutToPrint")]
+		private static extern int OutToPrint(int Qty/*打印张数*/);
+
+		[DllImport("HorusDC.dll",EntryPoint= "StartPrint")]
+		private static extern void StartPrint(string unit,int dotsize_w,int dotsize_h,int heat/*温度*/);
+
+		[DllImport("HorusDC.dll",EntryPoint= "TextTo")]
+		private static extern void TextTo(string printdata);
+
+		private void Print_Log()
+		{
+			try
+			{
+	            StartPrint("m",1,1,26);
+
+				if(this.gb_Turn.Selected.Rows.Count>0)
+				{
+					
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Turn.Selected.Rows)
+					{
+						TextTo(this.txt_License.Text.Trim().ToString());
+						TextTo(this.txt_LicenseManrk.Text.Trim());
+						TextTo(row.Cells["CREATOR"].Text.Trim());
+						TextTo(row.Cells["PCTIME"].Text);
+						TextTo(row.Cells["ZSLAB_NUM"].Text);
+						TextTo(row.Cells["ORD_NO"].Text);
+						TextTo(row.Cells["ZSLAB_WEIGHT"].Text);
+						TextTo(row.Cells["STOVENO"].Text);
+						TextTo(row.Cells["ZSLAB_PLY"].Text+"*"+row.Cells["ZSLAB_WIDTH"].Text+"*"+row.Cells["ZSLAB_LENGTH"].Text);
+						TextTo(row.Cells["OLD_SAMPL_NO"].Text);
+						TextTo(row.Cells["SX_BIAOZHUN"].Text);
+						TextTo(row.Cells["BAHCT_NUMBER"].Text);
+						TextTo(row.Cells["STL_GRD"].Text);
+						TextTo(row.Cells["COIL_NO_ID"].Text);
+						TextTo(row.Cells["PCTIME"].Text);
+
+						if(OutToPrint(Convert.ToInt32(this.txt_Num.Value))<=0)
+						{
+							MessageBox.Show("打印量不能小于0","提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);	
+							return;
+						}
+					}
+				}
+				else
+				{
+					MessageBox.Show("请选择需打印标签的板块信息!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+	}
+}

BIN
Client/.svn/pristine/17/17798f478b2e022a74c51f18bcbf44e20c27fcfd.svn-base


+ 56 - 0
Client/.svn/pristine/18/18cbcb9f91b2ff0fb740cb79020e17a20ba4cc91.svn-base

@@ -0,0 +1,56 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    public partial class FrmProvlderDialog : Mes.ClientFrameWork.FrmBase
+    {
+        public string strgfdm = "";
+        public string strgfmc = "";
+        public FrmProvlderDialog()
+        {
+            InitializeComponent();
+        }
+
+
+        public void Init()
+        {
+            string err = "";
+            string sql = "SELECT PROVIDER_CODE,PROVIDER_NAME  "
+
+                + "FROM PROVIDER_MANAGER WHERE 1=1 "
+                ;
+
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                ultraGrid1.DataSource = ds;
+            }
+        }
+
+        private void btrqr_Click(object sender, EventArgs e)
+        {
+            
+            Infragistics.Win.UltraWinGrid.UltraGridRow row = ultraGrid1.ActiveRow;
+            if (row.Selected) return;
+            strgfdm = row.Cells["PROVIDER_CODE"].Value.ToString();
+            strgfmc = row.Cells["PROVIDER_NAME"].Value.ToString();
+            this.Close();
+        
+
+        }
+
+        private void FrmProvlderDialog_Load(object sender, EventArgs e)
+        {
+            Init();
+        }
+    }
+}

+ 330 - 0
Client/.svn/pristine/19/19b389d13a7f8358ed6799c9dfa253b1dfe787de.svn-base

@@ -0,0 +1,330 @@
+using System;
+using System.Windows.Forms;
+using System.Reflection;
+using System.Drawing;
+using System.Collections;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Comm 的摘要说明。
+	/// </summary>
+	public class Comm
+	{
+		public Comm()
+		{
+			//
+			// TODO: 在此处添加构造函数逻辑
+			//
+		}
+
+
+
+        /// <summary>
+        /// 获取ulGridRow指定字段值(针对有分组行时)
+        /// </summary>
+        /// <param name="row">UltraGridRow</param>
+        /// <param name="_Key">选择字段KEY</param>
+        /// <param name="_CompareValue">比对值</param>
+        /// <param name="_CellKey">指定字段KEY</param>
+        /// <param name="_ResultField">返回制定字段值数组</param>
+        /// <returns></returns>	
+        public static void GetAdjustData(Infragistics.Win.UltraWinGrid.UltraGridRow row, string _Key, string _CompareValue, string _CellKey, ref ArrayList _ResultField)
+        {
+            if (row.GetType() == typeof(Infragistics.Win.UltraWinGrid.UltraGridRow))
+            {
+                if (Comm.ObjToStr(row.Cells[_Key].Value).ToUpper() == _CompareValue)
+                {
+                    _ResultField.Add(Comm.ObjToStr(row.Cells[_CellKey].Value));
+                }
+            }
+            else
+            {
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow tmprow in row.ChildBands[0].Rows)
+                {
+                    GetAdjustData(tmprow, _Key, _CompareValue, _CellKey, ref _ResultField);
+                }
+            }
+        }
+		/// <summary>
+		/// 获取grid-选择字段="TRUE"指定字段值
+		/// </summary>
+		/// <param name="_SelectGrid">存在选择行的UltraGrid</param>
+		/// <param name="_Select">选择字段</param>
+		/// <param name="_FieldValue">字段值</param>
+		/// <returns>ArrayList</returns>
+		public static System.Collections.ArrayList GetFieldValue(Infragistics.Win.UltraWinGrid.UltraGrid _SelectGrid,string _Select,string _FieldValue)
+		{
+			System.Collections.ArrayList resultArray = new System.Collections.ArrayList();
+			
+			foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in _SelectGrid.Rows)
+			{
+				if(ObjToStr(row.Cells[_Select].Value).ToUpper() == "TRUE")
+					resultArray.Add(ObjToStr(row.Cells[_FieldValue].Value));
+				
+			}
+			return resultArray;
+
+		}
+		/// <summary>
+		/// 对目标对象进行字符串的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static string ObjToStr(object obj)
+		{
+			if(obj == null || obj.GetType() == typeof(System.DBNull))
+			{
+				return "";
+			}
+			else
+			{
+				return Convert.ToString(obj);
+			}
+		}
+        /// <summary>
+        /// 设置ulGridRow指定字段值
+        /// </summary>
+        /// <param name="GridRow">目标GridRow</param>
+        /// <param name="Value">设置值 </param>
+        /// <param name="Key">字段KEY</param>
+        /// <returns></returns>
+        public static void SetGridFlagValue(Infragistics.Win.UltraWinGrid.UltraGridRow GridRow, string Value, string Key)
+        {
+            if (GridRow.GetType() == typeof(Infragistics.Win.UltraWinGrid.UltraGridGroupByRow))
+            {
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in GridRow.ChildBands[0].Rows)
+                {
+                    SetGridFlagValue(row, Value, Key);
+                }
+            }
+            else
+            {
+                if (!GridRow.IsFilteredOut)
+                    GridRow.Cells[Key].Value = Value;
+            }
+        }
+
+		/// <summary>
+		/// 对目标对象进行数字的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static int ObjToInt(object obj)
+		{
+			try
+			{
+				if(obj == null || obj.GetType() == typeof(System.DBNull) || ObjToStr(obj).Length ==0)
+				{
+					return 0;
+				}
+				else
+				{
+					return Convert.ToInt32(obj);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		/// <summary>
+		/// 对目标对象进行数字(小数)的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static System.Decimal ObjToDecimal(object obj)
+		{
+			try
+			{
+				if(obj == null || obj.GetType() == typeof(System.DBNull) || ObjToStr(obj).Length ==0)
+				{
+					return 0;
+				}
+				else
+				{
+					return Convert.ToDecimal(obj);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		/// <summary>
+		/// 对目标对象进行数字(小数)的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static System.Double ObjToDouble(object obj)
+		{
+			try
+			{
+				if(obj == null || obj.GetType() == typeof(System.DBNull) || ObjToStr(obj).Length ==0)
+				{
+					return 0;
+				}
+				else
+				{
+					return Convert.ToDouble(obj);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		/// <summary>
+		/// 设置Grid求和区域
+		/// </summary>
+		/// <param name="pGrid">目标Grid</param>
+		/// <returns></returns>		 
+		public static void SetGridSumArea(Infragistics.Win.UltraWinGrid.UltraGridBase pGrid)
+		{
+			try
+			{
+	
+				if(pGrid.Rows.Count == 0)
+				{
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridBand band in pGrid.DisplayLayout.Bands)
+					{
+						foreach(Infragistics.Win.UltraWinGrid.SummarySettings sum in band.Summaries)
+						{
+							sum.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.None;
+						}
+					}
+				}
+				else
+				{
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridBand band in pGrid.DisplayLayout.Bands)
+					{
+						foreach(Infragistics.Win.UltraWinGrid.SummarySettings sum in band.Summaries)
+						{
+							if(pGrid.DisplayLayout.GroupByBox.Hidden)
+							{
+								sum.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.Bottom;
+							}
+							else
+							{
+								sum.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.Bottom | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.GroupByRowsFooter)));
+							}
+						}
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		/// <summary>
+		/// 初始化Infragistics.Win.UltraWinGrid.UltraCombo 控件绑定表
+		/// </summary>
+		/// <param name="_grid">Grid</param>
+		/// <param name="_ds">DataSet</param>
+		///  <param name="tableName">绑定表名</param>
+		/// <param name="_displayColumn">绑定列名</param>
+		/// <param name="_displayMember">显示项</param>
+		/// <param name="_ValueMember">值项</param>
+		/// <returns></returns>
+		public static void Init_ComboControl(System.Windows.Forms.Control ComboControl,string TableName,string _displayMember,string _valueMember,ref System.Data.DataSet dst)
+		{
+			try
+			{
+				switch(ComboControl.GetType().ToString())
+				{
+					case "Infragistics.Win.UltraWinGrid.UltraCombo":
+						if(!dst.Tables.Contains(TableName))
+						{
+							MessageBox.Show("绑定表:"+TableName+"不存在,不能对控件"+ComboControl.Name+"进行初始化!");
+							return;
+						}
+						System.Data.DataTable newTable = dst.Tables[TableName].Copy();
+						newTable.TableName=TableName;
+						System.Data.DataRow newRow = newTable.NewRow();
+						for(int i=0;i<dst.Tables[TableName].Columns.Count;i++)
+						{
+							newRow[i]="";
+						}
+						newTable.Rows.Add(newRow);
+						newTable.AcceptChanges();
+	
+						((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DataSource = new System.Data.DataView(newTable);
+						((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayMember = _displayMember;
+						((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).ValueMember = _valueMember;
+						foreach(System.Data.DataColumn col in dst.Tables[TableName].Columns)
+						{
+							if(col.ColumnName != _displayMember)
+							{
+								((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayLayout.Bands[TableName].Columns[col.ColumnName].Hidden = true;
+							}
+							else
+							{
+								((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayLayout.Bands[TableName].Columns[col.ColumnName].Band.ColHeadersVisible = false;
+								((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayLayout.Bands[TableName].Columns[col.ColumnName].Width  = ((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).Width;
+							}
+						}
+						break;
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+			
+		/// <summary>
+		/// 将目标GRID导出EXCEL文件
+		/// </summary>
+		/// <param name="ulGrid"></param>
+		/// <param name="ExcelExporter"></param>
+		/// <returns></returns>
+
+		public static void ExPortExcel(Infragistics.Win.UltraWinGrid.UltraGrid ulGrid,Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter ExcelExporter)
+		{
+			string filePath;
+			string fileName;
+			SaveFileDialog saveDlg = new SaveFileDialog();
+
+			try
+			{
+				if( !System.IO.Directory.Exists(System.Windows.Forms.Application.StartupPath + @"\Report"))
+				{
+					System.IO.Directory.CreateDirectory(System.Windows.Forms.Application.StartupPath + @"\Report");
+				}
+				filePath = System.Windows.Forms.Application.StartupPath + @"\Report";
+
+				saveDlg.InitialDirectory = filePath;
+				saveDlg.DefaultExt = "*.xls";
+				saveDlg.Filter = "XLS Files|*.xls";
+				saveDlg.FilterIndex = 2;
+				saveDlg.RestoreDirectory = true ;
+
+				if(saveDlg.ShowDialog() == DialogResult.OK)
+				{
+					fileName = saveDlg.FileName;
+					ExcelExporter.Export(ulGrid,fileName);
+
+					//创建一个新的进程打开excel
+					System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(fileName);
+					st.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
+					System.Diagnostics.Process.Start(st);
+				
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		
+		}
+	}
+}

+ 1304 - 0
Client/.svn/pristine/1b/1b9608be3fa424f5120ed1040d7592ebb3854cb0.svn-base

@@ -0,0 +1,1304 @@
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    partial class FrmJBCB
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STCOKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID_NEW");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO_NEW");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM_NEW");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT_NEW");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIME_");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISVALID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UnboundColumn1", 1);
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("cbadd");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("cbjl");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("exit");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("cbadd");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bxcb");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("cbjl");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("exit");
+            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Plan = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_new_bz = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_nes_bh = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_new_lz = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_new_count = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_old_XJZL = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_old_bh = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_old_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_old_Count = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.tab_Coroll = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.ultraTabSharedControlsPage2 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.panel4 = new System.Windows.Forms.Panel();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultSJ = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.panel2_Fill_Panel = new System.Windows.Forms.Panel();
+            this._panel2_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel2_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel2_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel2_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraTabPageControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_new_bz)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_nes_bh)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_new_lz)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_new_count)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_XJZL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_bh)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_Count)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
+            this.panel1.SuspendLayout();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.tab_Coroll)).BeginInit();
+            this.tab_Coroll.SuspendLayout();
+            this.panel4.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // ultraTabPageControl2
+            // 
+            this.ultraTabPageControl2.Controls.Add(this.txt_Width);
+            this.ultraTabPageControl2.Controls.Add(this.txt_Length);
+            this.ultraTabPageControl2.Controls.Add(this.txt_Ply);
+            this.ultraTabPageControl2.Controls.Add(this.gb_Plan);
+            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox1);
+            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
+            this.ultraTabPageControl2.Size = new System.Drawing.Size(835, 374);
+            // 
+            // gb_Plan
+            // 
+            appearance1.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Plan.DisplayLayout.Appearance = appearance1;
+            ultraGridColumn1.Header.Caption = "钢卷包号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "合同号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "订单号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "厚度";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "宽度";
+            ultraGridColumn6.Header.VisiblePosition = 6;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "长度";
+            ultraGridColumn7.Header.VisiblePosition = 7;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "数量";
+            ultraGridColumn8.Header.VisiblePosition = 8;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "重量";
+            ultraGridColumn9.Header.VisiblePosition = 9;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "小件计量";
+            ultraGridColumn10.Header.VisiblePosition = 10;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "垛位";
+            ultraGridColumn11.Header.VisiblePosition = 11;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "钢种";
+            ultraGridColumn12.Header.VisiblePosition = 12;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "产线";
+            ultraGridColumn13.Header.VisiblePosition = 13;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "班次";
+            ultraGridColumn14.Header.VisiblePosition = 14;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(58, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "班组";
+            ultraGridColumn15.Header.VisiblePosition = 15;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(62, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "入库时间";
+            ultraGridColumn16.Header.VisiblePosition = 16;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "入库人";
+            ultraGridColumn17.Header.VisiblePosition = 17;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "备注";
+            ultraGridColumn18.Header.VisiblePosition = 18;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "工艺类型";
+            ultraGridColumn19.Header.VisiblePosition = 19;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "炉号";
+            ultraGridColumn20.Header.VisiblePosition = 5;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20});
+            appearance2.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance2;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Plan.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Plan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance3.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance3.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance3.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance3.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Plan.DisplayLayout.GroupByBox.Appearance = appearance3;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Plan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance4;
+            this.gb_Plan.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Plan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Plan.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Plan.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            appearance7.BorderColor = System.Drawing.Color.Black;
+            appearance7.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.CellAppearance = appearance7;
+            this.gb_Plan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Plan.DisplayLayout.Override.CellPadding = 0;
+            appearance8.BackColor = System.Drawing.SystemColors.Control;
+            appearance8.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance8.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance8.BorderColor = System.Drawing.SystemColors.Window;
+            appearance8.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance8.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.GroupByRowAppearance = appearance8;
+            this.gb_Plan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance9.BackColor = System.Drawing.Color.Silver;
+            this.gb_Plan.DisplayLayout.Override.HeaderAppearance = appearance9;
+            this.gb_Plan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Plan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance10.BackColor = System.Drawing.SystemColors.Window;
+            appearance10.BorderColor = System.Drawing.Color.Black;
+            appearance10.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.RowAppearance = appearance10;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Black;
+            appearance11.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.RowPreviewAppearance = appearance11;
+            this.gb_Plan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Plan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Plan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance12.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance12.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.SelectedRowAppearance = appearance12;
+            this.gb_Plan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance13.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterAppearance = appearance13;
+            appearance14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance14.ForeColor = System.Drawing.Color.Red;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance14;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance15.BackColor = System.Drawing.Color.MistyRose;
+            appearance15.ForeColor = System.Drawing.Color.Blue;
+            appearance15.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance15.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.SummaryValueAppearance = appearance15;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Plan.DisplayLayout.Override.TemplateAddRowAppearance = appearance16;
+            this.gb_Plan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Plan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Plan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Plan.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Plan.Location = new System.Drawing.Point(0, 0);
+            this.gb_Plan.Name = "gb_Plan";
+            this.gb_Plan.Size = new System.Drawing.Size(835, 242);
+            this.gb_Plan.TabIndex = 10;
+            this.gb_Plan.Text = "ultraGrid1";
+            this.gb_Plan.AfterRowActivate += new System.EventHandler(this.gb_Plan_AfterRowActivate);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(835, 132);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 242);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(835, 132);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 1;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraGroupBox2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraGroupBox1);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel13);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(829, 110);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
+            this.ultraGroupBox2.Controls.Add(this.txt_new_bz);
+            this.ultraGroupBox2.Controls.Add(this.txt_nes_bh);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox2.Controls.Add(this.txt_new_lz);
+            this.ultraGroupBox2.Controls.Add(this.txt_new_count);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
+            this.ultraGroupBox2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            appearance20.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance20.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGroupBox2.HeaderAppearance = appearance20;
+            this.ultraGroupBox2.HeaderPosition = Infragistics.Win.Misc.GroupBoxHeaderPosition.BottomOutsideBorder;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(415, 3);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(414, 80);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 661;
+            this.ultraGroupBox2.Text = "             新信息";
+            this.ultraGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(-2, 11);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(74, 18);
+            this.ultraLabel2.TabIndex = 629;
+            this.ultraLabel2.Text = "卷板包号";
+            // 
+            // txt_new_bz
+            // 
+            appearance17.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_new_bz.Appearance = appearance17;
+            this.txt_new_bz.FlatMode = true;
+            this.txt_new_bz.Location = new System.Drawing.Point(283, 31);
+            this.txt_new_bz.MaskInput = "nnnnn.nnn";
+            this.txt_new_bz.Name = "txt_new_bz";
+            this.txt_new_bz.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_new_bz.PromptChar = ' ';
+            this.txt_new_bz.Size = new System.Drawing.Size(126, 19);
+            this.txt_new_bz.TabIndex = 658;
+            // 
+            // txt_nes_bh
+            // 
+            appearance18.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_nes_bh.Appearance = appearance18;
+            this.txt_nes_bh.AutoSize = true;
+            this.txt_nes_bh.Location = new System.Drawing.Point(72, 9);
+            this.txt_nes_bh.Name = "txt_nes_bh";
+            this.txt_nes_bh.Size = new System.Drawing.Size(148, 21);
+            this.txt_nes_bh.TabIndex = 630;
+            this.txt_nes_bh.Enter += new System.EventHandler(this.txt_nes_bh_Enter);
+            this.txt_nes_bh.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_nes_bh_KeyDown);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(226, 35);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 659;
+            this.ultraLabel4.Text = "小件重量";
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(226, 12);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel5.TabIndex = 657;
+            this.ultraLabel5.Text = "数量";
+            // 
+            // txt_new_lz
+            // 
+            appearance19.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_new_lz.Appearance = appearance19;
+            this.txt_new_lz.FlatMode = true;
+            this.txt_new_lz.Location = new System.Drawing.Point(72, 35);
+            this.txt_new_lz.MaskInput = "nnnnn.nnn";
+            this.txt_new_lz.Name = "txt_new_lz";
+            this.txt_new_lz.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_new_lz.PromptChar = ' ';
+            this.txt_new_lz.Size = new System.Drawing.Size(151, 19);
+            this.txt_new_lz.TabIndex = 655;
+            this.txt_new_lz.Enter += new System.EventHandler(this.txt_nes_bh_Enter);
+            this.txt_new_lz.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_nes_bh_KeyDown);
+            // 
+            // txt_new_count
+            // 
+            this.txt_new_count.FlatMode = true;
+            this.txt_new_count.Location = new System.Drawing.Point(282, 8);
+            this.txt_new_count.MaskInput = "nnnnn";
+            this.txt_new_count.Name = "txt_new_count";
+            this.txt_new_count.PromptChar = ' ';
+            this.txt_new_count.Size = new System.Drawing.Size(128, 19);
+            this.txt_new_count.TabIndex = 654;
+            this.txt_new_count.Enter += new System.EventHandler(this.txt_nes_bh_Enter);
+            this.txt_new_count.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_nes_bh_KeyDown);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(-2, 39);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 656;
+            this.ultraLabel6.Text = "理论重量";
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox1.Controls.Add(this.txt_old_XJZL);
+            this.ultraGroupBox1.Controls.Add(this.txt_old_bh);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel3);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel8);
+            this.ultraGroupBox1.Controls.Add(this.txt_old_WEIGHT);
+            this.ultraGroupBox1.Controls.Add(this.txt_old_Count);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel7);
+            this.ultraGroupBox1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            appearance24.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance24.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGroupBox1.HeaderAppearance = appearance24;
+            this.ultraGroupBox1.HeaderPosition = Infragistics.Win.Misc.GroupBoxHeaderPosition.BottomOutsideBorder;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 3);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(414, 80);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 660;
+            this.ultraGroupBox1.Text = "             原信息";
+            this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(-2, 12);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(74, 18);
+            this.ultraLabel1.TabIndex = 629;
+            this.ultraLabel1.Text = "卷板包号";
+            // 
+            // txt_old_XJZL
+            // 
+            appearance21.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_old_XJZL.Appearance = appearance21;
+            this.txt_old_XJZL.FlatMode = true;
+            this.txt_old_XJZL.Location = new System.Drawing.Point(283, 31);
+            this.txt_old_XJZL.MaskInput = "nnnnn.nnn";
+            this.txt_old_XJZL.Name = "txt_old_XJZL";
+            this.txt_old_XJZL.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_old_XJZL.PromptChar = ' ';
+            this.txt_old_XJZL.Size = new System.Drawing.Size(126, 19);
+            this.txt_old_XJZL.TabIndex = 658;
+            // 
+            // txt_old_bh
+            // 
+            appearance22.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_old_bh.Appearance = appearance22;
+            this.txt_old_bh.AutoSize = true;
+            this.txt_old_bh.Location = new System.Drawing.Point(72, 9);
+            this.txt_old_bh.Name = "txt_old_bh";
+            this.txt_old_bh.ReadOnly = true;
+            this.txt_old_bh.Size = new System.Drawing.Size(148, 21);
+            this.txt_old_bh.TabIndex = 630;
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(226, 35);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 659;
+            this.ultraLabel3.Text = "小件重量";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(226, 12);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel8.TabIndex = 657;
+            this.ultraLabel8.Text = "数量";
+            // 
+            // txt_old_WEIGHT
+            // 
+            appearance23.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_old_WEIGHT.Appearance = appearance23;
+            this.txt_old_WEIGHT.FlatMode = true;
+            this.txt_old_WEIGHT.Location = new System.Drawing.Point(72, 35);
+            this.txt_old_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_old_WEIGHT.Name = "txt_old_WEIGHT";
+            this.txt_old_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_old_WEIGHT.PromptChar = ' ';
+            this.txt_old_WEIGHT.Size = new System.Drawing.Size(151, 19);
+            this.txt_old_WEIGHT.TabIndex = 655;
+            // 
+            // txt_old_Count
+            // 
+            this.txt_old_Count.FlatMode = true;
+            this.txt_old_Count.Location = new System.Drawing.Point(282, 8);
+            this.txt_old_Count.MaskInput = "nnnnn";
+            this.txt_old_Count.Name = "txt_old_Count";
+            this.txt_old_Count.PromptChar = ' ';
+            this.txt_old_Count.Size = new System.Drawing.Size(128, 19);
+            this.txt_old_Count.TabIndex = 654;
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(-2, 39);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 656;
+            this.ultraLabel7.Text = "理论重量";
+            // 
+            // txt_Remark
+            // 
+            appearance25.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Remark.Appearance = appearance25;
+            this.txt_Remark.AutoSize = true;
+            this.txt_Remark.Location = new System.Drawing.Point(40, 85);
+            this.txt_Remark.Multiline = true;
+            this.txt_Remark.Name = "txt_Remark";
+            this.txt_Remark.Size = new System.Drawing.Size(789, 24);
+            this.txt_Remark.TabIndex = 628;
+            // 
+            // ultraLabel13
+            // 
+            appearance26.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance26.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel13.Appearance = appearance26;
+            this.ultraLabel13.Location = new System.Drawing.Point(-3, 89);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 627;
+            this.ultraLabel13.Text = "备注:";
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.ultraGrid2);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(835, 374);
+            // 
+            // ultraGrid2
+            // 
+            appearance27.BackColor = System.Drawing.Color.Ivory;
+            this.ultraGrid2.DisplayLayout.Appearance = appearance27;
+            ultraGridColumn21.Header.Caption = "钢卷包号";
+            ultraGridColumn21.Header.VisiblePosition = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(132, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "钢卷号";
+            ultraGridColumn22.Header.VisiblePosition = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "钢卷包号";
+            ultraGridColumn23.Header.VisiblePosition = 2;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(145, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "钢卷号";
+            ultraGridColumn24.Header.VisiblePosition = 3;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn25.Header.Caption = "块数";
+            ultraGridColumn25.Header.VisiblePosition = 4;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 20);
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "重量";
+            ultraGridColumn26.Header.VisiblePosition = 5;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.Header.Caption = "块数";
+            ultraGridColumn27.Header.VisiblePosition = 6;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "重量";
+            ultraGridColumn28.Header.VisiblePosition = 7;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "小件计量";
+            ultraGridColumn29.Header.VisiblePosition = 8;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 0);
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "小件计量";
+            ultraGridColumn30.Header.VisiblePosition = 9;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "操作人";
+            ultraGridColumn31.Header.VisiblePosition = 10;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "操作时间";
+            ultraGridColumn32.Header.VisiblePosition = 11;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.VisiblePosition = 12;
+            ultraGridColumn33.Hidden = true;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "原钢卷信息";
+            ultraGridColumn34.Header.VisiblePosition = 13;
+            ultraGridColumn34.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.LabelOnly;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 7;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "现钢卷信息";
+            ultraGridColumn35.Header.VisiblePosition = 14;
+            ultraGridColumn35.RowLayoutColumnInfo.LabelPosition = Infragistics.Win.UltraWinGrid.LabelPosition.LabelOnly;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 5;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35});
+            appearance28.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance28;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridBand2.UseRowLayout = true;
+            this.ultraGrid2.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance29.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance29.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance29.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance29.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Appearance = appearance29;
+            appearance30.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid2.DisplayLayout.GroupByBox.BandLabelAppearance = appearance30;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            appearance31.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid2.DisplayLayout.Override.ActiveCellAppearance = appearance31;
+            appearance32.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance32.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid2.DisplayLayout.Override.ActiveRowAppearance = appearance32;
+            appearance33.BorderColor = System.Drawing.Color.Black;
+            appearance33.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.CellAppearance = appearance33;
+            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
+            appearance34.BackColor = System.Drawing.SystemColors.Control;
+            appearance34.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance34.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance34.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance34.BorderColor = System.Drawing.SystemColors.Window;
+            appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance34.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.GroupByRowAppearance = appearance34;
+            this.ultraGrid2.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance35.BackColor = System.Drawing.Color.Silver;
+            this.ultraGrid2.DisplayLayout.Override.HeaderAppearance = appearance35;
+            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance36.BackColor = System.Drawing.SystemColors.Window;
+            appearance36.BorderColor = System.Drawing.Color.Black;
+            appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.RowAppearance = appearance36;
+            appearance37.BackColor = System.Drawing.SystemColors.Window;
+            appearance37.BorderColor = System.Drawing.Color.Black;
+            appearance37.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.RowPreviewAppearance = appearance37;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance38.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.SelectedRowAppearance = appearance38;
+            this.ultraGrid2.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance39.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterAppearance = appearance39;
+            appearance40.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance40.ForeColor = System.Drawing.Color.Red;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance40;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance41.BackColor = System.Drawing.Color.MistyRose;
+            appearance41.ForeColor = System.Drawing.Color.Blue;
+            appearance41.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance41.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.SummaryValueAppearance = appearance41;
+            appearance42.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid2.DisplayLayout.Override.TemplateAddRowAppearance = appearance42;
+            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid2.Name = "ultraGrid2";
+            this.ultraGrid2.Size = new System.Drawing.Size(835, 374);
+            this.ultraGrid2.TabIndex = 9;
+            this.ultraGrid2.Text = "ultraGrid2";
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.panel3);
+            this.panel1.Controls.Add(this.panel2);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(839, 456);
+            this.panel1.TabIndex = 0;
+            // 
+            // panel3
+            // 
+            this.panel3.Controls.Add(this.tab_Coroll);
+            this.panel3.Controls.Add(this.panel4);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel3.Location = new System.Drawing.Point(0, 27);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(839, 429);
+            this.panel3.TabIndex = 1;
+            // 
+            // tab_Coroll
+            // 
+            this.tab_Coroll.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.tab_Coroll.Controls.Add(this.ultraTabSharedControlsPage2);
+            this.tab_Coroll.Controls.Add(this.ultraTabPageControl2);
+            this.tab_Coroll.Controls.Add(this.ultraTabPageControl1);
+            this.tab_Coroll.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.tab_Coroll.Location = new System.Drawing.Point(0, 32);
+            this.tab_Coroll.Name = "tab_Coroll";
+            this.tab_Coroll.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.tab_Coroll.Size = new System.Drawing.Size(839, 397);
+            this.tab_Coroll.TabIndex = 3;
+            ultraTab1.Key = "KC";
+            ultraTab1.TabPage = this.ultraTabPageControl2;
+            ultraTab1.Text = "库存信息";
+            ultraTab2.Key = "JL";
+            ultraTab2.TabPage = this.ultraTabPageControl1;
+            ultraTab2.Text = "拆包记录";
+            this.tab_Coroll.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1,
+            ultraTab2});
+            this.tab_Coroll.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(835, 374);
+            // 
+            // ultraTabSharedControlsPage2
+            // 
+            this.ultraTabSharedControlsPage2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage2.Name = "ultraTabSharedControlsPage2";
+            this.ultraTabSharedControlsPage2.Size = new System.Drawing.Size(1024, 391);
+            // 
+            // panel4
+            // 
+            this.panel4.Controls.Add(this.txt_RollHao);
+            this.panel4.Controls.Add(this.chk_RollHao);
+            this.panel4.Controls.Add(this.chk_CollectTime);
+            this.panel4.Controls.Add(this.ultSJ);
+            this.panel4.Controls.Add(this.dte_EndTime);
+            this.panel4.Controls.Add(this.dte_BeginTime);
+            this.panel4.Controls.Add(this.Lab_To);
+            this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel4.Location = new System.Drawing.Point(0, 0);
+            this.panel4.Name = "panel4";
+            this.panel4.Size = new System.Drawing.Size(839, 32);
+            this.panel4.TabIndex = 0;
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(510, 7);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
+            this.txt_RollHao.TabIndex = 247;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // chk_RollHao
+            // 
+            this.chk_RollHao.Location = new System.Drawing.Point(433, 10);
+            this.chk_RollHao.Name = "chk_RollHao";
+            this.chk_RollHao.Size = new System.Drawing.Size(71, 17);
+            this.chk_RollHao.TabIndex = 246;
+            this.chk_RollHao.TabStop = false;
+            this.chk_RollHao.Text = "钢卷包号";
+            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.Location = new System.Drawing.Point(12, 6);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(49, 20);
+            this.chk_CollectTime.TabIndex = 245;
+            this.chk_CollectTime.Text = "时间";
+            // 
+            // ultSJ
+            // 
+            this.ultSJ.AutoSize = true;
+            valueListItem1.DataValue = "0";
+            valueListItem1.DisplayText = "按入库时间";
+            valueListItem2.DataValue = "1";
+            valueListItem2.DisplayText = "按记录时间";
+            this.ultSJ.Items.Add(valueListItem1);
+            this.ultSJ.Items.Add(valueListItem2);
+            this.ultSJ.Location = new System.Drawing.Point(67, 6);
+            this.ultSJ.Name = "ultSJ";
+            this.ultSJ.Size = new System.Drawing.Size(91, 21);
+            this.ultSJ.TabIndex = 244;
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.DateTime = new System.DateTime(2016, 12, 22, 0, 0, 0, 0);
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(311, 8);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 243;
+            this.dte_EndTime.Value = new System.DateTime(2016, 12, 22, 0, 0, 0, 0);
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.DateTime = new System.DateTime(2016, 12, 22, 0, 0, 0, 0);
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(162, 7);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 242;
+            this.dte_BeginTime.Value = new System.DateTime(2016, 12, 22, 0, 0, 0, 0);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(284, 10);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 241;
+            this.Lab_To.Text = "到";
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.panel2_Fill_Panel);
+            this.panel2.Controls.Add(this._panel2_Toolbars_Dock_Area_Left);
+            this.panel2.Controls.Add(this._panel2_Toolbars_Dock_Area_Right);
+            this.panel2.Controls.Add(this._panel2_Toolbars_Dock_Area_Top);
+            this.panel2.Controls.Add(this._panel2_Toolbars_Dock_Area_Bottom);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(839, 27);
+            this.panel2.TabIndex = 0;
+            // 
+            // panel2_Fill_Panel
+            // 
+            this.panel2_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
+            this.panel2_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel2_Fill_Panel.Location = new System.Drawing.Point(0, 24);
+            this.panel2_Fill_Panel.Name = "panel2_Fill_Panel";
+            this.panel2_Fill_Panel.Size = new System.Drawing.Size(839, 3);
+            this.panel2_Fill_Panel.TabIndex = 0;
+            // 
+            // _panel2_Toolbars_Dock_Area_Left
+            // 
+            this._panel2_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel2_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel2_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel2_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel2_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel2_Toolbars_Dock_Area_Left.Name = "_panel2_Toolbars_Dock_Area_Left";
+            this._panel2_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 3);
+            this._panel2_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel2;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool6.SharedProps.Caption = "库存查询";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool7.SharedProps.Caption = "拆包";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "取消拆包";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "拆包记录查询";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "导出";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "关闭";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool6,
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel2_Toolbars_Dock_Area_Right
+            // 
+            this._panel2_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel2_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel2_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel2_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel2_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(839, 24);
+            this._panel2_Toolbars_Dock_Area_Right.Name = "_panel2_Toolbars_Dock_Area_Right";
+            this._panel2_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 3);
+            this._panel2_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel2_Toolbars_Dock_Area_Top
+            // 
+            this._panel2_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel2_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel2_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel2_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel2_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel2_Toolbars_Dock_Area_Top.Name = "_panel2_Toolbars_Dock_Area_Top";
+            this._panel2_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(839, 24);
+            this._panel2_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel2_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel2_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel2_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel2_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel2_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel2_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 27);
+            this._panel2_Toolbars_Dock_Area_Bottom.Name = "_panel2_Toolbars_Dock_Area_Bottom";
+            this._panel2_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(839, 0);
+            this._panel2_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // txt_Width
+            // 
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(361, 178);
+            this.txt_Width.MaskInput = "nnnn.nn";
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(112, 19);
+            this.txt_Width.TabIndex = 13;
+            this.txt_Width.Visible = false;
+            // 
+            // txt_Length
+            // 
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(361, 200);
+            this.txt_Length.MaskInput = "nnnnnnn";
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(112, 19);
+            this.txt_Length.TabIndex = 14;
+            this.txt_Length.Visible = false;
+            // 
+            // txt_Ply
+            // 
+            this.txt_Ply.FlatMode = true;
+            this.txt_Ply.Location = new System.Drawing.Point(361, 156);
+            this.txt_Ply.MaskInput = "nnn.nnn";
+            this.txt_Ply.Name = "txt_Ply";
+            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Ply.PromptChar = ' ';
+            this.txt_Ply.Size = new System.Drawing.Size(112, 19);
+            this.txt_Ply.TabIndex = 12;
+            this.txt_Ply.Visible = false;
+            // 
+            // FrmJBCB
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(839, 456);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmJBCB";
+            this.Text = "卷板拆包管理";
+            this.Load += new System.EventHandler(this.FrmJBCB_Load);
+            this.ultraTabPageControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_new_bz)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_nes_bh)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_new_lz)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_new_count)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_XJZL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_bh)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_old_Count)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
+            this.panel1.ResumeLayout(false);
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.tab_Coroll)).EndInit();
+            this.tab_Coroll.ResumeLayout(false);
+            this.panel4.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Panel panel2_Fill_Panel;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel2_Toolbars_Dock_Area_Left;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel2_Toolbars_Dock_Area_Right;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel2_Toolbars_Dock_Area_Top;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel2_Toolbars_Dock_Area_Bottom;
+        private System.Windows.Forms.Panel panel3;
+        private System.Windows.Forms.Panel panel4;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultSJ;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
+        private Infragistics.Win.UltraWinTabControl.UltraTabControl tab_Coroll;
+        private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+        private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage2;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Plan;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid2;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_old_bh;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_old_XJZL;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_old_Count;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_old_WEIGHT;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_new_bz;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_nes_bh;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_new_lz;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_new_count;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
+    }
+}

+ 139 - 0
Client/.svn/pristine/1c/1ccce3dfc0c259433864d5747c3950ca0a30f21a.svn-base

@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="ucGridPrint1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ucGridPrint1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ucGridPrint1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.Name">
+    <value>FrmPrintButtress</value>
+  </data>
+  <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>(Default)</value>
+  </data>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>8, 8</value>
+  </data>
+  <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>80</value>
+  </data>
+  <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+</root>

BIN
Client/.svn/pristine/1e/1eb7832676e9614bde22625816ce57945904348d.svn-base


+ 129 - 0
Client/.svn/pristine/22/220b4996468f2db1e01b3a4affd0cf956baee5d2.svn-base

@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>93</value>
+  </metadata>
+</root>

+ 63 - 0
Client/.svn/pristine/23/2399e57fdb88e5e03bbb3eb824ede51fd2beca1a.svn-base

@@ -0,0 +1,63 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    public partial class FrmMaterialDaioage : Mes.ClientFrameWork.FrmBase
+    {
+
+        public string strwzdm = "";
+        public string strwzmc = "";
+        public string strgg = "";
+        public string strcz = "";
+        public string strjldw = "";
+        public string strdz = "";
+        public string strckcode = "";
+        public string strckmc = "";
+        public string strcklb = "";
+        public FrmMaterialDaioage()
+        {
+            InitializeComponent();
+        }
+        public void Init()
+        {
+            string err = "";
+            string sql = "SELECT BB.MATERIAL_CODE,BB.MATERIAL_NAME,BB.SPEC,BB.MATERIAL,BB.SUBSTANCE,BB.UNITS,CC.DEPOTID,CC.DEPOTNAME,AA.STOCK_CODE FROM MATERIAL_CODE_MANAGE BB,KCJ_STORESMAGNAGER AA,KCJ_DEPOTMAGAGER CC  WHERE BB.MATERIAL_CODE=AA.MATERIALCODE(+) AND AA.STOCK_CODE=CC.DEPOT_LB(+)  "
+                        + " ORDER BY TO_NUMBER(BB.SORT_CODE)  ASC ";
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                ultraGrid1.DataSource = ds;
+            }
+        }
+
+        private void btnQR_Click(object sender, EventArgs e)
+        {
+         
+           Infragistics.Win.UltraWinGrid.UltraGridRow row = ultraGrid1.ActiveRow;
+           if (row.Selected) return;
+          strwzdm = row.Cells["MATERIAL_CODE"].Value.ToString();
+          strwzmc = row.Cells["MATERIAL_NAME"].Value.ToString();
+          strgg = row.Cells["SPEC"].Value.ToString();
+          strcz = row.Cells["MATERIAL"].Value.ToString();
+          strjldw = row.Cells["UNITS"].Value.ToString();
+          strdz = row.Cells["SUBSTANCE"].Value.ToString();
+          strckcode = row.Cells["DEPOTID"].Value.ToString();
+          strckmc = row.Cells["DEPOTNAME"].Value.ToString();
+          strcklb = row.Cells["STOCK_CODE"].Value.ToString();
+           this.Close();
+        }
+
+        private void FrmMaterialDaioage_Load(object sender, EventArgs e)
+        {
+            Init();
+        }
+    }
+}

BIN
Client/.svn/pristine/23/23bf723c50cda9243f3f7d414be7d505cba7f1d2.svn-base


BIN
Client/.svn/pristine/23/23dfc00715a6c44f613edda42906a608861b154f.svn-base


+ 3744 - 0
Client/.svn/pristine/24/24072b41287d1d84bba15787d397cf7db509c463.svn-base

@@ -0,0 +1,3744 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.TurnoffManager
+{
+	/// <summary>
+	/// Frm_TurnoffCollect 的摘要说明。
+	/// </summary>
+	public class Frm_TurnoffCollect : Core.Mes.ClientFrameWork.FrmBase 
+	{
+		#region 变量
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel38;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_PEndTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_PBeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ptime;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanID;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ShopSign;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProductLine;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BilletID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BilletID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ShopSign;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gd_Turnoff;
+		private System.Data.DataSet ds_All;
+		private System.Data.DataTable DT_KCJ_TURNOFF;
+		private System.Data.DataColumn dataColumn1;
+		private System.Data.DataColumn dataColumn2;
+		private System.Data.DataColumn dataColumn3;
+		private System.Data.DataColumn dataColumn4;
+		private System.Data.DataColumn dataColumn5;
+		private System.Data.DataColumn dataColumn6;
+		private System.Data.DataColumn dataColumn7;
+		private System.Data.DataColumn dataColumn8;
+		private System.Data.DataColumn dataColumn9;
+		private System.Data.DataColumn dataColumn10;
+		private System.Data.DataColumn dataColumn11;
+		private System.Data.DataColumn dataColumn12;
+		private System.Data.DataColumn dataColumn13;
+		private System.Data.DataColumn dataColumn14;
+		private System.Data.DataColumn dataColumn15;
+		private System.Data.DataColumn dataColumn16;
+		private System.Data.DataColumn dataColumn17;
+		private System.Data.DataColumn dataColumn18;
+		private System.Data.DataColumn dataColumn19;
+		private System.Data.DataColumn dataColumn20;
+		private System.Data.DataColumn dataColumn21;
+		private System.Data.DataColumn dataColumn22;
+		private System.Data.DataColumn dataColumn23;
+		private System.Data.DataColumn dataColumn24;
+		private System.Data.DataColumn dataColumn25;
+		private System.Data.DataColumn dataColumn26;
+		private System.Data.DataColumn dataColumn27;
+		private System.Data.DataColumn dataColumn28;
+		private System.Data.DataColumn dataColumn29;
+		private System.Data.DataColumn dataColumn30;
+		private System.Data.DataColumn dataColumn31;
+		private System.Data.DataColumn dataColumn32;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProductLine;
+		private System.ComponentModel.IContainer components;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+
+		#endregion 
+
+		private System.Data.DataColumn dataColumn33;
+		private System.Windows.Forms.Panel panel2;
+		private System.Windows.Forms.Panel panel3;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InMan;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Comments;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProductLineEdit;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_InTime;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Routing;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_StoveNo;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel37;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_EndEnter;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_FaceQuality;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTopEdit;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BilletType;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor Txt_FNum;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_DH;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor Txt_DHNum;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_DHDate;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_DecideResult;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClipType;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SourceId;
+		private Infragistics.Win.Misc.UltraLabel lab_YL;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollEnd;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MBilletID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Roll;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel27;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel25;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNOEdit;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.Misc.UltraLabel lab_cd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private System.Data.DataSet ds_Coll;
+		private System.Data.DataTable DT_KCJ_ZY_TASKDETAIL;
+		private System.Data.DataColumn dataColumn36;
+		private System.Data.DataColumn dataColumn37;
+		private System.Data.DataColumn dataColumn40;
+		private System.Data.DataColumn dataColumn41;
+		private System.Data.DataColumn dataColumn43;
+		private System.Data.DataColumn dataColumn38;
+		private System.Data.DataColumn dataColumn39;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Coll;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Rule;
+		private System.Data.DataColumn dataColumn34;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel21;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ReMark;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InSteel;
+		private System.Data.DataColumn dataColumn35;
+		private System.Data.DataColumn dataColumn42;
+		private System.Data.DataColumn dataColumn44;
+
+
+		private string strCreateTime = "";
+
+		public Frm_TurnoffCollect()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECORD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCELRECORD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFUBISH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCELRECORD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECORD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFUBISH");
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_ZY_TASKDETAIL", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PROCESS_LINE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_ZY_TASKDETAIL", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "WEIGHT", 6, true, "KCJ_ZY_TASKDETAIL", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_TURNOFF", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLENUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTEEL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RULE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETTYP");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUGREASON");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONRESULT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETWEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLIPTYPEPROCESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSPECTIONID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACREAGE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROUTING");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SCID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INBUTTRESSTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YPLANNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YORDERNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CL");
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 2, true, "KCJ_TURNOFF", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 10, true, "KCJ_TURNOFF", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACREAGE", 25, true, "KCJ_TURNOFF", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_ProductLine = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel38 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_PEndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_PBeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.chk_Ptime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_ShopSign = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_ProductLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_BilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_ShopSign = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.gb_Coll = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.DT_KCJ_ZY_TASKDETAIL = new System.Data.DataTable();
+            this.dataColumn36 = new System.Data.DataColumn();
+            this.dataColumn37 = new System.Data.DataColumn();
+            this.dataColumn40 = new System.Data.DataColumn();
+            this.dataColumn41 = new System.Data.DataColumn();
+            this.dataColumn43 = new System.Data.DataColumn();
+            this.dataColumn38 = new System.Data.DataColumn();
+            this.dataColumn39 = new System.Data.DataColumn();
+            this.dataColumn34 = new System.Data.DataColumn();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.cmb_InSteel = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_ReMark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Rule = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_InMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Comments = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_InTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Routing = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_StoveNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_EndEnter = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_FaceQuality = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_RollTopEdit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BilletType = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_FNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.Txt_DH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Txt_DHNum = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.Txt_DHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_DecideResult = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClipType = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_SourceId = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.lab_YL = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_RollEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_MBilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Roll = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_OrderNOEdit = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ProductLineEdit = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gd_Turnoff = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.DT_KCJ_TURNOFF = new System.Data.DataTable();
+            this.dataColumn1 = new System.Data.DataColumn();
+            this.dataColumn2 = new System.Data.DataColumn();
+            this.dataColumn3 = new System.Data.DataColumn();
+            this.dataColumn4 = new System.Data.DataColumn();
+            this.dataColumn5 = new System.Data.DataColumn();
+            this.dataColumn6 = new System.Data.DataColumn();
+            this.dataColumn7 = new System.Data.DataColumn();
+            this.dataColumn8 = new System.Data.DataColumn();
+            this.dataColumn9 = new System.Data.DataColumn();
+            this.dataColumn10 = new System.Data.DataColumn();
+            this.dataColumn11 = new System.Data.DataColumn();
+            this.dataColumn12 = new System.Data.DataColumn();
+            this.dataColumn13 = new System.Data.DataColumn();
+            this.dataColumn14 = new System.Data.DataColumn();
+            this.dataColumn15 = new System.Data.DataColumn();
+            this.dataColumn16 = new System.Data.DataColumn();
+            this.dataColumn17 = new System.Data.DataColumn();
+            this.dataColumn18 = new System.Data.DataColumn();
+            this.dataColumn19 = new System.Data.DataColumn();
+            this.dataColumn20 = new System.Data.DataColumn();
+            this.dataColumn21 = new System.Data.DataColumn();
+            this.dataColumn22 = new System.Data.DataColumn();
+            this.dataColumn23 = new System.Data.DataColumn();
+            this.dataColumn24 = new System.Data.DataColumn();
+            this.dataColumn25 = new System.Data.DataColumn();
+            this.dataColumn26 = new System.Data.DataColumn();
+            this.dataColumn27 = new System.Data.DataColumn();
+            this.dataColumn28 = new System.Data.DataColumn();
+            this.dataColumn29 = new System.Data.DataColumn();
+            this.dataColumn30 = new System.Data.DataColumn();
+            this.dataColumn31 = new System.Data.DataColumn();
+            this.dataColumn32 = new System.Data.DataColumn();
+            this.dataColumn33 = new System.Data.DataColumn();
+            this.dataColumn35 = new System.Data.DataColumn();
+            this.dataColumn42 = new System.Data.DataColumn();
+            this.dataColumn44 = new System.Data.DataColumn();
+            this.ds_All = new System.Data.DataSet();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ds_Coll = new System.Data.DataSet();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PEndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PBeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ShopSign)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Coll)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_ZY_TASKDETAIL)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Rule)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Comments)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_InTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Routing)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_StoveNo)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_EndEnter)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuality)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTopEdit)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BilletType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_FNum)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHNum)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHDate)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_DecideResult)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClipType)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SourceId)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MBilletID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Roll)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNOEdit)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLineEdit)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_Turnoff)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_TURNOFF)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_Coll)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool7.SharedProps.Caption = "关闭";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "撤销登记";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "导出";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "登记";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "成品收集槽刷新";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1176, 32);
+            this.panel1.TabIndex = 4;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1176, 52);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1176, 52);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1176, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.cmb_ProductLine);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel38);
+            this.ultraGroupBox1.Controls.Add(this.dte_PEndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_PBeginTime);
+            this.ultraGroupBox1.Controls.Add(this.chk_Ptime);
+            this.ultraGroupBox1.Controls.Add(this.txt_Condole);
+            this.ultraGroupBox1.Controls.Add(this.chk_Condole);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Controls.Add(this.cmb_ShopSign);
+            this.ultraGroupBox1.Controls.Add(this.chk_ProductLine);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollNOEnd);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollNOBegin);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.txt_BilletID);
+            this.ultraGroupBox1.Controls.Add(this.chk_BilletID);
+            this.ultraGroupBox1.Controls.Add(this.chk_ShopSign);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollNum);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1176, 84);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 5;
+            // 
+            // cmb_ProductLine
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ProductLine.Appearance = appearance1;
+            this.cmb_ProductLine.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProductLine.DisplayMember = "";
+            this.cmb_ProductLine.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ProductLine.Enabled = false;
+            this.cmb_ProductLine.Location = new System.Drawing.Point(72, 54);
+            this.cmb_ProductLine.Name = "cmb_ProductLine";
+            this.cmb_ProductLine.Size = new System.Drawing.Size(104, 21);
+            this.cmb_ProductLine.TabIndex = 186;
+            this.cmb_ProductLine.TabStop = false;
+            this.cmb_ProductLine.ValueMember = "";
+            this.cmb_ProductLine.RowSelected += new Infragistics.Win.UltraWinGrid.RowSelectedEventHandler(this.cmb_ProductLine_RowSelected);
+            // 
+            // ultraLabel38
+            // 
+            this.ultraLabel38.FlatMode = true;
+            this.ultraLabel38.Location = new System.Drawing.Point(208, 31);
+            this.ultraLabel38.Name = "ultraLabel38";
+            this.ultraLabel38.Size = new System.Drawing.Size(11, 14);
+            this.ultraLabel38.TabIndex = 185;
+            this.ultraLabel38.Text = "-";
+            // 
+            // dte_PEndTime
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_PEndTime.Appearance = appearance2;
+            this.dte_PEndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_PEndTime.Enabled = false;
+            this.dte_PEndTime.FlatMode = true;
+            this.dte_PEndTime.Location = new System.Drawing.Point(220, 30);
+            this.dte_PEndTime.MaskInput = "{date} {time}";
+            this.dte_PEndTime.Name = "dte_PEndTime";
+            this.dte_PEndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_PEndTime.TabIndex = 184;
+            this.dte_PEndTime.TabStop = false;
+            this.dte_PEndTime.Tag = "";
+            this.dte_PEndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // dte_PBeginTime
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_PBeginTime.Appearance = appearance3;
+            this.dte_PBeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_PBeginTime.Enabled = false;
+            this.dte_PBeginTime.FlatMode = true;
+            this.dte_PBeginTime.Location = new System.Drawing.Point(88, 30);
+            this.dte_PBeginTime.MaskInput = "{date} {time}";
+            this.dte_PBeginTime.Name = "dte_PBeginTime";
+            this.dte_PBeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_PBeginTime.TabIndex = 183;
+            this.dte_PBeginTime.TabStop = false;
+            this.dte_PBeginTime.Tag = "";
+            this.dte_PBeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // chk_Ptime
+            // 
+            this.chk_Ptime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_Ptime.Location = new System.Drawing.Point(16, 32);
+            this.chk_Ptime.Name = "chk_Ptime";
+            this.chk_Ptime.Size = new System.Drawing.Size(72, 16);
+            this.chk_Ptime.TabIndex = 182;
+            this.chk_Ptime.TabStop = false;
+            this.chk_Ptime.Text = "生产时间";
+            this.chk_Ptime.CheckedChanged += new System.EventHandler(this.chk_Ptime_CheckedChanged);
+            // 
+            // txt_Condole
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Condole.Appearance = appearance4;
+            this.txt_Condole.AutoSize = true;
+            this.txt_Condole.Enabled = false;
+            this.txt_Condole.FlatMode = true;
+            this.txt_Condole.Location = new System.Drawing.Point(592, 30);
+            this.txt_Condole.Name = "txt_Condole";
+            this.txt_Condole.Size = new System.Drawing.Size(200, 19);
+            this.txt_Condole.TabIndex = 181;
+            this.txt_Condole.TabStop = false;
+            this.txt_Condole.Tag = "A.CONDOLENUMBER#S#7|:LISN";
+            // 
+            // chk_Condole
+            // 
+            this.chk_Condole.FlatMode = true;
+            this.chk_Condole.Location = new System.Drawing.Point(536, 32);
+            this.chk_Condole.Name = "chk_Condole";
+            this.chk_Condole.Size = new System.Drawing.Size(48, 16);
+            this.chk_Condole.TabIndex = 180;
+            this.chk_Condole.TabStop = false;
+            this.chk_Condole.Text = "吊号";
+            this.chk_Condole.CheckedChanged += new System.EventHandler(this.chk_Condole_CheckedChanged);
+            // 
+            // txt_RollTop
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollTop.Appearance = appearance5;
+            this.txt_RollTop.AutoSize = true;
+            this.txt_RollTop.Enabled = false;
+            this.txt_RollTop.FlatMode = true;
+            this.txt_RollTop.Location = new System.Drawing.Point(798, 10);
+            this.txt_RollTop.MaxLength = 5;
+            this.txt_RollTop.Name = "txt_RollTop";
+            this.txt_RollTop.Size = new System.Drawing.Size(40, 19);
+            this.txt_RollTop.TabIndex = 178;
+            this.txt_RollTop.TabStop = false;
+            this.txt_RollTop.Visible = false;
+            // 
+            // txt_PlanID
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PlanID.Appearance = appearance6;
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(408, 30);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(120, 19);
+            this.txt_PlanID.TabIndex = 177;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PlanID
+            // 
+            this.chk_PlanID.Location = new System.Drawing.Point(344, 32);
+            this.chk_PlanID.Name = "chk_PlanID";
+            this.chk_PlanID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PlanID.TabIndex = 176;
+            this.chk_PlanID.TabStop = false;
+            this.chk_PlanID.Text = "计划号";
+            this.chk_PlanID.CheckedChanged += new System.EventHandler(this.chk_PlanID_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(208, 7);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(11, 14);
+            this.Lab_To.TabIndex = 175;
+            this.Lab_To.Text = "-";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_CollectTime.Location = new System.Drawing.Point(16, 9);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(72, 16);
+            this.chk_CollectTime.TabIndex = 174;
+            this.chk_CollectTime.TabStop = false;
+            this.chk_CollectTime.Text = "入库时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // cmb_ShopSign
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ShopSign.Appearance = appearance7;
+            this.cmb_ShopSign.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ShopSign.DisplayMember = "";
+            this.cmb_ShopSign.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ShopSign.Enabled = false;
+            this.cmb_ShopSign.Location = new System.Drawing.Point(232, 54);
+            this.cmb_ShopSign.Name = "cmb_ShopSign";
+            this.cmb_ShopSign.Size = new System.Drawing.Size(104, 21);
+            this.cmb_ShopSign.TabIndex = 173;
+            this.cmb_ShopSign.TabStop = false;
+            this.cmb_ShopSign.ValueMember = "";
+            // 
+            // chk_ProductLine
+            // 
+            this.chk_ProductLine.Location = new System.Drawing.Point(16, 53);
+            this.chk_ProductLine.Name = "chk_ProductLine";
+            this.chk_ProductLine.Size = new System.Drawing.Size(48, 20);
+            this.chk_ProductLine.TabIndex = 171;
+            this.chk_ProductLine.TabStop = false;
+            this.chk_ProductLine.Text = "产线";
+            this.chk_ProductLine.CheckedChanged += new System.EventHandler(this.chk_ProductLine_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(536, 54);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(50, 20);
+            this.chk_AllowFilter.TabIndex = 170;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(708, 10);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel5.TabIndex = 169;
+            this.ultraLabel5.Text = "至";
+            this.ultraLabel5.Visible = false;
+            // 
+            // txt_RollNOEnd
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOEnd.Appearance = appearance8;
+            this.txt_RollNOEnd.AutoSize = true;
+            this.txt_RollNOEnd.Enabled = false;
+            this.txt_RollNOEnd.FlatMode = true;
+            this.txt_RollNOEnd.Location = new System.Drawing.Point(728, 7);
+            this.txt_RollNOEnd.MaxLength = 5;
+            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
+            this.txt_RollNOEnd.Size = new System.Drawing.Size(64, 19);
+            this.txt_RollNOEnd.TabIndex = 168;
+            this.txt_RollNOEnd.TabStop = false;
+            this.txt_RollNOEnd.Visible = false;
+            // 
+            // txt_RollNOBegin
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOBegin.Appearance = appearance9;
+            this.txt_RollNOBegin.AutoSize = true;
+            this.txt_RollNOBegin.Enabled = false;
+            this.txt_RollNOBegin.FlatMode = true;
+            this.txt_RollNOBegin.Location = new System.Drawing.Point(592, 5);
+            this.txt_RollNOBegin.MaxLength = 5;
+            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
+            this.txt_RollNOBegin.Size = new System.Drawing.Size(200, 19);
+            this.txt_RollNOBegin.TabIndex = 167;
+            this.txt_RollNOBegin.TabStop = false;
+            // 
+            // txt_OrderNO
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_OrderNO.Appearance = appearance10;
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(408, 7);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(120, 19);
+            this.txt_OrderNO.TabIndex = 166;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // txt_BilletID
+            // 
+            appearance11.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_BilletID.Appearance = appearance11;
+            this.txt_BilletID.AutoSize = true;
+            this.txt_BilletID.Enabled = false;
+            this.txt_BilletID.FlatMode = true;
+            this.txt_BilletID.Location = new System.Drawing.Point(408, 54);
+            this.txt_BilletID.Name = "txt_BilletID";
+            this.txt_BilletID.Size = new System.Drawing.Size(120, 19);
+            this.txt_BilletID.TabIndex = 165;
+            this.txt_BilletID.TabStop = false;
+            this.txt_BilletID.Tag = "";
+            // 
+            // chk_BilletID
+            // 
+            this.chk_BilletID.Location = new System.Drawing.Point(344, 57);
+            this.chk_BilletID.Name = "chk_BilletID";
+            this.chk_BilletID.Size = new System.Drawing.Size(48, 16);
+            this.chk_BilletID.TabIndex = 164;
+            this.chk_BilletID.TabStop = false;
+            this.chk_BilletID.Text = "序号";
+            this.chk_BilletID.CheckedChanged += new System.EventHandler(this.chk_BilletID_CheckedChanged);
+            // 
+            // chk_ShopSign
+            // 
+            this.chk_ShopSign.Location = new System.Drawing.Point(184, 57);
+            this.chk_ShopSign.Name = "chk_ShopSign";
+            this.chk_ShopSign.Size = new System.Drawing.Size(48, 16);
+            this.chk_ShopSign.TabIndex = 163;
+            this.chk_ShopSign.TabStop = false;
+            this.chk_ShopSign.Text = "牌号";
+            this.chk_ShopSign.CheckedChanged += new System.EventHandler(this.chk_ShopSign_CheckedChanged);
+            // 
+            // chk_RollNum
+            // 
+            this.chk_RollNum.Location = new System.Drawing.Point(536, 9);
+            this.chk_RollNum.Name = "chk_RollNum";
+            this.chk_RollNum.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollNum.TabIndex = 162;
+            this.chk_RollNum.TabStop = false;
+            this.chk_RollNum.Text = "轧批号";
+            this.chk_RollNum.CheckedChanged += new System.EventHandler(this.chk_RollNum_CheckedChanged);
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(344, 9);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(64, 16);
+            this.chk_OrderNO.TabIndex = 161;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            appearance12.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_EndTime.Appearance = appearance12;
+            this.dte_EndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(220, 7);
+            this.dte_EndTime.MaskInput = "{date} {time}";
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 160;
+            this.dte_EndTime.TabStop = false;
+            this.dte_EndTime.Tag = "";
+            this.dte_EndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // dte_BeginTime
+            // 
+            appearance13.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_BeginTime.Appearance = appearance13;
+            this.dte_BeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(88, 7);
+            this.dte_BeginTime.MaskInput = "{date} {time}";
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 159;
+            this.dte_BeginTime.TabStop = false;
+            this.dte_BeginTime.Tag = "";
+            this.dte_BeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(924, 172);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 116);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1176, 200);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 5555;
+            this.ultraExpandableGroupBox1.TabStop = false;
+            this.ultraExpandableGroupBox1.Text = "编辑区";
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel3);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel2);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1170, 178);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // panel3
+            // 
+            this.panel3.Controls.Add(this.gb_Coll);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel3.Location = new System.Drawing.Point(760, 0);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(410, 178);
+            this.panel3.TabIndex = 1;
+            // 
+            // gb_Coll
+            // 
+            this.gb_Coll.DataSource = this.DT_KCJ_ZY_TASKDETAIL;
+            appearance14.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Coll.DisplayLayout.Appearance = appearance14;
+            ultraGridColumn1.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn1.Header.Caption = "序号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 26);
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn2.Header.Caption = "生产线";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn3.Header.Caption = "计划号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 26);
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn4.Header.Caption = "订单号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 26);
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn5.Header.Caption = "规格";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(110, 26);
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn6.Header.Caption = "牌号";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn7.Header.Caption = "重量";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn8.Header.Caption = "堆位";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8});
+            appearance15.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance15;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance16.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance16.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings1.Appearance = appearance16;
+            summarySettings1.DisplayFormat = "{0}块";
+            summarySettings1.GroupBySummaryValueAppearance = appearance17;
+            summarySettings1.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            summarySettings2.DisplayFormat = "{0:.###}T";
+            summarySettings2.GroupBySummaryValueAppearance = appearance18;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Coll.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Coll.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance19.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance19.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance19.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance19.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Coll.DisplayLayout.GroupByBox.Appearance = appearance19;
+            appearance20.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Coll.DisplayLayout.GroupByBox.BandLabelAppearance = appearance20;
+            this.gb_Coll.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Coll.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance21.BackColor = System.Drawing.SystemColors.Window;
+            appearance21.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Coll.DisplayLayout.Override.ActiveCellAppearance = appearance21;
+            appearance22.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance22.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Coll.DisplayLayout.Override.ActiveRowAppearance = appearance22;
+            appearance23.BorderColor = System.Drawing.Color.Black;
+            appearance23.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Coll.DisplayLayout.Override.CellAppearance = appearance23;
+            this.gb_Coll.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Coll.DisplayLayout.Override.CellPadding = 0;
+            appearance24.BackColor = System.Drawing.SystemColors.Control;
+            appearance24.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance24.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance24.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance24.BorderColor = System.Drawing.SystemColors.Window;
+            appearance24.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance24.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Coll.DisplayLayout.Override.GroupByRowAppearance = appearance24;
+            this.gb_Coll.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance25.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gb_Coll.DisplayLayout.Override.HeaderAppearance = appearance25;
+            this.gb_Coll.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Coll.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance26.BackColor = System.Drawing.SystemColors.Window;
+            appearance26.BorderColor = System.Drawing.Color.Black;
+            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Coll.DisplayLayout.Override.RowAppearance = appearance26;
+            appearance27.BackColor = System.Drawing.SystemColors.Window;
+            appearance27.BorderColor = System.Drawing.Color.Black;
+            appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Coll.DisplayLayout.Override.RowPreviewAppearance = appearance27;
+            this.gb_Coll.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Coll.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Coll.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance28.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance28.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Coll.DisplayLayout.Override.SelectedRowAppearance = appearance28;
+            this.gb_Coll.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance29.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Coll.DisplayLayout.Override.SummaryFooterAppearance = appearance29;
+            appearance30.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance30.ForeColor = System.Drawing.Color.Red;
+            this.gb_Coll.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance30;
+            this.gb_Coll.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance31.BackColor = System.Drawing.Color.MistyRose;
+            appearance31.ForeColor = System.Drawing.Color.Blue;
+            appearance31.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Coll.DisplayLayout.Override.SummaryValueAppearance = appearance31;
+            appearance32.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Coll.DisplayLayout.Override.TemplateAddRowAppearance = appearance32;
+            this.gb_Coll.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Coll.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Coll.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Coll.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Coll.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gb_Coll.Location = new System.Drawing.Point(0, 0);
+            this.gb_Coll.Name = "gb_Coll";
+            this.gb_Coll.Size = new System.Drawing.Size(410, 178);
+            this.gb_Coll.TabIndex = 1;
+            this.gb_Coll.Text = "ultraGrid1";
+            // 
+            // DT_KCJ_ZY_TASKDETAIL
+            // 
+            this.DT_KCJ_ZY_TASKDETAIL.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn36,
+            this.dataColumn37,
+            this.dataColumn40,
+            this.dataColumn41,
+            this.dataColumn43,
+            this.dataColumn38,
+            this.dataColumn39,
+            this.dataColumn34});
+            this.DT_KCJ_ZY_TASKDETAIL.TableName = "KCJ_ZY_TASKDETAIL";
+            // 
+            // dataColumn36
+            // 
+            this.dataColumn36.ColumnName = "BILLETID";
+            // 
+            // dataColumn37
+            // 
+            this.dataColumn37.ColumnName = "PROCESS_LINE";
+            // 
+            // dataColumn40
+            // 
+            this.dataColumn40.ColumnName = "PLANNO";
+            // 
+            // dataColumn41
+            // 
+            this.dataColumn41.ColumnName = "ORDERNO";
+            // 
+            // dataColumn43
+            // 
+            this.dataColumn43.ColumnName = "PLY";
+            // 
+            // dataColumn38
+            // 
+            this.dataColumn38.ColumnName = "DETERMINANTCARDNUMBER";
+            // 
+            // dataColumn39
+            // 
+            this.dataColumn39.ColumnName = "WEIGHT";
+            this.dataColumn39.DataType = typeof(decimal);
+            // 
+            // dataColumn34
+            // 
+            this.dataColumn34.ColumnName = "BUTTRESS";
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.cmb_InSteel);
+            this.panel2.Controls.Add(this.txt_ReMark);
+            this.panel2.Controls.Add(this.ultraLabel21);
+            this.panel2.Controls.Add(this.cmb_Rule);
+            this.panel2.Controls.Add(this.ultraLabel20);
+            this.panel2.Controls.Add(this.cmb_InMan);
+            this.panel2.Controls.Add(this.ultraLabel9);
+            this.panel2.Controls.Add(this.txt_Comments);
+            this.panel2.Controls.Add(this.ultraLabel19);
+            this.panel2.Controls.Add(this.dte_InTime);
+            this.panel2.Controls.Add(this.ultraLabel18);
+            this.panel2.Controls.Add(this.cmb_Buttress);
+            this.panel2.Controls.Add(this.ultraLabel4);
+            this.panel2.Controls.Add(this.ultraLabel3);
+            this.panel2.Controls.Add(this.cmb_Routing);
+            this.panel2.Controls.Add(this.txt_StoveNo);
+            this.panel2.Controls.Add(this.ultraLabel37);
+            this.panel2.Controls.Add(this.txt_EndEnter);
+            this.panel2.Controls.Add(this.cmb_FaceQuality);
+            this.panel2.Controls.Add(this.txt_RollTopEdit);
+            this.panel2.Controls.Add(this.ultraLabel15);
+            this.panel2.Controls.Add(this.cmb_BilletType);
+            this.panel2.Controls.Add(this.cmb_ClassTeam);
+            this.panel2.Controls.Add(this.ultraLabel10);
+            this.panel2.Controls.Add(this.cmb_ClassOrder);
+            this.panel2.Controls.Add(this.ultraLabel14);
+            this.panel2.Controls.Add(this.Txt_FNum);
+            this.panel2.Controls.Add(this.Txt_DH);
+            this.panel2.Controls.Add(this.Txt_DHNum);
+            this.panel2.Controls.Add(this.Txt_DHDate);
+            this.panel2.Controls.Add(this.ultraLabel16);
+            this.panel2.Controls.Add(this.ultraLabel8);
+            this.panel2.Controls.Add(this.cmb_DecideResult);
+            this.panel2.Controls.Add(this.ultraLabel2);
+            this.panel2.Controls.Add(this.cmb_ClipType);
+            this.panel2.Controls.Add(this.txt_SourceId);
+            this.panel2.Controls.Add(this.lab_YL);
+            this.panel2.Controls.Add(this.cmb_BugReaSon);
+            this.panel2.Controls.Add(this.txt_WEIGHT);
+            this.panel2.Controls.Add(this.ultraLabel1);
+            this.panel2.Controls.Add(this.txt_PlanNO);
+            this.panel2.Controls.Add(this.txt_Width);
+            this.panel2.Controls.Add(this.txt_Length);
+            this.panel2.Controls.Add(this.txt_Ply);
+            this.panel2.Controls.Add(this.txt_RollEnd);
+            this.panel2.Controls.Add(this.txt_MBilletID);
+            this.panel2.Controls.Add(this.txt_Roll);
+            this.panel2.Controls.Add(this.ultraLabel27);
+            this.panel2.Controls.Add(this.ultraLabel25);
+            this.panel2.Controls.Add(this.txt_OrderNOEdit);
+            this.panel2.Controls.Add(this.ultraLabel7);
+            this.panel2.Controls.Add(this.lab_cd);
+            this.panel2.Controls.Add(this.ultraLabel17);
+            this.panel2.Controls.Add(this.ultraLabel12);
+            this.panel2.Controls.Add(this.ultraLabel11);
+            this.panel2.Controls.Add(this.ultraLabel13);
+            this.panel2.Controls.Add(this.ultraLabel6);
+            this.panel2.Controls.Add(this.cmb_ProductLineEdit);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(760, 178);
+            this.panel2.TabIndex = 0;
+            // 
+            // cmb_InSteel
+            // 
+            this.cmb_InSteel.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_InSteel.DisplayMember = "";
+            this.cmb_InSteel.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_InSteel.Location = new System.Drawing.Point(476, 77);
+            this.cmb_InSteel.Name = "cmb_InSteel";
+            this.cmb_InSteel.Size = new System.Drawing.Size(112, 21);
+            this.cmb_InSteel.TabIndex = 706;
+            this.cmb_InSteel.ValueMember = "";
+            // 
+            // txt_ReMark
+            // 
+            this.txt_ReMark.AutoSize = true;
+            this.txt_ReMark.FlatMode = true;
+            this.txt_ReMark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txt_ReMark.Location = new System.Drawing.Point(636, 148);
+            this.txt_ReMark.Name = "txt_ReMark";
+            this.txt_ReMark.Size = new System.Drawing.Size(116, 19);
+            this.txt_ReMark.TabIndex = 704;
+            // 
+            // ultraLabel21
+            // 
+            this.ultraLabel21.Location = new System.Drawing.Point(596, 152);
+            this.ultraLabel21.Name = "ultraLabel21";
+            this.ultraLabel21.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel21.TabIndex = 705;
+            this.ultraLabel21.Text = "备注";
+            // 
+            // cmb_Rule
+            // 
+            this.cmb_Rule.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Rule.DisplayMember = "";
+            this.cmb_Rule.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Rule.FlatMode = true;
+            this.cmb_Rule.Location = new System.Drawing.Point(476, 29);
+            this.cmb_Rule.Name = "cmb_Rule";
+            this.cmb_Rule.ReadOnly = true;
+            this.cmb_Rule.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Rule.TabIndex = 702;
+            this.cmb_Rule.Tag = "";
+            this.cmb_Rule.ValueMember = "";
+            this.cmb_Rule.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_Rule.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.Location = new System.Drawing.Point(441, 33);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel20.TabIndex = 703;
+            this.ultraLabel20.Text = "定尺";
+            // 
+            // cmb_InMan
+            // 
+            this.cmb_InMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_InMan.DisplayMember = "";
+            this.cmb_InMan.FlatMode = true;
+            this.cmb_InMan.Location = new System.Drawing.Point(296, 53);
+            this.cmb_InMan.Name = "cmb_InMan";
+            this.cmb_InMan.Size = new System.Drawing.Size(112, 19);
+            this.cmb_InMan.TabIndex = 662;
+            this.cmb_InMan.Tag = "";
+            this.cmb_InMan.ValueMember = "";
+            this.cmb_InMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_InMan.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(248, 57);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel9.TabIndex = 701;
+            this.ultraLabel9.Text = "入库人";
+            // 
+            // txt_Comments
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            appearance33.FontData.BoldAsString = "True";
+            appearance33.ForeColor = System.Drawing.Color.Red;
+            appearance33.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance33.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.txt_Comments.Appearance = appearance33;
+            this.txt_Comments.AutoSize = true;
+            this.txt_Comments.FlatMode = true;
+            this.txt_Comments.Location = new System.Drawing.Point(80, 5);
+            this.txt_Comments.Name = "txt_Comments";
+            this.txt_Comments.ReadOnly = true;
+            this.txt_Comments.Size = new System.Drawing.Size(672, 19);
+            this.txt_Comments.TabIndex = 699;
+            this.txt_Comments.TabStop = false;
+            // 
+            // ultraLabel19
+            // 
+            appearance34.FontData.BoldAsString = "True";
+            appearance34.ForeColor = System.Drawing.Color.Red;
+            appearance34.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel19.Appearance = appearance34;
+            this.ultraLabel19.Font = new System.Drawing.Font("宋体", 9.5F);
+            this.ultraLabel19.Location = new System.Drawing.Point(12, 5);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(62, 18);
+            this.ultraLabel19.TabIndex = 700;
+            this.ultraLabel19.Text = "提示信息";
+            // 
+            // dte_InTime
+            // 
+            this.dte_InTime.DateTime = new System.DateTime(2012, 9, 17, 0, 0, 0, 0);
+            this.dte_InTime.FlatMode = true;
+            this.dte_InTime.Location = new System.Drawing.Point(296, 149);
+            this.dte_InTime.MaskInput = "{date} {time}";
+            this.dte_InTime.Name = "dte_InTime";
+            this.dte_InTime.Size = new System.Drawing.Size(112, 19);
+            this.dte_InTime.TabIndex = 666;
+            this.dte_InTime.Tag = "";
+            this.dte_InTime.Value = new System.DateTime(2012, 9, 17, 0, 0, 0, 0);
+            this.dte_InTime.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.dte_InTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.Location = new System.Drawing.Point(236, 153);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel18.TabIndex = 698;
+            this.ultraLabel18.Text = "入库时间";
+            // 
+            // cmb_Buttress
+            // 
+            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buttress.DisplayMember = "";
+            this.cmb_Buttress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buttress.FlatMode = true;
+            this.cmb_Buttress.Location = new System.Drawing.Point(296, 77);
+            this.cmb_Buttress.Name = "cmb_Buttress";
+            this.cmb_Buttress.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Buttress.TabIndex = 663;
+            this.cmb_Buttress.Tag = "";
+            this.cmb_Buttress.ValueMember = "";
+            this.cmb_Buttress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_Buttress.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(236, 81);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 697;
+            this.ultraLabel4.Text = "入库堆位";
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(596, 33);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel3.TabIndex = 696;
+            this.ultraLabel3.Text = "加工线";
+            // 
+            // cmb_Routing
+            // 
+            appearance35.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_Routing.Appearance = appearance35;
+            this.cmb_Routing.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Routing.DisplayMember = "";
+            this.cmb_Routing.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Routing.Location = new System.Drawing.Point(652, 28);
+            this.cmb_Routing.Name = "cmb_Routing";
+            this.cmb_Routing.ReadOnly = true;
+            this.cmb_Routing.Size = new System.Drawing.Size(100, 21);
+            this.cmb_Routing.TabIndex = 667;
+            this.cmb_Routing.ValueMember = "";
+            this.cmb_Routing.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_Routing.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_StoveNo
+            // 
+            appearance36.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_StoveNo.Appearance = appearance36;
+            this.txt_StoveNo.AutoSize = true;
+            this.txt_StoveNo.FlatMode = true;
+            this.txt_StoveNo.Location = new System.Drawing.Point(48, 77);
+            this.txt_StoveNo.Name = "txt_StoveNo";
+            this.txt_StoveNo.Size = new System.Drawing.Size(180, 19);
+            this.txt_StoveNo.TabIndex = 657;
+            this.txt_StoveNo.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_StoveNo.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel37
+            // 
+            this.ultraLabel37.Location = new System.Drawing.Point(12, 81);
+            this.ultraLabel37.Name = "ultraLabel37";
+            this.ultraLabel37.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel37.TabIndex = 695;
+            this.ultraLabel37.Text = "炉号";
+            // 
+            // txt_EndEnter
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_EndEnter.Appearance = appearance37;
+            this.txt_EndEnter.AutoSize = true;
+            this.txt_EndEnter.FlatMode = true;
+            this.txt_EndEnter.Location = new System.Drawing.Point(202, 53);
+            this.txt_EndEnter.MaxLength = 2;
+            this.txt_EndEnter.Name = "txt_EndEnter";
+            this.txt_EndEnter.Size = new System.Drawing.Size(25, 19);
+            this.txt_EndEnter.TabIndex = 656;
+            this.txt_EndEnter.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_EndEnter.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // cmb_FaceQuality
+            // 
+            this.cmb_FaceQuality.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_FaceQuality.DisplayMember = "";
+            this.cmb_FaceQuality.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_FaceQuality.Location = new System.Drawing.Point(476, 101);
+            this.cmb_FaceQuality.Name = "cmb_FaceQuality";
+            this.cmb_FaceQuality.Size = new System.Drawing.Size(112, 21);
+            this.cmb_FaceQuality.TabIndex = 670;
+            this.cmb_FaceQuality.ValueMember = "";
+            this.cmb_FaceQuality.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_FaceQuality.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_RollTopEdit
+            // 
+            appearance38.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollTopEdit.Appearance = appearance38;
+            this.txt_RollTopEdit.AutoSize = true;
+            this.txt_RollTopEdit.FlatMode = true;
+            this.txt_RollTopEdit.Location = new System.Drawing.Point(48, 53);
+            this.txt_RollTopEdit.MaxLength = 5;
+            this.txt_RollTopEdit.Name = "txt_RollTopEdit";
+            this.txt_RollTopEdit.Size = new System.Drawing.Size(32, 19);
+            this.txt_RollTopEdit.TabIndex = 652;
+            this.txt_RollTopEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_RollTopEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.Location = new System.Drawing.Point(236, 33);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel15.TabIndex = 694;
+            this.ultraLabel15.Text = "板块类型";
+            // 
+            // cmb_BilletType
+            // 
+            this.cmb_BilletType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BilletType.DisplayMember = "";
+            this.cmb_BilletType.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_BilletType.FlatMode = true;
+            this.cmb_BilletType.Location = new System.Drawing.Point(296, 29);
+            this.cmb_BilletType.Name = "cmb_BilletType";
+            this.cmb_BilletType.Size = new System.Drawing.Size(112, 19);
+            this.cmb_BilletType.TabIndex = 661;
+            this.cmb_BilletType.Tag = "";
+            this.cmb_BilletType.ValueMember = "";
+            this.cmb_BilletType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_BilletType.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // cmb_ClassTeam
+            // 
+            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassTeam.DisplayMember = "";
+            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassTeam.FlatMode = true;
+            this.cmb_ClassTeam.Location = new System.Drawing.Point(296, 125);
+            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
+            this.cmb_ClassTeam.Size = new System.Drawing.Size(112, 19);
+            this.cmb_ClassTeam.TabIndex = 665;
+            this.cmb_ClassTeam.Tag = "";
+            this.cmb_ClassTeam.ValueMember = "";
+            this.cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_ClassTeam.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(236, 129);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel10.TabIndex = 693;
+            this.ultraLabel10.Text = "入库班组";
+            // 
+            // cmb_ClassOrder
+            // 
+            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOrder.DisplayMember = "";
+            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassOrder.FlatMode = true;
+            this.cmb_ClassOrder.Location = new System.Drawing.Point(296, 101);
+            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
+            this.cmb_ClassOrder.Size = new System.Drawing.Size(112, 19);
+            this.cmb_ClassOrder.TabIndex = 664;
+            this.cmb_ClassOrder.Tag = "";
+            this.cmb_ClassOrder.ValueMember = "";
+            this.cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_ClassOrder.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(236, 105);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 692;
+            this.ultraLabel14.Text = "入库班次";
+            // 
+            // Txt_FNum
+            // 
+            appearance39.BackColor = System.Drawing.Color.LavenderBlush;
+            this.Txt_FNum.Appearance = appearance39;
+            this.Txt_FNum.FlatMode = true;
+            this.Txt_FNum.Location = new System.Drawing.Point(193, 29);
+            this.Txt_FNum.MaskInput = "nn";
+            this.Txt_FNum.MaxValue = 99;
+            this.Txt_FNum.MinValue = -1;
+            this.Txt_FNum.Name = "Txt_FNum";
+            this.Txt_FNum.PromptChar = ' ';
+            this.Txt_FNum.ReadOnly = true;
+            this.Txt_FNum.Size = new System.Drawing.Size(35, 19);
+            this.Txt_FNum.TabIndex = 651;
+            this.Txt_FNum.TabStop = false;
+            this.Txt_FNum.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_FNum.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // Txt_DH
+            // 
+            appearance40.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_DH.Appearance = appearance40;
+            this.Txt_DH.AutoSize = true;
+            this.Txt_DH.FlatMode = true;
+            this.Txt_DH.Location = new System.Drawing.Point(94, 29);
+            this.Txt_DH.MaxLength = 3;
+            this.Txt_DH.Name = "Txt_DH";
+            this.Txt_DH.Size = new System.Drawing.Size(68, 19);
+            this.Txt_DH.TabIndex = 649;
+            this.Txt_DH.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_DH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // Txt_DHNum
+            // 
+            appearance41.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_DHNum.Appearance = appearance41;
+            this.Txt_DHNum.FlatMode = true;
+            this.Txt_DHNum.Location = new System.Drawing.Point(162, 29);
+            this.Txt_DHNum.MaskInput = "nn";
+            this.Txt_DHNum.MaxValue = 99;
+            this.Txt_DHNum.MinValue = -1;
+            this.Txt_DHNum.Name = "Txt_DHNum";
+            this.Txt_DHNum.PromptChar = ' ';
+            this.Txt_DHNum.Size = new System.Drawing.Size(31, 19);
+            this.Txt_DHNum.TabIndex = 650;
+            this.Txt_DHNum.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_DHNum.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // Txt_DHDate
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_DHDate.Appearance = appearance42;
+            this.Txt_DHDate.AutoSize = true;
+            this.Txt_DHDate.FlatMode = true;
+            this.Txt_DHDate.Location = new System.Drawing.Point(48, 29);
+            this.Txt_DHDate.Name = "Txt_DHDate";
+            this.Txt_DHDate.Size = new System.Drawing.Size(46, 19);
+            this.Txt_DHDate.TabIndex = 648;
+            this.Txt_DHDate.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.Txt_DHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel16
+            // 
+            appearance43.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance43.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel16.Appearance = appearance43;
+            this.ultraLabel16.Location = new System.Drawing.Point(12, 33);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel16.TabIndex = 691;
+            this.ultraLabel16.Text = "吊号";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(416, 153);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 690;
+            this.ultraLabel8.Text = "判定结果";
+            // 
+            // cmb_DecideResult
+            // 
+            this.cmb_DecideResult.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_DecideResult.DisplayMember = "";
+            this.cmb_DecideResult.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_DecideResult.Location = new System.Drawing.Point(476, 149);
+            this.cmb_DecideResult.Name = "cmb_DecideResult";
+            this.cmb_DecideResult.ReadOnly = true;
+            this.cmb_DecideResult.Size = new System.Drawing.Size(112, 21);
+            this.cmb_DecideResult.TabIndex = 672;
+            this.cmb_DecideResult.ValueMember = "";
+            this.cmb_DecideResult.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_DecideResult.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(416, 60);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel2.TabIndex = 689;
+            this.ultraLabel2.Text = "切边类型";
+            // 
+            // cmb_ClipType
+            // 
+            this.cmb_ClipType.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClipType.DisplayMember = "";
+            this.cmb_ClipType.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClipType.Location = new System.Drawing.Point(476, 53);
+            this.cmb_ClipType.Name = "cmb_ClipType";
+            this.cmb_ClipType.ReadOnly = true;
+            this.cmb_ClipType.Size = new System.Drawing.Size(112, 21);
+            this.cmb_ClipType.TabIndex = 669;
+            this.cmb_ClipType.ValueMember = "";
+            this.cmb_ClipType.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_ClipType.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_SourceId
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_SourceId.Appearance = appearance44;
+            this.txt_SourceId.AutoSize = true;
+            this.txt_SourceId.FlatMode = true;
+            this.txt_SourceId.Location = new System.Drawing.Point(60, 149);
+            this.txt_SourceId.Name = "txt_SourceId";
+            this.txt_SourceId.ReadOnly = true;
+            this.txt_SourceId.Size = new System.Drawing.Size(168, 19);
+            this.txt_SourceId.TabIndex = 660;
+            this.txt_SourceId.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_SourceId.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // lab_YL
+            // 
+            this.lab_YL.Location = new System.Drawing.Point(12, 153);
+            this.lab_YL.Name = "lab_YL";
+            this.lab_YL.Size = new System.Drawing.Size(42, 16);
+            this.lab_YL.TabIndex = 688;
+            this.lab_YL.Text = "明细号";
+            // 
+            // cmb_BugReaSon
+            // 
+            this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BugReaSon.DisplayMember = "";
+            this.cmb_BugReaSon.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_BugReaSon.Location = new System.Drawing.Point(476, 125);
+            this.cmb_BugReaSon.Name = "cmb_BugReaSon";
+            this.cmb_BugReaSon.Size = new System.Drawing.Size(112, 21);
+            this.cmb_BugReaSon.TabIndex = 671;
+            this.cmb_BugReaSon.ValueMember = "";
+            this.cmb_BugReaSon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            this.cmb_BugReaSon.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            // 
+            // txt_WEIGHT
+            // 
+            appearance45.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_WEIGHT.Appearance = appearance45;
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(652, 124);
+            this.txt_WEIGHT.MaskInput = "nnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.ReadOnly = true;
+            this.txt_WEIGHT.Size = new System.Drawing.Size(100, 19);
+            this.txt_WEIGHT.TabIndex = 676;
+            this.txt_WEIGHT.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(596, 128);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel1.TabIndex = 687;
+            this.ultraLabel1.Text = "入库重量";
+            // 
+            // txt_PlanNO
+            // 
+            appearance46.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PlanNO.Appearance = appearance46;
+            this.txt_PlanNO.AutoSize = true;
+            this.txt_PlanNO.FlatMode = true;
+            this.txt_PlanNO.Location = new System.Drawing.Point(60, 101);
+            this.txt_PlanNO.Name = "txt_PlanNO";
+            this.txt_PlanNO.Size = new System.Drawing.Size(168, 19);
+            this.txt_PlanNO.TabIndex = 658;
+            this.txt_PlanNO.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_PlanNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Width
+            // 
+            appearance47.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Width.Appearance = appearance47;
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(652, 76);
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.ReadOnly = true;
+            this.txt_Width.Size = new System.Drawing.Size(100, 19);
+            this.txt_Width.TabIndex = 674;
+            this.txt_Width.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Length
+            // 
+            appearance48.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Length.Appearance = appearance48;
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(652, 100);
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.ReadOnly = true;
+            this.txt_Length.Size = new System.Drawing.Size(100, 19);
+            this.txt_Length.TabIndex = 675;
+            this.txt_Length.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Ply
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Ply.Appearance = appearance49;
+            this.txt_Ply.FlatMode = true;
+            this.txt_Ply.Location = new System.Drawing.Point(652, 52);
+            this.txt_Ply.MaskInput = "nnn.nnn";
+            this.txt_Ply.Name = "txt_Ply";
+            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Ply.PromptChar = ' ';
+            this.txt_Ply.ReadOnly = true;
+            this.txt_Ply.Size = new System.Drawing.Size(100, 19);
+            this.txt_Ply.TabIndex = 673;
+            this.txt_Ply.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_RollEnd
+            // 
+            appearance50.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_RollEnd.Appearance = appearance50;
+            this.txt_RollEnd.AutoSize = true;
+            this.txt_RollEnd.FlatMode = true;
+            this.txt_RollEnd.Location = new System.Drawing.Point(180, 53);
+            this.txt_RollEnd.MaxLength = 2;
+            this.txt_RollEnd.Name = "txt_RollEnd";
+            this.txt_RollEnd.Size = new System.Drawing.Size(22, 19);
+            this.txt_RollEnd.TabIndex = 655;
+            this.txt_RollEnd.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_RollEnd.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_MBilletID
+            // 
+            appearance51.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_MBilletID.Appearance = appearance51;
+            this.txt_MBilletID.AutoSize = true;
+            this.txt_MBilletID.FlatMode = true;
+            this.txt_MBilletID.Location = new System.Drawing.Point(148, 53);
+            this.txt_MBilletID.MaxLength = 4;
+            this.txt_MBilletID.Name = "txt_MBilletID";
+            this.txt_MBilletID.Size = new System.Drawing.Size(32, 19);
+            this.txt_MBilletID.TabIndex = 654;
+            this.txt_MBilletID.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_MBilletID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // txt_Roll
+            // 
+            appearance52.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_Roll.Appearance = appearance52;
+            this.txt_Roll.AutoSize = true;
+            this.txt_Roll.FlatMode = true;
+            this.txt_Roll.Location = new System.Drawing.Point(80, 53);
+            this.txt_Roll.MaxLength = 6;
+            this.txt_Roll.Name = "txt_Roll";
+            this.txt_Roll.Size = new System.Drawing.Size(68, 19);
+            this.txt_Roll.TabIndex = 653;
+            this.txt_Roll.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_Roll.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel27
+            // 
+            this.ultraLabel27.Location = new System.Drawing.Point(416, 105);
+            this.ultraLabel27.Name = "ultraLabel27";
+            this.ultraLabel27.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel27.TabIndex = 686;
+            this.ultraLabel27.Text = "表面质量";
+            // 
+            // ultraLabel25
+            // 
+            this.ultraLabel25.Location = new System.Drawing.Point(416, 129);
+            this.ultraLabel25.Name = "ultraLabel25";
+            this.ultraLabel25.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel25.TabIndex = 685;
+            this.ultraLabel25.Text = "表面缺陷";
+            // 
+            // txt_OrderNOEdit
+            // 
+            appearance53.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_OrderNOEdit.Appearance = appearance53;
+            this.txt_OrderNOEdit.AutoSize = true;
+            this.txt_OrderNOEdit.FlatMode = true;
+            this.txt_OrderNOEdit.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txt_OrderNOEdit.Location = new System.Drawing.Point(60, 125);
+            this.txt_OrderNOEdit.Name = "txt_OrderNOEdit";
+            this.txt_OrderNOEdit.Size = new System.Drawing.Size(168, 19);
+            this.txt_OrderNOEdit.TabIndex = 659;
+            this.txt_OrderNOEdit.Enter += new System.EventHandler(this.Txt_DHDate_Enter);
+            this.txt_OrderNOEdit.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_DHDate_KeyDown);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(12, 129);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel7.TabIndex = 684;
+            this.ultraLabel7.Text = "订单号";
+            // 
+            // lab_cd
+            // 
+            this.lab_cd.Location = new System.Drawing.Point(596, 104);
+            this.lab_cd.Name = "lab_cd";
+            this.lab_cd.Size = new System.Drawing.Size(54, 16);
+            this.lab_cd.TabIndex = 683;
+            this.lab_cd.Text = "入库长度";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(596, 80);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel17.TabIndex = 682;
+            this.ultraLabel17.Text = "入库宽度";
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(596, 56);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel12.TabIndex = 681;
+            this.ultraLabel12.Text = "入库厚度";
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.Location = new System.Drawing.Point(416, 84);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel11.TabIndex = 680;
+            this.ultraLabel11.Text = "入库牌号";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.Location = new System.Drawing.Point(12, 105);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel13.TabIndex = 679;
+            this.ultraLabel13.Text = "计划号";
+            // 
+            // ultraLabel6
+            // 
+            appearance54.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel6.Appearance = appearance54;
+            this.ultraLabel6.Location = new System.Drawing.Point(12, 57);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel6.TabIndex = 678;
+            this.ultraLabel6.Text = "序号";
+            // 
+            // cmb_ProductLineEdit
+            // 
+            this.cmb_ProductLineEdit.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProductLineEdit.DisplayMember = "";
+            this.cmb_ProductLineEdit.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ProductLineEdit.Location = new System.Drawing.Point(656, 4);
+            this.cmb_ProductLineEdit.Name = "cmb_ProductLineEdit";
+            this.cmb_ProductLineEdit.Size = new System.Drawing.Size(104, 21);
+            this.cmb_ProductLineEdit.TabIndex = 677;
+            this.cmb_ProductLineEdit.TabStop = false;
+            this.cmb_ProductLineEdit.ValueMember = "";
+            this.cmb_ProductLineEdit.Visible = false;
+            this.cmb_ProductLineEdit.ValueChanged += new System.EventHandler(this.cmb_ProductLineEdit_ValueChanged_1);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.gd_Turnoff);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 316);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1176, 142);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 7;
+            this.ultraGroupBox2.Text = "成品入库信息";
+            // 
+            // gd_Turnoff
+            // 
+            this.gd_Turnoff.DataSource = this.DT_KCJ_TURNOFF;
+            appearance55.BackColor = System.Drawing.Color.Ivory;
+            this.gd_Turnoff.DisplayLayout.Appearance = appearance55;
+            ultraGridColumn9.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn9.Header.Caption = "吊号";
+            ultraGridColumn9.Header.VisiblePosition = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn10.Header.Caption = "堆位";
+            ultraGridColumn10.Header.VisiblePosition = 2;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn11.Header.Caption = "序号";
+            ultraGridColumn11.Header.VisiblePosition = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 26);
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn12.Header.Caption = "产线";
+            ultraGridColumn12.Header.VisiblePosition = 4;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn13.Header.Caption = "轧编号";
+            ultraGridColumn13.Header.VisiblePosition = 5;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 26);
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn14.Header.Caption = "炉号";
+            ultraGridColumn14.Header.VisiblePosition = 7;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 26);
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn15.Header.Caption = "计划号";
+            ultraGridColumn15.Header.VisiblePosition = 8;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 26);
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn16.Header.Caption = "订单号";
+            ultraGridColumn16.Header.VisiblePosition = 9;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 26);
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn17.Header.Caption = "入库牌号";
+            ultraGridColumn17.Header.VisiblePosition = 10;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn18.Header.Caption = "规格";
+            ultraGridColumn18.Header.VisiblePosition = 11;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 26);
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn19.Header.Caption = "重量";
+            ultraGridColumn19.Header.VisiblePosition = 14;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 26);
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn20.Header.Caption = "定尺";
+            ultraGridColumn20.Header.VisiblePosition = 16;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn21.Header.Caption = "板块类型";
+            ultraGridColumn21.Header.VisiblePosition = 12;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn22.Header.Caption = "表面质量";
+            ultraGridColumn22.Header.VisiblePosition = 13;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn23.Header.Caption = "表面缺陷";
+            ultraGridColumn23.Header.VisiblePosition = 15;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            appearance56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            ultraGridColumn24.CellAppearance = appearance56;
+            ultraGridColumn24.Header.Caption = "判定牌号";
+            ultraGridColumn24.Header.VisiblePosition = 17;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn25.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn25.Header.Caption = "判定结果";
+            ultraGridColumn25.Header.VisiblePosition = 18;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn26.Header.Caption = "认证结果";
+            ultraGridColumn26.Header.VisiblePosition = 19;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn27.Header.Caption = "认证机构";
+            ultraGridColumn27.Header.VisiblePosition = 20;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn28.Header.Caption = "生产时间";
+            ultraGridColumn28.Header.VisiblePosition = 21;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn29.Header.Caption = "入库时间";
+            ultraGridColumn29.Header.VisiblePosition = 22;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn30.Header.Caption = "原料重量";
+            ultraGridColumn30.Header.VisiblePosition = 24;
+            ultraGridColumn30.Hidden = true;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn31.Header.Caption = "切边类型";
+            ultraGridColumn31.Header.VisiblePosition = 25;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn32.Header.Caption = "原料明细";
+            ultraGridColumn32.Header.VisiblePosition = 26;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(86, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.Caption = "质检编号";
+            ultraGridColumn33.Header.VisiblePosition = 27;
+            ultraGridColumn33.Hidden = true;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn34.Header.Caption = "喷涂面积";
+            ultraGridColumn34.Header.VisiblePosition = 28;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn35.Header.Caption = "生产线";
+            ultraGridColumn35.Header.VisiblePosition = 29;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn36.Header.Caption = "生产序号";
+            ultraGridColumn36.Header.VisiblePosition = 3;
+            ultraGridColumn36.Hidden = true;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn37.Header.Caption = "工单号";
+            ultraGridColumn37.Header.VisiblePosition = 6;
+            ultraGridColumn37.Hidden = true;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(73, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "";
+            ultraGridColumn38.Header.VisiblePosition = 23;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 26);
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn39.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn39.Header.Caption = "入库班次";
+            ultraGridColumn39.Header.VisiblePosition = 30;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn40.Header.Caption = "入库班组";
+            ultraGridColumn40.Header.VisiblePosition = 31;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.CellActivation = Infragistics.Win.UltraWinGrid.Activation.NoEdit;
+            ultraGridColumn41.Header.Caption = "登记时间";
+            ultraGridColumn41.Header.VisiblePosition = 32;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "原计划号";
+            ultraGridColumn42.Header.VisiblePosition = 33;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
+            ultraGridColumn43.Header.Caption = "原订单号";
+            ultraGridColumn43.Header.VisiblePosition = 34;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
+            ultraGridColumn44.Header.Caption = "状态";
+            ultraGridColumn44.Header.VisiblePosition = 35;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(51, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44});
+            appearance57.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance57;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance58.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance58.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings3.Appearance = appearance58;
+            summarySettings3.DisplayFormat = "{0}";
+            summarySettings3.GroupBySummaryValueAppearance = appearance59;
+            summarySettings3.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            appearance60.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance60.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings4.Appearance = appearance60;
+            summarySettings4.DisplayFormat = "{0:.###}";
+            summarySettings4.GroupBySummaryValueAppearance = appearance61;
+            summarySettings4.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            appearance62.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance62.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings5.Appearance = appearance62;
+            summarySettings5.DisplayFormat = "{0:.###}";
+            summarySettings5.GroupBySummaryValueAppearance = appearance63;
+            summarySettings5.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4,
+            summarySettings5});
+            ultraGridBand2.UseRowLayout = true;
+            this.gd_Turnoff.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gd_Turnoff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance64.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance64.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance64.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance64.BorderColor = System.Drawing.SystemColors.Window;
+            this.gd_Turnoff.DisplayLayout.GroupByBox.Appearance = appearance64;
+            appearance65.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gd_Turnoff.DisplayLayout.GroupByBox.BandLabelAppearance = appearance65;
+            this.gd_Turnoff.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_Turnoff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance66.BackColor = System.Drawing.SystemColors.Window;
+            appearance66.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gd_Turnoff.DisplayLayout.Override.ActiveCellAppearance = appearance66;
+            appearance67.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance67.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gd_Turnoff.DisplayLayout.Override.ActiveRowAppearance = appearance67;
+            appearance68.BorderColor = System.Drawing.Color.Black;
+            appearance68.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Turnoff.DisplayLayout.Override.CellAppearance = appearance68;
+            this.gd_Turnoff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gd_Turnoff.DisplayLayout.Override.CellPadding = 0;
+            appearance69.BackColor = System.Drawing.SystemColors.Control;
+            appearance69.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance69.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance69.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance69.BorderColor = System.Drawing.SystemColors.Window;
+            appearance69.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance69.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Turnoff.DisplayLayout.Override.GroupByRowAppearance = appearance69;
+            this.gd_Turnoff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance70.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_Turnoff.DisplayLayout.Override.HeaderAppearance = appearance70;
+            this.gd_Turnoff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gd_Turnoff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance71.BackColor = System.Drawing.SystemColors.Window;
+            appearance71.BorderColor = System.Drawing.Color.Black;
+            appearance71.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Turnoff.DisplayLayout.Override.RowAppearance = appearance71;
+            appearance72.BackColor = System.Drawing.SystemColors.Window;
+            appearance72.BorderColor = System.Drawing.Color.Black;
+            appearance72.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Turnoff.DisplayLayout.Override.RowPreviewAppearance = appearance72;
+            this.gd_Turnoff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_Turnoff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_Turnoff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance73.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance73.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Turnoff.DisplayLayout.Override.SelectedRowAppearance = appearance73;
+            this.gd_Turnoff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance74.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_Turnoff.DisplayLayout.Override.SummaryFooterAppearance = appearance74;
+            appearance75.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance75.ForeColor = System.Drawing.Color.Red;
+            this.gd_Turnoff.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance75;
+            this.gd_Turnoff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance76.BackColor = System.Drawing.Color.MistyRose;
+            appearance76.ForeColor = System.Drawing.Color.Blue;
+            appearance76.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance76.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Turnoff.DisplayLayout.Override.SummaryValueAppearance = appearance76;
+            appearance77.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_Turnoff.DisplayLayout.Override.TemplateAddRowAppearance = appearance77;
+            this.gd_Turnoff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_Turnoff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_Turnoff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_Turnoff.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_Turnoff.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gd_Turnoff.Location = new System.Drawing.Point(3, 18);
+            this.gd_Turnoff.Name = "gd_Turnoff";
+            this.gd_Turnoff.Size = new System.Drawing.Size(1170, 121);
+            this.gd_Turnoff.TabIndex = 0;
+            this.gd_Turnoff.Text = "ultraGrid1";
+            this.gd_Turnoff.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gd_Turnoff_CellChange);
+            // 
+            // DT_KCJ_TURNOFF
+            // 
+            this.DT_KCJ_TURNOFF.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn1,
+            this.dataColumn2,
+            this.dataColumn3,
+            this.dataColumn4,
+            this.dataColumn5,
+            this.dataColumn6,
+            this.dataColumn7,
+            this.dataColumn8,
+            this.dataColumn9,
+            this.dataColumn10,
+            this.dataColumn11,
+            this.dataColumn12,
+            this.dataColumn13,
+            this.dataColumn14,
+            this.dataColumn15,
+            this.dataColumn16,
+            this.dataColumn17,
+            this.dataColumn18,
+            this.dataColumn19,
+            this.dataColumn20,
+            this.dataColumn21,
+            this.dataColumn22,
+            this.dataColumn23,
+            this.dataColumn24,
+            this.dataColumn25,
+            this.dataColumn26,
+            this.dataColumn27,
+            this.dataColumn28,
+            this.dataColumn29,
+            this.dataColumn30,
+            this.dataColumn31,
+            this.dataColumn32,
+            this.dataColumn33,
+            this.dataColumn35,
+            this.dataColumn42,
+            this.dataColumn44});
+            this.DT_KCJ_TURNOFF.TableName = "KCJ_TURNOFF";
+            // 
+            // dataColumn1
+            // 
+            this.dataColumn1.ColumnName = "CONDOLENUMBER";
+            // 
+            // dataColumn2
+            // 
+            this.dataColumn2.ColumnName = "BUTTRESS";
+            // 
+            // dataColumn3
+            // 
+            this.dataColumn3.ColumnName = "BILLETID";
+            // 
+            // dataColumn4
+            // 
+            this.dataColumn4.ColumnName = "PRODUCTLINE";
+            // 
+            // dataColumn5
+            // 
+            this.dataColumn5.ColumnName = "ROLLNUMBER";
+            // 
+            // dataColumn6
+            // 
+            this.dataColumn6.ColumnName = "STOVENO";
+            // 
+            // dataColumn7
+            // 
+            this.dataColumn7.ColumnName = "PLANNO";
+            // 
+            // dataColumn8
+            // 
+            this.dataColumn8.ColumnName = "ORDERNO";
+            // 
+            // dataColumn9
+            // 
+            this.dataColumn9.ColumnName = "INSTEEL";
+            // 
+            // dataColumn10
+            // 
+            this.dataColumn10.ColumnName = "PLY";
+            // 
+            // dataColumn11
+            // 
+            this.dataColumn11.ColumnName = "THEORYWEIGHT";
+            this.dataColumn11.DataType = typeof(decimal);
+            // 
+            // dataColumn12
+            // 
+            this.dataColumn12.ColumnName = "RULE";
+            // 
+            // dataColumn13
+            // 
+            this.dataColumn13.ColumnName = "BILLETTYP";
+            // 
+            // dataColumn14
+            // 
+            this.dataColumn14.ColumnName = "FACEQUALITY";
+            // 
+            // dataColumn15
+            // 
+            this.dataColumn15.ColumnName = "BUGREASON";
+            // 
+            // dataColumn16
+            // 
+            this.dataColumn16.ColumnName = "DETERMINANTCARDNUMBER";
+            // 
+            // dataColumn17
+            // 
+            this.dataColumn17.ColumnName = "DETERMINANTRESULT";
+            // 
+            // dataColumn18
+            // 
+            this.dataColumn18.ColumnName = "ATTESTATIONRESULT";
+            // 
+            // dataColumn19
+            // 
+            this.dataColumn19.ColumnName = "ATTESTATIONORGAN";
+            // 
+            // dataColumn20
+            // 
+            this.dataColumn20.ColumnName = "PTIME";
+            // 
+            // dataColumn21
+            // 
+            this.dataColumn21.ColumnName = "INTIME";
+            // 
+            // dataColumn22
+            // 
+            this.dataColumn22.ColumnName = "BILLETWEIGHT";
+            this.dataColumn22.DataType = typeof(decimal);
+            // 
+            // dataColumn23
+            // 
+            this.dataColumn23.ColumnName = "CLIPTYPEPROCESS";
+            // 
+            // dataColumn24
+            // 
+            this.dataColumn24.ColumnName = "SOURCEID";
+            // 
+            // dataColumn25
+            // 
+            this.dataColumn25.ColumnName = "INSPECTIONID";
+            // 
+            // dataColumn26
+            // 
+            this.dataColumn26.ColumnName = "ACREAGE";
+            this.dataColumn26.DataType = typeof(decimal);
+            // 
+            // dataColumn27
+            // 
+            this.dataColumn27.ColumnName = "ROUTING";
+            // 
+            // dataColumn28
+            // 
+            this.dataColumn28.ColumnName = "SCID";
+            // 
+            // dataColumn29
+            // 
+            this.dataColumn29.ColumnName = "WORKORDER_ID";
+            // 
+            // dataColumn30
+            // 
+            this.dataColumn30.ColumnName = "FLAG";
+            // 
+            // dataColumn31
+            // 
+            this.dataColumn31.ColumnName = "INCLASSORDER";
+            // 
+            // dataColumn32
+            // 
+            this.dataColumn32.ColumnName = "INCLASSTEAM";
+            // 
+            // dataColumn33
+            // 
+            this.dataColumn33.ColumnName = "INBUTTRESSTIME";
+            // 
+            // dataColumn35
+            // 
+            this.dataColumn35.ColumnName = "YPLANNO";
+            // 
+            // dataColumn42
+            // 
+            this.dataColumn42.ColumnName = "YORDERNO";
+            // 
+            // dataColumn44
+            // 
+            this.dataColumn44.ColumnName = "CL";
+            // 
+            // ds_All
+            // 
+            this.ds_All.DataSetName = "NewDataSet";
+            this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
+            this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
+            this.DT_KCJ_TURNOFF});
+            // 
+            // ds_Coll
+            // 
+            this.ds_Coll.DataSetName = "NewDataSet";
+            this.ds_Coll.Locale = new System.Globalization.CultureInfo("zh-CN");
+            this.ds_Coll.Tables.AddRange(new System.Data.DataTable[] {
+            this.DT_KCJ_ZY_TASKDETAIL});
+            // 
+            // Frm_TurnoffCollect
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1176, 458);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_TurnoffCollect";
+            this.Text = "成品收集入库";
+            this.Load += new System.EventHandler(this.Frm_TurnoffCollect_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PEndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_PBeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Condole)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ShopSign)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Coll)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_ZY_TASKDETAIL)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Rule)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Comments)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_InTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Routing)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_StoveNo)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_EndEnter)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FaceQuality)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTopEdit)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BilletType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_FNum)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHNum)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_DHDate)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_DecideResult)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClipType)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SourceId)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MBilletID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Roll)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNOEdit)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLineEdit)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_Turnoff)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_TURNOFF)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_Coll)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked;
+			this.dte_EndTime.Enabled = this.chk_CollectTime.Checked;
+		}
+		private void chk_Ptime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.dte_PBeginTime.Enabled = this.chk_Ptime.Checked;
+			this.dte_PEndTime.Enabled = this.chk_Ptime.Checked;
+		}
+
+		private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+		}
+
+		private void chk_PlanID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanID.Enabled = this.chk_PlanID.Checked;
+		}
+
+		private void chk_BilletID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_BilletID.Enabled = this.chk_BilletID.Checked;
+		}
+
+		private void chk_ProductLine_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_ProductLine.Enabled = this.chk_ProductLine.Checked;
+		}
+
+		private void chk_Condole_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_Condole.Enabled =this.chk_Condole.Checked;
+		}
+
+		private void chk_RollNum_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_RollTop.Enabled = this.chk_RollNum.Checked;
+			txt_RollNOBegin.Enabled = this.chk_RollNum.Checked;
+			txt_RollNOEnd.Enabled = this.chk_RollNum.Checked;
+		}
+
+		private void chk_ShopSign_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_ShopSign.Enabled = this.chk_ShopSign.Checked;
+		}
+
+		private void cmb_ProductLineEdit_ValueChanged_1(object sender, System.EventArgs e)
+		{
+			string strOut = "";
+			string strSql = "";
+			string plidSon = "";
+			DataSet ds; 
+			try
+			{
+				//----初始化cmb_ShopSign---------------
+				 strSql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + Comm.ObjToStr(cmb_ProductLineEdit.Value)+ "' ORDER BY STEELNAME ASC";
+				 ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_R_PLINE_STEELS";
+
+				Comm.Init_ComboControl(this.cmb_InSteel,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
+
+				switch(Comm.ObjToStr(cmb_ProductLineEdit.Value))
+				{
+					case "4001HB1":
+						plidSon = "4124HB";
+						break;
+
+					case "4001ZB1":
+						plidSon = "4124ZB";
+						break;
+				}
+
+				//初始化cmb_BugReaSon  表面缺陷
+				strSql = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='4124' and substr(id_,1,6)='" + plidSon + "' order by NAME_ asc " ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_BugReaSon,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void cmb_ProductLine_RowSelected(object sender, Infragistics.Win.UltraWinGrid.RowSelectedEventArgs e)
+		{
+			string strOut = "";
+			try
+			{
+				//----初始化cmb_ShopSign---------------
+				string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" + e.Row.Cells["ID_"].Text+ "' ORDER BY STEELNAME ASC";
+				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{sql},out strOut);
+				ds.Tables[0].TableName="SCM_R_PLINE_STEELS";
+
+				Comm.Init_ComboControl(this.cmb_ShopSign,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		private void cmb_ProductLineEdit_ValueChanged(object sender, System.EventArgs e)
+		{
+			string strOut = "";
+			try
+			{
+				//初始化cmb_BugReaSon  表面缺陷
+					string strSql = "select ID_,NAME_  from SCM_BASE_INFO  where sort_code='4124' and substr(id_,1,6)='" +  Comm.ObjToStr(cmb_ProductLineEdit.Value) + "' order by NAME_ asc " ;
+				DataSet ds_ = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds_.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_BugReaSon,"SCM_BASE_INFO","NAME_","ID_",ref ds_);
+
+				//----初始化cmb_InSteel---------------编辑区牌号
+				string sql = "SELECT STEELNAME,PLID FROM SCM_R_PLINE_STEELS WHERE PLID='" +  Comm.ObjToStr(cmb_ProductLineEdit.Value)+ "' ORDER BY STEELNAME ASC";
+				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{sql},out strOut);
+				ds.Tables[0].TableName="SCM_R_PLINE_STEELS";
+
+				Comm.Init_ComboControl(this.cmb_InSteel,"SCM_R_PLINE_STEELS","STEELNAME","STEELNAME",ref ds);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gd_Turnoff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gd_Turnoff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gb_Coll.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Coll.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+
+				}
+				else
+				{
+					this.gd_Turnoff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gd_Turnoff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gd_Turnoff.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gd_Turnoff.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gd_Turnoff.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gb_Coll.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Coll.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Coll.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Coll.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Coll.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void gd_Turnoff_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(Comm.ObjToStr(e.Cell.Value).ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+        public string sstyle = "";
+		private void Frm_TurnoffCollect_Load(object sender, System.EventArgs e)
+		{
+			Comm.SetGridSumArea(this.gb_Coll);
+            if (this.Key.Split('@').Length > 1)
+            {
+                sstyle = this.Key.Split('@')[1];
+
+            }
+			try
+			{
+				this.dte_BeginTime.DateTime = System.DateTime.Now.Date;
+				this.dte_EndTime.DateTime = System.DateTime.Now.Date;
+				this.dte_PBeginTime.DateTime = System.DateTime.Now.Date;
+				this.dte_PEndTime.DateTime = System.DateTime.Now.Date;
+				this.dte_InTime.DateTime = System.DateTime.Now.Date;
+
+				Txt_DHDate.Text=System.DateTime.Now.ToString("yyMMdd");
+				this.IniComb();
+				Comm.SetGridSumArea(this.gd_Turnoff);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			try
+			{
+				switch(e.Tool.Key)
+				{
+					case "QUERY":
+						//GetInStorage1(this.GetWhere());
+						this.GetInStorage(this.GetWhere());
+						break;
+
+					case "RECORD":
+						this.AffirmCollect();
+						break;
+
+					case "CANCELRECORD":		
+						this.DelCollect();
+						break;				
+
+					case "TO_EXCEL":	
+						this.Export(this.gd_Turnoff,@"成品收集入库信息.xls");
+						break;
+					case "REFUBISH":
+						this.GetREI(this.GetReiWhere());
+						break;
+
+					case"CLOSE":
+						this.Close();
+						break;
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		#region IniWindow
+		private void IniComb()
+		{
+			string strOut = "";
+			string strSql = "";
+			DataSet ds; 
+
+			try
+			{
+				//定尺
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '1022'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_Rule,"SCM_BASE_INFO","NAME_","ID_",ref ds);		
+
+				//班次
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);		
+		
+				//班组
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+                if (ClientCommon._UserInfo.UserRoleID == "pszxck")
+                {
+                    //摆放堆位
+                    if (sstyle == "2")
+                    {
+                        strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE ='配送中心(新钢库)'";
+                        ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                        ds.Tables[0].TableName = "KCJ_BUTTRESS";
+                    }
+                    else
+                    {
+                        strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE ='配送中心(线棒库)'";
+                        ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                        ds.Tables[0].TableName = "KCJ_BUTTRESS";
+                    }
+                }
+                else
+                {
+                    //摆放堆位
+                    strSql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS WHERE BUTTRESSTYPE='1' AND ISVALID='1' and  AREACODE  not in ('配送中心(线棒库)','配送中心(线棒库)')";
+                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                    ds.Tables[0].TableName = "KCJ_BUTTRESS";
+                }
+
+				Comm.Init_ComboControl(this.cmb_Buttress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+
+				//板块类型
+				strSql ="SELECT T.ID_,T.NAME_ FROM KCJ_BASEDATA T WHERE T.SORT_CODE='8006'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="KCJ_BASEDATA";
+
+				Comm.Init_ComboControl(this.cmb_BilletType,"KCJ_BASEDATA","NAME_","ID_",ref ds);	
+
+				//入库人
+
+                if (ClientCommon._UserInfo.UserRoleID == "pszxck")
+                {
+                    strSql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='514010'";
+                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                    ds.Tables[0].TableName = "KCJ_BASEDATA";
+                }
+                else
+                {
+                    strSql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='514003'";
+                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager", "Core.XgMes.Server.JGKC.TurnoffManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                    ds.Tables[0].TableName = "KCJ_BASEDATA";
+                }
+
+				Comm.Init_ComboControl(this.cmb_InMan,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+
+				//生产线
+				strSql ="SELECT T.ID_,T.NAME_ FROM KCJ_BASEDATA T WHERE T.SORT_CODE='8010'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="KCJ_BASEDATA";
+
+				Comm.Init_ComboControl(this.cmb_Routing,"KCJ_BASEDATA","NAME_","ID_",ref ds);	
+
+				//表面质量
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '5126'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_FaceQuality,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
+//
+//				//表面缺陷
+//				strSql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO  WHERE SORT_CODE='4124' AND NOT ID_ LIKE '4124XC%' " ;
+//				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+//				ds.Tables[0].TableName="SCM_BASE_INFO";
+//
+//				Comm.Init_ComboControl(this.cmb_BugReaSon,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+				
+				//判定结果
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '4014'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_DecideResult,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
+				
+				//切边类型
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '1030'" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClipType,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
+				
+				//产线
+				strSql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE ID_ IN ('4001HB1','4001ZB1')" ;
+				ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{strSql},out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ProductLine,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
+				Comm.Init_ComboControl(this.cmb_ProductLineEdit,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}	
+
+		#endregion		
+
+		#region 查询
+		/// <summary>
+		/// 获取查询条件
+		/// </summary>
+		/// <returns></returns>
+		private string GetWhere()
+		{
+			string rtnStr="";
+
+			if(this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
+				rtnStr += " AND A.PLANNO LIKE '" + this.txt_PlanID.Text.Trim() + "%'";
+
+			if(this.dte_BeginTime.Enabled && this.dte_EndTime.Enabled)
+                //rtnStr += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+                //    + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+            rtnStr += " AND (A.INTIME BETWEEN TO_DATE('"
+                        + this.dte_BeginTime.DateTime + "','yyyy-MM-dd hh24:mi:ss') AND TO_DATE('"
+                        + this.dte_EndTime.DateTime+ "','yyyy-MM-dd hh24:mi:ss'))"; 
+				
+			if(this.dte_PBeginTime.Enabled && this.dte_PEndTime.Enabled)
+                //rtnStr += " AND TO_CHAR(A.PTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_PBeginTime.Value).ToString("yyyy-MM-dd")+"' "
+                //    + " AND TO_CHAR(A.PTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_PEndTime.Value).ToString("yyyy-MM-dd")+"' ";
+            rtnStr += " AND (A.PTIME BETWEEN TO_DATE('"
+                    + this.dte_BeginTime.DateTime + "','yyyy-MM-dd hh24:mi:ss') AND TO_DATE('"
+                    + this.dte_EndTime.DateTime + "','yyyy-MM-dd hh24:mi:ss'))"; 
+				
+			
+			if(this.cmb_ProductLine.Enabled && this.cmb_ProductLine.Text.Trim().Length > 0)
+				rtnStr += " AND A.PRODUCTLINE ='" + Comm.ObjToStr(this.cmb_ProductLine.Value) + "'";
+
+			if(this.cmb_ShopSign.Enabled && this.cmb_ShopSign.Text.Trim().Length > 0)
+				rtnStr += " AND A.DETERMINANTCARDNUMBER ='" + this.cmb_ShopSign.Text.Trim() + "'";
+
+			if(this.txt_OrderNO.Enabled && this.txt_OrderNO.Text.Trim().Length > 0)
+				rtnStr += " AND A.ORDERNO LIKE '" + this.txt_OrderNO.Text.Trim() + "%'";
+
+			if(this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
+				rtnStr += " AND A.BILLETID LIKE '" + this.txt_BilletID.Text.Trim() + "%'";
+
+			if(this.txt_Condole.Enabled && this.txt_Condole.Text.Trim().Length > 0)
+				rtnStr += " AND B.CONDOLENUMBER LIKE '" + this.txt_Condole.Text.Trim() + "%'";
+
+			if(this.chk_RollNum.Checked)
+			{
+                //rtnStr += " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='"+this.txt_RollTop.Text.Trim()+"' ";
+                //if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length<5)
+                //{
+                //    rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='"+this.txt_RollNOBegin.Text.Trim()+"'";
+                //}
+                //if(this.txt_RollNOBegin.Text.Trim().Length<5 && this.txt_RollNOEnd.Text.Trim().Length==5)
+                //{
+                //    rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'";
+                //}
+                //if(this.txt_RollNOBegin.Text.Trim().Length==5 && this.txt_RollNOEnd.Text.Trim().Length==5)
+                //{
+                //    rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"'"
+                //        + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='"+this.txt_RollNOBegin.Text.Trim()+"'";
+                //}
+                rtnStr += " AND A.ROLLNUMBER LIKE  '" + txt_RollNOBegin.ToString().Trim()+ " %'";
+
+			}
+
+			return rtnStr;
+ 
+		}
+
+		/// <summary>
+		/// 获取收集入库信息
+		/// </summary>
+		/// <param name=" _Condition">条件</param>
+		/// <returns></returns>
+		private void GetInStorage(string _Condition)
+		{
+			try
+			{
+				string strOut = "";
+				this.ds_All.Tables["KCJ_TURNOFF"].Clear();
+				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
+					"GetTurnoffCollect",new object[]{_Condition},out strOut);
+
+				if(obj != null)
+					this.ds_All.Merge(obj as System.Data.DataSet);
+				this.ds_All.Tables["KCJ_TURNOFF"].AcceptChanges();					
+				Comm.SetGridSumArea(this.gd_Turnoff);
+				
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		private void GetInStorage1(string _Condition)
+		{
+			try
+			{
+				string strOut = "";
+				this.ds_All.Tables["KCJ_TURNOFF"].Clear();
+				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager","GetTurnoffCollect1",new object[]{_Condition},out strOut);
+
+				if(obj != null)
+					this.ds_All.Merge(obj as System.Data.DataSet);
+				this.ds_All.Tables["KCJ_TURNOFF"].AcceptChanges();					
+				Comm.SetGridSumArea(this.gd_Turnoff);
+				
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		private string GetReiWhere()
+		{
+			string rtnStr="";
+
+			if(this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
+				rtnStr += " AND A.PLANNO LIKE '" + this.txt_PlanID.Text.Trim() + "%'";
+
+			if(this.dte_PBeginTime.Enabled && this.dte_PEndTime.Enabled)
+				rtnStr += " AND TO_CHAR(A.DOWN_TIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_PBeginTime.Value).ToString("yyyy-MM-dd")+"' "
+					+ " AND TO_CHAR(A.DOWN_TIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_PEndTime.Value).ToString("yyyy-MM-dd")+"' ";
+
+			if(this.cmb_ProductLine.Enabled && this.cmb_ProductLine.Text.Trim().Length > 0)
+				rtnStr += " AND A.PRODUCTLINE ='" + Comm.ObjToStr(this.cmb_ProductLine.Value) + "'";
+
+			if(this.cmb_ShopSign.Enabled && this.cmb_ShopSign.Text.Trim().Length > 0)
+				rtnStr += " AND A.DETERMINANTCARDNUMBER ='" + this.cmb_ShopSign.Text.Trim() + "'";
+
+			if(this.txt_OrderNO.Enabled && this.txt_OrderNO.Text.Trim().Length > 0)
+				rtnStr += " AND A.ORDERNO LIKE '" + this.txt_OrderNO.Text.Trim() + "%'";
+
+			if(this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
+				rtnStr += " AND A.BILLETID LIKE '" + this.txt_BilletID.Text.Trim() + "%'";
+
+			return rtnStr;
+
+		}
+		/// <summary>
+		/// 获取生产实绩信息
+		/// </summary>
+		/// <param name="_Conndition"></param>
+		private void GetREI(string _Conndition)
+		{
+			try
+			{
+               string strOut="";
+			   this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].Clear();
+			   object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
+				   "GetREI",new object[]{GetReiWhere()},out strOut);
+				if(obj!=null)
+					this.ds_Coll.Merge(obj as System.Data.DataSet);
+
+				this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].AcceptChanges();
+				Comm.SetGridSumArea(this.gb_Coll);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		#endregion
+		
+		#region 获取板块作业信息
+		private string GetBilletID()
+		{
+			string billetID = "";
+			string where = "";
+
+			if(txt_RollTopEdit.Text.Trim().Length > 0 && txt_Roll.Text.Trim().Length > 0 && txt_MBilletID.Text.Trim().Length >0 )
+			{
+				billetID += txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim()+"."+txt_MBilletID.Text.Trim();
+			}
+			if(txt_RollEnd.Text.Trim().Length > 0)
+			{
+				billetID +="."+txt_RollEnd.Text.Trim();
+			}
+			if(txt_EndEnter.Text.Trim().Length > 0)
+			{
+				billetID += "."+txt_EndEnter.Text.Trim();
+			}
+			where += " AND A.BILLETID = '" + billetID + "'";
+
+			return where;
+		}
+
+		private void GetZYDetail(string _Condition)
+		{
+				string strOut="";
+
+			try
+			{
+					object obj= Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
+					"GetZYDetail",new object[]{_Condition},out strOut);
+				
+				if(obj != null && ((System.Data.DataSet)obj).Tables[0].Rows.Count > 0)
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Blue;
+					txt_Comments.Text = "成功获取该板块信息!";
+						
+					System.Data.DataRow	dr = ((System.Data.DataSet)obj).Tables[0].Rows[0];
+
+					txt_PlanNO.Text = Comm.ObjToStr(dr["PLANNO"]);//计划号
+					txt_OrderNOEdit.Text = Comm.ObjToStr(dr["ORDERNO"]);//订单号
+					txt_SourceId.Text = Comm.ObjToStr(dr["SOURCEID"]);//原料明细号	
+					this.cmb_InSteel.Value = Comm.ObjToStr(dr["DETERMINANTCARDNUMBER"]).Length==0?null: Comm.ObjToStr(dr["DETERMINANTCARDNUMBER"]);//牌号
+                    cmb_ClipType.Value = Comm.ObjToStr(dr["CLIPTYPEPROCESS"]).Length == 0 ? null : Comm.ObjToStr(dr["CLIPTYPEPROCESS"]);//切边类型
+					cmb_FaceQuality.Value = Comm.ObjToStr(dr["FACEQUALITY"]).Length==0?null:Comm.ObjToStr(dr["FACEQUALITY"]);//表面质量
+					cmb_BugReaSon.Value = Comm.ObjToStr(dr["BUGREASON"]).Length==0?null:Comm.ObjToStr(dr["BUGREASON"]);//缺陷类型
+					cmb_DecideResult.Value = Comm.ObjToStr(dr["DETERMINANTRESULT"]).Length==0?null:Comm.ObjToStr(dr["DETERMINANTRESULT"]);//判定结果
+					txt_Ply.Value = Comm.ObjToDouble(dr["PLY"]);//厚
+					txt_Width.Value = Comm.ObjToDouble(dr["WIDTH"]);//宽
+					txt_Length.Value = Comm.ObjToDouble(dr["LENGTH"]);//长
+					txt_WEIGHT.Value = Comm.ObjToDouble(dr["THEORYWEIGHT"]);//重量
+					txt_StoveNo.Text = Comm.ObjToStr(dr["STOVENO"]);//炉号
+                    cmb_Rule.Value = Comm.ObjToStr(dr["RULE"]).Length == 0 ? null : Comm.ObjToStr(dr["RULE"]);//定尺方式
+					cmb_Routing.Value = Comm.ObjToStr(dr["PROCESS_LINE"]).Length==0?null:Comm.ObjToStr(dr["PROCESS_LINE"]);//生产线
+					strCreateTime = Comm.ObjToStr(dr["CREATETIME"]);//作业创建时间
+
+					//获取产线
+					if(Comm.ObjToStr(dr["BILLETID"]).StartsWith("H"))
+						cmb_ProductLineEdit.Value = "4001HB1";
+					else if(Comm.ObjToStr(dr["BILLETID"]).StartsWith("Z"))
+						cmb_ProductLineEdit.Value = "4001ZB1";
+					 
+				}
+				else
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = "该板块无生产实绩信息,请与生产作业组联系";	
+					txt_RollTopEdit.Focus();
+				
+				}
+
+			}
+			catch(Exception ex)
+			{
+						System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+				}
+		#endregion
+		
+		#region 获得当前吊号的板块数
+		private int GetCondoleNum(string where)
+		{
+			string strOut = "";
+			try
+			{
+				string sql = "SELECT COUNT(1) FROM KCJ_TURNOFFBUTTRESSLIST WHERE CONDOLENUMBER='"+where+"'";
+				DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.Common","GetDataSet",new object []{sql},out strOut);
+				System.Data.DataTable tab = ds.Tables[0];
+				if(tab!=null && tab.Rows.Count==1)
+				{
+					return Comm.ObjToInt(tab.Rows[0][0]);
+				}
+				return 0;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		#endregion
+
+		#region Event
+		private void Txt_DHDate_Enter(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+				}
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Txt_DHDate_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if (e.KeyData == Keys.Return)
+				{
+					if(((System.Windows.Forms.Control)sender).Name == this.Txt_DH.Name)
+					{
+						this.Txt_DH.Text = this.Txt_DH.Text.PadLeft(3,'0');
+						string sqlStr = " AND B.CONDOLENUMBER = '" + this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim() + "'";
+						this.GetInStorage1(sqlStr);
+						this.Txt_FNum.Value=this.GetCondoleNum(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());
+					}
+
+						if(((System.Windows.Forms.Control)sender).Name == this.txt_EndEnter.Name)
+					{
+                        if (sstyle == "3")
+                        {
+                            if (this.txt_RollTopEdit.Text.Trim().Length < 2 || this.txt_Roll.Text.Trim().Length < 5
+                            || this.txt_MBilletID.Text.Trim().Length < 1)
+                            {
+                                txt_Comments.Appearance.ForeColor = System.Drawing.Color.Red;
+                                txt_Comments.Text = "板块序号不完整,请您确认板块的序号!";
+                                txt_RollTopEdit.Focus();
+                                return;
+                            }
+                        }
+                        else
+                        {
+						if(this.txt_RollTopEdit.Text.Trim().Length<2 || this.txt_Roll.Text.Trim().Length<5 
+							||this.txt_MBilletID.Text.Trim().Length<1 || this.txt_RollEnd.Text.Trim().Length<1)
+						{
+							txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+							txt_Comments.Text = "板块序号不完整,请您确认板块的序号!";						
+							txt_RollTopEdit.Focus();
+							return ;
+							
+						}
+                    }
+						this.GetZYDetail(this.GetBilletID());
+						
+					}						
+					System.Windows.Forms.SendKeys.Send("{TAB}");
+
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region 成品收集入库
+		//检查输入信息
+		private bool CheckInput()
+		{
+			if(txt_RollTopEdit.Text.Trim().Length <= 0 || txt_Roll.Text.Trim().Length <= 0 || txt_MBilletID.Text.Trim().Length <=0)
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "板块序号不完整,请填写完整!";
+				return false;
+			}
+			if(Comm.ObjToStr(txt_Ply.Value).Length <= 0 || Comm.ObjToStr(txt_Width.Value).Length <= 0 || Comm.ObjToStr(txt_Length.Value).Length <= 0 ||
+				Comm.ObjToStr(txt_WEIGHT.Value).Length <= 0)
+			{
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "规格信息不完整,请填写完整!";
+				return false;
+			}
+			if(Comm.ObjToInt(this.Txt_FNum.Value)>=Comm.ObjToInt(this.Txt_DHNum.Value))
+			{
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "当前吊号已登记"+Comm.ObjToStr(this.Txt_FNum.Value)+"块";					
+				return false;
+			}
+			if(this.Txt_DHDate.Text.Length==0 | this.Txt_DH.Text.Length==0)
+			{
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "吊号不完整,请您确认板块的吊号!";					
+				return false;
+			}
+			if(this.cmb_InMan.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "入库人不能为空,请填写完整!";
+				return false;
+			}
+
+			if(this.cmb_Buttress.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "入库堆位不能为空,请填写完整!";
+				return false;
+			}
+
+			if(this.cmb_ClassOrder.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "入库班次不能为空,请填写完整!";
+				return false;
+			}
+			if(this.cmb_ClassTeam.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "入库班组不能为空,请填写完整!";
+				return false;
+			}
+
+			if(this.cmb_BilletType.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "板块类型不能为空,请填写完整!";
+				return false;
+			}
+
+			if(txt_StoveNo.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "炉号不能为空,请填写完整!";
+				return false;
+			}
+			if(txt_PlanNO.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "计划号不能为空,请填写完整!";
+				return false;
+			}
+			if(txt_OrderNOEdit.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "订单号不能为空,请填写完整!";
+				return false;
+			}
+
+			if(cmb_Rule.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "定尺不能为空,请填写完整!";
+				return false;
+			}
+
+			if(cmb_ClipType.Text.Trim().Length <= 0 )
+			{			
+				txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+				txt_Comments.Text = "切边类型为空,请填写完整!";
+				return false;
+			}
+			return true;
+		}
+
+		private void AffirmCollect()
+		{
+			    string billetID="";//序号
+			System.Collections.ArrayList Billet = new ArrayList();
+
+			try
+			{
+				if(!this.CheckInput())
+					return;
+
+				if(txt_RollTopEdit.Text.Trim().Length > 0 && txt_Roll.Text.Trim().Length > 0 && txt_MBilletID.Text.Trim().Length >0 )
+				{
+					billetID += txt_RollTopEdit.Text.Trim()+"-"+txt_Roll.Text.Trim()+"."+txt_MBilletID.Text.Trim();
+				}
+				if(txt_RollEnd.Text.Trim().Length > 0)
+				{
+					billetID +="."+txt_RollEnd.Text.Trim();
+				}
+				if(txt_EndEnter.Text.Trim().Length > 0)
+				{
+					billetID += "."+txt_EndEnter.Text.Trim();
+				}
+
+				Billet.Add(billetID); //序号
+				Billet.Add(strCreateTime);//作业实绩创建时间
+				Billet.Add(Comm.ObjToStr(this.cmb_InSteel.Value));//入库牌号
+				Billet.Add(Comm.ObjToStr(this.cmb_BilletType.Value));//板块类型
+				Billet.Add(Comm.ObjToStr(cmb_Buttress.Value));//入库堆位
+				Billet.Add(Comm.ObjToStr(this.cmb_ClassOrder.Value));//班次
+				Billet.Add(Comm.ObjToStr(this.cmb_ClassTeam.Value));//班组
+				Billet.Add(Comm.ObjToStr(this.cmb_FaceQuality.Value));//表面质量
+				Billet.Add(Comm.ObjToStr(this.cmb_BugReaSon.Value));//表面缺陷
+				Billet.Add(Comm.ObjToStr(this.cmb_DecideResult.Value));//判定结果
+				Billet.Add(Convert.ToDateTime(this.dte_InTime.Value).ToString("yyyy-MM-dd"));//入库时间
+				Billet.Add(this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim());//吊号
+				Billet.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);//登记人
+				Billet.Add(this.cmb_InMan.Text.Trim());//入库人
+				Billet.Add(this.txt_StoveNo.Text.Trim());//炉号
+				Billet.Add(this.txt_PlanNO.Text.Trim());//计划号
+				Billet.Add(this.txt_OrderNOEdit.Text.Trim());//订单号
+				Billet.Add(Comm.ObjToStr(this.cmb_Rule.Value));//定尺++
+				Billet.Add(Comm.ObjToStr(this.cmb_ClipType.Value));//切边类型
+				Billet.Add(this.txt_ReMark.Text.Trim());//备注
+				string strOut = "";
+				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
+					"AddTurnoffCollect",new object[]{Billet},out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Blue;
+					txt_Comments.Text="成功入库!";	
+					this.Txt_FNum.Value = Comm.ObjToInt(this.Txt_FNum.Value) + 1;
+					txt_RollTopEdit.Focus();
+					txt_RollTopEdit.SelectAll();
+
+					txt_Ply.Value=0;
+					txt_Width.Value=0;
+					txt_Length.Value=0;
+					txt_StoveNo.Clear();
+					txt_WEIGHT.Value=0;
+					txt_PlanNO.Clear();
+					txt_OrderNOEdit.Clear();
+
+					System.Data.DataRow[] row=this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].Select("BILLETID='"+this.txt_RollTopEdit.Text+"-"+this.txt_Roll.Text+"."+txt_MBilletID.Text+"."+txt_RollEnd.Text+"'");
+					for(int i=row.Length-1;i>=0;i--)
+						this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].Rows.Remove(row[i]);
+					this.ds_Coll.Tables["KCJ_ZY_TASKDETAIL"].AcceptChanges();
+
+					string sqlStr = " AND B.CONDOLENUMBER = '" + this.Txt_DHDate.Text.Trim()+"-"+this.Txt_DH.Text.Trim() + "'";
+					this.GetInStorage1(sqlStr);
+					
+				}
+				else
+				{
+					txt_Comments.Appearance.ForeColor=System.Drawing.Color.Red;
+					txt_Comments.Text = Comm.ObjToStr(obj)+strOut;
+
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		#endregion
+
+		#region 撤销收集入库 
+		private void DelCollect()
+		{
+			try
+			{
+				this.gd_Turnoff.UpdateData();
+				System.Collections.ArrayList BillectID = new ArrayList();
+				BillectID = Comm.GetFieldValue(this.gd_Turnoff,"FLAG","BILLETID");
+
+				if(BillectID.Count == 0)
+				{
+					MessageBox.Show("请您选择要撤销的板块","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+                
+				string strMan = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+				string strOut = "";
+				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JTurnoffManager","Core.XgMes.Server.JGKC.TurnoffManager.CollectTurnoffManager",
+                    "DelTurnoffCollect", new object[] { BillectID, strMan, ClientCommon._UserInfo.UserRoleID }, out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+					System.Data.DataRow[] row_ = this.ds_All.Tables["KCJ_TURNOFF"].Select("FLAG='TRUE'");
+					for(int i=row_.Length-1;i>=0;i--)
+					{
+						this.ds_All.Tables["KCJ_TURNOFF"].Rows.Remove(row_[i]);
+						this.ds_All.Tables["KCJ_TURNOFF"].AcceptChanges();
+					}
+					string sqlStr="AND BILLETID="+this.txt_RollTopEdit.Text+"-"+this.txt_Roll.Text+"."+txt_MBilletID.Text+"."+txt_RollEnd.Text;
+					this.GetREI("");
+					Comm.SetGridSumArea(this.gd_Turnoff);
+				
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+		#endregion
+
+		#region "导出"
+		private void Export(Infragistics.Win.UltraWinGrid.UltraGrid gd,string exceltxt)
+		{
+			try
+			{
+				string filename = exceltxt;
+				this.excelExporter.Export(gd,filename);
+				System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+				st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ; 
+				System.Diagnostics.Process.Start(st);
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+	
+
+
+	}
+}

+ 26 - 0
Client/.svn/pristine/27/272ac03c09769c2f417ddbb14b5a73a19d679641.svn-base

@@ -0,0 +1,26 @@
+E:\code\BJ\Client\Core.XgMes.Client.JGKC.SteelPlateManager.dll
+E:\code\BJ\Client\Core.XgMes.Client.JGKC.SteelPlateManager.pdb
+E:\code\Client\Core.XgMes.Client.JGKC.SteelPlateManager.dll
+E:\code\Client\Core.XgMes.Client.JGKC.SteelPlateManager.pdb
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\ResolveAssemblyReference.cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmOrdernoAcliat.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmPlan.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmMoveButtress.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmPrint.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmSetArea.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmSetButtress.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.Frm_ReceiveStuff.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmTurnoffSendList.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmPrintButtress.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmTurnoffInStorage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.FrmTurnoffMoveButtress.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.ctlKCJListQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.ctlKCJListStat.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.frmKCJListQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.TurnoffSendQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.UCSendQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.UCSendStat.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.csproj.GenerateResource.Cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.dll.licenses
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.dll
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.SteelPlateManager\obj\Debug\Core.XgMes.Client.JGKC.SteelPlateManager.pdb

BIN
Client/.svn/pristine/29/29ee0b442059d309f871b5ffb93fbc1e754bc91b.svn-base


+ 409 - 0
Client/.svn/pristine/2c/2c4caab3efb435bc66947edc6903fb0b1d55c78b.svn-base

@@ -0,0 +1,409 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    public partial class AccpetSheet : Mes.ClientFrameWork.FrmBase
+    {
+        public AccpetSheet()
+        {
+            InitializeComponent();
+        }
+
+        private void Cmb_wzdm_TextChanged(object sender, EventArgs e)
+        {
+           
+        }
+      
+
+
+
+      
+
+
+        private void Cmb_wzdm_DoubleClick(object sender, EventArgs e)
+        {
+            
+        }
+
+        private void Cmb_wzdm_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)
+        {
+            FrmMaterialDaioage metaterial = new FrmMaterialDaioage();
+            metaterial.StartPosition = FormStartPosition.CenterParent;
+            metaterial.ShowDialog();
+            Cmb_wzdm.Text = metaterial.strwzdm;
+            txt_WZMC.Text = metaterial.strwzmc;
+            txt_GGXH.Text = metaterial.strgg;
+            txt_JLDW.Text = metaterial.strjldw;
+            txt_CZ.Text = metaterial.strcz;
+            txt_DZ.Text = metaterial.strdz;
+            Cmb_CKDM.Text = metaterial.strckcode;
+            cmb_StorageLB.Text = metaterial.strcklb;
+            txt_CKMC.Text = metaterial.strckmc;
+
+        }
+
+        private void Cmb_CKDM_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)
+        {
+            FrmDepotDialog depot = new FrmDepotDialog();
+            depot.StartPosition = FormStartPosition.CenterParent;
+            depot.ShowDialog();
+            Cmb_CKDM.Text = depot.strckdm;
+            cmb_StorageLB.Text = depot.strcklb;
+            txt_CKMC.Text = depot.stckmc;
+
+        }
+
+        private void Cmd_GFCode_EditorButtonClick(object sender, Infragistics.Win.UltraWinEditors.EditorButtonEventArgs e)
+        {
+            FrmProvlderDialog provlder = new FrmProvlderDialog();
+            provlder.StartPosition = FormStartPosition.CenterParent;
+            provlder.ShowDialog();
+            Cmd_GFCode.Text = provlder.strgfdm;
+            txt_GYMC.Text = provlder.strgfmc;
+        }
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "Add":
+                    Add("ADD");
+                    break;
+                case "Query":
+                    DoQuery();
+                    break;
+                case "UPDATE":
+                    Add("UPDATE");
+                    break;
+                    break;
+                case "Del":
+                    Add("Del");
+                    break;
+                case "Export":
+                    Export();
+                    break;
+                case "Close":
+                    this.Close();
+                    break;
+
+                    
+            }
+        }
+        private void gd_CK_AfterRowActivate(object sender, EventArgs e)
+        {
+            try
+            {
+                if (this.gd_CK.Rows.Count > 0)
+                {
+
+       
+
+
+
+                    this.txt_BH.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["PICKING_NO"].Value); //1 领料单号
+                    this.Cmb_CKDM.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["STORAGE_CODE"].Value); //3 仓库代码
+                    this.cmb_StorageLB.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["STORAGE_STYLE"].Value);//4 仓库类别
+                    this.txt_CKMC.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["ISSUE_STORE"].Value);//5 仓库名称
+                    this.txt_ylbz.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["PICKING_NAME"].Value);//6 领料班组
+                    this.Cmb_wzdm.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["MATERIAL_CODE"].Value);//7 物资代码
+                    this.txt_WZMC.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["MATERIAL_NAME"].Value);//8 物资名称
+                    this.txt_GGXH.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["SPET"].Value);//9 规格型号
+                    this.txt_JLDW.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["UNIT"].Value);//10 计量单位
+                    this.txt_CZ.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["MATERIAL"].Value);//11 材质
+                    this.txt_DZ.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["WEIGHT"].Value);//12 单重
+                    this.txt_PlanR.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["SCHEDULER"].Value);///13 计划人
+                    this.txt_qlsl.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["PLEASE_NUM"].Value);///14 请领数量
+                    this.txt_Price.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["REAL_NUM"].Value);//15 实发数量
+                    this.txt_Price.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["PRICE"].Value);//16 单价
+                    this.txt_Moneny.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["MONERY"].Value);//17 金额
+                    this.txt_YR.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["PICKING_RECODER"].Value);//19 领料人
+                    this.Cmd_GFCode.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["GF_CODE"].Value);///20 供方代码
+                    this.txt_GYMC.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["GF_NAME"].Value);///21供方名称
+                    this.txt_Remark.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["REMARK"].Value);///22 备注
+
+
+
+                    
+ 
+
+
+                 
+                   
+        
+
+
+
+
+
+
+
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+
+
+
+
+
+        private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+        {
+            if (this.chk_AllowFilter.Checked)
+            {
+                this.gd_CK.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            }
+            else
+            {
+                this.gd_CK.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+
+            }
+
+        }
+	
+        private void Export()
+        {
+            if (this.gd_CK.Rows.Count > 0)
+            {
+                Comm.ExPortExcel(this.gd_CK, this.excelExporter);
+            }
+            else
+            {
+                MessageBox.Show("无领料单信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+            }
+
+        }
+        private void Add(string strMode)
+        {
+            try
+            {
+                string strerr = "";
+
+                System.Collections.ArrayList MetarilInfo = new ArrayList();
+
+
+                if (strMode == "UPDATE")
+                {
+                    if (txt_BH.Text.Trim().ToString() == "")
+                    {
+                        MessageBox.Show("领料单号不能为空");
+                        return;
+                    }
+                }
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_BH.Text.Trim().ToString()));//1 领料单号
+                MetarilInfo.Add(Comm.ObjToStr(Convert.ToDateTime( this.date_YS.Value.ToString().Trim()).ToString("yyyyMMdd")));//2 发料日期
+                MetarilInfo.Add(Comm.ObjToStr(this.Cmb_CKDM.Text.ToString().Trim()));//3 仓库代码
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_StorageLB.Text.Trim().ToString()));//4 仓库类别
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_CKMC.Text.Trim().ToString()));//5 仓库名称
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_ylbz.Text.Trim().ToString()));//6 领料班组
+
+
+
+                MetarilInfo.Add(Comm.ObjToStr(this.Cmb_wzdm.Text.Trim().ToString()));//7 物资代码
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_WZMC.Text.Trim().ToString()));//8 物资名称
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_GGXH.Text.Trim().ToString()));//9 规格型号
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_JLDW.Text.Trim().ToString()));//10 计量单位
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_CZ.Text.Trim().ToString()));//11 材质
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_DZ.Text.Trim().ToString()));//12 单重
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_PlanR.Text.Trim().ToString()));//13 计划人
+
+
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_qlsl.Text.Trim().ToString()));//14 请领数量
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_YSS.Text.Trim().ToString()));//15 实发数量
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Price.Text.Trim().ToString()));//16 单价
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Moneny.Text.Trim().ToString()));//17 金额
+                MetarilInfo.Add(Comm.ObjToStr(Convert.ToDateTime(this.date_td.Value.ToString().Trim()).ToString("yyyyMMdd")));//18 填单日期
+                MetarilInfo.Add(Comm.ObjToStr(txt_YR.Text.Trim().ToString()));//19 领料人
+
+
+                MetarilInfo.Add(Comm.ObjToStr(this.Cmd_GFCode.Text.Trim().ToString()));//20 供方代码
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_GYMC.Text.Trim().ToString()));//21供方名称
+                
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//22 备注
+        
+
+
+
+
+                MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//23 操作人
+                MetarilInfo.Add(strMode);//19 操作模式
+         
+           
+
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
+                    "PickingSheetAdd", new object[] { MetarilInfo }, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("新增成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    DoQuery();
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+            }
+        }
+        private void DoQuery()
+        {
+            string strWhere = "";
+            string sql = "";
+            if (chk_Time.Checked)
+            {
+                strWhere += " AND  ISSUE_DATE >='" + Convert.ToDateTime(dte_BeginTime.Value.ToString()).ToString("yyyyMMdd") + "' AND ISSUE_DATE <='" + Convert.ToDateTime(dte_EndTime.Value.ToString()).ToString("yyyyMMdd") + "'";
+            }
+            if (Chk_CKLB.Checked && txt_ckm.Text.Trim().Length>0)
+            {
+                strWhere += " AND STORAGE_STYLE LIKE '" + txt_ckm.Text.Trim().ToString() + "%' ";
+            }
+            if (Chk_WZDM.Checked && txt_wzdm.Text.Trim().Length > 0)
+            {
+                strWhere += " AND MATERIAL_CODE LIKE '" + txt_wzdm.Text.Trim().ToString() + "%' ";
+            }
+            if (chk_wzmc.Checked && txt_wz.Text.Trim().Length > 0)
+            {
+                strWhere += " AND MATERIAL_NAME LIKE '" + txt_wz.Text.Trim().ToString() + "%' ";
+            }
+            if (chk_Spet.Checked && txt_Spet.Text.Trim().Length > 0)
+            {
+                strWhere += " AND SPET LIKE '" + txt_Spet.Text.Trim().ToString() + "%' ";
+            }
+
+            string err = "";
+            sql = "select PICKING_NO,ISSUE_DATE,STORAGE_CODE,STORAGE_STYLE,ISSUE_STORE,PICKING_NAME,MATERIAL_CODE,MATERIAL_NAME, SPET,"
+                         + "UNIT,MATERIAL, WEIGHT,SCHEDULER,PLEASE_NUM,REAL_NUM,PRICE, MONERY,FILLING_DATE, PICKING_RECODER,GF_CODE,GF_NAME,RECODER,INPUT_DATE,REMARK     "
+                         + " from PICKING_MANAGER where isvalid='1' ";
+ 
+                           
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                gd_CK.DataSource = ds;
+            }
+        }
+
+        private void AccpetSheet_Load(object sender, EventArgs e)
+        {
+            dte_BeginTime.DateTime = DateTime.Now;
+            dte_EndTime.DateTime = DateTime.Now;
+            date_YS.DateTime = DateTime.Now;
+            date_td.DateTime = DateTime.Now;
+        }
+
+        private void Chk_CKLB_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_ckm.Enabled = Chk_CKLB.Checked;
+        }
+
+        private void Chk_WZDM_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_wzdm.Enabled = Chk_WZDM.Checked;
+        }
+
+        private void Cmb_CKDM_KeyDown(object sender, KeyEventArgs e)
+        {
+            
+            string err = "";
+            string sql = "SELECT BB.MATERIAL_CODE,BB.MATERIAL_NAME,BB.SPEC,BB.MATERIAL,BB.SUBSTANCE,BB.UNITS,CC.DEPOTID,CC.DEPOTNAME,AA.STOCK_CODE FROM MATERIAL_CODE_MANAGE BB,KCJ_STORESMAGNAGER AA,KCJ_DEPOTMAGAGER CC  WHERE BB.MATERIAL_CODE=AA.MATERIALCODE(+) AND AA.STOCK_CODE=CC.DEPOT_LB(+)  "
+                        + " AND CC.DEPOTID  like '" + Cmb_CKDM.Text.ToString().Trim() + "' "
+                        + " ORDER BY TO_NUMBER(BB.SORT_CODE)  ASC ";
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (ds.Tables[0].Rows.Count > 0)
+            {
+                if (err == "")
+                {
+                    Cmb_wzdm.Text = ds.Tables[0].Rows[0]["MATERIAL_CODE"].ToString();
+                    txt_WZMC.Text = ds.Tables[0].Rows[0]["MATERIAL_NAME"].ToString();
+                    txt_GGXH.Text = ds.Tables[0].Rows[0]["SPEC"].ToString();
+                    txt_JLDW.Text = ds.Tables[0].Rows[0]["UNITS"].ToString();
+                    txt_CZ.Text = ds.Tables[0].Rows[0]["MATERIAL"].ToString();
+                    txt_DZ.Text = ds.Tables[0].Rows[0]["SUBSTANCE"].ToString();
+                    Cmb_CKDM.Text = ds.Tables[0].Rows[0]["DEPOTID"].ToString();
+                    cmb_StorageLB.Text = ds.Tables[0].Rows[0]["STOCK_CODE"].ToString();
+                    txt_CKMC.Text = ds.Tables[0].Rows[0]["DEPOTNAME"].ToString();
+
+                }
+            }
+            else
+            {
+
+
+                txt_WZMC.Text = "";
+                txt_GGXH.Text = "";
+                txt_JLDW.Text = "";
+                txt_CZ.Text = "";
+                txt_DZ.Text = "";
+            
+                cmb_StorageLB.Text = "";
+                txt_CKMC.Text = "";
+
+            }
+        }
+
+        private void Cmb_wzdm_KeyDown(object sender, KeyEventArgs e)
+        {
+           
+            string err = "";
+            string sql = "SELECT BB.MATERIAL_CODE,BB.MATERIAL_NAME,BB.SPEC,BB.MATERIAL,BB.SUBSTANCE,BB.UNITS,CC.DEPOTID,CC.DEPOTNAME,AA.STOCK_CODE FROM MATERIAL_CODE_MANAGE BB,KCJ_STORESMAGNAGER AA,KCJ_DEPOTMAGAGER CC  WHERE BB.MATERIAL_CODE=AA.MATERIALCODE(+) AND AA.STOCK_CODE=CC.DEPOT_LB(+)  "
+                        + " AND BB.MATERIAL_CODE  like '" + Cmb_wzdm.Text.ToString().Trim() + "' "
+                        + " ORDER BY TO_NUMBER(BB.SORT_CODE)  ASC ";
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (ds.Tables[0].Rows.Count > 0)
+            {
+                if (err == "")
+                {
+                    Cmb_wzdm.Text = ds.Tables[0].Rows[0]["MATERIAL_CODE"].ToString();
+                    txt_WZMC.Text = ds.Tables[0].Rows[0]["MATERIAL_NAME"].ToString();
+                    txt_GGXH.Text = ds.Tables[0].Rows[0]["SPEC"].ToString();
+                    txt_JLDW.Text = ds.Tables[0].Rows[0]["UNITS"].ToString();
+                    txt_CZ.Text = ds.Tables[0].Rows[0]["MATERIAL"].ToString();
+                    txt_DZ.Text = ds.Tables[0].Rows[0]["SUBSTANCE"].ToString();
+                    Cmb_CKDM.Text = ds.Tables[0].Rows[0]["DEPOTID"].ToString();
+                    cmb_StorageLB.Text = ds.Tables[0].Rows[0]["STOCK_CODE"].ToString();
+                    txt_CKMC.Text = ds.Tables[0].Rows[0]["DEPOTNAME"].ToString();
+
+                }
+            }
+            else
+            {
+
+
+                txt_WZMC.Text = "";
+                txt_GGXH.Text = "";
+                txt_JLDW.Text = "";
+                txt_CZ.Text = "";
+                txt_DZ.Text = "";
+                Cmb_CKDM.Text = "";
+                cmb_StorageLB.Text = "";
+                txt_CKMC.Text = "";
+
+            }
+        }
+
+        private void chk_wzmc_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_wz.Enabled = chk_wzmc.Checked;
+        }
+
+        private void chk_Spet_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_Spet.Enabled=chk_Spet.Checked  ;
+        }
+    }
+}

+ 197 - 0
Client/.svn/pristine/2c/2caa4bc6eb3f79739c68e7da67f9479e449d8148.svn-base

@@ -0,0 +1,197 @@
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    partial class FrmDepotDialog
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOTID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOTNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOT_LB");
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.btrqr = new System.Windows.Forms.Button();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel1.SuspendLayout();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.ultraGrid1);
+            this.panel1.Controls.Add(this.panel2);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(419, 262);
+            this.panel1.TabIndex = 0;
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.btrqr);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(419, 42);
+            this.panel2.TabIndex = 0;
+            // 
+            // btrqr
+            // 
+            this.btrqr.Location = new System.Drawing.Point(297, 3);
+            this.btrqr.Name = "btrqr";
+            this.btrqr.Size = new System.Drawing.Size(75, 36);
+            this.btrqr.TabIndex = 0;
+            this.btrqr.Text = "确认";
+            this.btrqr.UseVisualStyleBackColor = true;
+            this.btrqr.Click += new System.EventHandler(this.btrqr_Click);
+            // 
+            // ultraGrid1
+            // 
+            appearance25.BackColor = System.Drawing.SystemColors.Window;
+            appearance25.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.ultraGrid1.DisplayLayout.Appearance = appearance25;
+            ultraGridColumn7.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn7.Header.Caption = "仓库代码";
+            ultraGridColumn7.Header.VisiblePosition = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn8.Header.Caption = "仓库名称";
+            ultraGridColumn8.Header.VisiblePosition = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn9.Header.Caption = "仓库类别";
+            ultraGridColumn9.Header.VisiblePosition = 2;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand3.Columns.AddRange(new object[] {
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9});
+            ultraGridBand3.UseRowLayout = true;
+            this.ultraGrid1.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
+            this.ultraGrid1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance26.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance26.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Appearance = appearance26;
+            appearance27.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance27;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance28.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance28.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.PromptAppearance = appearance28;
+            this.ultraGrid1.DisplayLayout.MaxColScrollRegions = 1;
+            this.ultraGrid1.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance29.BackColor = System.Drawing.SystemColors.Window;
+            appearance29.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance = appearance29;
+            appearance30.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance30.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance = appearance30;
+            this.ultraGrid1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.ultraGrid1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance31;
+            appearance32.BorderColor = System.Drawing.Color.Silver;
+            appearance32.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance32;
+            this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
+            appearance33.BackColor = System.Drawing.SystemColors.Control;
+            appearance33.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance33.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance33.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance33.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.GroupByRowAppearance = appearance33;
+            appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = appearance34;
+            this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance35.BackColor = System.Drawing.SystemColors.Window;
+            appearance35.BorderColor = System.Drawing.Color.Silver;
+            this.ultraGrid1.DisplayLayout.Override.RowAppearance = appearance35;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid1.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
+            this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 42);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(419, 220);
+            this.ultraGrid1.TabIndex = 1;
+            this.ultraGrid1.Text = "ultraGrid1";
+            // 
+            // FrmDepotDialog
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(419, 262);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmDepotDialog";
+            this.Text = "FrmDepotDialog";
+            this.Load += new System.EventHandler(this.FrmDepotDialog_Load);
+            this.panel1.ResumeLayout(false);
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Button btrqr;
+    }
+}

+ 129 - 0
Client/.svn/pristine/2e/2e71cd2d997579a444aadf6d2c6a9d5c429af598.svn-base

@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="ds_All.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>287, 17</value>
+  </metadata>
+</root>

+ 113 - 0
Client/.svn/pristine/2f/2fc22babdbacb4df151af92118cc4dc28c322cee.svn-base

@@ -0,0 +1,113 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using  Core.Client.WinCommon;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// FrmPrintButtress 的摘要说明。
+	/// </summary>
+	public class FrmPrintButtress : System.Windows.Forms.Form
+	{
+		private UCGridPrint ucGridPrint1;
+		/// <summary>
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+
+		public FrmPrintButtress()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+
+		public UCGridPrint UCGridPrint
+		{
+			get
+			{
+				return ucGridPrint1;
+			}
+		}
+
+		public Control UltraGrid 
+		{
+			set
+			{
+				if(value != null)
+				{
+					ucGridPrint1.DataSource = value;
+				}
+			}
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+			this.ucGridPrint1 = new Core.Client.WinCommon.UCGridPrint();
+			this.SuspendLayout();
+			// 
+			// ucGridPrint1
+			// 
+			this.ucGridPrint1.FootFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
+			this.ucGridPrint1.FootHeight = 30;
+			this.ucGridPrint1.FootText = "";
+			this.ucGridPrint1.HeadFont = new System.Drawing.Font("黑体", 12F, System.Drawing.FontStyle.Underline, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
+			this.ucGridPrint1.HeadHeight = 20;
+			this.ucGridPrint1.HeadText = "";
+			this.ucGridPrint1.Location = new System.Drawing.Point(0, 0);
+			this.ucGridPrint1.Name = "ucGridPrint1";
+			this.ucGridPrint1.Size = new System.Drawing.Size(216, 302);
+			this.ucGridPrint1.SubFootFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
+			this.ucGridPrint1.SubFootHeight = 30;
+			this.ucGridPrint1.SubFootLeftText = "";
+			this.ucGridPrint1.SubfootRightText = "";
+			this.ucGridPrint1.SubHeadFont = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
+			this.ucGridPrint1.SubHeadHeight = 20;
+			this.ucGridPrint1.SubHeadLeftText = "";
+			this.ucGridPrint1.SubHeadRightText = "";
+			this.ucGridPrint1.TabIndex = 0;
+			this.ucGridPrint1.TableFont = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(134)));
+			// 
+			// FrmPrintButtress
+			// 
+			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+			this.ClientSize = new System.Drawing.Size(208, 302);
+			this.Controls.Add(this.ucGridPrint1);
+			this.Name = "FrmPrintButtress";
+			this.Text = "打印";
+			this.ResumeLayout(false);
+
+		}
+		#endregion
+	}
+}

+ 278 - 0
Client/.svn/pristine/2f/2ff76f0031161cfc0c6c47b1db958f5c3006c05c.svn-base

@@ -0,0 +1,278 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.Runtime.InteropServices;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+    public partial class FrmPlan : Mes.ClientFrameWork.FrmBase
+    {
+        public FrmPlan()
+        {
+            InitializeComponent();
+        }
+
+        private void FrmPlan_Load(object sender, EventArgs e)
+        {
+            Init();
+            uCob_LX.Value = "0";
+            cmb_LX.Value = "0";
+            dte_EndTime.Value=dte_BeginTime.Value = Dte_PlanTime.Value = DateTime.Now;
+        }
+      
+        private void Init()
+        {
+            string strOut="";
+            string strSql = "";
+            DataSet ds_;
+            try
+            {
+                strSql = "SELECT BUYERCODE ID_, BUYERNAME NAME_ FROM SEL_BUYERBASEINFO a UNION SELECT CUST_CD BUYERCODE, CUST_NM BUYERNAME FROM TBZ00_CUSTOMER WHERE  REC_TP='01' AND REC_STS='1'  ";
+                     ds_ = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                    ds_.Tables[0].TableName = "SEL_BUYERBASEINFO";
+
+                    Comm.FillComboEditor(ref this.qBuyer, ds_);
+                    Comm.FillComboEditor(ref this.cobBuyname, ds_);
+                    Comm.SetGridDropDownList(this.gd_Plan, ds_, "SEL_BUYERBASEINFO", "BUYERCODE", "NAME_", "ID_");
+                    Comm.SetGridDropDownList(this.ultraGrid2, ds_, "SEL_BUYERBASEINFO", "BUYERCODE", "NAME_", "ID_");
+
+                    strSql = "SELECT INCEPTCORPCODE ID_, INCEPTCORPNAME NAME_ FROM SEL_INCEPTCORPINFO  UNION SELECT CUST_CD INCEPTCORPNAME, CUST_NM BUYERNAME FROM TBZ00_CUSTOMER WHERE  REC_TP='02' AND REC_STS='1'  ";
+                     ds_ = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+                    ds_.Tables[0].TableName = "SEL_INCEPTCORPINFO";
+
+                    Comm.FillComboEditor(ref this.qIncep,  ds_);
+                    Comm.FillComboEditor(ref this.cob_Incop, ds_);
+                    Comm.SetGridDropDownList(this.gd_Plan, ds_, "SEL_INCEPTCORPINFO", "INCEPTCORPCODE", "NAME_", "ID_");
+                    Comm.SetGridDropDownList(this.ultraGrid2, ds_, "SEL_INCEPTCORPINFO", "INCEPTCORPCODE", "NAME_", "ID_");
+
+                    strSql = "select ID_ ,Name_ from KCJ_BASEDATA where Sort_Code='8091' ";
+                    ds_ = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet",
+                        new object[] { strSql }, out strOut);
+                    if (strOut != "") { MessageBox.Show(strOut); return; }
+                    Comm.FillComboEditor(ref this.cmb_pactnoLX, ds_);
+                
+
+
+            }catch(Exception ex)
+            {
+                MessageBox.Show("错误" + ex, "错误提示");
+                return;
+            }
+        }
+
+        private void chk_CollectTime_CheckedChanged(object sender, EventArgs e)
+        {
+            dte_BeginTime.Enabled = dte_EndTime.Enabled = chk_CollectTime.Checked;
+        }
+
+        private void chk_BuyName_CheckedChanged(object sender, EventArgs e)
+        {
+            cobBuyname.Enabled = chk_BuyName.Checked;
+        }
+
+        private void chk_Incep_CheckedChanged(object sender, EventArgs e)
+        {
+            cob_Incop.Enabled = chk_Incep.Checked;
+        }
+
+        private void chk_LX_CheckedChanged(object sender, EventArgs e)
+        {
+            cmb_LX.Enabled = chk_LX.Checked;
+        }
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "QUERY":
+                    QueryPlan();
+                    break;
+                case "PLAN_ADD":
+                    AddPlan("1");
+                    break;
+                case "PALN_DEL":
+                    AddPlan("2");
+                    break;
+                case "FP":
+                    queryFP();
+                    break;
+            }
+        }
+        private void queryFP()
+        {
+            string sql = "";
+            string strOut = "";
+            string strWhere = "";
+            if (chk_CollectTime.Checked == false && chk_LX.Checked == false)
+            {
+                MessageBox.Show("请选择任意条件进行查询!!!!!");
+            }
+            if (chk_CollectTime.Checked)
+            {
+                if (dte_BeginTime.Enabled && dte_EndTime.Enabled)
+                {
+                    strWhere += " AND T.RECODERTIME BETWEEN TO_DATE('" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "','yyyy-MM-dd') "
+                            + " AND TO_DATE('" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + " 23:59:59','yyyy-MM-dd hh24:mi:ss') ";
+                }
+            }
+
+            if (chk_LX.Checked)
+            {
+                strWhere += " AND T.PRODUCT_LX LIKE '" + cmb_LX.Value.ToString().Trim() + "%'";
+            }
+            DataSet ds = new DataSet();
+            sql = "SELECT DISTINCT T.PACTNO,T.PACTNOLX,TO_CHAR(T.RECODERTIME,'YYYY-MM-DD HH24:MI')RECODERTIME,T.RECODER,"
+                 + "T.BUYERCODE, "
+                 + "T.INCEPECODE,T.PRODUCT_LX "
+                 + " FROM KCJ_PACTNOLX_ZW T  WHERE T.ISVALID='1' " + strWhere;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet",
+                    new object[] { sql }, out strOut);
+            if (ds != null)
+            {
+                ultraGrid2.DataSource = ds;
+            }
+        }
+        private void QueryPlan()
+        {
+            //string orderNO = "";
+            //string billetID = "";
+            //string shopSign = "";
+            string where = "";
+            string strOut = "";
+
+
+
+
+            if (this.cobBuyname.Enabled && this.cobBuyname.Value.ToString().Trim().Length > 0)
+                {
+                    where += " AND A.BUYERCODE LIKE '" + this.cobBuyname.Value.ToString().Trim() + "%'";
+                }
+
+                if (this.cob_Incop.Enabled && this.cob_Incop.Value.ToString().Trim().Length > 0)
+                {
+                    where += " AND A.INCEPTCORPCODE LIKE '" + this.cob_Incop.Value.ToString().Trim() + "%'";
+
+                }
+                if (this.cmb_LX.Enabled && this.cmb_LX.Value.ToString().Trim().Length > 0)
+                {
+                    where += " AND A.PL LIKE '" + this.cmb_LX.Value.ToString().Trim() + "%'";
+
+                }
+               
+               
+                if (this.dte_BeginTime.Enabled && this.dte_EndTime.Enabled)
+                {
+                    where += " AND TO_CHAR(A.INCEPTDATE,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.INCEPTDATE,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+
+               
+        
+         
+
+            try
+            {
+                
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffManager",
+                    "QueryPlan", new object[] {  where }, out strOut);
+
+                if (strOut == "")
+                {
+           
+                    this.gd_Plan.DataSource = ds;
+                    this.gd_Plan.UpdateData();//++
+                    Comm.SetGridSumArea(this.gd_Plan);
+
+
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }	
+        }
+        private void AddPlan(string sMode)
+        {
+            string strOut="";
+            System.Collections.ArrayList Billet = new ArrayList();
+            if (qBuyer.Value.ToString() == "")
+            {
+                MessageBox.Show("请选择客户名称!!!!");
+                return;
+            }
+            if (qIncep.Value.ToString() == "")
+            {
+                MessageBox.Show("请选择收货单位!!!!");
+                return;
+            }
+            if (uCob_LX.Value.ToString() == "")
+            {
+                MessageBox.Show("请选择产品类型!!!!");
+                return;
+            }
+            if (txt_Weigth.Text.Trim() == "")
+            {
+                MessageBox.Show("请输入排车重量!!!");
+                return;
+            }
+            Billet.Add(qBuyer.Value.ToString());
+            Billet.Add(qIncep.Value.ToString());
+            Billet.Add(Dte_PlanTime.DateTime.ToString("yyyy-MM-dd HH:mm:ss"));
+            Billet.Add(uCob_LX.Value.ToString());
+            Billet.Add(txt_Weigth.Text.ToString().Trim().ToString());
+            Billet.Add(txt_CH.Text.ToString().Trim().ToString());
+            Billet.Add(txt_Remark.Text.ToString().Trim().ToString());
+            Billet.Add(txt_Pactno.Text.ToString().Trim().ToString());
+            Billet.Add(ClientCommon._UserInfo.UserName.ToString());
+            Billet.Add(sMode);
+            Billet.Add(txt_Askid.Text.ToString().Trim());
+            string info = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.TurnoffManager",
+                       "AddPlan", new object[] { Billet }, out strOut).ToString();
+            if (info != "1" || strOut != "")
+            {
+                MessageBox.Show(strOut);
+
+                return;
+            }
+            else
+            {
+                MessageBox.Show("计划制定成功!!!!");
+                QueryPlan();
+            }
+               
+        }
+
+        private void gd_Plan_AfterRowActivate(object sender, EventArgs e)
+        {
+            Dte_PlanTime.Value = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["INCEPTDATE"].Value);
+            qBuyer.Value = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["BUYERCODE"].Value);
+            qIncep.Value = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["INCEPTCORPCODE"].Value);
+            uCob_LX.Value = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["PL"].Value);
+            txt_Weigth.Text = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["WEIGHT"].Value);
+            txt_Pactno.Text = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["PACTNO"].Value);
+            txt_CH.Text = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["TRANSNO"].Value);
+            txt_Remark.Text = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["REMARK"].Value);
+            txt_Askid.Text = Comm.ObjToStr(this.gd_Plan.ActiveRow.Cells["ASKPLAN_ID"].Value);
+        }
+
+        private void ultraGrid2_AfterRowActivate(object sender, EventArgs e)
+        {
+            if (this.ultraGrid2.Rows.Count > 0)
+            {
+                uCob_LX.Value = Comm.ObjToStr(this.ultraGrid2.ActiveRow.Cells["PRODUCT_LX"].Value);
+                qBuyer.Value = Comm.ObjToStr(this.ultraGrid2.ActiveRow.Cells["BUYERCODE"].Value);
+                qIncep.Value = Comm.ObjToStr(this.ultraGrid2.ActiveRow.Cells["INCEPECODE"].Value);
+                txt_Pactno.Text = Comm.ObjToStr(this.ultraGrid2.ActiveRow.Cells["PACTNO"].Value);
+            }
+        }
+    }
+}

+ 19 - 0
Client/.svn/pristine/31/31984f5fab6f132f0d9f9cbc2e3a9c389187bb3b.svn-base

@@ -0,0 +1,19 @@
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.dll
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.pdb
+E:\code\Client\Core.XgMes.Client.JGKC.MaterialManager.dll
+E:\code\Client\Core.XgMes.Client.JGKC.MaterialManager.pdb
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\ResolveAssemblyReference.cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.AccpetSheet.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmAcppetSheet.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmDepot.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmDepotDialog.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmMaterialDaioage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmMeterialCoce.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmPlanApproval.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmPlanDeclar.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmProvider.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmProvlderDialog.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmStors.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.FrmTurnoffReport.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.csproj.GenerateResource.Cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.MaterialManager\obj\Debug\Core.XgMes.Client.JGKC.MaterialManager.dll.licenses

+ 15 - 0
Client/.svn/pristine/36/36aa2c1c304cfc47ac903879aa356bbb68a37f59.svn-base

@@ -0,0 +1,15 @@
+Infragistics.Win.Misc.UltraLabel, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinTabControl.UltraTabControl, Infragistics.Win.UltraWinTabControl.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinToolbars.UltraToolbarsManager, Infragistics.Win.UltraWinToolbars.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraNumericEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter, Infragistics.Win.UltraWinGrid.ExcelExport.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraTextEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinGrid.UltraCombo, Infragistics.Win.UltraWinGrid.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraCheckEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraComboEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.Misc.UltraExpandableGroupBox, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraDateTimeEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinGrid.UltraGrid, Infragistics.Win.UltraWinGrid.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.Misc.UltraGroupBox, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraOptionSet, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.Misc.UltraButton, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb

BIN
Client/.svn/pristine/37/375363c89121be07c5c0407c3e3f47303c7af40c.svn-base


+ 129 - 0
Client/.svn/pristine/38/383fb553004d78164c706aa97618e44c07ecb160.svn-base

@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="dataSet1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>392, 17</value>
+  </metadata>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="ultraGridExcelExporter1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+</root>

+ 188 - 0
Client/.svn/pristine/3a/3a3efa43881f48e6931a7df8f125d6cafbdbbd6d.svn-base

@@ -0,0 +1,188 @@
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    partial class FrmProvlderDialog
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PROVIDER_CODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PROVIDER_NAME");
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.btnqr = new Infragistics.Win.Misc.UltraButton();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            this.panel2.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.ultraGrid1);
+            this.panel1.Controls.Add(this.panel2);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(423, 224);
+            this.panel1.TabIndex = 0;
+            // 
+            // ultraGrid1
+            // 
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.ultraGrid1.DisplayLayout.Appearance = appearance1;
+            ultraGridColumn1.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn1.Header.Caption = "供方代码";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn2.Header.Caption = "供方名称";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2});
+            ultraGridBand1.UseRowLayout = true;
+            this.ultraGrid1.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.ultraGrid1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.ultraGrid1.DisplayLayout.MaxColScrollRegions = 1;
+            this.ultraGrid1.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.ultraGrid1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.ultraGrid1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance8;
+            this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.ultraGrid1.DisplayLayout.Override.RowAppearance = appearance11;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid1.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 38);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(423, 186);
+            this.ultraGrid1.TabIndex = 1;
+            this.ultraGrid1.Text = "ultraGrid1";
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.btnqr);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(423, 38);
+            this.panel2.TabIndex = 0;
+            // 
+            // btnqr
+            // 
+            this.btnqr.Location = new System.Drawing.Point(325, 3);
+            this.btnqr.Name = "btnqr";
+            this.btnqr.Size = new System.Drawing.Size(86, 33);
+            this.btnqr.TabIndex = 0;
+            this.btnqr.Text = "确认";
+            this.btnqr.Click += new System.EventHandler(this.btrqr_Click);
+            // 
+            // FrmProvlderDialog
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(423, 224);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmProvlderDialog";
+            this.Text = "供方";
+            this.Load += new System.EventHandler(this.FrmProvlderDialog_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            this.panel2.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.Misc.UltraButton btnqr;
+    }
+}

+ 27 - 0
Client/.svn/pristine/3b/3b6d8a93829bd5f3d8b6bfe42fa7d17ed2a0d04a.svn-base

@@ -0,0 +1,27 @@
+E:\code\BJ\Client\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\BJ\Client\Core.XgMes.Client.JGKC.RollManager.pdb
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\ResolveAssemblyReference.cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmJBCB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffMove.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffReceive.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffManage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffMove.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoSendCan.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.CPButtressQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.frmJBZKZH.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmPrint.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.TurnoffSendQueryJB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendQueryJB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendStatJB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YLButtressQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YL_Buress.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceManage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceTurnManage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanDrawUp.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanTurnDrawUp.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.csproj.GenerateResource.Cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.pdb
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll.licenses
+E:\code\Client\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\Client\Core.XgMes.Client.JGKC.RollManager.pdb

+ 17 - 0
Client/.svn/pristine/3b/3baf9b856d984ca526fe4da0170b6d7ae893e024.svn-base

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type='text/xsl' href='_UpgradeReport_Files/UpgradeReport.xslt'?><UpgradeLog>
+<Properties><Property Name="Solution" Value="ClientSolution">
+</Property><Property Name="解决方案文件" Value="E:\code\BJ\ClientSolution\ClientSolution.sln">
+</Property><Property Name="Date" Value="2020年2月21日">
+</Property><Property Name="Time" Value="15:55">
+</Property></Properties><Event ErrorLevel="0" Project="Core.XgMes.Client.JGKC.SteelPlateManager" Source="Core.XgMes.Client.JGKC.SteelPlateManager\Core.XgMes.Client.JGKC.SteelPlateManager.csproj" Description="项目已成功转换">
+</Event><Event ErrorLevel="3" Project="Core.XgMes.Client.JGKC.SteelPlateManager" Source="Core.XgMes.Client.JGKC.SteelPlateManager\Core.XgMes.Client.JGKC.SteelPlateManager.csproj" Description="Converted">
+</Event><Event ErrorLevel="0" Project="Core.XgMes.Client.JGKC.RollManager" Source="Core.XgMes.Client.JGKC.RollManager\Core.XgMes.Client.JGKC.RollManager.csproj" Description="项目已成功转换">
+</Event><Event ErrorLevel="3" Project="Core.XgMes.Client.JGKC.RollManager" Source="Core.XgMes.Client.JGKC.RollManager\Core.XgMes.Client.JGKC.RollManager.csproj" Description="Converted">
+</Event><Event ErrorLevel="0" Project="Core.XgMes.Client.JGKC.MaterialManager" Source="Core.XgMes.Client.JGKC.MaterialManager\Core.XgMes.Client.JGKC.MaterialManager.csproj" Description="项目已成功转换">
+</Event><Event ErrorLevel="3" Project="Core.XgMes.Client.JGKC.MaterialManager" Source="Core.XgMes.Client.JGKC.MaterialManager\Core.XgMes.Client.JGKC.MaterialManager.csproj" Description="Converted">
+</Event><Event ErrorLevel="0" Project="" Source="ClientSolution.sln" Description="成功转换解决方案">
+</Event><Event ErrorLevel="3" Project="" Source="ClientSolution.sln" Description="Converted">
+</Event><Event ErrorLevel="0" Project="Core.XgMes.Client.JGKC.SteelPlateManager" Source="Core.XgMes.Client.JGKC.SteelPlateManager\Core.XgMes.Client.JGKC.SteelPlateManager.csproj" Description="扫描完成: 项目文件不需要升级。">
+</Event><Event ErrorLevel="0" Project="Core.XgMes.Client.JGKC.RollManager" Source="Core.XgMes.Client.JGKC.RollManager\Core.XgMes.Client.JGKC.RollManager.csproj" Description="扫描完成: 项目文件不需要升级。">
+</Event><Event ErrorLevel="0" Project="Core.XgMes.Client.JGKC.MaterialManager" Source="Core.XgMes.Client.JGKC.MaterialManager\Core.XgMes.Client.JGKC.MaterialManager.csproj" Description="扫描完成: 项目文件不需要升级。">
+</Event></UpgradeLog>

+ 2830 - 0
Client/.svn/pristine/3c/3ce57988258a3a9b4f1f7e137483f8881bd87ee5.svn-base

@@ -0,0 +1,2830 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.IO;
+using NPOI.HSSF.Util;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    /// <summary>
+    /// Frm_StuffReceive 的摘要说明。
+    /// </summary>
+    public class Frm_StuffReceive : Mes.ClientFrameWork.FrmBase
+    {
+        private System.Windows.Forms.Panel panel1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+        private System.Windows.Forms.Panel panel3;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InMan;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid2;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_FYHM;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor2;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InSteel;
+        private Infragistics.Win.UltraWinGrid.UltraCombo scm_ord;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Area;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmbarea;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chkarea;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Weight;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_VecihleNO;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.Misc.UltraButton chk_ybfs;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Billetid;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Station;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_AskPlan;
+        private Infragistics.Win.Misc.UltraButton chk_cxfs;
+        private System.ComponentModel.IContainer components;
+
+        public Frm_StuffReceive()
+        {
+            //
+            // Windows 窗体设计器支持所必需的
+            //
+            InitializeComponent();
+
+            //
+            // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+            //
+        }
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing)
+            {
+                if (components != null)
+                {
+                    components.Dispose();
+                }
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要使用代码编辑器修改
+        /// 此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_IN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL_IN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_IN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCELIN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_IN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL_IN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_IN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCELIN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCELZ");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL");
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD2");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD3");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD4");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD5");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC_STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CHARGE_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_TIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_MAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 1);
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "OLD_SAMPL_NO", 1, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "OLD_SAMPL_NO", 1, true);
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true);
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD2");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD3");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD4");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD5");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_TIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOVE_MAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HTDW");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHDW", 3);
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true);
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 11, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 11, true);
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_cxfs = new Infragistics.Win.Misc.UltraButton();
+            this.Txt_Station = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Txt_AskPlan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_Billetid = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_ybfs = new Infragistics.Win.Misc.UltraButton();
+            this.cmbarea = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.chkarea = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraCheckEditor3 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_FYHM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraCheckEditor2 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel3 = new System.Windows.Forms.Panel();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Weight = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Area = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.scm_ord = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_InMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.cmb_InSteel = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Station)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Billetid)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmbarea)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_FYHM)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
+            this.panel3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Weight)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.scm_ord)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.ultraGroupBox1);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1472, 88);
+            this.panel1.TabIndex = 0;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.chk_cxfs);
+            this.ultraGroupBox1.Controls.Add(this.Txt_Station);
+            this.ultraGroupBox1.Controls.Add(this.Txt_AskPlan);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel8);
+            this.ultraGroupBox1.Controls.Add(this.Txt_Billetid);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel7);
+            this.ultraGroupBox1.Controls.Add(this.chk_ybfs);
+            this.ultraGroupBox1.Controls.Add(this.cmbarea);
+            this.ultraGroupBox1.Controls.Add(this.Txt_VecihleNO);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel6);
+            this.ultraGroupBox1.Controls.Add(this.chkarea);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
+            this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor3);
+            this.ultraGroupBox1.Controls.Add(this.txt_FYHM);
+            this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor2);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor1);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1472, 60);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 4;
+            // 
+            // chk_cxfs
+            // 
+            this.chk_cxfs.Location = new System.Drawing.Point(1349, 6);
+            this.chk_cxfs.Name = "chk_cxfs";
+            this.chk_cxfs.Size = new System.Drawing.Size(72, 24);
+            this.chk_cxfs.TabIndex = 753;
+            this.chk_cxfs.Text = "撤销发送";
+            this.chk_cxfs.Click += new System.EventHandler(this.chk_cxfs_Click);
+            // 
+            // Txt_Station
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_Station.Appearance = appearance1;
+            this.Txt_Station.AutoSize = true;
+            this.Txt_Station.FlatMode = true;
+            this.Txt_Station.Location = new System.Drawing.Point(1220, 36);
+            this.Txt_Station.Name = "Txt_Station";
+            this.Txt_Station.Size = new System.Drawing.Size(112, 19);
+            this.Txt_Station.TabIndex = 752;
+            // 
+            // Txt_AskPlan
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_AskPlan.Appearance = appearance2;
+            this.Txt_AskPlan.AutoSize = true;
+            this.Txt_AskPlan.FlatMode = true;
+            this.Txt_AskPlan.Location = new System.Drawing.Point(1049, 10);
+            this.Txt_AskPlan.Name = "Txt_AskPlan";
+            this.Txt_AskPlan.Size = new System.Drawing.Size(112, 19);
+            this.Txt_AskPlan.TabIndex = 751;
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(1164, 38);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 749;
+            this.ultraLabel8.Text = "到站地点";
+            // 
+            // Txt_Billetid
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_Billetid.Appearance = appearance3;
+            this.Txt_Billetid.AutoSize = true;
+            this.Txt_Billetid.Enabled = false;
+            this.Txt_Billetid.FlatMode = true;
+            this.Txt_Billetid.Location = new System.Drawing.Point(1220, 10);
+            this.Txt_Billetid.Name = "Txt_Billetid";
+            this.Txt_Billetid.ReadOnly = true;
+            this.Txt_Billetid.Size = new System.Drawing.Size(112, 19);
+            this.Txt_Billetid.TabIndex = 748;
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel7.Location = new System.Drawing.Point(1164, 12);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 747;
+            this.ultraLabel7.Text = "钢卷序号";
+            // 
+            // chk_ybfs
+            // 
+            this.chk_ybfs.Location = new System.Drawing.Point(1349, 31);
+            this.chk_ybfs.Name = "chk_ybfs";
+            this.chk_ybfs.Size = new System.Drawing.Size(72, 24);
+            this.chk_ybfs.TabIndex = 746;
+            this.chk_ybfs.Text = "预报发送";
+            this.chk_ybfs.Click += new System.EventHandler(this.chk_ybfs_Click);
+            // 
+            // cmbarea
+            // 
+            this.cmbarea.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmbarea.DisplayMember = "";
+            this.cmbarea.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmbarea.Enabled = false;
+            this.cmbarea.FlatMode = true;
+            this.cmbarea.Location = new System.Drawing.Point(738, 36);
+            this.cmbarea.Name = "cmbarea";
+            this.cmbarea.Size = new System.Drawing.Size(104, 19);
+            this.cmbarea.TabIndex = 221;
+            this.cmbarea.Tag = "";
+            this.cmbarea.ValueMember = "";
+            // 
+            // Txt_VecihleNO
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_VecihleNO.Appearance = appearance4;
+            this.Txt_VecihleNO.AutoSize = true;
+            this.Txt_VecihleNO.FlatMode = true;
+            this.Txt_VecihleNO.Location = new System.Drawing.Point(1049, 36);
+            this.Txt_VecihleNO.Name = "Txt_VecihleNO";
+            this.Txt_VecihleNO.Size = new System.Drawing.Size(112, 19);
+            this.Txt_VecihleNO.TabIndex = 745;
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(993, 38);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 744;
+            this.ultraLabel6.Text = "车牌号码";
+            // 
+            // chkarea
+            // 
+            this.chkarea.Location = new System.Drawing.Point(688, 38);
+            this.chkarea.Name = "chkarea";
+            this.chkarea.Size = new System.Drawing.Size(63, 16);
+            this.chkarea.TabIndex = 220;
+            this.chkarea.TabStop = false;
+            this.chkarea.Text = "区域";
+            this.chkarea.CheckedChanged += new System.EventHandler(this.chkarea_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.DateTime = new System.DateTime(2016, 11, 20, 0, 0, 0, 0);
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(64, 32);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 219;
+            this.dte_EndTime.Value = new System.DateTime(2016, 11, 20, 0, 0, 0, 0);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(993, 12);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel5.TabIndex = 742;
+            this.ultraLabel5.Text = "发运号码";
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.DateTime = new System.DateTime(2016, 11, 20, 0, 0, 0, 0);
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(64, 8);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 218;
+            this.dte_BeginTime.Value = new System.DateTime(2016, 11, 20, 0, 0, 0, 0);
+            // 
+            // chk_BNumber
+            // 
+            this.chk_BNumber.Location = new System.Drawing.Point(688, 13);
+            this.chk_BNumber.Name = "chk_BNumber";
+            this.chk_BNumber.Size = new System.Drawing.Size(50, 16);
+            this.chk_BNumber.TabIndex = 217;
+            this.chk_BNumber.TabStop = false;
+            this.chk_BNumber.Text = "批号";
+            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
+            // 
+            // txt_BNumber
+            // 
+            this.txt_BNumber.AutoSize = true;
+            this.txt_BNumber.Enabled = false;
+            this.txt_BNumber.FlatMode = true;
+            this.txt_BNumber.Location = new System.Drawing.Point(738, 10);
+            this.txt_BNumber.Name = "txt_BNumber";
+            this.txt_BNumber.Size = new System.Drawing.Size(104, 19);
+            this.txt_BNumber.TabIndex = 216;
+            this.txt_BNumber.TabStop = false;
+            this.txt_BNumber.Tag = "";
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(848, 11);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 215;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(848, 31);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 214;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(570, 34);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(104, 19);
+            this.cmb_Buress.TabIndex = 213;
+            this.cmb_Buress.Tag = "";
+            this.cmb_Buress.ValueMember = "";
+            // 
+            // Chk_Buttress
+            // 
+            this.Chk_Buttress.Location = new System.Drawing.Point(522, 36);
+            this.Chk_Buttress.Name = "Chk_Buttress";
+            this.Chk_Buttress.Size = new System.Drawing.Size(63, 16);
+            this.Chk_Buttress.TabIndex = 212;
+            this.Chk_Buttress.TabStop = false;
+            this.Chk_Buttress.Text = "堆位";
+            this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
+            // 
+            // cmb_Sleen
+            // 
+            this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Sleen.DisplayLayout.Appearance = appearance5;
+            this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance6.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance6.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance6.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance6.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.Appearance = appearance6;
+            appearance7.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BandLabelAppearance = appearance7;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance8.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance8.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance8.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance8.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.PromptAppearance = appearance8;
+            this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance9.BackColor = System.Drawing.SystemColors.Window;
+            appearance9.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Sleen.DisplayLayout.Override.ActiveCellAppearance = appearance9;
+            appearance10.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance10.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Sleen.DisplayLayout.Override.ActiveRowAppearance = appearance10;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.Override.CardAreaAppearance = appearance11;
+            appearance12.BorderColor = System.Drawing.Color.Silver;
+            appearance12.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Sleen.DisplayLayout.Override.CellAppearance = appearance12;
+            this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
+            appearance13.BackColor = System.Drawing.SystemColors.Control;
+            appearance13.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance13.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance13.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance13.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.Override.GroupByRowAppearance = appearance13;
+            appearance14.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderAppearance = appearance14;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance15.BackColor = System.Drawing.SystemColors.Window;
+            appearance15.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Sleen.DisplayLayout.Override.RowAppearance = appearance15;
+            this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Sleen.DisplayLayout.Override.TemplateAddRowAppearance = appearance16;
+            this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Sleen.DisplayMember = "";
+            this.cmb_Sleen.Enabled = false;
+            this.cmb_Sleen.FlatMode = true;
+            this.cmb_Sleen.Location = new System.Drawing.Point(570, 10);
+            this.cmb_Sleen.Name = "cmb_Sleen";
+            this.cmb_Sleen.Size = new System.Drawing.Size(104, 19);
+            this.cmb_Sleen.TabIndex = 159;
+            this.cmb_Sleen.ValueMember = "";
+            // 
+            // ultraCheckEditor3
+            // 
+            this.ultraCheckEditor3.Location = new System.Drawing.Point(522, 13);
+            this.ultraCheckEditor3.Name = "ultraCheckEditor3";
+            this.ultraCheckEditor3.Size = new System.Drawing.Size(48, 16);
+            this.ultraCheckEditor3.TabIndex = 158;
+            this.ultraCheckEditor3.TabStop = false;
+            this.ultraCheckEditor3.Text = "牌号";
+            this.ultraCheckEditor3.CheckedChanged += new System.EventHandler(this.ultraCheckEditor3_CheckedChanged);
+            // 
+            // txt_FYHM
+            // 
+            this.txt_FYHM.AutoSize = true;
+            this.txt_FYHM.Enabled = false;
+            this.txt_FYHM.FlatMode = true;
+            this.txt_FYHM.Location = new System.Drawing.Point(410, 34);
+            this.txt_FYHM.Name = "txt_FYHM";
+            this.txt_FYHM.Size = new System.Drawing.Size(104, 19);
+            this.txt_FYHM.TabIndex = 157;
+            this.txt_FYHM.TabStop = false;
+            this.txt_FYHM.Tag = "";
+            // 
+            // ultraCheckEditor2
+            // 
+            this.ultraCheckEditor2.Location = new System.Drawing.Point(354, 36);
+            this.ultraCheckEditor2.Name = "ultraCheckEditor2";
+            this.ultraCheckEditor2.Size = new System.Drawing.Size(60, 16);
+            this.ultraCheckEditor2.TabIndex = 156;
+            this.ultraCheckEditor2.TabStop = false;
+            this.ultraCheckEditor2.Text = "发运号码";
+            this.ultraCheckEditor2.CheckedChanged += new System.EventHandler(this.ultraCheckEditor2_CheckedChanged);
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(410, 10);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
+            this.txt_RollHao.TabIndex = 155;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // ultraCheckEditor1
+            // 
+            this.ultraCheckEditor1.Location = new System.Drawing.Point(354, 13);
+            this.ultraCheckEditor1.Name = "ultraCheckEditor1";
+            this.ultraCheckEditor1.Size = new System.Drawing.Size(60, 16);
+            this.ultraCheckEditor1.TabIndex = 154;
+            this.ultraCheckEditor1.TabStop = false;
+            this.ultraCheckEditor1.Text = "钢卷号";
+            this.ultraCheckEditor1.CheckedChanged += new System.EventHandler(this.ultraCheckEditor1_CheckedChanged);
+            // 
+            // txt_PlanID
+            // 
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(244, 34);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 153;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PactID
+            // 
+            this.chk_PactID.Location = new System.Drawing.Point(186, 36);
+            this.chk_PactID.Name = "chk_PactID";
+            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PactID.TabIndex = 152;
+            this.chk_PactID.TabStop = false;
+            this.chk_PactID.Text = "合同号";
+            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
+            // 
+            // txt_OrderNO
+            // 
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(244, 10);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 151;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(186, 13);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 150;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(40, 38);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 111;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_CollectTime.Location = new System.Drawing.Point(16, 13);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(48, 16);
+            this.chk_CollectTime.TabIndex = 110;
+            this.chk_CollectTime.TabStop = false;
+            this.chk_CollectTime.Text = "时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 64);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool7.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6,
+            buttonTool7});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool8.SharedProps.Caption = "入库信息查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "撤销入库";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "关闭";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "刷新钢卷来料信息";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "接收入库";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool13.SharedProps.Caption = "导出入库信息";
+            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool14.SharedProps.Caption = "导出转运信息";
+            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool15.SharedProps.Caption = "导入原料";
+            buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12,
+            buttonTool13,
+            buttonTool14,
+            buttonTool15});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1472, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 64);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1472, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 88);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1472, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.ultraGrid1);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 88);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1472, 240);
+            this.panel2.TabIndex = 5;
+            // 
+            // ultraGrid1
+            // 
+            appearance17.BackColor = System.Drawing.Color.Ivory;
+            this.ultraGrid1.DisplayLayout.Appearance = appearance17;
+            ultraGridColumn1.Header.Caption = "出库单号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(120, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(125, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "订单号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "交货期";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "内径";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "外径";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "长度";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.Hidden = true;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "厚度 ";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "宽度";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "计算重量";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "实重量";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "综合判定";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "缺陷1";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.Hidden = true;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "缺陷2";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.Hidden = true;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "缺陷3";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.Hidden = true;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "缺陷4";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.Hidden = true;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "缺陷5";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.Hidden = true;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "特记事项";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "车辆号";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "质保书编号";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "";
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(36, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn24.Header.Caption = "牌号";
+            ultraGridColumn24.Header.VisiblePosition = 24;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn25.Header.Caption = "炉号";
+            ultraGridColumn25.Header.VisiblePosition = 23;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "转运时间";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.Header.Caption = "转运人";
+            ultraGridColumn27.Header.VisiblePosition = 26;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "批号";
+            ultraGridColumn28.Header.VisiblePosition = 27;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(104, 0);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "执行标准";
+            ultraGridColumn29.Header.VisiblePosition = 28;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0);
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29});
+            appearance18.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance18;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "总块:{0}块";
+            summarySettings1.GroupBySummaryValueAppearance = appearance19;
+            summarySettings2.DisplayFormat = "总重:{0}";
+            summarySettings2.GroupBySummaryValueAppearance = appearance20;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.ultraGrid1.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance21.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance21.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Appearance = appearance21;
+            appearance22.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance22;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance23.BackColor = System.Drawing.SystemColors.Window;
+            appearance23.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance = appearance23;
+            appearance24.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance24.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance = appearance24;
+            appearance25.BorderColor = System.Drawing.Color.Black;
+            appearance25.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance25;
+            this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
+            appearance26.BackColor = System.Drawing.SystemColors.Control;
+            appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance26.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance26.BorderColor = System.Drawing.SystemColors.Window;
+            appearance26.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid1.DisplayLayout.Override.GroupByRowAppearance = appearance26;
+            this.ultraGrid1.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance27.BackColor = System.Drawing.Color.Silver;
+            this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = appearance27;
+            this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance28.BackColor = System.Drawing.SystemColors.Window;
+            appearance28.BorderColor = System.Drawing.Color.Black;
+            appearance28.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid1.DisplayLayout.Override.RowAppearance = appearance28;
+            appearance29.BackColor = System.Drawing.SystemColors.Window;
+            appearance29.BorderColor = System.Drawing.Color.Black;
+            appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid1.DisplayLayout.Override.RowPreviewAppearance = appearance29;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance30.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance30.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid1.DisplayLayout.Override.SelectedRowAppearance = appearance30;
+            this.ultraGrid1.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.SummaryFooterAppearance = appearance31;
+            appearance32.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance32.ForeColor = System.Drawing.Color.Red;
+            this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance32;
+            this.ultraGrid1.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance33.BackColor = System.Drawing.Color.MistyRose;
+            appearance33.ForeColor = System.Drawing.Color.Blue;
+            appearance33.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance33.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid1.DisplayLayout.Override.SummaryValueAppearance = appearance33;
+            appearance34.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid1.DisplayLayout.Override.TemplateAddRowAppearance = appearance34;
+            this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid1.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(1472, 240);
+            this.ultraGrid1.TabIndex = 7;
+            this.ultraGrid1.Text = "ultraGrid1";
+            this.ultraGrid1.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.ultraGrid1_CellChange);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.ultraGrid2);
+            this.ultraGroupBox2.Controls.Add(this.panel3);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 328);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1472, 182);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 6;
+            this.ultraGroupBox2.Text = "钢卷入库编辑";
+            // 
+            // ultraGrid2
+            // 
+            appearance35.BackColor = System.Drawing.Color.Ivory;
+            this.ultraGrid2.DisplayLayout.Appearance = appearance35;
+            ultraGridColumn30.Header.Caption = "出库单号";
+            ultraGridColumn30.Header.VisiblePosition = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "钢卷号";
+            ultraGridColumn31.Header.VisiblePosition = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "板坯号";
+            ultraGridColumn32.Header.VisiblePosition = 2;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.Caption = "合同号";
+            ultraGridColumn33.Header.VisiblePosition = 3;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "订单号";
+            ultraGridColumn34.Header.VisiblePosition = 4;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "交货期";
+            ultraGridColumn35.Header.VisiblePosition = 5;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "内径";
+            ultraGridColumn36.Header.VisiblePosition = 6;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "外径";
+            ultraGridColumn37.Header.VisiblePosition = 7;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "长度";
+            ultraGridColumn38.Header.VisiblePosition = 8;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "厚度 ";
+            ultraGridColumn39.Header.VisiblePosition = 9;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "宽度";
+            ultraGridColumn40.Header.VisiblePosition = 10;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "计算重量";
+            ultraGridColumn41.Header.VisiblePosition = 11;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "实重量";
+            ultraGridColumn42.Header.VisiblePosition = 12;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "牌号";
+            ultraGridColumn43.Header.VisiblePosition = 13;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "综合判定";
+            ultraGridColumn44.Header.VisiblePosition = 14;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "缺陷1";
+            ultraGridColumn45.Header.VisiblePosition = 15;
+            ultraGridColumn45.Hidden = true;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "缺陷2";
+            ultraGridColumn46.Header.VisiblePosition = 16;
+            ultraGridColumn46.Hidden = true;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "缺陷3";
+            ultraGridColumn47.Header.VisiblePosition = 17;
+            ultraGridColumn47.Hidden = true;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "缺陷4";
+            ultraGridColumn48.Header.VisiblePosition = 18;
+            ultraGridColumn48.Hidden = true;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(49, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "缺陷5";
+            ultraGridColumn49.Header.VisiblePosition = 19;
+            ultraGridColumn49.Hidden = true;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "备注";
+            ultraGridColumn50.Header.VisiblePosition = 20;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "车辆号";
+            ultraGridColumn51.Header.VisiblePosition = 21;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "质保书编号";
+            ultraGridColumn52.Header.VisiblePosition = 22;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "垛位";
+            ultraGridColumn53.Header.VisiblePosition = 23;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "登记人";
+            ultraGridColumn54.Header.VisiblePosition = 24;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "登记时间";
+            ultraGridColumn55.Header.VisiblePosition = 25;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "入库班次";
+            ultraGridColumn56.Header.VisiblePosition = 26;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "入库班组";
+            ultraGridColumn57.Header.VisiblePosition = 27;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "订单厚度";
+            ultraGridColumn58.Header.VisiblePosition = 28;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.Caption = "订单类型";
+            ultraGridColumn59.Header.VisiblePosition = 31;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "订单宽度";
+            ultraGridColumn60.Header.VisiblePosition = 29;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(58, 0);
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "入库区域";
+            ultraGridColumn61.Header.VisiblePosition = 32;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "转运时间";
+            ultraGridColumn62.Header.VisiblePosition = 33;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 33;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "转运人";
+            ultraGridColumn63.Header.VisiblePosition = 34;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 32;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "合同单位";
+            ultraGridColumn64.Header.VisiblePosition = 35;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "炉号";
+            ultraGridColumn65.Header.VisiblePosition = 30;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(98, 0);
+            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn66.Header.Caption = "批号";
+            ultraGridColumn66.Header.VisiblePosition = 36;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 0);
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "执行标准";
+            ultraGridColumn67.Header.VisiblePosition = 37;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
+            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn68.Header.Caption = "收货单位";
+            ultraGridColumn68.Header.VisiblePosition = 38;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68});
+            appearance36.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance36;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings3.DisplayFormat = "{0}";
+            summarySettings3.GroupBySummaryValueAppearance = appearance37;
+            summarySettings4.DisplayFormat = "{0}";
+            summarySettings4.GroupBySummaryValueAppearance = appearance38;
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4});
+            ultraGridBand2.UseRowLayout = true;
+            this.ultraGrid2.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance39.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance39.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance39.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance39.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Appearance = appearance39;
+            appearance40.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid2.DisplayLayout.GroupByBox.BandLabelAppearance = appearance40;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
+            this.ultraGrid2.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance41.BackColor = System.Drawing.SystemColors.Window;
+            appearance41.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid2.DisplayLayout.Override.ActiveCellAppearance = appearance41;
+            appearance42.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance42.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid2.DisplayLayout.Override.ActiveRowAppearance = appearance42;
+            appearance43.BorderColor = System.Drawing.Color.Black;
+            appearance43.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.CellAppearance = appearance43;
+            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
+            appearance44.BackColor = System.Drawing.SystemColors.Control;
+            appearance44.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance44.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance44.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance44.BorderColor = System.Drawing.SystemColors.Window;
+            appearance44.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance44.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.GroupByRowAppearance = appearance44;
+            this.ultraGrid2.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance45.BackColor = System.Drawing.Color.Silver;
+            this.ultraGrid2.DisplayLayout.Override.HeaderAppearance = appearance45;
+            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance46.BackColor = System.Drawing.SystemColors.Window;
+            appearance46.BorderColor = System.Drawing.Color.Black;
+            appearance46.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.RowAppearance = appearance46;
+            appearance47.BackColor = System.Drawing.SystemColors.Window;
+            appearance47.BorderColor = System.Drawing.Color.Black;
+            appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.RowPreviewAppearance = appearance47;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance48.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance48.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.SelectedRowAppearance = appearance48;
+            this.ultraGrid2.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance49.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterAppearance = appearance49;
+            appearance50.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance50.ForeColor = System.Drawing.Color.Red;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance50;
+            this.ultraGrid2.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance51.BackColor = System.Drawing.Color.MistyRose;
+            appearance51.ForeColor = System.Drawing.Color.Blue;
+            appearance51.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance51.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraGrid2.DisplayLayout.Override.SummaryValueAppearance = appearance51;
+            appearance52.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid2.DisplayLayout.Override.TemplateAddRowAppearance = appearance52;
+            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid2.Location = new System.Drawing.Point(3, 48);
+            this.ultraGrid2.Name = "ultraGrid2";
+            this.ultraGrid2.Size = new System.Drawing.Size(1466, 131);
+            this.ultraGrid2.TabIndex = 8;
+            this.ultraGrid2.Text = "ultraGrid2";
+            this.ultraGrid2.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.ultraGrid2_DoubleClickRow);
+            // 
+            // panel3
+            // 
+            this.panel3.Controls.Add(this.ultraLabel3);
+            this.panel3.Controls.Add(this.txt_Weight);
+            this.panel3.Controls.Add(this.ultraLabel2);
+            this.panel3.Controls.Add(this.cmb_Area);
+            this.panel3.Controls.Add(this.scm_ord);
+            this.panel3.Controls.Add(this.ultraLabel1);
+            this.panel3.Controls.Add(this.cmb_Buttress);
+            this.panel3.Controls.Add(this.ultraLabel4);
+            this.panel3.Controls.Add(this.cmb_InMan);
+            this.panel3.Controls.Add(this.ultraLabel15);
+            this.panel3.Controls.Add(this.cmb_ClassTeam);
+            this.panel3.Controls.Add(this.ultraLabel16);
+            this.panel3.Controls.Add(this.cmb_ClassOrder);
+            this.panel3.Controls.Add(this.ultraLabel19);
+            this.panel3.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel3.Location = new System.Drawing.Point(3, 18);
+            this.panel3.Name = "panel3";
+            this.panel3.Size = new System.Drawing.Size(1466, 30);
+            this.panel3.TabIndex = 0;
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(796, 7);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 741;
+            this.ultraLabel3.Text = "过磅重量";
+            // 
+            // txt_Weight
+            // 
+            this.txt_Weight.AutoSize = true;
+            this.txt_Weight.FlatMode = true;
+            this.txt_Weight.Location = new System.Drawing.Point(851, 5);
+            this.txt_Weight.Name = "txt_Weight";
+            this.txt_Weight.Size = new System.Drawing.Size(40, 19);
+            this.txt_Weight.TabIndex = 740;
+            this.txt_Weight.TabStop = false;
+            this.txt_Weight.Tag = "";
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(368, 7);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel2.TabIndex = 739;
+            this.ultraLabel2.Text = "区域";
+            // 
+            // cmb_Area
+            // 
+            this.cmb_Area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Area.DisplayMember = "";
+            this.cmb_Area.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Area.FlatMode = true;
+            this.cmb_Area.Location = new System.Drawing.Point(403, 5);
+            this.cmb_Area.Name = "cmb_Area";
+            this.cmb_Area.Size = new System.Drawing.Size(106, 19);
+            this.cmb_Area.TabIndex = 738;
+            this.cmb_Area.Tag = "";
+            this.cmb_Area.ValueMember = "";
+            this.cmb_Area.ValueChanged += new System.EventHandler(this.cmb_Area_ValueChanged);
+            // 
+            // scm_ord
+            // 
+            this.scm_ord.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.scm_ord.DisplayMember = "";
+            this.scm_ord.FlatMode = true;
+            this.scm_ord.Location = new System.Drawing.Point(694, 5);
+            this.scm_ord.Name = "scm_ord";
+            this.scm_ord.Size = new System.Drawing.Size(99, 19);
+            this.scm_ord.TabIndex = 591;
+            this.scm_ord.Tag = "";
+            this.scm_ord.ValueMember = "";
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(640, 7);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel1.TabIndex = 590;
+            this.ultraLabel1.Text = "订单类型";
+            // 
+            // cmb_Buttress
+            // 
+            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buttress.DisplayMember = "";
+            this.cmb_Buttress.FlatMode = true;
+            this.cmb_Buttress.Location = new System.Drawing.Point(570, 5);
+            this.cmb_Buttress.Name = "cmb_Buttress";
+            this.cmb_Buttress.Size = new System.Drawing.Size(63, 19);
+            this.cmb_Buttress.TabIndex = 585;
+            this.cmb_Buttress.Tag = "";
+            this.cmb_Buttress.ValueMember = "";
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(517, 7);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 589;
+            this.ultraLabel4.Text = "入库堆位";
+            // 
+            // cmb_InMan
+            // 
+            this.cmb_InMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_InMan.DisplayMember = "";
+            this.cmb_InMan.FlatMode = true;
+            this.cmb_InMan.Location = new System.Drawing.Point(49, 5);
+            this.cmb_InMan.Name = "cmb_InMan";
+            this.cmb_InMan.Size = new System.Drawing.Size(89, 19);
+            this.cmb_InMan.TabIndex = 582;
+            this.cmb_InMan.Tag = "";
+            this.cmb_InMan.ValueMember = "";
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.Location = new System.Drawing.Point(8, 7);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel15.TabIndex = 588;
+            this.ultraLabel15.Text = "入库人";
+            // 
+            // cmb_ClassTeam
+            // 
+            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassTeam.DisplayMember = "";
+            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassTeam.FlatMode = true;
+            this.cmb_ClassTeam.Location = new System.Drawing.Point(309, 4);
+            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
+            this.cmb_ClassTeam.Size = new System.Drawing.Size(55, 19);
+            this.cmb_ClassTeam.TabIndex = 584;
+            this.cmb_ClassTeam.Tag = "";
+            this.cmb_ClassTeam.ValueMember = "";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.Location = new System.Drawing.Point(256, 7);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel16.TabIndex = 587;
+            this.ultraLabel16.Text = "入库班组";
+            // 
+            // cmb_ClassOrder
+            // 
+            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOrder.DisplayMember = "";
+            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassOrder.FlatMode = true;
+            this.cmb_ClassOrder.Location = new System.Drawing.Point(199, 5);
+            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
+            this.cmb_ClassOrder.Size = new System.Drawing.Size(52, 19);
+            this.cmb_ClassOrder.TabIndex = 583;
+            this.cmb_ClassOrder.Tag = "";
+            this.cmb_ClassOrder.ValueMember = "";
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.Location = new System.Drawing.Point(144, 7);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel19.TabIndex = 586;
+            this.ultraLabel19.Text = "入库班次";
+            // 
+            // cmb_InSteel
+            // 
+            this.cmb_InSteel.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_InSteel.DisplayMember = "";
+            this.cmb_InSteel.Location = new System.Drawing.Point(68, 136);
+            this.cmb_InSteel.Name = "cmb_InSteel";
+            this.cmb_InSteel.Size = new System.Drawing.Size(144, 21);
+            this.cmb_InSteel.TabIndex = 10;
+            this.cmb_InSteel.ValueMember = "";
+            this.cmb_InSteel.Enter += new System.EventHandler(this.txt_Bahct_Enter);
+            // 
+            // cmb_BugReaSon
+            // 
+            this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BugReaSon.DisplayMember = "";
+            this.cmb_BugReaSon.Location = new System.Drawing.Point(68, 158);
+            this.cmb_BugReaSon.Name = "cmb_BugReaSon";
+            this.cmb_BugReaSon.Size = new System.Drawing.Size(144, 21);
+            this.cmb_BugReaSon.TabIndex = 11;
+            this.cmb_BugReaSon.ValueMember = "";
+            this.cmb_BugReaSon.Enter += new System.EventHandler(this.txt_Bahct_Enter);
+            // 
+            // Frm_StuffReceive
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1472, 510);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_StuffReceive";
+            this.Text = "钢卷原料库管理";
+            this.Load += new System.EventHandler(this.Frm_StuffReceive_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Station)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Billetid)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmbarea)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_FYHM)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
+            this.panel3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Weight)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.scm_ord)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InSteel)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+        #endregion
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "QUERY_IN":
+                    this.StuffQuery(this.getStuffWhere());
+                    break;
+                case "CANCEL_IN":
+                    Stuff_Del();
+                    break;
+                case "REFRESH":
+                    TranQuery(this.GetWhere());
+                    break;
+                case "ImportYL":
+                    Import_Table();
+                    break;
+                case "RECEIVE_IN":
+                    this.StullAdd();
+                    break;
+                //case "DEL_MAN":
+                //    Stuff_Dele();
+                //    break;
+                case "TO_EXCELIN":
+                    this.Export(this.ultraGrid2, "原料库存信息");
+                    break;
+             
+                case "CLOSE":
+                    this.Close();
+                    break;
+            }
+        }
+
+        #region 查询
+        private string GetWhere()
+        {
+            string strSql = "";
+            if (txt_FYHM.Enabled == false && this.txt_PlanID.Text.Trim() == "")
+            {
+                return "";
+            }
+            else
+            {
+                if (this.chk_OrderNO.Checked)
+                {
+                    strSql += "AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'";
+                }
+                if (this.chk_PactID.Checked)
+                {
+                    strSql += "AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+                }
+                if (this.ultraCheckEditor1.Checked)
+                {
+                    strSql += "AND B.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'";
+                }
+                if (this.ultraCheckEditor2.Checked)
+                {
+                    strSql += "AND B.DLIV_DIRNO ='" + this.txt_FYHM.Text + "'";
+                }
+                if (this.ultraCheckEditor3.Checked)
+                {
+                    strSql += "AND B.STL_GRD='" + this.cmb_Sleen.Text + "'";
+                }
+                if (this.chk_BNumber.Checked)
+                {
+                    strSql += "AND B.BAHCT_NUMBER||B.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+                }
+            }
+            return strSql;
+        }
+        private void TranQuery(string _Conntion)
+        {
+            try
+            {
+                string strOut = "";
+                if (_Conntion == "")
+                {
+                    MessageBox.Show("请输入正确有发运号码!!!");
+                    return;
+                }
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "TranQuery", new object[] { _Conntion }, out strOut);
+                this.ultraGrid1.DataSource = ds;
+                this.ultraGrid1.UpdateData();
+                Comm.SetGridSumArea(this.ultraGrid1);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+        }
+
+
+        //原料导入数据查询
+        private void TranImportQuery()
+        {
+            try
+            {
+                string strOut = "";
+
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "TranImportQuery", new object[] { }, out strOut);
+                this.ultraGrid1.DataSource = ds;
+                this.ultraGrid1.UpdateData();
+                Comm.SetGridSumArea(this.ultraGrid1);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+        }
+
+
+        private string getStuffWhere()
+        {
+            string strSql = "";
+            if (this.chk_CollectTime.Checked)
+            {
+                strSql += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += "AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'";
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += "AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.ultraCheckEditor1.Checked)
+            {
+                strSql += "AND A.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'";
+            }
+            if (this.ultraCheckEditor2.Checked)
+            {
+                strSql += "AND A.SLAB_NO='" + this.txt_FYHM.Text + "'";
+            }
+            if (this.ultraCheckEditor3.Checked)
+            {
+                strSql += "AND A.STL_GRD='" + this.cmb_Sleen.Text + "'";
+            }
+            if (this.Chk_Buttress.Checked)
+            {
+                strSql += "AND A.BUTTRESS='" + this.cmb_Buress.Value + "'";
+            }
+            if (this.chkarea.Checked)
+            {
+                strSql += "AND B.AREA='" + this.cmbarea.Value + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+            return strSql;
+        }
+        private void StuffQuery(string _Conntion)
+        {
+            try
+            {
+                string strOut = "";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "StuffQuery", new object[] { _Conntion }, out strOut);
+                this.ultraGrid2.DataSource = ds;
+                this.ultraGrid2.UpdateData();
+                Comm.SetGridSumArea(this.ultraGrid2);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        #endregion
+
+        #region 录入转运信息
+        /// <summary>
+        /// 保存
+        /// </summary>
+        /// <param name="sender"></param>
+        /// <param name="e"></param>
+        private void ultraGrid1_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+        {
+            try
+            {
+                if (e.Cell.Column.Key == "FLAG")
+                {
+                    e.Cell.Row.Update();
+                    if (e.Cell.Value.ToString().ToUpper() == "TRUE")
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    }
+                    else
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+       
+        #endregion
+
+        #region 撤消录入转运信息
+        private System.Collections.ArrayList GetFieldValue(Infragistics.Win.UltraWinGrid.UltraGrid _SelectGrid, string _Select, string _FieldValue, string _FieldValue1)
+        {
+            System.Collections.ArrayList resultArray = new System.Collections.ArrayList();
+
+            foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in _SelectGrid.Rows)
+            {
+                if (row.Cells[_Select].Value.ToString().ToUpper() == "TRUE")
+                    resultArray.Add(row.Cells[_FieldValue].Value.ToString() + ";" + row.Cells[_FieldValue1].Value.ToString());
+
+            }
+            return resultArray;
+
+        }
+
+       
+        #endregion
+
+        #region 入库登记
+        private bool InChecked()
+        {
+            if (this.cmb_InMan.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("责任人不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+            if (this.cmb_ClassOrder.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("入库班次不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+            if (this.cmb_ClassTeam.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("入库班组不为为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+            if (this.cmb_Buttress.Text.Trim().Length == 0)
+            {
+                MessageBox.Show("入库堆位不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+            return true;
+        }
+        private void StullAdd()
+        {
+            if (!this.InChecked())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array = Comm.GetFieldValue(this.ultraGrid1, "FLAG", "OLD_SAMPL_NO");
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择转运栏中选择你要入库信息", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.txt_Weight.Text.Trim().ToString() == "")
+                {
+                    MessageBox.Show("请输入钢卷的过磅重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.cmb_InMan.Text);
+                Other.Add(this.cmb_ClassOrder.Value.ToString());
+                Other.Add(this.cmb_ClassTeam.Value.ToString());
+                Other.Add(this.cmb_Buttress.Text.Trim());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.scm_ord.Value.ToString());
+                Other.Add(this.cmb_Area.Value.ToString());
+                Other.Add(this.txt_Weight.Text.Trim().ToString());
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "StuffAddTran", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    DataSet ds = (DataSet)this.ultraGrid1.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_TRANSFERINFO"].Select("FLAG='TRUE'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_TRANSFERINFO"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_TRANSFERINFO"].AcceptChanges();
+                    }
+                    string strSql = " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='" + DateTime.Now.ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='" + DateTime.Now.ToString("yyyy-MM-dd") + "' ";
+                    this.StuffQuery(strSql);
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+
+        private void Stuff_Del()
+        {
+            try
+            {
+                string ID = "";
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.ultraGrid2.Selected.Rows)
+                {
+                    ID = row.Cells["OLD_SAMPL_NO"].Value.ToString();
+                }
+                array.Add(ID);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择转运栏中你要入库信息", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage", "Stuff_DelTran", new object[] { array }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.StuffQuery("");
+                    this.TranQuery(txt_FYHM.Text.Trim().ToString());
+                    this.ultraGrid2.UpdateData();
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        #endregion
+
+        #region "原料数据导入"
+        private void Import_Table()
+        {
+            try
+            {
+                DataSet ds = new DataSet();
+                DataTable dt = null;
+                string FileName = "";
+                System.Windows.Forms.OpenFileDialog open = new OpenFileDialog();
+                open.Filter = "*.xls|";
+                open.Title = "导入原料数据";
+                open.ShowDialog();
+                if (open.FileName != "")
+                {
+                    FileName = open.FileName;
+                    FileStream fs = new FileStream(FileName, FileMode.Open, FileAccess.Read);
+                    NPOI.HSSF.UserModel.HSSFWorkbook book = new NPOI.HSSF.UserModel.HSSFWorkbook(fs);
+                    int sheetCount = book.NumberOfSheets;
+                    for (int sheetIndex = 0; sheetIndex < sheetCount; sheetIndex++)
+                    {
+                        NPOI.SS.UserModel.ISheet sheet = book.GetSheetAt(sheetIndex);
+                        if (sheet == null) continue;
+
+                        NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
+                        if (row == null) continue;
+
+                        int firstCellNum = row.FirstCellNum;
+                        int lastCellNum = row.LastCellNum;
+                        if (firstCellNum == lastCellNum) continue;
+
+                        dt = new DataTable(sheet.SheetName);
+                        try
+                        {
+                            for (int i = firstCellNum; i < lastCellNum; i++)
+                            {
+                                Type ty = row.GetCell(i).StringCellValue.GetType();
+                                dt.Columns.Add(row.GetCell(i).StringCellValue, typeof(string));
+                            }
+                        }
+                        catch (Exception ex)
+                        {
+                        }
+
+                        for (int i = 1; i <= sheet.LastRowNum; i++)
+                        {
+                            DataRow newRow = dt.Rows.Add();
+                            NPOI.SS.UserModel.IRow row1 = sheet.GetRow(i);
+                            NPOI.SS.UserModel.ICellStyle cellStyle = null;
+                            try
+                            {
+
+                                for (int j = firstCellNum; j < lastCellNum; j++)
+                                {
+
+                                    NPOI.SS.UserModel.ICell cell = row.GetCell(j);
+                                    if (row1 != null)
+                                    {
+
+                                        if (cell.GetType() != null)
+                                        {
+                                            // NPOI.SS.UserModel.CellType celltype = sheet.GetRow(i).GetCell(j).CellType;
+                                            try
+                                            {
+                                                if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Numeric)
+                                                {
+                                                    newRow[j] = row1.GetCell(j);
+                                                }
+                                                else if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Formula)
+                                                {
+                                                    if (cell.CellType == NPOI.SS.UserModel.CellType.Error)
+                                                    {
+                                                        newRow[j] = "";
+                                                    }
+                                                    else
+                                                    {
+                                                        newRow[j] = row1.GetCell(j);
+                                                    }
+
+                                                }
+                                                else
+                                                {
+                                                    if (row1.GetCell(j) != null)
+                                                    {
+                                                        newRow[j] = row1.GetCell(j);
+                                                    }
+                                                    else
+                                                    {
+                                                        newRow[j] = row1.GetCell(j);
+                                                    }
+                                                }
+                                            }
+                                            catch (Exception ex)
+                                            {
+                                                cellStyle = book.CreateCellStyle();
+                                                cellStyle.CloneStyleFrom(cellStyle);
+                                                cellStyle.FillForegroundColor = HSSFColor.Pink.Index;
+                                                cellStyle.FillPattern = NPOI.SS.UserModel.FillPattern.SolidForeground;
+                                                row1.GetCell(j).CellStyle = cellStyle;
+                                                using (FileStream fileStream2 = new FileStream(FileName, FileMode.Create, FileAccess.Write))
+                                                {
+                                                    book.Write(fileStream2);
+                                                }
+                                                MessageBox.Show("格式错误", "错误提示");
+                                                return;
+                                            }
+                                        }
+                                    }
+                                }
+                            }
+                            catch (Exception ee)
+                            {
+
+                                throw ee;
+                            }
+                        }
+
+                        ds.Tables.Add(dt);
+                    }
+
+                    #region "处理数据"
+                    if (ds.Tables.Count == 1 && ds.Tables[0].Rows.Count > 0)
+                    {
+                        //myDataSet.Tables[0].Rows.RemoveAt(0);
+                        //myDataSet.Tables[0].AcceptChanges();
+                        string err = "";
+                        string MakeMan = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
+                            "Storginist_Imp", new object[] { ds.Tables[0], MakeMan }, out err);
+                        if (obj.GetType() != typeof(System.DBNull))
+                        {
+                            MessageBox.Show("导入数据成功!", "消息提示");
+                            TranImportQuery();
+                        }
+                        else
+                        {
+                            MessageBox.Show(err, "导入失败");
+                        }
+                    }
+                    else
+                    {
+                        MessageBox.Show("未获取导入数据!", "消息提示");
+                    }
+                    #endregion
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                MessageBox.Show("格式错误", "错误提示");
+            }
+        }
+        #endregion
+        #region 初始化
+        private void IniComb()
+        {
+            try
+            {
+                string strOut = "";
+                string sql = "";
+                DataSet ds;
+                //班次
+                sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+                Comm.Init_ComboControl(this.cmb_ClassOrder, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+                //班组
+                sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+                Comm.Init_ComboControl(this.cmb_ClassTeam, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+                //堆位
+                sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BUTTRESS";
+
+                Comm.Init_ComboControl(this.cmb_Buttress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+                Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+
+                //负责人
+                sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                Comm.Init_ComboControl(this.cmb_InMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+                //负责人
+                sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '8070'";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                Comm.Init_ComboControl(this.scm_ord, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+                //  ADD BY LYP 20101025 区域
+                sql = "select areacode from kcj_area_zw  where areatype='0' and isvalid='1' AND  AREACODE='对外加工(卷板)' ";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_AREA";
+
+                Comm.Init_ComboControl(this.cmb_Area, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
+                Comm.Init_ComboControl(this.cmbarea, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region EVENT
+        private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked;
+            this.dte_EndTime.Enabled = this.chk_CollectTime.Checked;
+        }
+
+        private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+        }
+
+        private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_PlanID.Enabled = this.chk_PactID.Checked;
+        }
+
+        private void ultraCheckEditor1_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_RollHao.Enabled = this.ultraCheckEditor1.Checked;
+        }
+
+        private void ultraCheckEditor2_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_FYHM.Enabled = this.ultraCheckEditor2.Checked;
+        }
+
+        private void ultraCheckEditor3_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_Sleen.Enabled = this.ultraCheckEditor3.Checked;
+        }
+
+        private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_Buress.Enabled = this.Chk_Buttress.Checked;
+        }
+        private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+        {
+
+            try
+            {
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.ultraGrid1;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.ultraGrid1.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+        {
+            try
+            {
+                if (this.chk_AllowFilter.Checked)
+                {
+                    this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+                    this.ultraGrid1.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+                    this.ultraGrid2.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+                    this.ultraGrid2.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+                }
+                else
+                {
+                    this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+                    this.ultraGrid1.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                    if (this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                    {
+                        for (int i = 0; i < this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                        {
+                            this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                        }
+                    }
+
+                    this.ultraGrid2.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+                    this.ultraGrid2.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                    if (this.ultraGrid2.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                    {
+                        for (int i = 0; i < this.ultraGrid2.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                        {
+                            this.ultraGrid2.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                        }
+                    }
+
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        private void Frm_StuffReceive_Load(object sender, System.EventArgs e)
+        {
+            dte_BeginTime.Value = DateTime.Now;
+            dte_EndTime.Value = DateTime.Now;
+            Comm.SetGridSumArea(this.ultraGrid1);
+            Comm.SetGridSumArea(this.ultraGrid2);
+            this.IniComb();
+            this.Txt_AskPlan.Text = "JBYL" + System.DateTime.Now.ToString("yyyyMMddHHmmss");
+        }
+
+        #region "导出"
+        private void Export(Infragistics.Win.UltraWinGrid.UltraGrid _gd, string _title)
+        {
+            try
+            {
+                string filename = _title + @".xls";
+                this.excelExporter.Export(_gd, filename);
+                System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+                st.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
+                System.Diagnostics.Process.Start(st);
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+        private void txt_Bahct_Enter(object sender, System.EventArgs e)
+        {
+            try
+            {
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+                }
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+        }
+
+        //private void txt_Bahct_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+        //{
+        //    try
+        //    {
+        //        if(e.KeyData == Keys.Return)
+        //        {
+        //            if(((System.Windows.Forms.Control)sender).Name == "this.btn_InputInfo")
+        //            {
+        //                if(!this.CheackInput())
+        //                {
+        //                    return;
+        //                }
+        //                try
+        //                {
+        //                    string strOut="";
+        //                    ArrayList array=new ArrayList();
+        //                    array.Add(this.txt_Roll.Text+"-"+this.txt_RollEnd.Text+";"+this.txt_SourceId.Text);
+        //                    ArrayList Other=new ArrayList();
+        //                    Other.Add(this.txt_PlanNO.Text+"-"+this.txt_SNEND.Text);
+        //                    Other.Add(this.txt_Plact.Text);
+        //                    Other.Add(txt_OrderNOEdit.Text);
+        //                    Other.Add(this.dte_Time.Value.ToString());
+        //                    Other.Add(this.txt_Nj.Value.ToString());
+        //                    Other.Add(this.txt_Wj.Value.ToString());
+        //                    Other.Add(this.txt_Ply.Value.ToString());
+        //                    Other.Add(this.txt_Width.Value.ToString());
+        //                    Other.Add(this.txt_WEIGHT.Value.ToString());
+        //                    Other.Add(this.cmb_InSteel.Text);
+        //                    Other.Add(this.txt_ZHPD.Text);
+        //                    Other.Add(this.txt_QuShi.Text);
+        //                    Other.Add(this.txt_Can.Text);
+        //                    Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+        //                    Other.Add(this.cmb_BugReaSon.Text);
+        //                    Other.Add(this.txt_Bahct.Text+"-"+this.txt_NumBer.Text);
+        //                    Other.Add(this.txt_SviNo.Text+"-"+this.txt_SviEnd.Text);
+        //                    object obj=Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.StuffReceiveManage","SetTran",new object[]{array,Other},out strOut);
+        //                    if(obj!=null&&obj.ToString()=="1")
+        //                    {
+        //                        string strSql=" AND A.OLD_SAMPL_NO='"+this.txt_Bahct.Text+"-"+this.txt_NumBer.Text+"'";
+        //                        this.TranQuery(strSql);
+        //                    }
+        //                    else
+        //                    {
+        //                        txt_TiShi.Appearance.ForeColor=System.Drawing.Color.Red;
+        //                        txt_TiShi.Text = Comm.ObjToStr(obj)+strOut;
+        //                    }
+        //                }
+        //                catch(Exception ex)
+        //                {
+        //                    System.Diagnostics.Debug.WriteLine(ex.ToString());
+        //                }
+        //                this.txt_Bahct.Focus();
+        //            }
+        //            System.Windows.Forms.SendKeys.Send("{TAB}");
+        //        }
+        //    }
+        //    catch(Exception ex)
+        //    {
+        //        System.Diagnostics.Debug.WriteLine(ex.ToString());
+        //    }
+        //}
+
+        private void txt_OrderNOEdit_ValueChanged(object sender, System.EventArgs e)
+        {
+
+        }
+
+        private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_BNumber.Enabled = this.chk_BNumber.Checked;
+        }
+
+        private void txt_QuShi_ValueChanged(object sender, System.EventArgs e)
+        {
+
+        }
+
+        private void ultraExpandableGroupBoxPanel1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
+        {
+
+        }
+
+        private void chkarea_CheckedChanged(object sender, EventArgs e)
+        {
+            this.cmbarea.Enabled = this.chkarea.Checked;
+        }
+
+        private void cmb_Area_ValueChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string areaCode = "";
+                string buttressCode = "";
+                string strOut = "";
+
+
+
+                areaCode = this.cmb_Area.Value.ToString();
+                if (areaCode != "")
+                {
+
+
+
+
+
+                    DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
+                        "QueryFJButtress", new object[] { buttressCode, areaCode, "0" }, out strOut);
+                    if (strOut == "")
+                    {
+                        this.cmb_Buttress.DataSource = ds;
+
+                    }
+                    else
+                    {
+                        MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                    }
+                }
+            }
+            catch (Exception et)
+            {
+                throw et;
+            }
+        }
+
+        #region "预报发送"
+        private void AFFIRMJL()
+        {
+            try
+            {
+                if (this.Txt_VecihleNO.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认车牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.Txt_AskPlan.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认发运号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.Txt_Billetid.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认发运钢卷号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.Txt_Station.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认发运单位!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                System.Collections.ArrayList LoadInfo = new ArrayList();
+                string strerr = "";
+                string Type = "AFFIRMJL";
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_Billetid.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_Station.Text.Trim()));
+                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
+                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("预报发送成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region "撤销发送"
+        private void QXZL()
+        {
+            try
+            {
+                if (this.Txt_VecihleNO.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认车牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.Txt_Billetid.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认发运钢卷号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                System.Collections.ArrayList LoadInfo = new ArrayList();
+                string strerr = "";
+                string Type = "QXZL";
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_Billetid.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_Station.Text.Trim()));
+                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
+                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("撤销发送成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        private void chk_ybfs_Click(object sender, EventArgs e)
+        {
+            AFFIRMJL();
+        }
+
+        private void ultraGrid2_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+        {
+            try
+            {
+                if (e.Row != null)
+                {
+                    if (e.Row.ChildBands == null)
+                    {
+                        this.Txt_Billetid.Text = e.Row.Cells["OLD_SAMPL_NO"].Value.ToString();
+                        this.Txt_Station.Text = e.Row.Cells["HTDW"].Value.ToString();
+                    }
+                }
+                        
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                MessageBox.Show(ex.Message);
+            }
+        }
+
+        private void chk_cxfs_Click(object sender, EventArgs e)
+        {
+            QXZL();
+        }
+
+
+
+    }
+}

+ 132 - 0
Client/.svn/pristine/3d/3da91556c7addfdde457d3d1bc48a0be978f7b2f.svn-base

@@ -0,0 +1,132 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ds_InStorageInfo.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>167, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>348, 17</value>
+  </metadata>
+  <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>71</value>
+  </metadata>
+</root>

+ 526 - 0
Client/.svn/pristine/3f/3f1d00566203e57aef1a468bacc1de5ac7e2c958.svn-base

@@ -0,0 +1,526 @@
+using System;
+using System.Windows.Forms;
+using System.Reflection;
+using System.Drawing;
+using System.Collections;
+using System.Data;
+using Infragistics.Win.UltraWinEditors;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+    public class Comm
+    {
+
+        public Comm()
+        {
+            //
+            // TODO: 在此处添加构造函数逻辑
+            //
+        }
+    public static void DoExc(string _Name ,Infragistics.Win.UltraWinGrid.UltraGrid _Grid,int _CellNO)
+		{
+			string strFileName = @"D:\" + _Name + System.DateTime.Today.ToString("yyMMdd")+".xls";
+
+			System.Windows.Forms.SaveFileDialog sfd = new SaveFileDialog();
+			sfd.Filter = "Microsoft Office Excel 工作簿 (*.xls)|*.xls";
+			sfd.Title  = "导出到Excel文件";
+			sfd.FileName = strFileName;
+
+			if ( sfd.ShowDialog() == DialogResult.OK )
+			{
+				strFileName = sfd.FileName ; 
+				Infragistics.Excel.Workbook wb = new Infragistics.Excel.Workbook();
+				Infragistics.Excel.Worksheet ws2 = wb.Worksheets.Add("Sheet1");   
+				ws2.Rows[0].Cells[0].Value = _Grid.Text;
+				ws2.MergedCellsRegions.Add(0, 0, 0, _CellNO); 
+				ws2.Rows[0].Cells[0].CellFormat.Alignment = Infragistics.Excel.HorizontalCellAlignment.Center;
+				ws2.Rows[0].Cells[0].CellFormat.VerticalAlignment = Infragistics.Excel.VerticalCellAlignment.Center;
+				ws2.Rows[0].Cells[0].CellFormat.WrapText = Infragistics.Excel.ExcelDefaultableBoolean.True;
+				ws2.Rows[0].Cells[0].CellFormat.Font.Height = 300;
+				ws2.Rows[0].Cells[0].CellFormat.Font.UnderlineStyle = Infragistics.Excel.FontUnderlineStyle.Single;
+				ws2.Rows[0].Height = 510;
+
+				int int_index = 0;
+				for ( int i=0; i< _Grid.DisplayLayout.Bands[0].Columns.Count; i++ )
+				{
+					if ( ! _Grid.DisplayLayout.Bands[0].Columns[i].Hidden )
+					{
+						ws2.Rows[1 + _Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginY].Cells[_Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginX].Value = _Grid.DisplayLayout.Bands[0].Columns[i].Header.Caption;					
+						
+						ws2.MergedCellsRegions.Add(1 + _Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginY, 
+							_Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginX,
+							1 + _Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginY +
+							_Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.SpanY-1,
+							_Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginX +
+							_Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.SpanX-1); 				
+
+						int_index += _Grid.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.SpanX;
+					}
+				}
+				for ( int i =0; i<= _CellNO; i++)
+				{
+					for ( int j=1; j<=2; j++)
+					{						
+						ws2.Rows[j].Cells[i].CellFormat.Alignment = Infragistics.Excel.HorizontalCellAlignment.Center;
+						ws2.Rows[j].Cells[i].CellFormat.VerticalAlignment = Infragistics.Excel.VerticalCellAlignment.Center;
+						ws2.Rows[j].Cells[i].CellFormat.WrapText = Infragistics.Excel.ExcelDefaultableBoolean.True;
+						ws2.Rows[j].Cells[i].CellFormat.FillPatternBackgroundColor = Color.LightSteelBlue;
+						ws2.Rows[j].Cells[i].CellFormat.FillPatternForegroundColor = Color.LightSteelBlue;
+
+						ws2.Rows[j].Cells[i].CellFormat.TopBorderColor = Color.Black;
+						ws2.Rows[j].Cells[i].CellFormat.BottomBorderColor = Color.Black;
+						ws2.Rows[j].Cells[i].CellFormat.LeftBorderColor = Color.Black;				
+						ws2.Rows[j].Cells[i].CellFormat.RightBorderColor = Color.Black;
+					}
+				}
+
+				for ( int i=0; i< _Grid.Rows.Count; i++ )
+				{
+					for ( int j=0; j< _Grid.DisplayLayout.Bands[0].Columns.Count; j++ )
+					{
+						if ( ! _Grid.Rows[i].Cells[j].Hidden && _Grid.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.LabelPosition != Infragistics.Win.UltraWinGrid.LabelPosition.LabelOnly )
+						{
+							ws2.Rows[3+i].Cells[_Grid.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.OriginX].Value = _Grid.Rows[i].Cells[j].Value;
+							ws2.Rows[3+i].Cells[_Grid.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.OriginX].CellFormat.VerticalAlignment = Infragistics.Excel.VerticalCellAlignment.Center;
+
+							if ( _Grid.DisplayLayout.Bands[0].Columns[j].DataType == typeof(System.Decimal))
+							{
+								ws2.Rows[3+i].Cells[_Grid.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.OriginX].CellFormat.Alignment = Infragistics.Excel.HorizontalCellAlignment.Right;
+							}
+
+						}
+																		
+					}
+				}
+				Infragistics.Excel.BIFF8Writer.WriteWorkbookToFile(wb, strFileName);
+			}
+		}
+
+		/// <summary>
+		/// 设置Grid求和区域
+		/// </summary>
+		/// <param name="pGrid">目标Grid</param>
+		/// <returns></returns>		 
+		public static void SetGridSumArea(Infragistics.Win.UltraWinGrid.UltraGridBase pGrid)
+		{
+			try
+			{
+	
+				if(pGrid.Rows.Count == 0)
+				{
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridBand band in pGrid.DisplayLayout.Bands)
+					{
+						foreach(Infragistics.Win.UltraWinGrid.SummarySettings sum in band.Summaries)
+						{
+							sum.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.None;
+						}
+					}
+				}
+				else
+				{
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridBand band in pGrid.DisplayLayout.Bands)
+					{
+						foreach(Infragistics.Win.UltraWinGrid.SummarySettings sum in band.Summaries)
+						{
+							if(pGrid.DisplayLayout.GroupByBox.Hidden)
+							{
+								sum.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.Bottom;
+							}
+							else
+							{
+								sum.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.Bottom | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.GroupByRowsFooter)));
+							}
+						}
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+	
+		/// <summary>
+		/// 关闭窗体
+		/// </summary>
+		/// <param name="objForm">目标Form</param>
+		/// <returns></returns>		 
+		public static void CloseForm(System.Windows.Forms.Form objForm)
+		{
+			System.Windows.Forms.DialogResult result = DialogResult.No;
+
+			result=MessageBox.Show("您确认要关闭当前窗口吗?","提示信息",MessageBoxButtons.YesNo,MessageBoxIcon.Question);
+			if(result == DialogResult.Yes) objForm.Close();
+
+		}
+			
+		/// <summary>
+		/// 对目标对象进行字符串的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static string ObjToStr(object obj)
+		{
+			if(obj == null || obj.GetType() == typeof(System.DBNull))
+			{
+				return "";
+			}
+			else
+			{
+				return Convert.ToString(obj);
+			}
+		}
+
+		/// <summary>
+		/// 对目标对象进行数字的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static int ObjToInt(object obj)
+		{
+			try
+			{
+				if(obj == null || obj.GetType() == typeof(System.DBNull) || ObjToStr(obj).Length ==0)
+				{
+					return 0;
+				}
+				else
+				{
+					return Convert.ToInt32(obj);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		/// <summary>
+		/// 对目标对象进行数字(小数)的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static System.Decimal ObjToDecimal(object obj)
+		{
+			try
+			{
+				if(obj == null || obj.GetType() == typeof(System.DBNull) || ObjToStr(obj).Length ==0)
+				{
+					return 0;
+				}
+				else
+				{
+					return Convert.ToDecimal(obj);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		/// <summary>
+		/// 对目标对象进行数字(小数)的转换
+		/// </summary>
+		/// <param name="obj"></param>
+		/// <returns></returns>
+		public static System.Double ObjToDouble(object obj)
+		{
+			try
+			{
+				if(obj == null || obj.GetType() == typeof(System.DBNull) || ObjToStr(obj).Length ==0)
+				{
+					return 0;
+				}
+				else
+				{
+					return Convert.ToDouble(obj);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return 0;
+			}
+		}
+
+		
+		/// <summary>
+		/// 将目标GRID导出EXCEL文件
+		/// </summary>
+		/// <param name="ulGrid"></param>
+		/// <param name="ExcelExporter"></param>
+		/// <returns></returns>
+
+		public static void ExPortExcel(Infragistics.Win.UltraWinGrid.UltraGrid ulGrid,Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter ExcelExporter)
+		{
+			string filePath;
+			string fileName;
+			SaveFileDialog saveDlg = new SaveFileDialog();
+
+			try
+			{
+				if( !System.IO.Directory.Exists(System.Windows.Forms.Application.StartupPath + @"\Report"))
+				{
+					System.IO.Directory.CreateDirectory(System.Windows.Forms.Application.StartupPath + @"\Report");
+				}
+				filePath = System.Windows.Forms.Application.StartupPath + @"\Report";
+
+				saveDlg.InitialDirectory = filePath;
+				saveDlg.DefaultExt = "*.xls";
+				saveDlg.Filter = "XLS Files|*.xls";
+				saveDlg.FilterIndex = 2;
+				saveDlg.RestoreDirectory = true ;
+
+				if(saveDlg.ShowDialog() == DialogResult.OK)
+				{
+					fileName = saveDlg.FileName;
+					ExcelExporter.Export(ulGrid,fileName);
+
+					//创建一个新的进程打开excel
+					System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(fileName);
+					st.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
+					System.Diagnostics.Process.Start(st);
+				
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		
+		}
+        public static bool FillComboEditor(ref UltraComboEditor ulComboEditor, DataSet dset)
+        {
+            if (dset == null) return false;
+            if (dset.Tables.Count < 1) return false;
+            if (dset.Tables[0].Columns.Count < 2) return false;
+
+            ulComboEditor.Items.Clear();
+            for (int i = 0; i < dset.Tables[0].Rows.Count; i++)
+                ulComboEditor.Items.Add(dset.Tables[0].Rows[i][0].ToString(), dset.Tables[0].Rows[i][1].ToString());
+            return true;
+        }
+		/// <summary>
+		/// GRID 列绑定DropDownList
+		/// </summary>
+		/// <param name="_grid">Grid</param>
+		/// <param name="_ds">DataSet</param>
+		///  <param name="tableName">绑定表名</param>
+		/// <param name="_displayColumn">绑定列名</param>
+		/// <param name="_displayMember">显示项</param>
+		/// <param name="_ValueMember">值项</param>
+		/// <returns></returns>
+		public static void SetGridDropDownList(Infragistics.Win.UltraWinGrid.UltraGrid _grid,System.Data.DataSet _ds,string _tableName,string _displayColumn,string _displayMember,string _ValueMember)
+		{
+			try
+			{
+				_grid.DisplayLayout.Bands[_tableName].Columns[_displayColumn].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
+				Infragistics.Win.UltraWinGrid.UltraDropDown ultraCombo = new Infragistics.Win.UltraWinGrid.UltraDropDown();
+				_grid.FindForm().Controls.Add(ultraCombo);
+				ultraCombo.DisplayMember = _ds.Tables[0].Columns[_displayMember].ToString();
+				ultraCombo.ValueMember = _ds.Tables[0].Columns[_ValueMember].ToString();	
+				ultraCombo.Visible = false;
+				ultraCombo.DataSource = _ds.Tables[0].DefaultView;//++
+				ultraCombo.Width = _grid.DisplayLayout.Bands[_tableName].Columns[_displayColumn].RowLayoutColumnInfo.PreferredCellSize.Width;//++
+	
+				foreach(System.Data.DataColumn col in _ds.Tables[0].Columns)
+				{
+					if(col.ColumnName != _displayMember)
+					{
+						ultraCombo.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = true;
+					}
+					else
+					{
+						ultraCombo.DisplayLayout.Bands[0].Columns[col.ColumnName].Band.ColHeadersVisible = false;
+						ultraCombo.DisplayLayout.Bands[0].Columns[col.ColumnName].Width  = ultraCombo.Width;
+					}
+				}
+
+				_grid.DisplayLayout.Bands[_tableName].Columns[_displayColumn].ValueList = ultraCombo;
+				_grid.DisplayLayout.Bands[_tableName].Columns[_displayColumn].CellAppearance.TextHAlign  = Infragistics.Win.HAlign.Left;
+				_grid.DisplayLayout.Bands[_tableName].Columns[_displayColumn].CellAppearance.TextVAlign = Infragistics.Win.VAlign.Middle;
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		/// <summary>
+		/// 初始化Infragistics.Win.UltraWinGrid.UltraCombo 控件绑定表
+		/// </summary>
+		/// <param name="_grid">Grid</param>
+		/// <param name="_ds">DataSet</param>
+		///  <param name="tableName">绑定表名</param>
+		/// <param name="_displayColumn">绑定列名</param>
+		/// <param name="_displayMember">显示项</param>
+		/// <param name="_ValueMember">值项</param>
+		/// <returns></returns>
+		public static void Init_ComboControl(System.Windows.Forms.Control ComboControl,string TableName,string _displayMember,string _valueMember,ref System.Data.DataSet dst)
+		{
+			try
+			{
+				switch(ComboControl.GetType().ToString())
+				{
+					case "Infragistics.Win.UltraWinGrid.UltraCombo":
+						if(!dst.Tables.Contains(TableName))
+						{
+							MessageBox.Show("绑定表:"+TableName+"不存在,不能对控件"+ComboControl.Name+"进行初始化!");
+							return;
+						}
+						System.Data.DataTable newTable = dst.Tables[TableName].Copy();
+						newTable.TableName=TableName;
+						System.Data.DataRow newRow = newTable.NewRow();
+						for(int i=0;i<dst.Tables[TableName].Columns.Count;i++)
+						{
+							newRow[i]="";
+						}
+						newTable.Rows.Add(newRow);
+						newTable.AcceptChanges();
+	
+						((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DataSource = new System.Data.DataView(newTable);
+						((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayMember = _displayMember;
+						((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).ValueMember = _valueMember;
+						foreach(System.Data.DataColumn col in dst.Tables[TableName].Columns)
+						{
+							if(col.ColumnName != _displayMember)
+							{
+								((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayLayout.Bands[TableName].Columns[col.ColumnName].Hidden = true;
+							}
+							else
+							{
+								((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayLayout.Bands[TableName].Columns[col.ColumnName].Band.ColHeadersVisible = false;
+								((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).DisplayLayout.Bands[TableName].Columns[col.ColumnName].Width  = ((Infragistics.Win.UltraWinGrid.UltraCombo)ComboControl).Width;
+							}
+						}
+						break;
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+
+		/// <summary>
+		/// 获取grid-选择字段="TRUE"的行数
+		/// </summary>
+		/// <param name="ulGrid">目标grid</param>
+		/// <returns>int</returns>
+		/// 
+		public static int GetSelectRows(Infragistics.Win.UltraWinGrid.UltraGrid ulGrid)
+		{
+			int rowsCount = 0;
+
+			
+			foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in ulGrid.Rows)
+			{				
+				GetTrueRows(row,ref rowsCount);
+			}
+			
+			return rowsCount;
+
+		}
+
+		private static void GetTrueRows( Infragistics.Win.UltraWinGrid.UltraGridRow row,ref int TrueNum)
+		{
+			if(row.GetType()==typeof(Infragistics.Win.UltraWinGrid.UltraGridRow))
+			{
+				if(row.Cells["Select"].Value.ToString().ToUpper()=="TRUE")
+				{
+					TrueNum++;
+				}
+			}
+			else
+			{
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow tmprow in row.ChildBands[0].Rows)
+				{
+					GetTrueRows(tmprow,ref TrueNum);
+				}
+			}
+		}
+		
+		/// <summary>
+		/// 获取grid-选择字段="TRUE"指定字段值
+		/// </summary>
+		/// <param name="_SelectGrid">存在选择行的UltraGrid</param>
+		/// <param name="_Select">选择字段</param>
+		/// <param name="_FieldValue">字段值</param>
+		/// <returns>ArrayList</returns>
+		public static System.Collections.ArrayList GetFieldValue(Infragistics.Win.UltraWinGrid.UltraGrid _SelectGrid,string _Select,string _FieldValue)
+		{
+			System.Collections.ArrayList resultArray = new System.Collections.ArrayList();
+			
+			foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in _SelectGrid.Rows)
+			{
+				if(ObjToStr(row.Cells[_Select].Value).ToUpper() == "TRUE")
+					resultArray.Add(ObjToStr(row.Cells[_FieldValue].Value));
+				
+			}
+			return resultArray;
+
+		}
+
+		/// <summary>
+		/// 设置ulGridRow指定字段值
+		/// </summary>
+		/// <param name="GridRow">目标GridRow</param>
+		/// <param name="Value">设置值 </param>
+		/// <param name="Key">字段KEY</param>
+		/// <returns></returns>
+		public static void SetGridFlagValue(Infragistics.Win.UltraWinGrid.UltraGridRow GridRow,string _Value,string Key)
+		{
+			if(GridRow.GetType()==typeof(Infragistics.Win.UltraWinGrid.UltraGridGroupByRow))
+			{
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in GridRow.ChildBands[0].Rows)
+				{
+					SetGridFlagValue(row,_Value,Key);
+				}
+			}
+			else
+			{
+				if(!GridRow.IsFilteredOut)
+					GridRow.Cells[Key].Value = _Value;
+			}
+		}
+
+		/// <summary>
+		/// 获取ulGridRow指定字段值(针对有分组行时)
+		/// </summary>
+		/// <param name="row">UltraGridRow</param>
+		/// <param name="_Key">选择字段KEY</param>
+		/// <param name="_CompareValue">比对值</param>
+		/// <param name="_CellKey">指定字段KEY</param>
+		/// <param name="_ResultField">返回制定字段值数组</param>
+		/// <returns></returns>	
+		public static void GetAdjustData(Infragistics.Win.UltraWinGrid.UltraGridRow row,string _Key,string _CompareValue,string _CellKey,ref ArrayList _ResultField)
+		{
+			if(row.GetType()==typeof(Infragistics.Win.UltraWinGrid.UltraGridRow))
+			{
+				if(Comm.ObjToStr(row.Cells[_Key].Value).ToUpper() == _CompareValue)
+				{
+					_ResultField.Add(Comm.ObjToStr(row.Cells[_CellKey].Value));
+				}
+			}
+			else
+			{
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow tmprow in row.ChildBands[0].Rows)
+				{
+					GetAdjustData(tmprow,_Key,_CompareValue,_CellKey,ref _ResultField);
+				}
+			}
+		}
+       
+  
+        
+    }
+	
+}

BIN
Client/.svn/pristine/3f/3fcc6fb115ca88def7bb850d718d624cbef03e0b.svn-base


+ 255 - 0
Client/.svn/pristine/40/408cc60557b41e9745443cec2d968c7b8a818c3f.svn-base

@@ -0,0 +1,255 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Text;
+using System.Windows.Forms;
+using Core.XgMes.Client.StorageBase;
+using System.Collections;
+
+namespace Core.XgMes.Client.ZBKC.TurnoffReport
+{
+    public partial class frmKCJListQuery : Core.Mes.ClientFrameWork.FrmBase
+    {
+        public frmKCJListQuery()
+        {
+            InitializeComponent();
+        }
+        string DBFileName = "";
+        DataSet _FrmDataSet = new DataSet();
+        public string sstyle = "";
+        private void frmKCJListQuery_Load(object sender, EventArgs e)
+        {
+            try
+            {
+                this.DBFileName = this.Key.Split('@')[2];
+                sstyle=this.Key.Split('@')[3];
+                InitFrmDataSet();
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void InitFrmDataSet()
+        {
+            try
+            {
+                if (DBFileName.Trim().Length > 0)
+                {
+                    object obj = StorageBaseClass.GetEntityInfo(DBFileName, this.ProductName);
+                    if (obj != null)
+                    {
+                        _FrmDataSet = obj as System.Data.DataSet;
+                        _FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].PrimaryKey = null;
+                        _FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Constraints.Clear();
+                        Init_Frm();
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void Init_Frm()
+        {
+            StorageGridHelper.SetGrid(this.Grd_Report, ref _FrmDataSet, "KCH_TURNOFFLIST_VIEW", new string[] { "KCH_TURNOFFLIST_VIEW" });
+            this.Grd_Report.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.ctlKCJListQuery1.MyDataSet = _FrmDataSet;            
+            foreach (Infragistics.Win.UltraWinGrid.UltraGridColumn col in this.Grd_Report.DisplayLayout.Bands[0].Columns)
+            {
+                col.RowLayoutColumnInfo.SpanY = 1;
+            }
+        }
+        
+        //查询
+        private void Query()
+        {
+            try
+            {
+                string strerr;
+                string where = this.ctlKCJListQuery1.WhereStr;
+                string Swhere = this.ctlKCJListQuery1.SendWhereStr;
+                string CWhere = this.ctlKCJListQuery1.CSendWhereStr;
+               
+            
+                if (sstyle == "1")
+                {
+                    if (Swhere.IndexOf(" AND B.AREA!='虚拟区域'") > 0)
+                    {
+                        Swhere = Swhere.Replace(" AND B.AREA!='虚拟区域' ", " AND B.AREA NOT IN ('配送中心(线棒库)','配送中心(新钢库)')");
+                    }
+                    if (CWhere.IndexOf(" AND B.AREA!='虚拟区域'") > 0)
+                    {
+                        CWhere = CWhere.Replace(" AND B.AREA!='虚拟区域' ", " AND B.AREA NOT IN ('配送中心(线棒库)','配送中心(新钢库)')");
+                    }
+                }
+                else
+                {
+                    if (Swhere.IndexOf(" AND B.AREA!='虚拟区域'") > 0)
+                    {
+                        Swhere = Swhere.Replace(" AND B.AREA!='虚拟区域' ", " AND B.AREA  IN ('配送中心(线棒库)','配送中心(新钢库)')");
+                    }
+                    else
+                    {
+                        Swhere = Swhere+" AND B.AREA  IN ('配送中心(线棒库)','配送中心(新钢库)')";
+                    }
+                    if (CWhere.IndexOf(" AND B.AREA!='虚拟区域'") > 0)
+                    {
+                        CWhere = CWhere.Replace(" AND B.AREA!='虚拟区域' ", " AND B.AREA  IN ('配送中心(线棒库)','配送中心(新钢库)')");
+                    }
+                    else
+                    {
+                        CWhere = CWhere + " AND B.AREA  IN ('配送中心(线棒库)','配送中心(新钢库)')";
+                    }
+
+                    where = where + " AND B.AREA  IN ('配送中心(线棒库)','配送中心(新钢库)')";
+                }
+                System.Collections.ArrayList WhereList = new ArrayList();
+                WhereList.Add(where);
+                WhereList.Add(Swhere);
+                WhereList.Add(CWhere);
+
+                System.Collections.ArrayList KSelete = this.ctlKCJListStat1.SelectStr;
+                System.Collections.ArrayList SSelect = this.ctlKCJListStat1.SendSelectStr;
+                System.Collections.ArrayList KGroup = this.ctlKCJListStat1.Groupby;
+                System.Collections.ArrayList SGroup = this.ctlKCJListStat1.SendGroupby;
+
+                System.Collections.ArrayList SelectList = new ArrayList();
+                if (KSelete != null)
+                {
+                    SelectList.Add(KSelete[0]);
+                }
+                else
+                {
+                    WhereList.RemoveAt(0);
+                }
+                if (SSelect != null)
+                {
+                    for (int i = 0; i < SSelect.Count; i++)
+                    {
+                        SelectList.Add(SSelect[i]);
+                    }
+                }
+
+                System.Collections.ArrayList GroupList = new ArrayList();
+                if (KGroup != null)
+                    GroupList.Add(KGroup[0]);
+                if (SGroup != null)
+                {
+                    for (int i = 0; i < SGroup.Count; i++)
+                    {
+                        GroupList.Add(SGroup[i]);
+                    }
+                }
+
+                _FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Clear();
+                object obj = null;
+
+                if (SelectList != null)
+                {
+                    obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("ZBBBManager", "Core.XgMes.Server.ZBKC.TurnoffReport.TurnoffReportList",
+                        "GetStorageData", new object[]{SelectList,
+														 WhereList,
+														 GroupList}, out strerr);
+                }
+                if (obj != null)
+                {
+                    foreach (System.Data.DataColumn col in this._FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Columns)
+                    {
+                        if (!(obj as System.Data.DataSet).Tables[0].Columns.Contains(col.ColumnName))
+                        {
+                            this.Grd_Report.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = true;                            
+                        }
+                        else
+                        {
+                            this.Grd_Report.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = false;
+                        }
+                    }
+                    _FrmDataSet.Merge((obj as System.Data.DataSet).Copy());
+                    _FrmDataSet.AcceptChanges();
+
+                    if (this._FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Columns["THEORYWEIGHTZL"].ColumnName == "THEORYWEIGHTZL")
+                    {
+                        this.Grd_Report.DisplayLayout.Bands[0].Columns["THEORYWEIGHTZL"].Hidden = true;
+                    }
+                    if (this._FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Columns["INSTROAGESTEEL1"].ColumnName == "INSTROAGESTEEL1")
+                    {
+                        this.Grd_Report.DisplayLayout.Bands[0].Columns["INSTROAGESTEEL1"].Hidden = true;
+                    }
+                    if (this._FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Columns["THEORYWEIGHT1"].ColumnName == "THEORYWEIGHT1")
+                    {
+                        this.Grd_Report.DisplayLayout.Bands[0].Columns["THEORYWEIGHT1"].Hidden = true;
+                    }
+                    if (this._FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Columns.Contains("RCL_STATE"))
+                    {
+                        this.Grd_Report.DisplayLayout.Bands[0].Columns["RCL_STATE"].Header.Caption = "热处理号";
+                    }
+                    if (this._FrmDataSet.Tables["KCH_TURNOFFLIST_VIEW"].Columns.Contains("JHZT"))
+                    {
+                        this.Grd_Report.DisplayLayout.Bands[0].Columns["JHZT"].Header.Caption = "交货状态";
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        
+        //导出
+        private void Export()
+        {
+            try
+            {
+                string filename = @"库存查询.xls";
+                ultraGridExcelExporter.Export(Grd_Report, filename);
+                System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+                st.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
+                System.Diagnostics.Process.Start(st);
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_fs_CheckedChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                for (int i = 0; i < this.ctlKCJListStat1.Controls.Count; i++)
+                {
+                    try
+                    {
+                        Infragistics.Win.UltraWinEditors.UltraCheckEditor a = (Infragistics.Win.UltraWinEditors.UltraCheckEditor)this.ctlKCJListStat1.Controls[i];
+                        if (a.Name != "chk_StatSend" || a.Name != "chk_StatSendOnly")
+                            a.Checked = this.chk_fs.Checked;
+                    }
+                    catch { }
+                }
+            }
+            catch { }
+        }
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "tlbtnQuery":
+                    Query();
+                    break;
+                case "tlbtnExport":
+                    Export();
+                    break;
+                case "tlbtnExt":
+                    this.Close();
+                    break;
+            }
+        }
+    }
+}

BIN
Client/.svn/pristine/43/4392e94a6d78d05527e1f2c712d36f9f4c11cf97.svn-base


+ 400 - 0
Client/.svn/pristine/43/43b58babd3532d5e645e2ede7b2baf4d7d54340f.svn-base

@@ -0,0 +1,400 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+using Infragistics.Excel;
+using Infragistics.Win.UltraWinGrid;
+using Infragistics.Win.UltraWinGrid.ExcelExport;
+using Infragistics.Shared;
+using Infragistics.Win;
+
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    public partial class frmJBZKZH : Mes.ClientFrameWork.FrmBase
+    {
+        public frmJBZKZH()
+        {
+            InitializeComponent();
+        }
+        private string sqlWhereForBJYiYuChuLi;
+        DataSet ds = new DataSet();
+        private string sqlWhereForBJYiYuChuLi1;
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+
+            try
+            {
+                switch (e.Tool.Key)
+                {
+                    case "btnQuery":
+                        sqlWhereForBJYiYuChuLi = "  ";
+                        sqlWhereForBJYiYuChuLi1 = "  ";
+                        if (consql())
+                            displayBJZH();
+                        break;
+                    case "btnExcel":
+                        ExcelForBJYCL();
+                        break;
+                    case "btnExit":
+                        this.Close();
+                        break;
+                    default:
+                        break;
+                }
+            }
+            catch (Exception err)
+            {
+                System.Diagnostics.Debug.WriteLine(err.ToString());
+            }		
+        }
+        private void displayBJZH()
+        {
+            string strOut = "";
+            try
+            {
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoReport",
+                    "getBJZHForQuery",
+                    new object[] { sqlWhereForBJYiYuChuLi, sqlWhereForBJYiYuChuLi1 },
+                    out strOut) as DataSet;
+              if (strOut != "")
+                {
+                    MessageBox.Show(strOut);
+                    return;
+                }
+                ds=(DataSet)obj;
+                this.ultraGrid1.DataSource = (DataSet)obj;/*ds*/
+                this.ultraGrid1.UpdateData();
+                //this.InitGridSummery(this.ultraGrid1);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private void InitGridSummery(Infragistics.Win.UltraWinGrid.UltraGrid uGrid)
+        {
+            if (uGrid.Rows.FilteredInRowCount > 0)// && CheckHZ.Checked)		
+            {
+                for (int i = 0; i < uGrid.DisplayLayout.Bands[0].Summaries.Count; i++)
+                {
+                    if (uGrid.DisplayLayout.Bands[0].Summaries[i].SummaryType == SummaryType.Sum)
+                        uGrid.DisplayLayout.Bands[0].Summaries[i].SummaryDisplayArea =
+                            SummaryDisplayAreas.BottomFixed | SummaryDisplayAreas.InGroupByRows;
+                    else
+                        uGrid.DisplayLayout.Bands[0].Summaries[i].SummaryDisplayArea = SummaryDisplayAreas.BottomFixed;
+                }
+            }
+            else
+            {
+                for (int i = 0; i < uGrid.DisplayLayout.Bands[0].Summaries.Count; i++)
+                {
+                    uGrid.DisplayLayout.Bands[0].Summaries[i].SummaryDisplayArea = SummaryDisplayAreas.None;
+                }
+            }
+        }
+
+        private void frmJBZKZH_Load(object sender, EventArgs e)
+        {
+            try
+            {
+                //this.Cmb_DateType.Value = "交货日期";
+                //((Infragistics.Win.UltraWinGrid.UltraCombo)Cmb_DateType).DisplayLayout.Bands[0].Columns[0].Band.ColHeadersVisible = false;
+                //this.InitGridSummery(this.ultraGrid1);
+            }
+            catch (Exception ex)
+            {
+                Console.Write(ex.Message);
+            }	
+        }
+
+        private void uCkEditorForTaskNo_CheckedChanged(object sender, EventArgs e)
+        {
+            this.uEditorForTaskNo.Enabled = this.uCkEditorForTaskNo.Checked;
+        }
+
+        private void uEYCLDate_CheckedChanged(object sender, EventArgs e)
+        {
+            Cmb_DateType.Enabled = this.uEYCLDate.Checked;
+            uDateEndTime.Enabled = this.uEYCLDate.Checked;
+            uDateStartTime.Enabled = this.uEYCLDate.Checked;
+        }
+
+        private void uCkEditorForGroupBy_CheckedChanged(object sender, EventArgs e)
+        {
+            if (this.uCkEditorForGroupBy.Checked)
+            {
+                this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = false;
+            }
+            else
+            {
+                this.ultraGrid1.DisplayLayout.GroupByBox.Hidden = true;
+                this.ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Clear();
+            }
+        }
+
+        private void uCkEditorForFilter_CheckedChanged(object sender, EventArgs e)
+        {
+            if (this.uCkEditorForFilter.Checked)
+            {
+                this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            }
+            else
+            {
+                this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+            }	
+        }
+
+        private bool consql()
+        {
+            if (this.uCkEditorForTaskNo.Checked == true)
+            {
+                if (this.uEditorForTaskNo.Text.Trim() == "")
+                {
+                    MessageBox.Show("合同号不能为空", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+                    return false;
+                }
+                else
+                {
+                    this.sqlWhereForBJYiYuChuLi = this.sqlWhereForBJYiYuChuLi + " AND A.ORD_NO LIKE '" + this.uEditorForTaskNo.Text.Trim() + "%'";
+                    sqlWhereForBJYiYuChuLi1 = this.sqlWhereForBJYiYuChuLi1 + " AND B.ORD_NO LIKE '" + this.uEditorForTaskNo.Text.Trim() + "%'";
+
+                }
+            }
+
+            
+
+            if (this.uEYCLDate.Checked == true)
+            {
+                if (this.uDateStartTime.DateTime.CompareTo(this.uDateEndTime.DateTime) > 0)
+                {
+                    MessageBox.Show("开始时间大于结束时间", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+                    return false;
+                }
+                else
+                {
+
+                    string col = "a.ORD_DEVLMT_DATE";
+                    this.sqlWhereForBJYiYuChuLi =  "AND " + col + " >= '"
+                                + this.uDateStartTime.DateTime.ToString("yyyyMMdd") + "' AND a.ORD_DEVLMT_DATE <= '"
+                                + this.uDateEndTime.DateTime.ToString("yyyyMMdd") + "'";
+                    string col1 = "B.DEVLMT_DTIME";
+                    this.sqlWhereForBJYiYuChuLi1 = "AND " + col1 + " >= '"
+                                + this.uDateStartTime.DateTime.ToString("yyyyMMdd") + "' AND B.DEVLMT_DTIME <= '"
+                                + this.uDateEndTime.DateTime.ToString("yyyyMMdd") + "'";
+                    
+
+                }
+            }
+            return true;
+        }
+        private void ExcelForBJYCL()
+        {
+            if (this.ultraGrid1.Rows.Count == 0)
+            {
+                MessageBox.Show("没有数据,不能导出", "提示信息", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
+            }
+            else
+            {
+                DoExc();
+            }
+        }
+
+        private void DoExc()
+        {
+            string strFileName = @"c:\" + this.Text + System.DateTime.Today.ToString("yyMMdd") + ".xls";
+
+            System.Windows.Forms.SaveFileDialog sfd = new SaveFileDialog();
+            sfd.Filter = "Microsoft Office Excel 工作簿 (*.xls)|*.xls";
+            sfd.Title = "导出到Excel文件";
+            sfd.FileName = strFileName;
+
+            if (sfd.ShowDialog() == DialogResult.OK)
+            {
+                strFileName = sfd.FileName;
+                Infragistics.Excel.Workbook wb = new Infragistics.Excel.Workbook();
+                Infragistics.Excel.Worksheet ws2 = wb.Worksheets.Add("Sheet1");
+                ws2.Rows[0].Cells[0].Value = this.ultraGrid1.Text;
+                ws2.MergedCellsRegions.Add(0, 0, 0, 29);
+                ws2.Rows[0].Cells[0].CellFormat.Alignment = Infragistics.Excel.HorizontalCellAlignment.Center;
+                ws2.Rows[0].Cells[0].CellFormat.VerticalAlignment = Infragistics.Excel.VerticalCellAlignment.Center;
+                ws2.Rows[0].Cells[0].CellFormat.WrapText = Infragistics.Excel.ExcelDefaultableBoolean.True;
+                ws2.Rows[0].Cells[0].CellFormat.Font.Height = 300;
+                ws2.Rows[0].Cells[0].CellFormat.Font.UnderlineStyle = Infragistics.Excel.FontUnderlineStyle.Single;
+                ws2.Rows[0].Height = 510;
+
+                int int_index = 0;
+                try
+                {
+                    for (int i = 0; i < this.ultraGrid1.DisplayLayout.Bands[0].Columns.Count; i++)
+                    {
+                        if (this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].Hidden == false)
+                        {
+                            ws2.Rows[1 + this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginY].Cells[this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginX].Value = this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].Header.Caption;
+                            ws2.MergedCellsRegions.Add(1 + this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginY,
+                                this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginX,
+                                1 + this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginY +
+                                this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.SpanY - 1,
+                                this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.OriginX +
+                                this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.SpanX - 1);
+                            int_index += this.ultraGrid1.DisplayLayout.Bands[0].Columns[i].RowLayoutColumnInfo.SpanX;
+                        }
+                    }
+                }
+                catch (Exception ex)
+                { }
+                for (int i = 0; i <= 29; i++)
+                {
+                    for (int j = 1; j <= 2; j++)
+                    {
+                        ws2.Rows[j].Cells[i].CellFormat.Alignment = Infragistics.Excel.HorizontalCellAlignment.Center;
+                        ws2.Rows[j].Cells[i].CellFormat.VerticalAlignment = Infragistics.Excel.VerticalCellAlignment.Center;
+                        ws2.Rows[j].Cells[i].CellFormat.WrapText = Infragistics.Excel.ExcelDefaultableBoolean.True;
+                        ws2.Rows[j].Cells[i].CellFormat.FillPatternBackgroundColor = Color.LightSteelBlue;
+                        ws2.Rows[j].Cells[i].CellFormat.FillPatternForegroundColor = Color.LightSteelBlue;
+                        ws2.Rows[j].Cells[i].CellFormat.TopBorderColor = Color.Black;
+                        ws2.Rows[j].Cells[i].CellFormat.BottomBorderColor = Color.Black;
+                        ws2.Rows[j].Cells[i].CellFormat.LeftBorderColor = Color.Black;
+                        ws2.Rows[j].Cells[i].CellFormat.RightBorderColor = Color.Black;
+                    }
+                }
+
+                for (int i = 0; i < this.ultraGrid1.Rows.Count; i++)
+                {
+                    for (int j = 0; j < this.ultraGrid1.DisplayLayout.Bands[0].Columns.Count; j++)
+                    {
+                        if (this.ultraGrid1.Rows[i].Cells[j].Hidden == false && this.ultraGrid1.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.LabelPosition != LabelPosition.LabelOnly)
+                        {
+                            ws2.Rows[3 + i].Cells[this.ultraGrid1.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.OriginX].Value = this.ultraGrid1.Rows[i].Cells[j].Value;
+                            ws2.Rows[3 + i].Cells[this.ultraGrid1.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.OriginX].CellFormat.VerticalAlignment = Infragistics.Excel.VerticalCellAlignment.Center;
+
+                            if (this.ultraGrid1.DisplayLayout.Bands[0].Columns[j].DataType == typeof(System.Decimal))
+                            {
+                                ws2.Rows[3 + i].Cells[this.ultraGrid1.DisplayLayout.Bands[0].Columns[j].RowLayoutColumnInfo.OriginX].CellFormat.Alignment = Infragistics.Excel.HorizontalCellAlignment.Right;
+                            }
+
+                        }
+
+                    }
+                }
+                Infragistics.Excel.BIFF8Writer.WriteWorkbookToFile(wb, strFileName);
+            }
+        }
+
+        private void ultraCheckEditor6_CheckedChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string RowFilter = "";
+                if (ultraCheckEditor5.Checked)
+                    RowFilter = "SENDWEIGHT>=WEIGHT-0.1 ";
+                if (ultraCheckEditor10.Checked)
+                {
+                    if (RowFilter.Length > 0)
+                        RowFilter = RowFilter + " AND ZL_WEIGHT >= WEIGHT-0.1 and SENDWEIGHT<WEIGHT-0.1 ";
+                    else
+                        RowFilter = "ZL_WEIGHT >= WEIGHT-0.1 and SENDWEIGHT<WEIGHT-0.1 ";
+                }
+                if (ultraCheckEditor6.Checked)
+                {
+                    if (RowFilter.Length > 0)
+                        RowFilter = RowFilter + " AND CL_WEIGHT<-0.1 and ZL_WEIGHT<WEIGHT-0.1 ";
+                    else
+                        RowFilter = "CL_WEIGHT<-0.1 and ZL_WEIGHT<WEIGHT-0.1 ";
+                }
+                ds.Tables[0].DefaultView.RowFilter = RowFilter;
+                SetColor();
+            }
+            catch (Exception err)
+            {
+                System.Diagnostics.Debug.WriteLine(err.ToString());
+            }
+        }
+
+        private void ultraCheckEditor5_CheckedChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string RowFilter = "";
+                if (ultraCheckEditor6.Checked)
+                    RowFilter = "CL_WEIGHT<-0.1 and ZL_WEIGHT<WEIGHT-0.1 ";
+                if (ultraCheckEditor10.Checked)
+                {
+                    if (RowFilter.Length > 0)
+                        RowFilter = RowFilter + "AND ZL_WEIGHT >= WEIGHT-0.1 and SENDWEIGHT<WEIGHT-0.1 ";
+                    else
+                        RowFilter = "ZL_WEIGHT >= WEIGHT-0.1 and SENDWEIGHT<WEIGHT-0.1 ";
+                }
+                if (ultraCheckEditor5.Checked)
+                {
+                    if (RowFilter.Length > 0)
+                        RowFilter = RowFilter + "and SENDWEIGHT>=WEIGHT-0.1 ";
+                    else
+                        RowFilter = "SENDWEIGHT>=WEIGHT-0.1 ";
+                }
+                ds.Tables[0].DefaultView.RowFilter = RowFilter;
+                SetColor();
+            }
+            catch (Exception err)
+            {
+                System.Diagnostics.Debug.WriteLine(err.ToString());
+            }
+        }
+
+        private void ultraCheckEditor10_CheckedChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string RowFilter = "";
+                if (ultraCheckEditor5.Checked)
+                    RowFilter = "SENDWEIGHT>=WEIGHT-0.1";
+                if (ultraCheckEditor6.Checked)
+                {
+                    if (RowFilter.Length > 0)
+                        RowFilter = RowFilter + "CL_WEIGHT<-0.1 and ZL_WEIGHT<WEIGHT-0.1 ";
+                    else
+                        RowFilter = "CL_WEIGHT<-0.1 and ZL_WEIGHT<WEIGHT-0.1 ";
+                }
+                if (ultraCheckEditor10.Checked)
+                {
+                    if (RowFilter.Length > 0)
+                        RowFilter = RowFilter + "AND ZL_WEIGHT >= WEIGHT-0.1 and SENDWEIGHT<WEIGHT-0.1 ";
+                    else
+                        RowFilter = "ZL_WEIGHT >= WEIGHT-0.1 and SENDWEIGHT<WEIGHT-0.1 ";
+                }
+                ds.Tables[0].DefaultView.RowFilter = RowFilter;
+                SetColor();
+            }
+            catch (Exception err)
+            {
+                Console.WriteLine(err.ToString());
+            }
+        }
+        private void SetColor()
+        {
+            foreach (Infragistics.Win.UltraWinGrid.UltraGridRow Row in this.ultraGrid1.Rows)
+            {
+                if (Convert.ToDouble(Row.Cells["CL_WEIGHT"].Value) < -0.1)
+                {
+                    Row.Appearance.ForeColor = Color.DarkGreen;
+                }
+              
+                if (Convert.ToDouble(Row.Cells["ZL_WEIGHT"].Value) - Convert.ToDouble(Row.Cells["WEIGHT"].Value) >= -0.1)
+                {
+                    Row.Appearance.ForeColor = Color.Red;
+                }
+                if (Convert.ToDouble(Row.Cells["SENDWEIGHT"].Value) - Convert.ToDouble(Row.Cells["WEIGHT"].Value) >= -0.1)
+                {
+                    Row.Appearance.ForeColor = Color.Blue;
+                }
+            }
+        }
+
+
+    }
+}

+ 2421 - 0
Client/.svn/pristine/44/44278733e1bf1ed44edc89ce84f87a5382e53139.svn-base

@@ -0,0 +1,2421 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using  System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+	/// <summary>
+    /// FrmMeterialCoce 的摘要说明。
+	/// </summary>
+	public class FrmMeterialCoce : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gd_WZ;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_LKC;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_XF;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_FC;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Spec;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Spec;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzmc;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzmc;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_wzdm;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Wzdm;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DM;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_LB;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CZ;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GG;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MC;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanPrice;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel28;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZQ;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel27;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DW;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DZ;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZGXJ;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_YGJ;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel21;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel22;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel23;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel24;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel25;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor15;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel26;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor16;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel29;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_FC;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel31;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_FS;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel30;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_LKC;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ZB;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel35;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_XF;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel34;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_AZ;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel33;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_BK;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel32;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel37;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_HX;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel36;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Code;
+		private System.ComponentModel.IContainer components;
+
+        public FrmMeterialCoce()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem17 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem18 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem19 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem20 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem21 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem22 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem23 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem24 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem25 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem26 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem27 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem28 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem29 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem30 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem31 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem32 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem33 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem34 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_CODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SUBSTANCE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_LB");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLAN_PRICE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ESTIMATE_PRICE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CEILING_PRICE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MANUFACRING_CYCLE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISLKC");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFSFL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFCWZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISBKWZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISAZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISXH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISZBWZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISHX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TIME_");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SORT_CODE");
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem35 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem36 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem37 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem38 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem39 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem40 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem41 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem42 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            this.Cmb_LB = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_LKC = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_FS = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_FC = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_BK = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_AZ = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_XF = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_ZB = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_HX = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_LKC = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_XF = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_FC = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_Spec = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_Spec = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_wzmc = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_Wzmc = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_wzdm = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_Wzdm = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel36 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel35 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel34 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel33 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel32 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel31 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel30 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel29 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel28 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_ZQ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_DW = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_DZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_ZGXJ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_YGJ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PlanPrice = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_CZ = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_GG = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_MC = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_DM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.gd_WZ = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel22 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel23 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor14 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor15 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel26 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor16 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Code = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_LB)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_LKC)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FS)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FC)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BK)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AZ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_XF)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ZB)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_HX)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZQ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZGXJ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_YGJ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanPrice)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Code)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // Cmb_LB
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_LB.Appearance = appearance1;
+            this.Cmb_LB.AutoSize = true;
+            valueListItem1.DataValue = "1";
+            valueListItem1.DisplayText = "涂料";
+            valueListItem2.DataValue = "10";
+            valueListItem2.DisplayText = "劳保、消防";
+            valueListItem3.DataValue = "11";
+            valueListItem3.DisplayText = "钢带";
+            valueListItem4.DataValue = "12";
+            valueListItem4.DisplayText = "轴承";
+            valueListItem5.DataValue = "13";
+            valueListItem5.DisplayText = "维修电机";
+            valueListItem6.DataValue = "14";
+            valueListItem6.DisplayText = "钢丸";
+            valueListItem7.DataValue = "15";
+            valueListItem7.DisplayText = "刀片";
+            valueListItem8.DataValue = "16";
+            valueListItem8.DisplayText = "行车";
+            valueListItem9.DataValue = "17";
+            valueListItem9.DisplayText = "空压机";
+            valueListItem10.DataValue = "18";
+            valueListItem10.DisplayText = "油缸";
+            valueListItem11.DataValue = "2";
+            valueListItem11.DisplayText = "辅助材料";
+            valueListItem12.DataValue = "3";
+            valueListItem12.DisplayText = "电气";
+            valueListItem13.DataValue = "4";
+            valueListItem13.DisplayText = "加工备件";
+            valueListItem14.DataValue = "5";
+            valueListItem14.DisplayText = "抛丸备件";
+            valueListItem15.DataValue = "6";
+            valueListItem15.DisplayText = "横垫木";
+            valueListItem16.DataValue = "7";
+            valueListItem16.DisplayText = "等离子切割机";
+            valueListItem17.DataValue = "8";
+            valueListItem17.DisplayText = "喷涂配件";
+            valueListItem18.DataValue = "9";
+            valueListItem18.DisplayText = "电机、减速机";
+            this.Cmb_LB.Items.Add(valueListItem1);
+            this.Cmb_LB.Items.Add(valueListItem2);
+            this.Cmb_LB.Items.Add(valueListItem3);
+            this.Cmb_LB.Items.Add(valueListItem4);
+            this.Cmb_LB.Items.Add(valueListItem5);
+            this.Cmb_LB.Items.Add(valueListItem6);
+            this.Cmb_LB.Items.Add(valueListItem7);
+            this.Cmb_LB.Items.Add(valueListItem8);
+            this.Cmb_LB.Items.Add(valueListItem9);
+            this.Cmb_LB.Items.Add(valueListItem10);
+            this.Cmb_LB.Items.Add(valueListItem11);
+            this.Cmb_LB.Items.Add(valueListItem12);
+            this.Cmb_LB.Items.Add(valueListItem13);
+            this.Cmb_LB.Items.Add(valueListItem14);
+            this.Cmb_LB.Items.Add(valueListItem15);
+            this.Cmb_LB.Items.Add(valueListItem16);
+            this.Cmb_LB.Items.Add(valueListItem17);
+            this.Cmb_LB.Items.Add(valueListItem18);
+            this.Cmb_LB.Location = new System.Drawing.Point(346, 5);
+            this.Cmb_LB.Name = "Cmb_LB";
+            this.Cmb_LB.Size = new System.Drawing.Size(86, 21);
+            this.Cmb_LB.TabIndex = 369;
+            this.Cmb_LB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.Cmb_LB.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_LKC
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_LKC.Appearance = appearance2;
+            this.cmb_LKC.AutoSize = true;
+            valueListItem19.DataValue = "0";
+            valueListItem19.DisplayText = "非零库存物资";
+            valueListItem20.DataValue = "1";
+            valueListItem20.DisplayText = "零库存物资";
+            this.cmb_LKC.Items.Add(valueListItem19);
+            this.cmb_LKC.Items.Add(valueListItem20);
+            this.cmb_LKC.Location = new System.Drawing.Point(550, 28);
+            this.cmb_LKC.Name = "cmb_LKC";
+            this.cmb_LKC.Size = new System.Drawing.Size(128, 21);
+            this.cmb_LKC.TabIndex = 384;
+            this.cmb_LKC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_LKC.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_FS
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_FS.Appearance = appearance3;
+            this.cmb_FS.AutoSize = true;
+            valueListItem21.DataValue = "0";
+            valueListItem21.DisplayText = "不允许负数发";
+            valueListItem22.DataValue = "1";
+            valueListItem22.DisplayText = "允许负数发料";
+            this.cmb_FS.Items.Add(valueListItem21);
+            this.cmb_FS.Items.Add(valueListItem22);
+            this.cmb_FS.Location = new System.Drawing.Point(584, 52);
+            this.cmb_FS.Name = "cmb_FS";
+            this.cmb_FS.Size = new System.Drawing.Size(94, 21);
+            this.cmb_FS.TabIndex = 386;
+            this.cmb_FS.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_FS.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_FC
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_FC.Appearance = appearance4;
+            this.cmb_FC.AutoSize = true;
+            valueListItem23.DataValue = "0";
+            valueListItem23.DisplayText = "正在使用的物资";
+            valueListItem24.DataValue = "1";
+            valueListItem24.DisplayText = "已废除的物资";
+            this.cmb_FC.Items.Add(valueListItem23);
+            this.cmb_FC.Items.Add(valueListItem24);
+            this.cmb_FC.Location = new System.Drawing.Point(584, 76);
+            this.cmb_FC.Name = "cmb_FC";
+            this.cmb_FC.Size = new System.Drawing.Size(94, 21);
+            this.cmb_FC.TabIndex = 388;
+            this.cmb_FC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_FC.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_BK
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_BK.Appearance = appearance5;
+            this.cmb_BK.AutoSize = true;
+            valueListItem25.DataValue = "0";
+            valueListItem25.DisplayText = "非备库物资";
+            valueListItem26.DataValue = "1";
+            valueListItem26.DisplayText = "备库物资";
+            this.cmb_BK.Items.Add(valueListItem25);
+            this.cmb_BK.Items.Add(valueListItem26);
+            this.cmb_BK.Location = new System.Drawing.Point(760, 3);
+            this.cmb_BK.Name = "cmb_BK";
+            this.cmb_BK.Size = new System.Drawing.Size(120, 21);
+            this.cmb_BK.TabIndex = 390;
+            this.cmb_BK.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_BK.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_AZ
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_AZ.Appearance = appearance6;
+            this.cmb_AZ.AutoSize = true;
+            valueListItem27.DataValue = "0";
+            valueListItem27.DisplayText = "不包安装";
+            valueListItem28.DataValue = "1";
+            valueListItem28.DisplayText = "包安装";
+            this.cmb_AZ.Items.Add(valueListItem27);
+            this.cmb_AZ.Items.Add(valueListItem28);
+            this.cmb_AZ.Location = new System.Drawing.Point(760, 26);
+            this.cmb_AZ.Name = "cmb_AZ";
+            this.cmb_AZ.Size = new System.Drawing.Size(120, 21);
+            this.cmb_AZ.TabIndex = 392;
+            this.cmb_AZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_AZ.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_XF
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_XF.Appearance = appearance7;
+            this.cmb_XF.AutoSize = true;
+            valueListItem29.DataValue = "0";
+            valueListItem29.DisplayText = "非修复物资";
+            valueListItem30.DataValue = "1";
+            valueListItem30.DisplayText = "修复物资";
+            this.cmb_XF.Items.Add(valueListItem29);
+            this.cmb_XF.Items.Add(valueListItem30);
+            this.cmb_XF.Location = new System.Drawing.Point(760, 49);
+            this.cmb_XF.Name = "cmb_XF";
+            this.cmb_XF.Size = new System.Drawing.Size(120, 21);
+            this.cmb_XF.TabIndex = 394;
+            this.cmb_XF.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_XF.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_ZB
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ZB.Appearance = appearance8;
+            this.cmb_ZB.AutoSize = true;
+            valueListItem31.DataValue = "0";
+            valueListItem31.DisplayText = "非招标物资";
+            valueListItem32.DataValue = "1";
+            valueListItem32.DisplayText = "招标物资";
+            this.cmb_ZB.Items.Add(valueListItem31);
+            this.cmb_ZB.Items.Add(valueListItem32);
+            this.cmb_ZB.Location = new System.Drawing.Point(760, 73);
+            this.cmb_ZB.Name = "cmb_ZB";
+            this.cmb_ZB.Size = new System.Drawing.Size(120, 21);
+            this.cmb_ZB.TabIndex = 396;
+            this.cmb_ZB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_ZB.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // cmb_HX
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_HX.Appearance = appearance9;
+            this.cmb_HX.AutoSize = true;
+            valueListItem33.DataValue = "0";
+            valueListItem33.DisplayText = "非以旧换新";
+            valueListItem34.DataValue = "1";
+            valueListItem34.DisplayText = "以旧换新";
+            this.cmb_HX.Items.Add(valueListItem33);
+            this.cmb_HX.Items.Add(valueListItem34);
+            this.cmb_HX.Location = new System.Drawing.Point(962, 2);
+            this.cmb_HX.Name = "cmb_HX";
+            this.cmb_HX.Size = new System.Drawing.Size(120, 21);
+            this.cmb_HX.TabIndex = 398;
+            this.cmb_HX.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.cmb_HX.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1028, 32);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 8);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool7.SharedProps.Caption = "新增";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "关闭";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "导出";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "修改";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "删除";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1028, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 8);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1028, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1028, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraGroupBox1.Appearance = appearance10;
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.Chk_LKC);
+            this.ultraGroupBox1.Controls.Add(this.Chk_XF);
+            this.ultraGroupBox1.Controls.Add(this.Chk_FC);
+            this.ultraGroupBox1.Controls.Add(this.txt_Spec);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Spec);
+            this.ultraGroupBox1.Controls.Add(this.txt_wzmc);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Wzmc);
+            this.ultraGroupBox1.Controls.Add(this.txt_wzdm);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Wzdm);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1028, 35);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(919, 8);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
+            this.chk_AllowFilter.TabIndex = 131;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "允许过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // Chk_LKC
+            // 
+            this.Chk_LKC.FlatMode = true;
+            this.Chk_LKC.Location = new System.Drawing.Point(774, 7);
+            this.Chk_LKC.Name = "Chk_LKC";
+            this.Chk_LKC.Size = new System.Drawing.Size(145, 20);
+            this.Chk_LKC.TabIndex = 116;
+            this.Chk_LKC.Text = "只显示零库存的物资";
+            // 
+            // Chk_XF
+            // 
+            this.Chk_XF.FlatMode = true;
+            this.Chk_XF.Location = new System.Drawing.Point(648, 8);
+            this.Chk_XF.Name = "Chk_XF";
+            this.Chk_XF.Size = new System.Drawing.Size(127, 20);
+            this.Chk_XF.TabIndex = 115;
+            this.Chk_XF.Text = "只显示修复的物资";
+            // 
+            // Chk_FC
+            // 
+            this.Chk_FC.Checked = true;
+            this.Chk_FC.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.Chk_FC.FlatMode = true;
+            this.Chk_FC.Location = new System.Drawing.Point(524, 6);
+            this.Chk_FC.Name = "Chk_FC";
+            this.Chk_FC.Size = new System.Drawing.Size(126, 23);
+            this.Chk_FC.TabIndex = 114;
+            this.Chk_FC.Text = "不显示废除的物资";
+            // 
+            // txt_Spec
+            // 
+            appearance11.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Spec.Appearance = appearance11;
+            this.txt_Spec.AutoSize = true;
+            this.txt_Spec.Enabled = false;
+            this.txt_Spec.FlatMode = true;
+            this.txt_Spec.Location = new System.Drawing.Point(422, 5);
+            this.txt_Spec.Name = "txt_Spec";
+            this.txt_Spec.Size = new System.Drawing.Size(96, 19);
+            this.txt_Spec.TabIndex = 113;
+            this.txt_Spec.Tag = "";
+            // 
+            // Chk_Spec
+            // 
+            this.Chk_Spec.FlatMode = true;
+            this.Chk_Spec.Location = new System.Drawing.Point(353, 8);
+            this.Chk_Spec.Name = "Chk_Spec";
+            this.Chk_Spec.Size = new System.Drawing.Size(75, 17);
+            this.Chk_Spec.TabIndex = 112;
+            this.Chk_Spec.Text = "规格型号";
+            this.Chk_Spec.CheckedChanged += new System.EventHandler(this.Chk_Spec_CheckedChanged);
+            // 
+            // txt_wzmc
+            // 
+            appearance12.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_wzmc.Appearance = appearance12;
+            this.txt_wzmc.AutoSize = true;
+            this.txt_wzmc.Enabled = false;
+            this.txt_wzmc.FlatMode = true;
+            this.txt_wzmc.Location = new System.Drawing.Point(251, 6);
+            this.txt_wzmc.Name = "txt_wzmc";
+            this.txt_wzmc.Size = new System.Drawing.Size(96, 19);
+            this.txt_wzmc.TabIndex = 111;
+            this.txt_wzmc.Tag = "";
+            // 
+            // Chk_Wzmc
+            // 
+            this.Chk_Wzmc.FlatMode = true;
+            this.Chk_Wzmc.Location = new System.Drawing.Point(179, 8);
+            this.Chk_Wzmc.Name = "Chk_Wzmc";
+            this.Chk_Wzmc.Size = new System.Drawing.Size(76, 16);
+            this.Chk_Wzmc.TabIndex = 110;
+            this.Chk_Wzmc.Text = "物资名称";
+            this.Chk_Wzmc.CheckedChanged += new System.EventHandler(this.Chk_Wzmc_CheckedChanged);
+            // 
+            // txt_wzdm
+            // 
+            appearance13.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_wzdm.Appearance = appearance13;
+            this.txt_wzdm.AutoSize = true;
+            this.txt_wzdm.Enabled = false;
+            this.txt_wzdm.FlatMode = true;
+            this.txt_wzdm.Location = new System.Drawing.Point(77, 5);
+            this.txt_wzdm.Name = "txt_wzdm";
+            this.txt_wzdm.Size = new System.Drawing.Size(96, 19);
+            this.txt_wzdm.TabIndex = 109;
+            this.txt_wzdm.Tag = "";
+            // 
+            // Chk_Wzdm
+            // 
+            this.Chk_Wzdm.FlatMode = true;
+            this.Chk_Wzdm.Location = new System.Drawing.Point(6, 6);
+            this.Chk_Wzdm.Name = "Chk_Wzdm";
+            this.Chk_Wzdm.Size = new System.Drawing.Size(85, 16);
+            this.Chk_Wzdm.TabIndex = 108;
+            this.Chk_Wzdm.Text = "物资代码";
+            this.Chk_Wzdm.CheckedChanged += new System.EventHandler(this.Chk_Wzdm_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(200, 185);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 380);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1028, 138);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 4;
+            this.ultraExpandableGroupBox1.Text = "物资详情";
+            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Code);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel37);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_HX);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel36);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ZB);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel35);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_XF);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel34);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_AZ);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel33);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BK);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel32);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_FC);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel31);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_FS);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel30);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_LKC);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel29);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel28);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_ZQ);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel27);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DW);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DZ);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel16);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_ZGXJ);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel15);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_YGJ);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel14);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_PlanPrice);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.Cmb_LB);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_CZ);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GG);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_MC);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DM);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 116);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // ultraLabel37
+            // 
+            this.ultraLabel37.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel37.Location = new System.Drawing.Point(886, 31);
+            this.ultraLabel37.Name = "ultraLabel37";
+            this.ultraLabel37.Size = new System.Drawing.Size(35, 20);
+            this.ultraLabel37.TabIndex = 400;
+            this.ultraLabel37.Text = "备注";
+            // 
+            // txt_Remark
+            // 
+            appearance15.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Remark.Appearance = appearance15;
+            this.txt_Remark.AutoSize = true;
+            this.txt_Remark.FlatMode = true;
+            this.txt_Remark.Location = new System.Drawing.Point(927, 28);
+            this.txt_Remark.Multiline = true;
+            this.txt_Remark.Name = "txt_Remark";
+            this.txt_Remark.Size = new System.Drawing.Size(173, 85);
+            this.txt_Remark.TabIndex = 399;
+            this.txt_Remark.Tag = "";
+            this.txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_Remark.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel36
+            // 
+            this.ultraLabel36.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel36.Location = new System.Drawing.Point(886, 5);
+            this.ultraLabel36.Name = "ultraLabel36";
+            this.ultraLabel36.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel36.TabIndex = 397;
+            this.ultraLabel36.Text = "是否以旧换新";
+            // 
+            // ultraLabel35
+            // 
+            this.ultraLabel35.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel35.Location = new System.Drawing.Point(684, 76);
+            this.ultraLabel35.Name = "ultraLabel35";
+            this.ultraLabel35.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel35.TabIndex = 395;
+            this.ultraLabel35.Text = "是否招标物资";
+            // 
+            // ultraLabel34
+            // 
+            this.ultraLabel34.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel34.Location = new System.Drawing.Point(684, 52);
+            this.ultraLabel34.Name = "ultraLabel34";
+            this.ultraLabel34.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel34.TabIndex = 393;
+            this.ultraLabel34.Text = "是否修复物资";
+            // 
+            // ultraLabel33
+            // 
+            this.ultraLabel33.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel33.Location = new System.Drawing.Point(684, 29);
+            this.ultraLabel33.Name = "ultraLabel33";
+            this.ultraLabel33.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel33.TabIndex = 391;
+            this.ultraLabel33.Text = "是否包安装";
+            // 
+            // ultraLabel32
+            // 
+            this.ultraLabel32.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel32.Location = new System.Drawing.Point(684, 6);
+            this.ultraLabel32.Name = "ultraLabel32";
+            this.ultraLabel32.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel32.TabIndex = 389;
+            this.ultraLabel32.Text = "是否备库物资";
+            // 
+            // ultraLabel31
+            // 
+            this.ultraLabel31.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel31.Location = new System.Drawing.Point(482, 79);
+            this.ultraLabel31.Name = "ultraLabel31";
+            this.ultraLabel31.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel31.TabIndex = 387;
+            this.ultraLabel31.Text = "是否废除的物资";
+            // 
+            // ultraLabel30
+            // 
+            this.ultraLabel30.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel30.Location = new System.Drawing.Point(482, 55);
+            this.ultraLabel30.Name = "ultraLabel30";
+            this.ultraLabel30.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel30.TabIndex = 385;
+            this.ultraLabel30.Text = "是否允许负数发料";
+            // 
+            // ultraLabel29
+            // 
+            this.ultraLabel29.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel29.Location = new System.Drawing.Point(482, 31);
+            this.ultraLabel29.Name = "ultraLabel29";
+            this.ultraLabel29.Size = new System.Drawing.Size(66, 20);
+            this.ultraLabel29.TabIndex = 383;
+            this.ultraLabel29.Text = "是否零库存";
+            // 
+            // ultraLabel28
+            // 
+            this.ultraLabel28.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel28.Location = new System.Drawing.Point(482, 8);
+            this.ultraLabel28.Name = "ultraLabel28";
+            this.ultraLabel28.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel28.TabIndex = 381;
+            this.ultraLabel28.Text = "制造周期";
+            // 
+            // txt_ZQ
+            // 
+            appearance16.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_ZQ.Appearance = appearance16;
+            this.txt_ZQ.AutoSize = true;
+            this.txt_ZQ.FlatMode = true;
+            this.txt_ZQ.Location = new System.Drawing.Point(550, 5);
+            this.txt_ZQ.Name = "txt_ZQ";
+            this.txt_ZQ.Size = new System.Drawing.Size(128, 19);
+            this.txt_ZQ.TabIndex = 380;
+            this.txt_ZQ.Tag = "";
+            this.txt_ZQ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_ZQ.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel27
+            // 
+            this.ultraLabel27.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel27.Location = new System.Drawing.Point(110, 99);
+            this.ultraLabel27.Name = "ultraLabel27";
+            this.ultraLabel27.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel27.TabIndex = 379;
+            this.ultraLabel27.Text = "计量单位";
+            // 
+            // txt_DW
+            // 
+            appearance17.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_DW.Appearance = appearance17;
+            this.txt_DW.AutoSize = true;
+            this.txt_DW.FlatMode = true;
+            this.txt_DW.Location = new System.Drawing.Point(167, 96);
+            this.txt_DW.Name = "txt_DW";
+            this.txt_DW.Size = new System.Drawing.Size(84, 19);
+            this.txt_DW.TabIndex = 378;
+            this.txt_DW.Tag = "";
+            this.txt_DW.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_DW.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel17.Location = new System.Drawing.Point(3, 99);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel17.TabIndex = 377;
+            this.ultraLabel17.Text = "单重";
+            // 
+            // txt_DZ
+            // 
+            appearance18.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_DZ.Appearance = appearance18;
+            this.txt_DZ.AutoSize = true;
+            this.txt_DZ.FlatMode = true;
+            this.txt_DZ.Location = new System.Drawing.Point(60, 96);
+            this.txt_DZ.Name = "txt_DZ";
+            this.txt_DZ.Size = new System.Drawing.Size(44, 19);
+            this.txt_DZ.TabIndex = 376;
+            this.txt_DZ.Tag = "";
+            this.txt_DZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_DZ.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel16.Location = new System.Drawing.Point(289, 97);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel16.TabIndex = 375;
+            this.ultraLabel16.Text = "最高限价";
+            // 
+            // txt_ZGXJ
+            // 
+            appearance19.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_ZGXJ.Appearance = appearance19;
+            this.txt_ZGXJ.AutoSize = true;
+            this.txt_ZGXJ.FlatMode = true;
+            this.txt_ZGXJ.Location = new System.Drawing.Point(346, 94);
+            this.txt_ZGXJ.Name = "txt_ZGXJ";
+            this.txt_ZGXJ.Size = new System.Drawing.Size(84, 19);
+            this.txt_ZGXJ.TabIndex = 374;
+            this.txt_ZGXJ.Tag = "";
+            this.txt_ZGXJ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_ZGXJ.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel15.Location = new System.Drawing.Point(289, 68);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 373;
+            this.ultraLabel15.Text = "预估价";
+            // 
+            // txt_YGJ
+            // 
+            appearance20.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_YGJ.Appearance = appearance20;
+            this.txt_YGJ.AutoSize = true;
+            this.txt_YGJ.FlatMode = true;
+            this.txt_YGJ.Location = new System.Drawing.Point(346, 65);
+            this.txt_YGJ.Name = "txt_YGJ";
+            this.txt_YGJ.Size = new System.Drawing.Size(84, 19);
+            this.txt_YGJ.TabIndex = 372;
+            this.txt_YGJ.Tag = "";
+            this.txt_YGJ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_YGJ.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel14.Location = new System.Drawing.Point(289, 38);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel14.TabIndex = 371;
+            this.ultraLabel14.Text = "计划价";
+            // 
+            // txt_PlanPrice
+            // 
+            appearance21.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PlanPrice.Appearance = appearance21;
+            this.txt_PlanPrice.AutoSize = true;
+            this.txt_PlanPrice.FlatMode = true;
+            this.txt_PlanPrice.Location = new System.Drawing.Point(346, 35);
+            this.txt_PlanPrice.Name = "txt_PlanPrice";
+            this.txt_PlanPrice.Size = new System.Drawing.Size(84, 19);
+            this.txt_PlanPrice.TabIndex = 370;
+            this.txt_PlanPrice.Tag = "";
+            this.txt_PlanPrice.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_PlanPrice.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel8.TabIndex = 368;
+            this.ultraLabel8.Text = "物资类别";
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel7.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel7.TabIndex = 367;
+            this.ultraLabel7.Text = "材质";
+            // 
+            // txt_CZ
+            // 
+            appearance22.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_CZ.Appearance = appearance22;
+            this.txt_CZ.AutoSize = true;
+            this.txt_CZ.FlatMode = true;
+            this.txt_CZ.Location = new System.Drawing.Point(60, 74);
+            this.txt_CZ.Multiline = true;
+            this.txt_CZ.Name = "txt_CZ";
+            this.txt_CZ.Size = new System.Drawing.Size(191, 19);
+            this.txt_CZ.TabIndex = 366;
+            this.txt_CZ.Tag = "";
+            this.txt_CZ.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_CZ.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel2.TabIndex = 365;
+            this.ultraLabel2.Text = "规格型号";
+            // 
+            // txt_GG
+            // 
+            appearance23.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_GG.Appearance = appearance23;
+            this.txt_GG.AutoSize = true;
+            this.txt_GG.FlatMode = true;
+            this.txt_GG.Location = new System.Drawing.Point(60, 52);
+            this.txt_GG.Multiline = true;
+            this.txt_GG.Name = "txt_GG";
+            this.txt_GG.Size = new System.Drawing.Size(191, 19);
+            this.txt_GG.TabIndex = 364;
+            this.txt_GG.Tag = "";
+            this.txt_GG.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_GG.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel1.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 363;
+            this.ultraLabel1.Text = "物资名称";
+            // 
+            // txt_MC
+            // 
+            appearance24.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_MC.Appearance = appearance24;
+            this.txt_MC.AutoSize = true;
+            this.txt_MC.FlatMode = true;
+            this.txt_MC.Location = new System.Drawing.Point(60, 28);
+            this.txt_MC.Multiline = true;
+            this.txt_MC.Name = "txt_MC";
+            this.txt_MC.Size = new System.Drawing.Size(191, 19);
+            this.txt_MC.TabIndex = 362;
+            this.txt_MC.Tag = "";
+            this.txt_MC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_MC.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel4.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel4.TabIndex = 361;
+            this.ultraLabel4.Text = "物资代码";
+            // 
+            // txt_DM
+            // 
+            appearance25.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_DM.Appearance = appearance25;
+            this.txt_DM.AutoSize = true;
+            this.txt_DM.FlatMode = true;
+            this.txt_DM.Location = new System.Drawing.Point(60, 5);
+            this.txt_DM.Name = "txt_DM";
+            this.txt_DM.Size = new System.Drawing.Size(84, 19);
+            this.txt_DM.TabIndex = 358;
+            this.txt_DM.Tag = "";
+            this.txt_DM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            this.txt_DM.Enter += new System.EventHandler(this.txt_DM_Enter);
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.gd_WZ);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel2.Location = new System.Drawing.Point(0, 67);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1028, 313);
+            this.panel2.TabIndex = 5;
+            // 
+            // gd_WZ
+            // 
+            appearance26.BackColor = System.Drawing.Color.Ivory;
+            this.gd_WZ.DisplayLayout.Appearance = appearance26;
+            ultraGridColumn1.Header.Caption = "物资代码";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "物资名称";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "规格型号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "材质";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "单重";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "计量单位";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.EditorControl = this.Cmb_LB;
+            ultraGridColumn7.Header.Caption = "物资类型";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "计划价";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "预估价";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "最高价";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "制造周期";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.EditorControl = this.cmb_LKC;
+            ultraGridColumn12.Header.Caption = "是否零库存";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.EditorControl = this.cmb_FS;
+            ultraGridColumn13.Header.Caption = "是否允许负数发料";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.EditorControl = this.cmb_FC;
+            ultraGridColumn14.Header.Caption = "是否废除的物资";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.EditorControl = this.cmb_BK;
+            ultraGridColumn15.Header.Caption = "是否备库的物资";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.EditorControl = this.cmb_AZ;
+            ultraGridColumn16.Header.Caption = "是否安装";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.EditorControl = this.cmb_XF;
+            ultraGridColumn17.Header.Caption = "是否修复物资";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(54, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.EditorControl = this.cmb_ZB;
+            ultraGridColumn18.Header.Caption = "是否招标物资";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.EditorControl = this.cmb_HX;
+            ultraGridColumn19.Header.Caption = "是否以旧换新";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "记录人";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "记录时间";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "备注";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.Hidden = true;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23});
+            ultraGridBand1.UseRowLayout = true;
+            this.gd_WZ.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gd_WZ.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gd_WZ.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_WZ.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!";
+            appearance27.BorderColor = System.Drawing.Color.Black;
+            appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_WZ.DisplayLayout.Override.CellAppearance = appearance27;
+            this.gd_WZ.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
+            this.gd_WZ.DisplayLayout.Override.CellPadding = 0;
+            appearance28.BackColor = System.Drawing.SystemColors.Control;
+            appearance28.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance28.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance28.BorderColor = System.Drawing.SystemColors.Window;
+            appearance28.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance28.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_WZ.DisplayLayout.Override.GroupByRowAppearance = appearance28;
+            this.gd_WZ.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
+            this.gd_WZ.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance29.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_WZ.DisplayLayout.Override.HeaderAppearance = appearance29;
+            this.gd_WZ.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
+            this.gd_WZ.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance30.BackColor = System.Drawing.SystemColors.Window;
+            appearance30.BorderColor = System.Drawing.Color.Black;
+            appearance30.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_WZ.DisplayLayout.Override.RowAppearance = appearance30;
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            appearance31.BorderColor = System.Drawing.Color.Black;
+            appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_WZ.DisplayLayout.Override.RowPreviewAppearance = appearance31;
+            this.gd_WZ.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_WZ.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_WZ.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance32.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance32.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_WZ.DisplayLayout.Override.SelectedRowAppearance = appearance32;
+            this.gd_WZ.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance33.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_WZ.DisplayLayout.Override.SummaryFooterAppearance = appearance33;
+            appearance34.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance34.ForeColor = System.Drawing.Color.Red;
+            this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance34;
+            this.gd_WZ.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance35.BackColor = System.Drawing.Color.MistyRose;
+            appearance35.ForeColor = System.Drawing.Color.Blue;
+            appearance35.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_WZ.DisplayLayout.Override.SummaryValueAppearance = appearance35;
+            appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_WZ.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
+            this.gd_WZ.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_WZ.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_WZ.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_WZ.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_WZ.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gd_WZ.Location = new System.Drawing.Point(0, 0);
+            this.gd_WZ.Name = "gd_WZ";
+            this.gd_WZ.Size = new System.Drawing.Size(1028, 313);
+            this.gd_WZ.TabIndex = 1;
+            this.gd_WZ.Text = "原料垛位信息";
+            this.gd_WZ.AfterRowActivate += new System.EventHandler(this.gd_WZ_AfterRowActivate);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 365;
+            this.ultraLabel3.Text = "规格型号";
+            // 
+            // ultraTextEditor1
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor1.Appearance = appearance37;
+            this.ultraTextEditor1.AutoSize = true;
+            this.ultraTextEditor1.Enabled = false;
+            this.ultraTextEditor1.FlatMode = true;
+            this.ultraTextEditor1.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor1.Multiline = true;
+            this.ultraTextEditor1.Name = "ultraTextEditor1";
+            this.ultraTextEditor1.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor1.TabIndex = 364;
+            this.ultraTextEditor1.Tag = "";
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel5.TabIndex = 363;
+            this.ultraLabel5.Text = "物资名称";
+            // 
+            // ultraTextEditor2
+            // 
+            appearance38.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor2.Appearance = appearance38;
+            this.ultraTextEditor2.AutoSize = true;
+            this.ultraTextEditor2.Enabled = false;
+            this.ultraTextEditor2.FlatMode = true;
+            this.ultraTextEditor2.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor2.Multiline = true;
+            this.ultraTextEditor2.Name = "ultraTextEditor2";
+            this.ultraTextEditor2.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor2.TabIndex = 362;
+            this.ultraTextEditor2.Tag = "";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel6.TabIndex = 361;
+            this.ultraLabel6.Text = "物资代码";
+            // 
+            // ultraTextEditor3
+            // 
+            appearance39.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor3.Appearance = appearance39;
+            this.ultraTextEditor3.AutoSize = true;
+            this.ultraTextEditor3.Enabled = false;
+            this.ultraTextEditor3.FlatMode = true;
+            this.ultraTextEditor3.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor3.Name = "ultraTextEditor3";
+            this.ultraTextEditor3.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor3.TabIndex = 358;
+            this.ultraTextEditor3.Tag = "";
+            // 
+            // ultraComboEditor1
+            // 
+            appearance40.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor1.Appearance = appearance40;
+            this.ultraComboEditor1.AutoSize = true;
+            valueListItem35.DataValue = "0";
+            valueListItem36.DataValue = "A";
+            valueListItem36.DisplayText = "A";
+            valueListItem37.DataValue = "B";
+            valueListItem37.DisplayText = "B";
+            valueListItem38.DataValue = "C";
+            valueListItem38.DisplayText = "C";
+            this.ultraComboEditor1.Items.Add(valueListItem35);
+            this.ultraComboEditor1.Items.Add(valueListItem36);
+            this.ultraComboEditor1.Items.Add(valueListItem37);
+            this.ultraComboEditor1.Items.Add(valueListItem38);
+            this.ultraComboEditor1.Location = new System.Drawing.Point(340, 5);
+            this.ultraComboEditor1.Name = "ultraComboEditor1";
+            this.ultraComboEditor1.Size = new System.Drawing.Size(86, 21);
+            this.ultraComboEditor1.TabIndex = 369;
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel9.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel9.TabIndex = 368;
+            this.ultraLabel9.Text = "物资类别";
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel10.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel10.TabIndex = 367;
+            this.ultraLabel10.Text = "材质";
+            // 
+            // ultraTextEditor4
+            // 
+            appearance41.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor4.Appearance = appearance41;
+            this.ultraTextEditor4.AutoSize = true;
+            this.ultraTextEditor4.Enabled = false;
+            this.ultraTextEditor4.FlatMode = true;
+            this.ultraTextEditor4.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor4.Multiline = true;
+            this.ultraTextEditor4.Name = "ultraTextEditor4";
+            this.ultraTextEditor4.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor4.TabIndex = 366;
+            this.ultraTextEditor4.Tag = "";
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel11.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel11.TabIndex = 365;
+            this.ultraLabel11.Text = "规格型号";
+            // 
+            // ultraTextEditor5
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor5.Appearance = appearance42;
+            this.ultraTextEditor5.AutoSize = true;
+            this.ultraTextEditor5.Enabled = false;
+            this.ultraTextEditor5.FlatMode = true;
+            this.ultraTextEditor5.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor5.Multiline = true;
+            this.ultraTextEditor5.Name = "ultraTextEditor5";
+            this.ultraTextEditor5.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor5.TabIndex = 364;
+            this.ultraTextEditor5.Tag = "";
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel12.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel12.TabIndex = 363;
+            this.ultraLabel12.Text = "物资名称";
+            // 
+            // ultraTextEditor6
+            // 
+            appearance43.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor6.Appearance = appearance43;
+            this.ultraTextEditor6.AutoSize = true;
+            this.ultraTextEditor6.Enabled = false;
+            this.ultraTextEditor6.FlatMode = true;
+            this.ultraTextEditor6.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor6.Multiline = true;
+            this.ultraTextEditor6.Name = "ultraTextEditor6";
+            this.ultraTextEditor6.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor6.TabIndex = 362;
+            this.ultraTextEditor6.Tag = "";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel13.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 361;
+            this.ultraLabel13.Text = "物资代码";
+            // 
+            // ultraTextEditor7
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor7.Appearance = appearance44;
+            this.ultraTextEditor7.AutoSize = true;
+            this.ultraTextEditor7.Enabled = false;
+            this.ultraTextEditor7.FlatMode = true;
+            this.ultraTextEditor7.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor7.Name = "ultraTextEditor7";
+            this.ultraTextEditor7.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor7.TabIndex = 358;
+            this.ultraTextEditor7.Tag = "";
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel18.Location = new System.Drawing.Point(3, 99);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel18.TabIndex = 377;
+            this.ultraLabel18.Text = "最高限价";
+            // 
+            // ultraTextEditor9
+            // 
+            appearance45.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor9.Appearance = appearance45;
+            this.ultraTextEditor9.AutoSize = true;
+            this.ultraTextEditor9.Enabled = false;
+            this.ultraTextEditor9.FlatMode = true;
+            this.ultraTextEditor9.Location = new System.Drawing.Point(60, 96);
+            this.ultraTextEditor9.Name = "ultraTextEditor9";
+            this.ultraTextEditor9.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor9.TabIndex = 376;
+            this.ultraTextEditor9.Tag = "";
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel19.Location = new System.Drawing.Point(289, 77);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel19.TabIndex = 375;
+            this.ultraLabel19.Text = "最高限价";
+            // 
+            // ultraTextEditor10
+            // 
+            appearance46.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor10.Appearance = appearance46;
+            this.ultraTextEditor10.AutoSize = true;
+            this.ultraTextEditor10.Enabled = false;
+            this.ultraTextEditor10.FlatMode = true;
+            this.ultraTextEditor10.Location = new System.Drawing.Point(346, 74);
+            this.ultraTextEditor10.Name = "ultraTextEditor10";
+            this.ultraTextEditor10.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor10.TabIndex = 374;
+            this.ultraTextEditor10.Tag = "";
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel20.Location = new System.Drawing.Point(289, 55);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel20.TabIndex = 373;
+            this.ultraLabel20.Text = "预估价";
+            // 
+            // ultraTextEditor11
+            // 
+            appearance47.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor11.Appearance = appearance47;
+            this.ultraTextEditor11.AutoSize = true;
+            this.ultraTextEditor11.Enabled = false;
+            this.ultraTextEditor11.FlatMode = true;
+            this.ultraTextEditor11.Location = new System.Drawing.Point(346, 52);
+            this.ultraTextEditor11.Name = "ultraTextEditor11";
+            this.ultraTextEditor11.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor11.TabIndex = 372;
+            this.ultraTextEditor11.Tag = "";
+            // 
+            // ultraLabel21
+            // 
+            this.ultraLabel21.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel21.Location = new System.Drawing.Point(289, 33);
+            this.ultraLabel21.Name = "ultraLabel21";
+            this.ultraLabel21.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel21.TabIndex = 371;
+            this.ultraLabel21.Text = "计划价";
+            // 
+            // ultraTextEditor12
+            // 
+            appearance48.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor12.Appearance = appearance48;
+            this.ultraTextEditor12.AutoSize = true;
+            this.ultraTextEditor12.Enabled = false;
+            this.ultraTextEditor12.FlatMode = true;
+            this.ultraTextEditor12.Location = new System.Drawing.Point(346, 30);
+            this.ultraTextEditor12.Name = "ultraTextEditor12";
+            this.ultraTextEditor12.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor12.TabIndex = 370;
+            this.ultraTextEditor12.Tag = "";
+            // 
+            // ultraComboEditor2
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor2.Appearance = appearance49;
+            this.ultraComboEditor2.AutoSize = true;
+            valueListItem39.DataValue = "0";
+            valueListItem40.DataValue = "A";
+            valueListItem40.DisplayText = "A";
+            valueListItem41.DataValue = "B";
+            valueListItem41.DisplayText = "B";
+            valueListItem42.DataValue = "C";
+            valueListItem42.DisplayText = "C";
+            this.ultraComboEditor2.Items.Add(valueListItem39);
+            this.ultraComboEditor2.Items.Add(valueListItem40);
+            this.ultraComboEditor2.Items.Add(valueListItem41);
+            this.ultraComboEditor2.Items.Add(valueListItem42);
+            this.ultraComboEditor2.Location = new System.Drawing.Point(346, 5);
+            this.ultraComboEditor2.Name = "ultraComboEditor2";
+            this.ultraComboEditor2.Size = new System.Drawing.Size(86, 21);
+            this.ultraComboEditor2.TabIndex = 369;
+            // 
+            // ultraLabel22
+            // 
+            this.ultraLabel22.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel22.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel22.Name = "ultraLabel22";
+            this.ultraLabel22.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel22.TabIndex = 368;
+            this.ultraLabel22.Text = "物资类别";
+            // 
+            // ultraLabel23
+            // 
+            this.ultraLabel23.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel23.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel23.Name = "ultraLabel23";
+            this.ultraLabel23.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel23.TabIndex = 367;
+            this.ultraLabel23.Text = "材质";
+            // 
+            // ultraTextEditor13
+            // 
+            appearance50.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor13.Appearance = appearance50;
+            this.ultraTextEditor13.AutoSize = true;
+            this.ultraTextEditor13.Enabled = false;
+            this.ultraTextEditor13.FlatMode = true;
+            this.ultraTextEditor13.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor13.Multiline = true;
+            this.ultraTextEditor13.Name = "ultraTextEditor13";
+            this.ultraTextEditor13.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor13.TabIndex = 366;
+            this.ultraTextEditor13.Tag = "";
+            // 
+            // ultraLabel24
+            // 
+            this.ultraLabel24.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel24.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel24.Name = "ultraLabel24";
+            this.ultraLabel24.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel24.TabIndex = 365;
+            this.ultraLabel24.Text = "规格型号";
+            // 
+            // ultraTextEditor14
+            // 
+            appearance51.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor14.Appearance = appearance51;
+            this.ultraTextEditor14.AutoSize = true;
+            this.ultraTextEditor14.Enabled = false;
+            this.ultraTextEditor14.FlatMode = true;
+            this.ultraTextEditor14.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor14.Multiline = true;
+            this.ultraTextEditor14.Name = "ultraTextEditor14";
+            this.ultraTextEditor14.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor14.TabIndex = 364;
+            this.ultraTextEditor14.Tag = "";
+            // 
+            // ultraLabel25
+            // 
+            this.ultraLabel25.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel25.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel25.Name = "ultraLabel25";
+            this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel25.TabIndex = 363;
+            this.ultraLabel25.Text = "物资名称";
+            // 
+            // ultraTextEditor15
+            // 
+            appearance52.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor15.Appearance = appearance52;
+            this.ultraTextEditor15.AutoSize = true;
+            this.ultraTextEditor15.Enabled = false;
+            this.ultraTextEditor15.FlatMode = true;
+            this.ultraTextEditor15.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor15.Multiline = true;
+            this.ultraTextEditor15.Name = "ultraTextEditor15";
+            this.ultraTextEditor15.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor15.TabIndex = 362;
+            this.ultraTextEditor15.Tag = "";
+            // 
+            // ultraLabel26
+            // 
+            this.ultraLabel26.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel26.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel26.Name = "ultraLabel26";
+            this.ultraLabel26.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel26.TabIndex = 361;
+            this.ultraLabel26.Text = "物资代码";
+            // 
+            // ultraTextEditor16
+            // 
+            appearance53.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor16.Appearance = appearance53;
+            this.ultraTextEditor16.AutoSize = true;
+            this.ultraTextEditor16.Enabled = false;
+            this.ultraTextEditor16.FlatMode = true;
+            this.ultraTextEditor16.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor16.Name = "ultraTextEditor16";
+            this.ultraTextEditor16.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor16.TabIndex = 358;
+            this.ultraTextEditor16.Tag = "";
+            // 
+            // txt_Code
+            // 
+            appearance14.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Code.Appearance = appearance14;
+            this.txt_Code.AutoSize = true;
+            this.txt_Code.FlatMode = true;
+            this.txt_Code.Location = new System.Drawing.Point(494, 94);
+            this.txt_Code.Name = "txt_Code";
+            this.txt_Code.Size = new System.Drawing.Size(84, 19);
+            this.txt_Code.TabIndex = 401;
+            this.txt_Code.Tag = "";
+            this.txt_Code.Visible = false;
+            // 
+            // FrmMeterialCoce
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1028, 518);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmMeterialCoce";
+            this.Text = "物资代码管理";
+            this.Load += new System.EventHandler(this.FrmMeterialCoce_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_LB)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_LKC)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FS)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_FC)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BK)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AZ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_XF)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ZB)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_HX)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Spec)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_wzmc)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_wzdm)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZQ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DW)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DZ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZGXJ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_YGJ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanPrice)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_CZ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GG)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_WZ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Code)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+       
+
+	
+
+
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if (this.chk_AllowFilter.Checked)
+			{
+				this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;			
+			}
+			else
+			{
+				this.gd_WZ.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+				
+			}
+
+		}
+        private void DoQuery()
+        {
+            string where = "";
+            string sql = "";
+            string err = "";
+            if (this.txt_wzdm.Enabled && this.txt_wzdm.Text.Trim().Length > 0)
+            {
+                where += " AND MATERIAL_CODE LIKE '" + this.txt_wzdm.Text.Trim().ToString() + "%'";
+            }
+            if (this.txt_wzmc.Enabled && this.txt_wzmc.Text.Trim().Length > 0)
+            {
+                where += " AND MATERIAL_NAME LIKE '" + this.txt_wzmc.Text.Trim().ToString() + "%'";
+            }
+            if (this.txt_Spec.Enabled && this.txt_Spec.Text.Trim().Length > 0)
+            {
+                where += " AND SPEC LIKE '" + this.txt_Spec.Text.Trim().ToString() + "%'";
+            }
+            if (Chk_FC.Checked)
+            {
+                where += " AND ISFCWZ='0'";
+            }
+            if (Chk_XF.Checked)
+            {
+                where += " AND ISXH ='1'";
+            }
+            if (Chk_LKC.Checked)
+            {
+                where += " AND ISLKC ='1'";
+            }
+            sql = "SELECT MATERIAL_CODE,MATERIAL_NAME,SPEC,MATERIAL,SUBSTANCE,UNITS,MATERIAL_LB,PLAN_PRICE,ESTIMATE_PRICE,CEILING_PRICE,MANUFACRING_CYCLE,"
+                + "CASE WHEN ISLKC='1' THEN '是' ELSE '' END ISLKC ,"
+                + "CASE WHEN ISFSFL='1' THEN '是' ELSE '' END ISFSFL,"
+                + "CASE WHEN ISFCWZ='1' THEN '是' ELSE '' END ISFCWZ,"
+                + "CASE WHEN ISBKWZ='1' THEN '是' ELSE '' END ISBKWZ,"
+                + "CASE WHEN ISAZ='1' THEN '是' ELSE '' END ISAZ,"
+                + "CASE WHEN ISXH='1' THEN '是' ELSE '' END ISXH,"
+                + "CASE WHEN ISZBWZ='1' THEN '是' ELSE '' END ISZBWZ,"
+                + "CASE WHEN ISHX='1' THEN '是' ELSE '' END ISHX,"
+                + "RECODER,TO_CHAR(TIME_,'YYYY-MM-DD HH24:MI:SS')TIME_,REMARK,SORT_CODE FROM MATERIAL_CODE_MANAGE WHERE 1=1 " + where + " ORDER BY  TO_NUMBER(SORT_CODE)  ASC "
+                ; 
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                gd_WZ.DataSource = ds;
+            }
+            
+        }
+        private void Export()
+        {
+            if (this.gd_WZ.Rows.Count > 0)
+            {
+                Comm.ExPortExcel(this.gd_WZ, this.excelExporter);
+            }
+            else
+            {
+                MessageBox.Show("无物资信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+            }
+
+        }
+        private void Add(string strMode)
+        {
+            try
+            {
+                string strerr = "";
+              
+                System.Collections.ArrayList MetarilInfo = new ArrayList();
+
+
+                if (strMode == "UPDATE")
+                {
+                    if (txt_DM.Text.Trim().ToString() == "")
+                    {
+                        MessageBox.Show("物资代码不能为空");
+                        return;
+                    }
+                }
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_MC.Text.Trim().ToString()));//1 物资名称
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_GG.Text.Trim().ToString()));//2 规格型号
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_CZ.Text.Trim().ToString()));//3 材质
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_DZ.Text.Trim().ToString()));//4 单重
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_DW.Text.Trim().ToString()));//5 计量单位
+                if (System.Text.RegularExpressions.Regex.IsMatch(this.Cmb_LB.Value.ToString(), @"[\u4e00-\u9fbb]+$"))
+                {
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Code.Text.ToString().Trim()));//6 物资类别
+                }
+                else
+                {
+                    MetarilInfo.Add(Comm.ObjToStr(this.Cmb_LB.Value));//6 物资类别
+                }
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_PlanPrice.Text.Trim().ToString()));//7 计划价
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_YGJ.Text.Trim().ToString()));//8 预估价
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_ZGXJ.Text.Trim().ToString()));//9 最高限价
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_ZQ.Text.Trim().ToString()));//10 制造周期
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_LKC.Value));//11 是否零库存
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_FS.Value));//12 是否允许负数发料
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_FC.Value));//13 是否废除的物资
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_BK.Value));//14 是否备库物资
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_AZ.Value));//15 是否包安装
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_XF.Value));//16 是否修复物资
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_ZB.Value));//17 是否招标物资
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_HX.Value));//18 是否以旧换新
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//19 备注
+                MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//20 操作人
+                MetarilInfo.Add(strMode);//21 操作模式
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_DM.Text.Trim().ToString()));
+                MetarilInfo.Add(Comm.ObjToStr(this.Cmb_LB.Text.Trim().ToString()));//23 物资名称
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
+                    "MetarilAdd", new object[] {  MetarilInfo}, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("新增成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    DoQuery();
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+            }
+        }
+        private void FrmMeterialCoce_Load(object sender, System.EventArgs e)
+		{
+           
+            cmb_LKC.Value = "0";
+            cmb_FS.Value = "0";
+            cmb_FC.Value = "0";
+            cmb_BK.Value = "0";
+            cmb_AZ.Value = "0";
+            cmb_XF.Value = "0";
+            cmb_ZB.Value = "0";
+            cmb_HX.Value = "0";
+		}
+
+	
+
+		
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+            switch (e.Tool.Key)
+            {
+                case "Add":
+                    Add("ADD");
+                    break;
+                case "Del":
+                    Add("Del");
+                    break;
+                case "UPDATE":
+                    Add("UPDATE");
+                    break;
+                case "Query":
+                    DoQuery();
+                    break;
+                case "Export":
+                    Export();
+                    break;
+                case "Close":
+                    this.Close();
+                    break;
+
+            }
+
+		}
+
+      
+
+        private void txt_DM_Enter(object sender, EventArgs e)
+        {
+            if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+            {
+                ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+            }
+            if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+            {
+                ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+            }
+        }
+
+        private void txt_DM_KeyDown(object sender, KeyEventArgs e)
+        {
+            //string dh = "";
+
+            try
+            {
+                if (e.KeyData == System.Windows.Forms.Keys.Return)
+                {
+
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_CZ")
+                    {
+                        txt_DZ.Focus();
+                        txt_DZ.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_DZ")
+                    {
+                        txt_DW.Focus();
+                        txt_DW.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_DW")
+                    {
+                        Cmb_LB.Focus();
+                        Cmb_LB.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Cmb_LB")
+                    {
+                        txt_PlanPrice.Focus();
+                        txt_PlanPrice.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_Remark")
+                    {
+                        System.Windows.Forms.DialogResult result = DialogResult.No;
+
+                        result = MessageBox.Show("是否新增?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+                        if (result == DialogResult.Yes)
+                        {
+
+                            this.Add("ADD");
+                        }
+                        else
+                        {
+                            this.Add("UPDATE");
+                        }
+                        this.txt_MC.Focus();
+                        this.txt_MC.SelectAll();
+                        return;
+
+                    }
+                    System.Windows.Forms.SendKeys.Send("{TAB}");
+
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void Chk_Wzdm_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_wzdm.Enabled = Chk_Wzdm.Checked;
+        }
+
+        private void Chk_Wzmc_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_wzmc.Enabled = Chk_Wzmc.Checked;
+        }
+
+        private void Chk_Spec_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_Spec.Enabled = Chk_Spec.Checked;
+        }
+
+        private void gd_WZ_AfterRowActivate(object sender, EventArgs e)
+        {
+            try
+            {
+                if (this.gd_WZ.Rows.Count > 0)
+                {
+
+                    this.txt_DM.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_CODE"].Value);
+                    txt_MC.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_NAME"].Value);
+                    txt_GG.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SPEC"].Value);
+                    txt_CZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL"].Value);
+                    txt_DZ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SUBSTANCE"].Value);
+                    txt_DW.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["UNITS"].Value);
+                    Cmb_LB.Value = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MATERIAL_LB"].Value);
+                    txt_PlanPrice.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["PLAN_PRICE"].Value);
+                    txt_YGJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ESTIMATE_PRICE"].Value);
+                    txt_ZGXJ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["CEILING_PRICE"].Value);
+                    txt_ZQ.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["MANUFACRING_CYCLE"].Value);
+                    txt_Code.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["SORT_CODE"].Value);
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISLKC"].Value) == "是")
+                    {
+                        cmb_LKC.Value ="1";
+                    }
+                    else
+                    {
+                        cmb_LKC.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFSFL"].Value) == "是")
+                    {
+                        cmb_FS.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_FS.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISFCWZ"].Value) == "是")
+                    {
+                        cmb_FC.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_FC.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISBKWZ"].Value) == "是")
+                    {
+                        cmb_BK.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_BK.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISAZ"].Value) == "是")
+                    {
+                        cmb_AZ.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_AZ.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISXH"].Value) == "是")
+                    {
+                        cmb_XF.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_XF.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISZBWZ"].Value) == "是")
+                    {
+                        cmb_ZB.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_ZB.Value = "0";
+                    }
+                    if (Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["ISHX"].Value) == "是")
+                    {
+                        cmb_HX.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_HX.Value = "0";
+                    }
+                   
+                    
+                 
+             
+                    txt_Remark.Text = Comm.ObjToStr(this.gd_WZ.ActiveRow.Cells["REMARK"].Value);
+                   
+
+            
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+		
+
+	
+
+		
+
+	
+		
+
+
+
+		
+
+	
+
+
+	
+
+
+
+
+
+	
+
+	
+	
+
+
+
+
+
+	}
+}

+ 257 - 0
Client/.svn/pristine/44/44e745e1220cba01c789fc0554cea91b5e0f25be.svn-base

@@ -0,0 +1,257 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.30729</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{E6AB9A9C-C314-4122-B39E-7FD009BD4954}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Core.XgMes.Client.JGKC.RollManager</RootNamespace>
+    <AssemblyName>Core.XgMes.Client.JGKC.RollManager</AssemblyName>
+    <FileUpgradeFlags>
+    </FileUpgradeFlags>
+    <OldToolsVersion>2.0</OldToolsVersion>
+    <UpgradeBackupLocation>
+    </UpgradeBackupLocation>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>..\..\..\Client\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Core.Client.WinCommon, Version=1.0.3737.29783, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.Client.WinCommon.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.Mes.ClientFrameWork, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.Mes.ClientFrameWork.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.Mes.IBaseInterface, Version=1.0.2741.16142, Culture=neutral">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.Mes.IBaseInterface.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.JGKC.TurnoffManager, Version=1.0.5917.30630, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.JGKC.TurnoffManager.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.JGKC.TurnoffSendManager, Version=1.0.6089.19144, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.JGKC.TurnoffSendManager.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.Print, Version=1.0.8321.19595, Culture=neutral, processorArchitecture=MSIL" />
+    <Reference Include="Core.XgMes.Client.StorageBase, Version=1.0.6073.33080, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.StorageBase.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.TurnoffReport, Version=1.0.0.1, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.TurnoffReport.dll</HintPath>
+    </Reference>
+    <Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="CrystalDecisions.ReportSource, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="CrystalDecisions.Shared, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="CrystalDecisions.Windows.Forms, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="Infragistics.Excel.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>C:\Program Files\Infragistics\NetAdvantage 2005 Volume 2\Windows Forms\Bin\Infragistics.Excel.v5.2.dll</HintPath>
+    </Reference>
+    <Reference Include="Infragistics.Shared.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinCalcManager.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinDataSource.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinGrid.ExcelExport.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinGrid.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinPrintPreviewDialog.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinSchedule.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinStatusBar.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinTabbedMdi.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinTabControl.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinToolbars.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Interop.Excel, Version=1.3.0.0, Culture=neutral">
+      <HintPath>..\..\BJ\Client\Interop.Excel.dll</HintPath>
+      <Private>False</Private>
+    </Reference>
+    <Reference Include="NPOI, Version=2.1.3.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\BJ\Client\NPOI.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Comm.cs" />
+    <Compile Include="FrmJBCB.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FrmJBCB.Designer.cs">
+      <DependentUpon>FrmJBCB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="原料\Frm_StuffMove.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="原料\Frm_StuffReceive.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="成品\Frm_TurnoffManage.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="成品\Frm_TurnoffMove.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="成品\Frm_TurnoSendCan.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\CPButtressQuery.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\frmJBZKZH.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\frmJBZKZH.designer.cs">
+      <DependentUpon>frmJBZKZH.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\FrmPrint.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\TurnoffSendQueryJB.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\TurnoffSendQueryJB.designer.cs">
+      <DependentUpon>TurnoffSendQueryJB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\UCSendQueryJB.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="报表\UCSendQueryJB.designer.cs">
+      <DependentUpon>UCSendQueryJB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\UCSendStatJB.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="报表\UCSendStatJB.designer.cs">
+      <DependentUpon>UCSendStatJB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\YLButtressQuery.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\YL_Buress.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="生产实绩\Frm_ProduceManage.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="生产实绩\Frm_ProduceTurnManage.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="计划\Frm_PlanDrawUp.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="计划\Frm_PlanTurnDrawUp.cs">
+      <SubType>Form</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="FrmJBCB.resx">
+      <SubType>Designer</SubType>
+      <DependentUpon>FrmJBCB.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\licenses.licx" />
+    <EmbeddedResource Include="原料\Frm_StuffMove.resx">
+      <DependentUpon>Frm_StuffMove.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="原料\Frm_StuffReceive.resx">
+      <DependentUpon>Frm_StuffReceive.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="成品\Frm_TurnoffManage.resx">
+      <DependentUpon>Frm_TurnoffManage.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="成品\Frm_TurnoffMove.resx">
+      <DependentUpon>Frm_TurnoffMove.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="成品\Frm_TurnoSendCan.resx">
+      <DependentUpon>Frm_TurnoSendCan.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\CPButtressQuery.resx">
+      <DependentUpon>CPButtressQuery.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\frmJBZKZH.resx">
+      <DependentUpon>frmJBZKZH.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\FrmPrint.resx">
+      <DependentUpon>FrmPrint.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\TurnoffSendQueryJB.resx">
+      <DependentUpon>TurnoffSendQueryJB.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\UCSendQueryJB.resx">
+      <DependentUpon>UCSendQueryJB.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\UCSendStatJB.resx">
+      <DependentUpon>UCSendStatJB.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\YLButtressQuery.resx">
+      <DependentUpon>YLButtressQuery.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\YL_Buress.resx">
+      <DependentUpon>YL_Buress.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="生产实绩\Frm_ProduceManage.resx">
+      <DependentUpon>Frm_ProduceManage.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="生产实绩\Frm_ProduceTurnManage.resx">
+      <DependentUpon>Frm_ProduceTurnManage.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="计划\Frm_PlanDrawUp.resx">
+      <DependentUpon>Frm_PlanDrawUp.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="计划\Frm_PlanTurnDrawUp.resx">
+      <DependentUpon>Frm_PlanTurnDrawUp.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 129 - 0
Client/.svn/pristine/48/48b81e9ed8d312c02a9323ff55f65ad3c8443f7a.svn-base

@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+  <metadata name="ultraDataSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>330, 17</value>
+  </metadata>
+</root>

BIN
Client/.svn/pristine/48/48d9676b78ddef07e141aa45cc0b1bfcdf51b411.svn-base


+ 3520 - 0
Client/.svn/pristine/49/4936f1944f7424a0d809839e7977fbd89a1480ce.svn-base

@@ -0,0 +1,3520 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Frm_PlanTurnDrawUp 的摘要说明。
+	/// </summary>
+	public class Frm_PlanTurnDrawUp :Core.Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_JiShi;
+        private Infragistics.Win.UltraWinTabControl.UltraTabControl Coll;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcLine;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Gylx;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultSJ;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_IS;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PaiHao;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_IsProduct;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_Time;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_EditType_Y;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Plan;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_PlanState;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Number;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_YLZL;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcL;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_GYLX;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Stuff;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_PlanTurnDrawUp()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD2");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true);
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 11, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 11, true);
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AFFIRMAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AFFIRTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AFFIRLOG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STSJBC");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STSJBZ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STQRTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD2");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn71 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD3");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn72 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD4");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn73 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD5");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn74 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn75 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn76 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 11, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 11, true);
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 12, true);
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinEditors.EditorButton editorButton1 = new Infragistics.Win.UltraWinEditors.EditorButton("XH");
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn77 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn78 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn79 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn80 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn81 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn82 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn83 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn84 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn85 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn86 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn87 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn88 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn89 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn90 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn91 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn92 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn93 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn94 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn95 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn96 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn97 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn98 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn99 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn100 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn101 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn102 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn103 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn104 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn105 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn106 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn107 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn108 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn109 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 1);
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance78 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance79 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance80 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance81 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("STUFF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SHUA");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("JHQUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QR");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QX");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("XF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QXXF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("STUFF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QR");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QX");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SHUA");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("XF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QXXF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("JHQUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool19 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool20 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DC");
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance82 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance83 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance84 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance85 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance86 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance87 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance88 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance89 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance90 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance91 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance92 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance93 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance94 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance95 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.gb_Stuff = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_GYLX = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ProcLine = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_JiShi = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_PlanState = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.txt_YLZL = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Number = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.dte_Time = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_EditType_Y = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gb_Plan = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_ProcL = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_IsProduct = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultSJ = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.cmb_IS = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_PaiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_Gylx = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Coll = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_GYLX)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcLine)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_JiShi)).BeginInit();
+            this.ultraTabPageControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
+            this.ultraExpandableGroupBox2.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_YLZL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Number)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_EditType_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit();
+            this.ultraGroupBox3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).BeginInit();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IS)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Coll)).BeginInit();
+            this.Coll.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.gb_Stuff);
+            this.ultraTabPageControl1.Controls.Add(this.ultraGroupBox2);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(1191, 391);
+            // 
+            // gb_Stuff
+            // 
+            appearance1.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Stuff.DisplayLayout.Appearance = appearance1;
+            ultraGridColumn1.Header.Caption = "出库单号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "订单号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "交货期";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "内径";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "外径";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "长度";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "厚度 ";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "宽度";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "计算重量";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "实重量";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "牌号";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "综合判定";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "特记事项";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "车辆号";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "质保书编号";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "垛位";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "登记人";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "登记时间";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "入库班次";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "入库班组";
+            ultraGridColumn23.Header.VisiblePosition = 22;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "";
+            ultraGridColumn24.Header.VisiblePosition = 23;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(32, 0);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn25.Header.Caption = "订单类型";
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "订单厚度";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.Header.Caption = "订单宽度";
+            ultraGridColumn27.Header.VisiblePosition = 27;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "缺陷1";
+            ultraGridColumn28.Header.VisiblePosition = 28;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "缺陷2";
+            ultraGridColumn29.Header.VisiblePosition = 29;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "炉号";
+            ultraGridColumn30.Header.VisiblePosition = 26;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "批号";
+            ultraGridColumn31.Header.VisiblePosition = 30;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "执行标准";
+            ultraGridColumn32.Header.VisiblePosition = 31;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32});
+            appearance2.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance2;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}KG";
+            summarySettings1.GroupBySummaryValueAppearance = appearance3;
+            summarySettings2.DisplayFormat = "{0}KG";
+            summarySettings2.GroupBySummaryValueAppearance = appearance4;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Stuff.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Stuff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance5.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance5.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance5.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance5.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Appearance = appearance5;
+            appearance6.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Stuff.DisplayLayout.GroupByBox.BandLabelAppearance = appearance6;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            appearance7.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Stuff.DisplayLayout.Override.ActiveCellAppearance = appearance7;
+            appearance8.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance8.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Stuff.DisplayLayout.Override.ActiveRowAppearance = appearance8;
+            appearance9.BorderColor = System.Drawing.Color.Black;
+            appearance9.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.CellAppearance = appearance9;
+            this.gb_Stuff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Stuff.DisplayLayout.Override.CellPadding = 0;
+            appearance10.BackColor = System.Drawing.SystemColors.Control;
+            appearance10.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance10.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance10.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance10.BorderColor = System.Drawing.SystemColors.Window;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance10.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.GroupByRowAppearance = appearance10;
+            this.gb_Stuff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance11.BackColor = System.Drawing.Color.Silver;
+            this.gb_Stuff.DisplayLayout.Override.HeaderAppearance = appearance11;
+            this.gb_Stuff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Stuff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance12.BackColor = System.Drawing.SystemColors.Window;
+            appearance12.BorderColor = System.Drawing.Color.Black;
+            appearance12.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.RowAppearance = appearance12;
+            appearance13.BackColor = System.Drawing.SystemColors.Window;
+            appearance13.BorderColor = System.Drawing.Color.Black;
+            appearance13.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.RowPreviewAppearance = appearance13;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance14.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance14.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.SelectedRowAppearance = appearance14;
+            this.gb_Stuff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance15.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterAppearance = appearance15;
+            appearance16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance16.ForeColor = System.Drawing.Color.Red;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance16;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance17.BackColor = System.Drawing.Color.MistyRose;
+            appearance17.ForeColor = System.Drawing.Color.Blue;
+            appearance17.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance17.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.SummaryValueAppearance = appearance17;
+            appearance18.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Stuff.DisplayLayout.Override.TemplateAddRowAppearance = appearance18;
+            this.gb_Stuff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Stuff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Stuff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Stuff.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Stuff.Location = new System.Drawing.Point(0, 0);
+            this.gb_Stuff.Name = "gb_Stuff";
+            this.gb_Stuff.Size = new System.Drawing.Size(1191, 335);
+            this.gb_Stuff.TabIndex = 10;
+            this.gb_Stuff.Text = "ultraGrid2";
+            this.gb_Stuff.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Stuff_CellChange);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.cmb_GYLX);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel7);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ProcLine);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
+            this.ultraGroupBox2.Controls.Add(this.txt_JiShi);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 335);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(1191, 56);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 4;
+            this.ultraGroupBox2.Text = "编辑区";
+            this.ultraGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // cmb_GYLX
+            // 
+            this.cmb_GYLX.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_GYLX.DisplayMember = "";
+            this.cmb_GYLX.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_GYLX.FlatMode = true;
+            this.cmb_GYLX.Location = new System.Drawing.Point(55, 27);
+            this.cmb_GYLX.Name = "cmb_GYLX";
+            this.cmb_GYLX.Size = new System.Drawing.Size(88, 19);
+            this.cmb_GYLX.TabIndex = 608;
+            this.cmb_GYLX.Tag = "";
+            this.cmb_GYLX.ValueMember = "";
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(1, 30);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(60, 16);
+            this.ultraLabel7.TabIndex = 607;
+            this.ultraLabel7.Text = "工艺类型";
+            // 
+            // cmb_ProcLine
+            // 
+            this.cmb_ProcLine.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance19.BackColor = System.Drawing.SystemColors.Window;
+            appearance19.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_ProcLine.DisplayLayout.Appearance = appearance19;
+            this.cmb_ProcLine.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ProcLine.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance20.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance20.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance20.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance20.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_ProcLine.DisplayLayout.GroupByBox.Appearance = appearance20;
+            appearance21.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_ProcLine.DisplayLayout.GroupByBox.BandLabelAppearance = appearance21;
+            this.cmb_ProcLine.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance22.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance22.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance22.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_ProcLine.DisplayLayout.GroupByBox.PromptAppearance = appearance22;
+            this.cmb_ProcLine.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_ProcLine.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance23.BackColor = System.Drawing.SystemColors.Window;
+            appearance23.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_ProcLine.DisplayLayout.Override.ActiveCellAppearance = appearance23;
+            appearance24.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance24.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_ProcLine.DisplayLayout.Override.ActiveRowAppearance = appearance24;
+            this.cmb_ProcLine.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ProcLine.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance25.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_ProcLine.DisplayLayout.Override.CardAreaAppearance = appearance25;
+            appearance26.BorderColor = System.Drawing.Color.Silver;
+            appearance26.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_ProcLine.DisplayLayout.Override.CellAppearance = appearance26;
+            this.cmb_ProcLine.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_ProcLine.DisplayLayout.Override.CellPadding = 0;
+            appearance27.BackColor = System.Drawing.SystemColors.Control;
+            appearance27.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance27.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance27.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance27.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_ProcLine.DisplayLayout.Override.GroupByRowAppearance = appearance27;
+            appearance28.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_ProcLine.DisplayLayout.Override.HeaderAppearance = appearance28;
+            this.cmb_ProcLine.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_ProcLine.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance29.BackColor = System.Drawing.SystemColors.Window;
+            appearance29.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_ProcLine.DisplayLayout.Override.RowAppearance = appearance29;
+            this.cmb_ProcLine.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance30.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_ProcLine.DisplayLayout.Override.TemplateAddRowAppearance = appearance30;
+            this.cmb_ProcLine.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_ProcLine.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_ProcLine.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_ProcLine.DisplayMember = "";
+            this.cmb_ProcLine.Location = new System.Drawing.Point(805, 26);
+            this.cmb_ProcLine.Name = "cmb_ProcLine";
+            this.cmb_ProcLine.Size = new System.Drawing.Size(100, 21);
+            this.cmb_ProcLine.TabIndex = 606;
+            this.cmb_ProcLine.ValueMember = "";
+            this.cmb_ProcLine.Visible = false;
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(765, 29);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel6.TabIndex = 605;
+            this.ultraLabel6.Text = "开平线";
+            this.ultraLabel6.Visible = false;
+            // 
+            // txt_JiShi
+            // 
+            this.txt_JiShi.AutoSize = true;
+            this.txt_JiShi.FlatMode = true;
+            this.txt_JiShi.Location = new System.Drawing.Point(202, 26);
+            this.txt_JiShi.Name = "txt_JiShi";
+            this.txt_JiShi.Size = new System.Drawing.Size(257, 19);
+            this.txt_JiShi.TabIndex = 1;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.FlatMode = true;
+            this.ultraLabel1.Location = new System.Drawing.Point(154, 28);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(48, 16);
+            this.ultraLabel1.TabIndex = 0;
+            this.ultraLabel1.Text = "记事项";
+            // 
+            // ultraTabPageControl2
+            // 
+            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox2);
+            this.ultraTabPageControl2.Controls.Add(this.ultraExpandableGroupBox1);
+            this.ultraTabPageControl2.Controls.Add(this.ultraGroupBox3);
+            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
+            this.ultraTabPageControl2.Size = new System.Drawing.Size(1191, 391);
+            // 
+            // ultraExpandableGroupBox2
+            // 
+            this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(876, 135);
+            this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 120);
+            this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
+            this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(1191, 191);
+            this.ultraExpandableGroupBox2.SupportThemes = false;
+            this.ultraExpandableGroupBox2.TabIndex = 2;
+            this.ultraExpandableGroupBox2.Text = "下发信息";
+            this.ultraExpandableGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_PlanState);
+            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(2, 22);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(1187, 167);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            // 
+            // gb_PlanState
+            // 
+            appearance31.BackColor = System.Drawing.Color.Ivory;
+            this.gb_PlanState.DisplayLayout.Appearance = appearance31;
+            ultraGridColumn33.Header.Caption = "出库单号";
+            ultraGridColumn33.Header.VisiblePosition = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "钢卷号";
+            ultraGridColumn34.Header.VisiblePosition = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "板坯号";
+            ultraGridColumn35.Header.VisiblePosition = 2;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "合同号";
+            ultraGridColumn36.Header.VisiblePosition = 3;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "订单号";
+            ultraGridColumn37.Header.VisiblePosition = 4;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "交货期";
+            ultraGridColumn38.Header.VisiblePosition = 5;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "内径";
+            ultraGridColumn39.Header.VisiblePosition = 6;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "外径";
+            ultraGridColumn40.Header.VisiblePosition = 7;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "长度";
+            ultraGridColumn41.Header.VisiblePosition = 8;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "厚度 ";
+            ultraGridColumn42.Header.VisiblePosition = 9;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "宽度";
+            ultraGridColumn43.Header.VisiblePosition = 10;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "计算重量";
+            ultraGridColumn44.Header.VisiblePosition = 11;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "实重量";
+            ultraGridColumn45.Header.VisiblePosition = 12;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "牌号";
+            ultraGridColumn46.Header.VisiblePosition = 13;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "综合判定";
+            ultraGridColumn47.Header.VisiblePosition = 14;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "特记事项";
+            ultraGridColumn48.Header.VisiblePosition = 15;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "车辆号";
+            ultraGridColumn49.Header.VisiblePosition = 16;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "质保书编号";
+            ultraGridColumn50.Header.VisiblePosition = 17;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "垛位";
+            ultraGridColumn51.Header.VisiblePosition = 18;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "登记人";
+            ultraGridColumn52.Header.VisiblePosition = 19;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 37;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "登记时间";
+            ultraGridColumn53.Header.VisiblePosition = 20;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "计划班次";
+            ultraGridColumn54.Header.VisiblePosition = 21;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "计划班组";
+            ultraGridColumn55.Header.VisiblePosition = 22;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "工单号";
+            ultraGridColumn56.Header.VisiblePosition = 23;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "下发人";
+            ultraGridColumn57.Header.VisiblePosition = 25;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 33;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "下发时间";
+            ultraGridColumn58.Header.VisiblePosition = 27;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 38;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.VisiblePosition = 29;
+            ultraGridColumn59.Hidden = true;
+            ultraGridColumn60.Header.Caption = "开平线";
+            ultraGridColumn60.Header.VisiblePosition = 30;
+            ultraGridColumn60.Hidden = true;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "订单类型";
+            ultraGridColumn61.Header.VisiblePosition = 24;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(62, 0);
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "订单厚度";
+            ultraGridColumn62.Header.VisiblePosition = 26;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(58, 0);
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "订单宽度";
+            ultraGridColumn63.Header.VisiblePosition = 28;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "生产班次";
+            ultraGridColumn64.Header.VisiblePosition = 31;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "生产班组";
+            ultraGridColumn65.Header.VisiblePosition = 33;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn66.Header.Caption = "生产时间";
+            ultraGridColumn66.Header.VisiblePosition = 34;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 32;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "生产确认时间";
+            ultraGridColumn67.Header.VisiblePosition = 35;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 34;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn68.Header.Caption = "工艺类型";
+            ultraGridColumn68.Header.VisiblePosition = 36;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 35;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn69.Header.Caption = "缺陷1";
+            ultraGridColumn69.Header.VisiblePosition = 37;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 36;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn70.Header.VisiblePosition = 38;
+            ultraGridColumn70.Hidden = true;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 39;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn71.Header.VisiblePosition = 40;
+            ultraGridColumn71.Hidden = true;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginX = 40;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn72.Header.VisiblePosition = 42;
+            ultraGridColumn72.Hidden = true;
+            ultraGridColumn72.RowLayoutColumnInfo.OriginX = 42;
+            ultraGridColumn72.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn72.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn72.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn73.Header.VisiblePosition = 43;
+            ultraGridColumn73.Hidden = true;
+            ultraGridColumn73.RowLayoutColumnInfo.OriginX = 44;
+            ultraGridColumn73.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn73.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn73.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn74.Header.Caption = "炉号";
+            ultraGridColumn74.Header.VisiblePosition = 32;
+            ultraGridColumn74.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn74.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn74.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn74.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn74.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn75.Header.Caption = "批号";
+            ultraGridColumn75.Header.VisiblePosition = 39;
+            ultraGridColumn75.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn75.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn75.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn75.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn75.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn76.Header.Caption = "执行标准";
+            ultraGridColumn76.Header.VisiblePosition = 41;
+            ultraGridColumn76.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn76.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn76.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn76.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn76.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68,
+            ultraGridColumn69,
+            ultraGridColumn70,
+            ultraGridColumn71,
+            ultraGridColumn72,
+            ultraGridColumn73,
+            ultraGridColumn74,
+            ultraGridColumn75,
+            ultraGridColumn76});
+            appearance32.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance32;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings3.DisplayFormat = "{0}KG";
+            summarySettings3.GroupBySummaryValueAppearance = appearance33;
+            summarySettings4.DisplayFormat = "{0}KG";
+            summarySettings4.GroupBySummaryValueAppearance = appearance34;
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4});
+            ultraGridBand2.UseRowLayout = true;
+            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gb_PlanState.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance35.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance35.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance35.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance35.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Appearance = appearance35;
+            appearance36.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_PlanState.DisplayLayout.GroupByBox.BandLabelAppearance = appearance36;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance37.BackColor = System.Drawing.SystemColors.Window;
+            appearance37.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_PlanState.DisplayLayout.Override.ActiveCellAppearance = appearance37;
+            appearance38.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance38.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_PlanState.DisplayLayout.Override.ActiveRowAppearance = appearance38;
+            appearance39.BorderColor = System.Drawing.Color.Black;
+            appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_PlanState.DisplayLayout.Override.CellAppearance = appearance39;
+            this.gb_PlanState.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_PlanState.DisplayLayout.Override.CellPadding = 0;
+            appearance40.BackColor = System.Drawing.SystemColors.Control;
+            appearance40.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance40.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance40.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance40.BorderColor = System.Drawing.SystemColors.Window;
+            appearance40.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance40.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_PlanState.DisplayLayout.Override.GroupByRowAppearance = appearance40;
+            this.gb_PlanState.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance41.BackColor = System.Drawing.Color.Silver;
+            this.gb_PlanState.DisplayLayout.Override.HeaderAppearance = appearance41;
+            this.gb_PlanState.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_PlanState.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance42.BackColor = System.Drawing.SystemColors.Window;
+            appearance42.BorderColor = System.Drawing.Color.Black;
+            appearance42.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_PlanState.DisplayLayout.Override.RowAppearance = appearance42;
+            appearance43.BackColor = System.Drawing.SystemColors.Window;
+            appearance43.BorderColor = System.Drawing.Color.Black;
+            appearance43.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_PlanState.DisplayLayout.Override.RowPreviewAppearance = appearance43;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance44.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance44.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_PlanState.DisplayLayout.Override.SelectedRowAppearance = appearance44;
+            this.gb_PlanState.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance45.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_PlanState.DisplayLayout.Override.SummaryFooterAppearance = appearance45;
+            appearance46.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance46.ForeColor = System.Drawing.Color.Red;
+            this.gb_PlanState.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance46;
+            this.gb_PlanState.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance47.BackColor = System.Drawing.Color.MistyRose;
+            appearance47.ForeColor = System.Drawing.Color.Blue;
+            appearance47.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_PlanState.DisplayLayout.Override.SummaryValueAppearance = appearance47;
+            appearance48.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_PlanState.DisplayLayout.Override.TemplateAddRowAppearance = appearance48;
+            this.gb_PlanState.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_PlanState.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_PlanState.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_PlanState.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_PlanState.Location = new System.Drawing.Point(0, 0);
+            this.gb_PlanState.Name = "gb_PlanState";
+            this.gb_PlanState.Size = new System.Drawing.Size(1187, 167);
+            this.gb_PlanState.TabIndex = 11;
+            this.gb_PlanState.Text = "ultraGrid3";
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(812, 80);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 311);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1191, 80);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 1;
+            this.ultraExpandableGroupBox1.Text = "下发编辑区";
+            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_YLZL);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel14);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel13);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Number);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_WEIGHT);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel12);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel9);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Width);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.dte_Time);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Length);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_End_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassTeam);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel10);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassOrder);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_EditType_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Begin_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Top_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel11);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 22);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1187, 56);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // txt_YLZL
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_YLZL.Appearance = appearance49;
+            this.txt_YLZL.FlatMode = true;
+            this.txt_YLZL.Location = new System.Drawing.Point(846, 34);
+            this.txt_YLZL.MaskInput = "nnnnn.nnn";
+            this.txt_YLZL.Name = "txt_YLZL";
+            this.txt_YLZL.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_YLZL.PromptChar = ' ';
+            this.txt_YLZL.ReadOnly = true;
+            this.txt_YLZL.Size = new System.Drawing.Size(96, 19);
+            this.txt_YLZL.TabIndex = 670;
+            this.txt_YLZL.Visible = false;
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(789, 36);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 671;
+            this.ultraLabel14.Text = "原料重量";
+            this.ultraLabel14.Visible = false;
+            // 
+            // ultraLabel13
+            // 
+            appearance50.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel13.Appearance = appearance50;
+            this.ultraLabel13.Location = new System.Drawing.Point(789, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel13.TabIndex = 669;
+            this.ultraLabel13.Text = "条数";
+            // 
+            // txt_Number
+            // 
+            appearance51.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Number.Appearance = appearance51;
+            this.txt_Number.AutoSize = true;
+            this.txt_Number.Location = new System.Drawing.Point(846, 8);
+            this.txt_Number.Name = "txt_Number";
+            this.txt_Number.Size = new System.Drawing.Size(96, 21);
+            this.txt_Number.TabIndex = 668;
+            this.txt_Number.Enter += new System.EventHandler(this.txt_Number_Enter);
+            this.txt_Number.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Number_KeyDown);
+            // 
+            // txt_WEIGHT
+            // 
+            appearance52.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_WEIGHT.Appearance = appearance52;
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(687, 33);
+            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.ReadOnly = true;
+            this.txt_WEIGHT.Size = new System.Drawing.Size(96, 19);
+            this.txt_WEIGHT.TabIndex = 666;
+            this.txt_WEIGHT.Visible = false;
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(631, 35);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel12.TabIndex = 667;
+            this.ultraLabel12.Text = "理论重量";
+            this.ultraLabel12.Visible = false;
+            // 
+            // ultraLabel9
+            // 
+            appearance53.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance53.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel9.Appearance = appearance53;
+            this.ultraLabel9.Location = new System.Drawing.Point(636, 10);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel9.TabIndex = 640;
+            this.ultraLabel9.Text = "宽度";
+            // 
+            // txt_Width
+            // 
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(667, 8);
+            this.txt_Width.MaskInput = "nnnn.nn";
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(116, 19);
+            this.txt_Width.TabIndex = 639;
+            // 
+            // dte_Time
+            // 
+            this.dte_Time.Location = new System.Drawing.Point(513, 6);
+            this.dte_Time.Name = "dte_Time";
+            this.dte_Time.Size = new System.Drawing.Size(116, 21);
+            this.dte_Time.TabIndex = 638;
+            // 
+            // txt_Length
+            // 
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(513, 32);
+            this.txt_Length.MaskInput = "nnnnnnnn";
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(116, 19);
+            this.txt_Length.TabIndex = 637;
+            // 
+            // ultraLabel4
+            // 
+            appearance54.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel4.Appearance = appearance54;
+            this.ultraLabel4.Location = new System.Drawing.Point(458, 34);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 636;
+            this.ultraLabel4.Text = "长度(MM)";
+            // 
+            // ultraLabel2
+            // 
+            appearance55.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance55.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel2.Appearance = appearance55;
+            this.ultraLabel2.Location = new System.Drawing.Point(433, 10);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(79, 16);
+            this.ultraLabel2.TabIndex = 635;
+            this.ultraLabel2.Text = "计划生产时间";
+            // 
+            // txt_Scid_End_Y
+            // 
+            appearance56.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Scid_End_Y.Appearance = appearance56;
+            this.txt_Scid_End_Y.AutoSize = true;
+            editorButton1.Key = "XH";
+            this.txt_Scid_End_Y.ButtonsRight.Add(editorButton1);
+            this.txt_Scid_End_Y.Location = new System.Drawing.Point(185, 8);
+            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
+            this.txt_Scid_End_Y.Size = new System.Drawing.Size(76, 21);
+            this.txt_Scid_End_Y.TabIndex = 634;
+            this.txt_Scid_End_Y.Click += new System.EventHandler(this.txt_Scid_End_Y_Click);
+            // 
+            // cmb_ClassTeam
+            // 
+            appearance57.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ClassTeam.Appearance = appearance57;
+            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassTeam.DisplayMember = "";
+            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassTeam.FlatMode = true;
+            this.cmb_ClassTeam.Location = new System.Drawing.Point(323, 32);
+            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
+            this.cmb_ClassTeam.Size = new System.Drawing.Size(104, 19);
+            this.cmb_ClassTeam.TabIndex = 631;
+            this.cmb_ClassTeam.Tag = "";
+            this.cmb_ClassTeam.ValueMember = "";
+            // 
+            // ultraLabel10
+            // 
+            appearance58.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance58.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel10.Appearance = appearance58;
+            this.ultraLabel10.Location = new System.Drawing.Point(267, 34);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel10.TabIndex = 633;
+            this.ultraLabel10.Text = "计划班组";
+            // 
+            // cmb_ClassOrder
+            // 
+            appearance59.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ClassOrder.Appearance = appearance59;
+            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOrder.DisplayMember = "";
+            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassOrder.FlatMode = true;
+            this.cmb_ClassOrder.Location = new System.Drawing.Point(323, 10);
+            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
+            this.cmb_ClassOrder.Size = new System.Drawing.Size(104, 19);
+            this.cmb_ClassOrder.TabIndex = 630;
+            this.cmb_ClassOrder.Tag = "";
+            this.cmb_ClassOrder.ValueMember = "";
+            // 
+            // ultraLabel8
+            // 
+            appearance60.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance60.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel8.Appearance = appearance60;
+            this.ultraLabel8.Location = new System.Drawing.Point(267, 10);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 632;
+            this.ultraLabel8.Text = "计划班次";
+            // 
+            // ultraLabel3
+            // 
+            appearance61.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance61.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel3.Appearance = appearance61;
+            this.ultraLabel3.Location = new System.Drawing.Point(7, 34);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 629;
+            this.ultraLabel3.Text = "制单类型";
+            // 
+            // cmb_EditType_Y
+            // 
+            appearance62.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_EditType_Y.Appearance = appearance62;
+            this.cmb_EditType_Y.AutoSize = true;
+            this.cmb_EditType_Y.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            valueListItem1.DataValue = "1";
+            valueListItem1.DisplayText = "顺序工单号";
+            valueListItem2.DataValue = "2";
+            valueListItem2.DisplayText = "指定工单号";
+            this.cmb_EditType_Y.Items.Add(valueListItem1);
+            this.cmb_EditType_Y.Items.Add(valueListItem2);
+            this.cmb_EditType_Y.Location = new System.Drawing.Point(65, 32);
+            this.cmb_EditType_Y.Name = "cmb_EditType_Y";
+            this.cmb_EditType_Y.Size = new System.Drawing.Size(196, 21);
+            this.cmb_EditType_Y.TabIndex = 628;
+            this.cmb_EditType_Y.ValueChanged += new System.EventHandler(this.cmb_EditType_Y_ValueChanged);
+            // 
+            // txt_Scid_Begin_Y
+            // 
+            appearance63.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Scid_Begin_Y.Appearance = appearance63;
+            this.txt_Scid_Begin_Y.AutoSize = true;
+            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(95, 8);
+            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
+            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(90, 21);
+            this.txt_Scid_Begin_Y.TabIndex = 627;
+            // 
+            // txt_Scid_Top_Y
+            // 
+            appearance64.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Scid_Top_Y.Appearance = appearance64;
+            this.txt_Scid_Top_Y.AutoSize = true;
+            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(65, 8);
+            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
+            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(30, 21);
+            this.txt_Scid_Top_Y.TabIndex = 626;
+            // 
+            // ultraLabel11
+            // 
+            appearance65.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance65.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel11.Appearance = appearance65;
+            this.ultraLabel11.Location = new System.Drawing.Point(7, 10);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel11.TabIndex = 625;
+            this.ultraLabel11.Text = "工单号";
+            // 
+            // ultraGroupBox3
+            // 
+            this.ultraGroupBox3.Controls.Add(this.gb_Plan);
+            this.ultraGroupBox3.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox3.Location = new System.Drawing.Point(0, 0);
+            this.ultraGroupBox3.Name = "ultraGroupBox3";
+            this.ultraGroupBox3.Size = new System.Drawing.Size(1191, 120);
+            this.ultraGroupBox3.SupportThemes = false;
+            this.ultraGroupBox3.TabIndex = 0;
+            this.ultraGroupBox3.Text = "工艺制定";
+            this.ultraGroupBox3.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // gb_Plan
+            // 
+            appearance66.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Plan.DisplayLayout.Appearance = appearance66;
+            ultraGridColumn77.Header.Caption = "出库单号";
+            ultraGridColumn77.Header.VisiblePosition = 0;
+            ultraGridColumn77.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn77.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn77.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn77.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn77.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn78.Header.Caption = "钢卷号";
+            ultraGridColumn78.Header.VisiblePosition = 1;
+            ultraGridColumn78.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn78.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn78.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn78.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn78.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn79.Header.Caption = "板坯号";
+            ultraGridColumn79.Header.VisiblePosition = 2;
+            ultraGridColumn79.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn79.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn79.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(110, 0);
+            ultraGridColumn79.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn79.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn80.Header.Caption = "合同号";
+            ultraGridColumn80.Header.VisiblePosition = 3;
+            ultraGridColumn80.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn80.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn80.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn80.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn80.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn81.Header.Caption = "订单号";
+            ultraGridColumn81.Header.VisiblePosition = 4;
+            ultraGridColumn81.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn81.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn81.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn81.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn81.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn82.Header.Caption = "交货期";
+            ultraGridColumn82.Header.VisiblePosition = 5;
+            ultraGridColumn82.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn82.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn82.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn82.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn83.Header.Caption = "内径";
+            ultraGridColumn83.Header.VisiblePosition = 6;
+            ultraGridColumn83.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn83.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn83.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn83.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn83.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn84.Header.Caption = "外径";
+            ultraGridColumn84.Header.VisiblePosition = 7;
+            ultraGridColumn84.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn84.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn84.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn84.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn84.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn85.Header.Caption = "长度";
+            ultraGridColumn85.Header.VisiblePosition = 8;
+            ultraGridColumn85.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn85.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn85.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn85.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn85.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn86.Header.Caption = "厚度 ";
+            ultraGridColumn86.Header.VisiblePosition = 9;
+            ultraGridColumn86.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn86.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn86.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn86.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn86.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn87.Header.Caption = "宽度";
+            ultraGridColumn87.Header.VisiblePosition = 10;
+            ultraGridColumn87.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn87.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn87.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn87.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn87.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn88.Header.Caption = "计算重量";
+            ultraGridColumn88.Header.VisiblePosition = 11;
+            ultraGridColumn88.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn88.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn88.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn88.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn88.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn89.Header.Caption = "实重量";
+            ultraGridColumn89.Header.VisiblePosition = 12;
+            ultraGridColumn89.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn89.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn89.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn89.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn89.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn90.Header.Caption = "牌号";
+            ultraGridColumn90.Header.VisiblePosition = 13;
+            ultraGridColumn90.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn90.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn90.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn90.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn90.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn91.Header.Caption = "综合判定";
+            ultraGridColumn91.Header.VisiblePosition = 14;
+            ultraGridColumn91.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn91.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn91.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn91.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn91.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn92.Header.Caption = "特记事项";
+            ultraGridColumn92.Header.VisiblePosition = 15;
+            ultraGridColumn92.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn92.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn92.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn92.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn93.Header.Caption = "车辆号";
+            ultraGridColumn93.Header.VisiblePosition = 16;
+            ultraGridColumn93.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn93.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn93.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn93.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn93.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn94.Header.Caption = "质保书编号";
+            ultraGridColumn94.Header.VisiblePosition = 17;
+            ultraGridColumn94.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn94.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn94.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn94.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn94.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn95.Header.Caption = "垛位";
+            ultraGridColumn95.Header.VisiblePosition = 18;
+            ultraGridColumn95.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn95.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn95.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn95.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn95.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn96.Header.Caption = "登记人";
+            ultraGridColumn96.Header.VisiblePosition = 19;
+            ultraGridColumn96.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn96.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn96.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn96.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn97.Header.Caption = "登记时间";
+            ultraGridColumn97.Header.VisiblePosition = 20;
+            ultraGridColumn97.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn97.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn97.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn97.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn98.Header.Caption = "计划班次";
+            ultraGridColumn98.Header.VisiblePosition = 21;
+            ultraGridColumn98.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn98.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn98.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn98.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn98.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn99.Header.Caption = "计划班组";
+            ultraGridColumn99.Header.VisiblePosition = 22;
+            ultraGridColumn99.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn99.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn99.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn99.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn99.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn100.Header.Caption = "工单号";
+            ultraGridColumn100.Header.VisiblePosition = 23;
+            ultraGridColumn100.Hidden = true;
+            ultraGridColumn100.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn100.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn100.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(89, 0);
+            ultraGridColumn100.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn100.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn101.Header.Caption = "";
+            ultraGridColumn101.Header.VisiblePosition = 24;
+            ultraGridColumn101.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn101.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn101.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 0);
+            ultraGridColumn101.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn101.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn101.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn102.Header.Caption = "批号";
+            ultraGridColumn102.Header.VisiblePosition = 26;
+            ultraGridColumn102.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn102.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn102.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
+            ultraGridColumn102.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn102.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn103.Header.Caption = "开平线";
+            ultraGridColumn103.Header.VisiblePosition = 27;
+            ultraGridColumn103.Hidden = true;
+            ultraGridColumn103.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn103.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn103.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(73, 0);
+            ultraGridColumn103.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn103.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn104.Header.Caption = "订单类型";
+            ultraGridColumn104.Header.VisiblePosition = 28;
+            ultraGridColumn104.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn104.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn104.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn104.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn104.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn105.Header.Caption = "订单厚度";
+            ultraGridColumn105.Header.VisiblePosition = 29;
+            ultraGridColumn105.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn105.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn105.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn105.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn105.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn106.Header.Caption = "订单宽度";
+            ultraGridColumn106.Header.VisiblePosition = 32;
+            ultraGridColumn106.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn106.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn106.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn106.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn106.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn107.Header.Caption = "工艺类型";
+            ultraGridColumn107.Header.VisiblePosition = 30;
+            ultraGridColumn107.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn107.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn107.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 0);
+            ultraGridColumn107.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn107.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn108.Header.Caption = "炉号";
+            ultraGridColumn108.Header.VisiblePosition = 25;
+            ultraGridColumn108.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn108.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn108.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn108.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn108.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn109.Header.Caption = "执行标准";
+            ultraGridColumn109.Header.VisiblePosition = 31;
+            ultraGridColumn109.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn109.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn109.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn109.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn109.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand3.Columns.AddRange(new object[] {
+            ultraGridColumn77,
+            ultraGridColumn78,
+            ultraGridColumn79,
+            ultraGridColumn80,
+            ultraGridColumn81,
+            ultraGridColumn82,
+            ultraGridColumn83,
+            ultraGridColumn84,
+            ultraGridColumn85,
+            ultraGridColumn86,
+            ultraGridColumn87,
+            ultraGridColumn88,
+            ultraGridColumn89,
+            ultraGridColumn90,
+            ultraGridColumn91,
+            ultraGridColumn92,
+            ultraGridColumn93,
+            ultraGridColumn94,
+            ultraGridColumn95,
+            ultraGridColumn96,
+            ultraGridColumn97,
+            ultraGridColumn98,
+            ultraGridColumn99,
+            ultraGridColumn100,
+            ultraGridColumn101,
+            ultraGridColumn102,
+            ultraGridColumn103,
+            ultraGridColumn104,
+            ultraGridColumn105,
+            ultraGridColumn106,
+            ultraGridColumn107,
+            ultraGridColumn108,
+            ultraGridColumn109});
+            appearance67.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand3.Header.Appearance = appearance67;
+            ultraGridBand3.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridBand3.UseRowLayout = true;
+            this.gb_Plan.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
+            this.gb_Plan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance68.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance68.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance68.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance68.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Plan.DisplayLayout.GroupByBox.Appearance = appearance68;
+            appearance69.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Plan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance69;
+            this.gb_Plan.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Plan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance70.BackColor = System.Drawing.SystemColors.Window;
+            appearance70.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Plan.DisplayLayout.Override.ActiveCellAppearance = appearance70;
+            appearance71.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance71.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Plan.DisplayLayout.Override.ActiveRowAppearance = appearance71;
+            appearance72.BorderColor = System.Drawing.Color.Black;
+            appearance72.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.CellAppearance = appearance72;
+            this.gb_Plan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Plan.DisplayLayout.Override.CellPadding = 0;
+            appearance73.BackColor = System.Drawing.SystemColors.Control;
+            appearance73.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance73.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance73.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance73.BorderColor = System.Drawing.SystemColors.Window;
+            appearance73.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance73.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.GroupByRowAppearance = appearance73;
+            this.gb_Plan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance74.BackColor = System.Drawing.Color.Silver;
+            this.gb_Plan.DisplayLayout.Override.HeaderAppearance = appearance74;
+            this.gb_Plan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Plan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance75.BackColor = System.Drawing.SystemColors.Window;
+            appearance75.BorderColor = System.Drawing.Color.Black;
+            appearance75.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.RowAppearance = appearance75;
+            appearance76.BackColor = System.Drawing.SystemColors.Window;
+            appearance76.BorderColor = System.Drawing.Color.Black;
+            appearance76.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.RowPreviewAppearance = appearance76;
+            this.gb_Plan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Plan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Plan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance77.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance77.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.SelectedRowAppearance = appearance77;
+            this.gb_Plan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance78.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterAppearance = appearance78;
+            appearance79.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance79.ForeColor = System.Drawing.Color.Red;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance79;
+            this.gb_Plan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance80.BackColor = System.Drawing.Color.MistyRose;
+            appearance80.ForeColor = System.Drawing.Color.Blue;
+            appearance80.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance80.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Plan.DisplayLayout.Override.SummaryValueAppearance = appearance80;
+            appearance81.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Plan.DisplayLayout.Override.TemplateAddRowAppearance = appearance81;
+            this.gb_Plan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Plan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Plan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Plan.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Plan.Location = new System.Drawing.Point(2, 20);
+            this.gb_Plan.Name = "gb_Plan";
+            this.gb_Plan.Size = new System.Drawing.Size(1187, 98);
+            this.gb_Plan.TabIndex = 11;
+            this.gb_Plan.Text = "ultraGrid1";
+            this.gb_Plan.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Plan_CellChange);
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1195, 24);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            buttonTool7.InstanceProps.IsFirstInGroup = true;
+            buttonTool8.InstanceProps.IsFirstInGroup = true;
+            buttonTool10.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6,
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool11.SharedProps.Caption = "库存查询";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "确认";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool13.SharedProps.Caption = "取消";
+            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool14.SharedProps.Caption = "刷新工艺";
+            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool15.SharedProps.Caption = "计划下发";
+            buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool16.SharedProps.Caption = "取消下发";
+            buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool17.SharedProps.Caption = "计划查询";
+            buttonTool17.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool18.SharedProps.Caption = "关闭";
+            buttonTool18.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool19.SharedProps.Caption = "打印";
+            buttonTool19.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool20.SharedProps.Caption = "导出";
+            buttonTool20.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool11,
+            buttonTool12,
+            buttonTool13,
+            buttonTool14,
+            buttonTool15,
+            buttonTool16,
+            buttonTool17,
+            buttonTool18,
+            buttonTool19,
+            buttonTool20});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1195, 27);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1195, 27);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1195, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.cmb_ProcL);
+            this.ultraGroupBox1.Controls.Add(this.chk_IsProduct);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Controls.Add(this.ultSJ);
+            this.ultraGroupBox1.Controls.Add(this.cmb_IS);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
+            this.ultraGroupBox1.Controls.Add(this.chk_PaiHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
+            this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_Gylx);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1195, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(956, 32);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 266;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // cmb_ProcL
+            // 
+            this.cmb_ProcL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProcL.DisplayMember = "";
+            this.cmb_ProcL.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ProcL.Enabled = false;
+            this.cmb_ProcL.FlatMode = true;
+            this.cmb_ProcL.Location = new System.Drawing.Point(1025, 6);
+            this.cmb_ProcL.Name = "cmb_ProcL";
+            this.cmb_ProcL.Size = new System.Drawing.Size(88, 19);
+            this.cmb_ProcL.TabIndex = 265;
+            this.cmb_ProcL.Tag = "";
+            this.cmb_ProcL.ValueMember = "";
+            // 
+            // chk_IsProduct
+            // 
+            this.chk_IsProduct.Location = new System.Drawing.Point(783, 31);
+            this.chk_IsProduct.Name = "chk_IsProduct";
+            this.chk_IsProduct.Size = new System.Drawing.Size(73, 16);
+            this.chk_IsProduct.TabIndex = 264;
+            this.chk_IsProduct.TabStop = false;
+            this.chk_IsProduct.Text = "是否生产";
+            this.chk_IsProduct.CheckedChanged += new System.EventHandler(this.chk_IsProduct_CheckedChanged);
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.Location = new System.Drawing.Point(5, 4);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(49, 20);
+            this.chk_CollectTime.TabIndex = 263;
+            this.chk_CollectTime.Text = "时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // ultSJ
+            // 
+            this.ultSJ.AutoSize = true;
+            valueListItem3.DataValue = "0";
+            valueListItem3.DisplayText = "按计划时间";
+            valueListItem4.DataValue = "1";
+            valueListItem4.DisplayText = "按入库时间";
+            this.ultSJ.Items.Add(valueListItem3);
+            this.ultSJ.Items.Add(valueListItem4);
+            this.ultSJ.Location = new System.Drawing.Point(60, 4);
+            this.ultSJ.Name = "ultSJ";
+            this.ultSJ.Size = new System.Drawing.Size(91, 21);
+            this.ultSJ.TabIndex = 262;
+            // 
+            // cmb_IS
+            // 
+            appearance82.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_IS.Appearance = appearance82;
+            this.cmb_IS.AutoSize = true;
+            this.cmb_IS.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            this.cmb_IS.Enabled = false;
+            this.cmb_IS.FlatMode = true;
+            valueListItem5.DataValue = "0";
+            valueListItem5.DisplayText = "否";
+            valueListItem6.DataValue = "1";
+            valueListItem6.DisplayText = "是";
+            this.cmb_IS.Items.Add(valueListItem5);
+            this.cmb_IS.Items.Add(valueListItem6);
+            this.cmb_IS.Location = new System.Drawing.Point(854, 29);
+            this.cmb_IS.Name = "cmb_IS";
+            this.cmb_IS.Size = new System.Drawing.Size(90, 19);
+            this.cmb_IS.TabIndex = 261;
+            // 
+            // ultraLabel5
+            // 
+            appearance83.ForeColor = System.Drawing.Color.Red;
+            this.ultraLabel5.Appearance = appearance83;
+            this.ultraLabel5.BackColor = System.Drawing.SystemColors.Control;
+            this.ultraLabel5.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraLabel5.Location = new System.Drawing.Point(1069, 34);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(78, 16);
+            this.ultraLabel5.TabIndex = 260;
+            this.ultraLabel5.Text = "已生产确认";
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(155, 28);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 259;
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(155, 5);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 258;
+            // 
+            // txt_BNumber
+            // 
+            this.txt_BNumber.AutoSize = true;
+            this.txt_BNumber.Enabled = false;
+            this.txt_BNumber.FlatMode = true;
+            this.txt_BNumber.Location = new System.Drawing.Point(854, 6);
+            this.txt_BNumber.Name = "txt_BNumber";
+            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
+            this.txt_BNumber.TabIndex = 257;
+            this.txt_BNumber.TabStop = false;
+            this.txt_BNumber.Tag = "";
+            // 
+            // chk_BNumber
+            // 
+            this.chk_BNumber.Location = new System.Drawing.Point(783, 8);
+            this.chk_BNumber.Name = "chk_BNumber";
+            this.chk_BNumber.Size = new System.Drawing.Size(46, 16);
+            this.chk_BNumber.TabIndex = 256;
+            this.chk_BNumber.TabStop = false;
+            this.chk_BNumber.Text = "批号";
+            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(1015, 31);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 255;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(689, 31);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(88, 19);
+            this.cmb_Buress.TabIndex = 254;
+            this.cmb_Buress.Tag = "";
+            this.cmb_Buress.ValueMember = "";
+            // 
+            // Chk_Buttress
+            // 
+            this.Chk_Buttress.Location = new System.Drawing.Point(641, 33);
+            this.Chk_Buttress.Name = "Chk_Buttress";
+            this.Chk_Buttress.Size = new System.Drawing.Size(46, 16);
+            this.Chk_Buttress.TabIndex = 253;
+            this.Chk_Buttress.TabStop = false;
+            this.Chk_Buttress.Text = "堆位";
+            this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
+            // 
+            // cmb_Sleen
+            // 
+            this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance84.BackColor = System.Drawing.SystemColors.Window;
+            appearance84.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Sleen.DisplayLayout.Appearance = appearance84;
+            this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance85.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance85.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance85.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance85.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.Appearance = appearance85;
+            appearance86.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BandLabelAppearance = appearance86;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance87.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance87.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance87.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance87.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.PromptAppearance = appearance87;
+            this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance88.BackColor = System.Drawing.SystemColors.Window;
+            appearance88.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Sleen.DisplayLayout.Override.ActiveCellAppearance = appearance88;
+            appearance89.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance89.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Sleen.DisplayLayout.Override.ActiveRowAppearance = appearance89;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance90.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.Override.CardAreaAppearance = appearance90;
+            appearance91.BorderColor = System.Drawing.Color.Silver;
+            appearance91.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Sleen.DisplayLayout.Override.CellAppearance = appearance91;
+            this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
+            appearance92.BackColor = System.Drawing.SystemColors.Control;
+            appearance92.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance92.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance92.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance92.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Sleen.DisplayLayout.Override.GroupByRowAppearance = appearance92;
+            appearance93.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderAppearance = appearance93;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance94.BackColor = System.Drawing.SystemColors.Window;
+            appearance94.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Sleen.DisplayLayout.Override.RowAppearance = appearance94;
+            this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance95.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Sleen.DisplayLayout.Override.TemplateAddRowAppearance = appearance95;
+            this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Sleen.DisplayMember = "";
+            this.cmb_Sleen.Enabled = false;
+            this.cmb_Sleen.FlatMode = true;
+            this.cmb_Sleen.Location = new System.Drawing.Point(689, 5);
+            this.cmb_Sleen.Name = "cmb_Sleen";
+            this.cmb_Sleen.Size = new System.Drawing.Size(88, 19);
+            this.cmb_Sleen.TabIndex = 252;
+            this.cmb_Sleen.ValueMember = "";
+            // 
+            // chk_PaiHao
+            // 
+            this.chk_PaiHao.Location = new System.Drawing.Point(641, 8);
+            this.chk_PaiHao.Name = "chk_PaiHao";
+            this.chk_PaiHao.Size = new System.Drawing.Size(48, 16);
+            this.chk_PaiHao.TabIndex = 251;
+            this.chk_PaiHao.TabStop = false;
+            this.chk_PaiHao.Text = "牌号";
+            this.chk_PaiHao.CheckedChanged += new System.EventHandler(this.chk_PaiHao_CheckedChanged);
+            // 
+            // txt_GangP
+            // 
+            this.txt_GangP.AutoSize = true;
+            this.txt_GangP.Enabled = false;
+            this.txt_GangP.FlatMode = true;
+            this.txt_GangP.Location = new System.Drawing.Point(531, 28);
+            this.txt_GangP.Name = "txt_GangP";
+            this.txt_GangP.Size = new System.Drawing.Size(104, 19);
+            this.txt_GangP.TabIndex = 250;
+            this.txt_GangP.TabStop = false;
+            this.txt_GangP.Tag = "";
+            // 
+            // chk_BanHao
+            // 
+            this.chk_BanHao.Location = new System.Drawing.Point(475, 32);
+            this.chk_BanHao.Name = "chk_BanHao";
+            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_BanHao.TabIndex = 249;
+            this.chk_BanHao.TabStop = false;
+            this.chk_BanHao.Text = "板坯号";
+            this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(531, 5);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
+            this.txt_RollHao.TabIndex = 248;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // chk_RollHao
+            // 
+            this.chk_RollHao.Location = new System.Drawing.Point(475, 8);
+            this.chk_RollHao.Name = "chk_RollHao";
+            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollHao.TabIndex = 247;
+            this.chk_RollHao.TabStop = false;
+            this.chk_RollHao.Text = "钢卷号";
+            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
+            // 
+            // txt_PlanID
+            // 
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(365, 28);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 246;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PactID
+            // 
+            this.chk_PactID.Location = new System.Drawing.Point(307, 32);
+            this.chk_PactID.Name = "chk_PactID";
+            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PactID.TabIndex = 245;
+            this.chk_PactID.TabStop = false;
+            this.chk_PactID.Text = "合同号";
+            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
+            // 
+            // txt_OrderNO
+            // 
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(365, 5);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 244;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(307, 8);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 243;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(128, 30);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 242;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_Gylx
+            // 
+            this.chk_Gylx.Location = new System.Drawing.Point(956, 8);
+            this.chk_Gylx.Name = "chk_Gylx";
+            this.chk_Gylx.Size = new System.Drawing.Size(72, 16);
+            this.chk_Gylx.TabIndex = 239;
+            this.chk_Gylx.TabStop = false;
+            this.chk_Gylx.Text = "工艺类型";
+            this.chk_Gylx.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
+            // 
+            // Coll
+            // 
+            this.Coll.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.Coll.Controls.Add(this.ultraTabPageControl1);
+            this.Coll.Controls.Add(this.ultraTabPageControl2);
+            this.Coll.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Coll.Location = new System.Drawing.Point(0, 80);
+            this.Coll.Name = "Coll";
+            this.Coll.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.Coll.Size = new System.Drawing.Size(1195, 414);
+            this.Coll.TabIndex = 2;
+            ultraTab1.Key = "ZD";
+            ultraTab1.TabPage = this.ultraTabPageControl1;
+            ultraTab1.Text = "工艺制定";
+            ultraTab2.Key = "XF";
+            ultraTab2.TabPage = this.ultraTabPageControl2;
+            ultraTab2.Text = "计划下发";
+            this.Coll.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1,
+            ultraTab2});
+            this.Coll.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1191, 391);
+            // 
+            // Frm_PlanTurnDrawUp
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1195, 494);
+            this.Controls.Add(this.Coll);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_PlanTurnDrawUp";
+            this.Text = "卷板计划制定";
+            this.Load += new System.EventHandler(this.Frm_PlanTurnDrawUp_Load);
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_GYLX)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcLine)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_JiShi)).EndInit();
+            this.ultraTabPageControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
+            this.ultraExpandableGroupBox2.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_YLZL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Number)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_EditType_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit();
+            this.ultraGroupBox3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Plan)).EndInit();
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultSJ)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_IS)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Coll)).EndInit();
+            this.Coll.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "STUFF":
+					this.Coll.Tabs["ZD"].Selected=true;
+                    this.TurnQuery(this.GetWhere());
+					break;
+				case "QR":
+					this.Plan_Add();
+					break;
+				case "QX":
+					this.Plan_Del();
+					break;
+				case "XF":
+					this.PlanXF();
+					break;
+				case "JHQUERY":
+					this.Coll.Tabs["XF"].Selected=true;
+                    this.Plan_XFQuery(Plan_GetWhere());
+					break;
+				case "QXXF":
+					this.Plan_DelXF();
+					break;
+				case "SHUA":
+					this.Coll.Tabs["XF"].Selected=true;
+                    this.PlanQuery(Plan_GetWhere());
+					break;
+				case "DY":
+                    this.Print(this.Plan_GetWhere());
+					break;
+				case "CLOSE":
+					this.Close();
+					break;
+				case "DC":
+                    ExportButtressInfo();
+					break;
+			}
+		}
+        private string Plan_GetWhere()
+        {
+            string strSql = "";
+            //if(this.chk_CollectTime.Checked)
+            //{
+            //    strSql += " AND TO_CHAR(A.PLAN_DATE,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+            //        + " AND TO_CHAR(A.PLAN_DATE,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+            //}
+            if (chk_CollectTime.Checked == true)
+            {
+                if (this.ultSJ.SelectedIndex == 0)
+                {
+                    strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+                else
+                {
+                    strSql += " AND TO_CHAR(A.STTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.STTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += " AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'"; ;
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.chk_RollHao.Checked)
+            {
+                strSql += " AND A.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'";
+            }
+            if (this.chk_BanHao.Checked)
+            {
+                strSql += " AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
+            }
+            if (this.chk_PaiHao.Checked)
+            {
+                strSql += " AND A.STL_GRD='" + this.cmb_Sleen.Value + "'";
+            }
+            if (this.Chk_Buttress.Checked)
+            {
+                strSql += " AND B.BUTTRESS='" + this.cmb_Buress.Value.ToString() + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+            //if(this.chk_ProcLine.Checked)
+            //{
+            //    strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
+            //}
+            if (chk_IsProduct.Checked)
+            {
+                strSql += " AND A.AFFIRLOG='" + this.cmb_IS.Value.ToString() + "'";
+
+            }
+            if (chk_Gylx.Checked)
+            {
+                strSql += " AND A.GYLX='" + this.cmb_ProcL.Value.ToString() + "'";
+
+            }
+            return strSql;
+        }
+        private string GetWhere()
+        {
+            string strSql = "";
+          
+            if (chk_CollectTime.Checked == true)
+            {
+                if (this.ultSJ.SelectedIndex == 0)
+                {
+                    strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+                else
+                {
+                    strSql += " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                        + " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+                }
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += " AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'"; ;
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.chk_RollHao.Checked)
+            {
+                strSql += " AND A.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'";
+            }
+            if (this.chk_BanHao.Checked)
+            {
+                strSql += " AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
+            }
+            if (this.chk_PaiHao.Checked)
+            {
+                strSql += " AND A.SPEC_STL_GRD='" + this.cmb_Sleen.Value + "'";
+            }
+            if (this.Chk_Buttress.Checked)
+            {
+                strSql += " AND a.BUTTRESS='" + this.cmb_Buress.Value.ToString() + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+          
+            return strSql;
+        }
+       
+		private void TurnQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanTurnManage", "Turn_FJQuery", new object[] { _Conntion }, out strOut);
+				this.gb_Stuff.DataSource=ds;
+				this.gb_Stuff.UpdateData();
+				Comm.SetGridSumArea(this.gb_Stuff);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void PlanQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanTurnManage", "Plan_FJQery", new object[] { _Conntion }, out strOut);
+				this.gb_Plan.DataSource=ds;
+				this.gb_Plan.UpdateData();
+				Comm.SetGridSumArea(this.gb_Plan);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Plan_XFQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanTurnManage", "Plan_XF_Qery", new object[] { _Conntion }, out strOut);
+				this.gb_PlanState.DataSource=ds;
+				this.gb_PlanState.UpdateData();
+				Comm.SetGridSumArea(this.gb_PlanState);
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Rows)
+				{
+					if(row.Cells["AFFIRLOG"].Value.ToString()=="1")
+					{
+						row.Appearance.ForeColor = System.Drawing.Color.Red;
+					}
+					else
+					{
+						row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Plan_Add()
+		{
+            if (this.cmb_GYLX.Text.Trim().Length == 0)
+			{
+				MessageBox.Show("开平线不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return ;
+			}
+			try
+			{
+				gb_Stuff.UpdateData();
+				string strOut="";
+				ArrayList array=new ArrayList();
+                array = Comm.GetFieldValue(this.gb_Stuff, "FLAG", "OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要制定的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add("");
+				Other.Add(this.txt_JiShi.Text);
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.cmb_GYLX.Value.ToString());
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanTurnManage", "Plan_FJADD", new object[] { array, Other }, out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_Stuff.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_TURNOFFLIST"].Select("FLAG='True'");
+					for(int i=0;i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_TURNOFFLIST"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
+                        string sqlStr = " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') ='" + DateTime.Now.ToString("yyyy-MM-dd") + "' ";
+						this.PlanQuery(sqlStr);
+					}
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Plan_Del()
+		{
+			try
+			{
+				this.gb_Plan.UpdateData();
+				string strOut="";
+				ArrayList array=new ArrayList();
+                array = Comm.GetFieldValue(this.gb_Plan, "FLAG", "OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要撤消的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanTurnManage", "DeletePlan", new object[] { array }, out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+                    DataSet ds=(DataSet)this.gb_Plan.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_ZY_ZFPLAN"].Select("FLAG='True'");
+					for(int i=0;i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_ZY_ZFPLAN"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_ZY_ZFPLAN"].AcceptChanges();
+					}
+					this.TurnQuery("");
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private bool Check()
+		{
+			if(this.cmb_ClassOrder.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班次不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.cmb_ClassTeam.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班组不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			if(this.txt_Length.Value.ToString().Trim().Length==0)
+			{
+				MessageBox.Show("长度不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false;
+			}
+			return true;
+		}
+        private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.dte_BeginTime.Enabled = chk_CollectTime.Checked;
+            this.dte_EndTime.Enabled = chk_CollectTime.Checked;
+        }
+
+        private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+        }
+
+        private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_PlanID.Enabled = chk_PactID.Checked;
+        }
+
+        private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_RollHao.Enabled = this.chk_RollHao.Checked;
+        }
+        private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_BNumber.Enabled = this.chk_BNumber.Checked;
+        }
+        private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_ProcL.Enabled = this.chk_Gylx.Checked;
+        }
+        private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_GangP.Enabled = this.chk_BanHao.Checked;
+        }
+
+        private void chk_PaiHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_Sleen.Enabled = this.chk_PaiHao.Checked;
+        }
+
+        private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_Buress.Enabled = this.Chk_Buttress.Checked;
+        }
+		private void PlanXF()
+		{
+            if (!Check())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array = Comm.GetFieldValue(this.gb_Plan, "FLAG", "OLD_SAMPL_NO");
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text);
+                Other.Add(this.cmb_ClassOrder.Value.ToString());
+                Other.Add(this.cmb_ClassTeam.Value.ToString());
+                Other.Add(this.dte_Time.Value.ToString());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.txt_Length.Value.ToString());
+                Other.Add(this.txt_Width.Value.ToString());
+                //Other.Add(this.txt_WEIGHT.Value.ToString());
+                //Other.Add(this.txt_Number.Value.ToString());
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Set_FJXF", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    DataSet ds = (DataSet)this.gb_Plan.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_ZFPLAN"].Select("FLAG='TRUE'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_ZFPLAN"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_ZFPLAN"].AcceptChanges();
+                    }
+                    string strSql = " AND A.WORKORDER_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + this.txt_Scid_End_Y.Text + "'";
+                    this.Plan_XFQuery(strSql);
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+           
+		}
+		private void Plan_DelXF()
+		{
+			try
+			{
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                string ID = "";
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Selected.Rows)
+                {
+                    ID = Comm.ObjToStr(row.Cells["OLD_SAMPL_NO"].Value);
+                }
+                array.Add(ID);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要撤消的信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.PlanDrawUp", "Plan_Del_XF", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    //string sql = "";
+                    this.PlanQuery("AND A.OLD_SAMPL_NO= '" + ID.Trim() + "'");
+                    this.Plan_XFQuery("AND A.OLD_SAMPL_NO= '" + ID + "'");
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+                }
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Frm_PlanTurnDrawUp_Load(object sender, System.EventArgs e)
+		{
+			try
+			{
+				string strOut="";
+				string sql="";
+				DataSet ds;
+				Comm.SetGridSumArea(this.gb_Plan);
+				Comm.SetGridSumArea(this.gb_PlanState);
+				Comm.SetGridSumArea(this.gb_Stuff);
+				//班次
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+				//班组
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+                
+				//堆位
+				sql ="SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_zw WHERE BUTTRESSTYPE='0' AND ISVALID='1' ORDER BY BUTTRESSCODE ASC" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+                Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+
+				sql ="SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8077'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="KCJ_BASEDATA";
+
+				Comm.Init_ComboControl(this.cmb_ProcLine,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+				Comm.Init_ComboControl(this.cmb_ProcL,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+                this.txt_Scid_Begin_Y.Text = System.DateTime.Now.Date.ToString("yyMMdd");
+                this.txt_Scid_Top_Y.Text = "J10";
+                this.cmb_EditType_Y.SelectedIndex = 0;
+
+
+                sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8077'";
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                Comm.Init_ComboControl(this.cmb_GYLX, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+                cmb_GYLX.Value = "8077001";
+                cmb_ProcL.Value = "8077001";
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+      
+       
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Plan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Plan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Plan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Plan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Plan.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Plan.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Plan.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+        //private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+        //{
+        //    try
+        //    {
+        //        Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_Stuff;
+        //        foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Stuff.Rows)
+        //        {
+        //            if(!row.IsFilteredOut)
+        //            {
+        //                row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+        //                row.Update();
+        //            }
+        //        }
+        //        Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Plan;
+        //        foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Plan.Rows)
+        //        {
+        //            if(!row.IsFilteredOut)
+        //            {
+        //                row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+        //                row.Update();
+        //            }
+        //        }
+        //        Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid2 = this.gb_PlanState;
+        //        foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Rows)
+        //        {
+        //            if(!row.IsFilteredOut)
+        //            {
+        //                row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+        //                row.Update();
+        //            }
+        //        }
+        //    }
+        //    catch(System.Exception ex)
+        //    {
+        //        System.Diagnostics.Debug.WriteLine(ex.ToString());
+        //    }
+        //}
+        private void gb_Plan_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+        {
+            try
+            {
+                int k = 0;
+                string temp = "";
+                if (e.Cell.Column.Key == "FLAG")
+                {
+                    e.Cell.Row.Update();
+                    if (e.Cell.Value.ToString().ToUpper() == "TRUE")
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+                        foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Plan.Rows)
+                        {
+                            if (!row.IsFilteredOut && row.Cells["FLAG"].Text.ToUpper() == "TRUE")
+                            {
+                                this.txt_Width.Value = row.Cells["COIL_WTH"].Text;
+                                this.txt_Length.Value = row.Cells["COIL_LEN"].Text;//原料卷长度
+                                if (k == 0)
+                                {
+                                    temp = row.Cells["OLD_SAMPL_NO"].Text;
+                                }
+                                else
+                                {
+                                    if (!row.Cells["OLD_SAMPL_NO"].Text.Equals(temp))
+                                    {
+                                        MessageBox.Show("一个钢卷号只能对应一个工单号,请选择一行", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                                        e.Cell.Row.Cells["FLAG"].Value = false;
+                                        row.Update();
+                                        return;
+                                    }
+                                }
+                                k++;
+                            }
+                        }
+                    }
+                    else
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+                    }
+
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+		private void gb_Stuff_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
+		{
+		
+		}
+
+		private void gb_Stuff_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		
+		}
+		private void Print(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+				DataSet ds=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.PlanTurnManage","PLAN_Print",new object[]{_Conntion},out strOut);
+				Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+				rtp._rtpDataSet = ds;
+				rtp._rtpFileName=@"PlanQrawUp.rpt";
+				rtp.ShowDialog();
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void ExportButtressInfo()
+		{
+			if(this.gb_PlanState.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_PlanState,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+		}
+
+        //private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
+        //{
+        //    this.cmb_ProcL.Enabled=this.chk_Gylx.Checked;
+        //}
+
+        private void chk_IsProduct_CheckedChanged(object sender, EventArgs e)
+        {
+            
+            this.cmb_IS.Enabled = this.chk_IsProduct.Checked;
+        }
+
+        private void txt_Scid_End_Y_Click(object sender, EventArgs e)
+        {
+            this.txt_Scid_Begin_Y.Text = System.DateTime.Now.Date.ToString("yyMMdd");
+            if (this.cmb_EditType_Y.Value.ToString() == "1")
+                if (this.Scid_Where().Length == 4)
+                {
+                    this.txt_Scid_End_Y.Text = this.Scid_Where();
+                }
+                else
+                {
+                    this.txt_Scid_End_Y.Text = Comm.ObjToStr(Comm.ObjToInt(this.Scid_Where().Substring(8)) + 1).PadLeft(4, '0');
+                }
+        }
+        private string Scid_Where()
+        {
+            string strOut = "";
+            string ID = "0001";
+            try
+            {
+                string sql = "SELECT MAX(WORKORDER_ID) FROM KCJ3_ZY_PLAN_ZW WHERE DOWN_FLAG='1' ORDER BY WORKORDER_ID";
+                DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                if (ds.Tables.Count == 1 && ds.Tables[0].Rows.Count > 0)
+                    if (Comm.ObjToStr(ds.Tables[0].Rows[0][0]) != "")
+                    {
+                        ID = Comm.ObjToStr(ds.Tables[0].Rows[0][0]);
+                    }
+                    else
+                    {
+                        ID = "0001";
+                    }
+
+                return ID;
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return ID;
+            }
+        }
+
+        private void cmb_EditType_Y_ValueChanged(object sender, EventArgs e)
+        {
+            if (this.cmb_EditType_Y.SelectedIndex == 0)
+            {
+                this.txt_Scid_Begin_Y.ReadOnly = true;
+                this.txt_Scid_End_Y.ReadOnly = true;
+                this.txt_Scid_Top_Y.ReadOnly = true;
+            }
+            else
+            {
+                this.txt_Scid_Begin_Y.ReadOnly = false;
+                this.txt_Scid_End_Y.ReadOnly = false;
+                this.txt_Scid_Top_Y.ReadOnly = false;
+            }
+        }
+
+        private void txt_Number_Enter(object sender, EventArgs e)
+        {
+            try
+            {
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+
+                }
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void txt_Number_KeyDown(object sender, KeyEventArgs e)
+        {
+            try
+            {
+                if (e.KeyData == Keys.Return)
+                {
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_Number")
+                    {
+                        if (Comm.ObjToInt(this.txt_Number.Value) == 0)
+                        {
+                            MessageBox.Show("条数不能为空", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                            return;
+                        }
+                        this.txt_Width.Value = ((Comm.ObjToInt(this.txt_Width.Value)) / Comm.ObjToInt(this.txt_Number.Value));
+
+                    }
+                    System.Windows.Forms.SendKeys.Send("{TAB}");
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_SelectAll_CheckedChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_Stuff;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Stuff.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Plan;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Plan.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+      
+
+        
+	}
+}

BIN
Client/.svn/pristine/49/4994470c6391501c2d914467ca3d9ed9db0f4be7.svn-base


BIN
Client/.svn/pristine/4a/4a8376be6d835955eafff2bd2385fad9a444fddf.svn-base


+ 2954 - 0
Client/.svn/pristine/4a/4ab3959979a2a2985d4a21bb888f1d644f4cd62f.svn-base

@@ -0,0 +1,2954 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using System.IO;
+using NPOI.HSSF.Util;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// Frm_ReceiveStuff 的摘要说明。
+	/// </summary>
+	public class Frm_ReceiveStuff : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private System.Windows.Forms.Panel panel2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox3;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Time;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BilletID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BilletID;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassTeam;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOrder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private System.Data.DataSet ds_All;
+		private System.Data.DataColumn dataColumn1;
+		private System.Data.DataColumn dataColumn2;
+        private System.Data.DataColumn dataColumn3;
+		private System.Data.DataColumn dataColumn5;
+		private System.Data.DataColumn dataColumn6;
+		private System.Data.DataColumn dataColumn7;
+		private System.Data.DataColumn dataColumn8;
+		private System.Data.DataColumn dataColumn9;
+		private System.Data.DataColumn dataColumn10;
+		private System.Data.DataColumn dataColumn11;
+        private System.Data.DataColumn dataColumn12;
+		private System.Data.DataColumn dataColumn22;
+		private System.Data.DataColumn dataColumn14;
+        private System.Data.DataColumn dataColumn15;
+		private System.Data.DataTable DT_KCJ_SOURCE;
+		private System.Data.DataColumn dataColumn16;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gd_Source;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gd_Receive;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_InMan;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_CheckMan;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buttress;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SendList;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SendList;
+		private System.Data.DataTable DT_KCJ_STORAGELIST;
+		private System.Data.DataColumn dataColumn19;
+		private System.Data.DataColumn dataColumn23;
+		private System.Data.DataColumn dataColumn24;
+		private System.Data.DataColumn dataColumn25;
+		private System.Data.DataColumn dataColumn26;
+		private System.Data.DataColumn dataColumn27;
+		private System.Data.DataColumn dataColumn28;
+		private System.Data.DataColumn dataColumn29;
+		private System.Data.DataColumn dataColumn30;
+		private System.Data.DataColumn dataColumn31;
+		private System.Data.DataColumn dataColumn32;
+		private System.Data.DataColumn dataColumn33;
+		private System.Data.DataColumn dataColumn34;
+		private System.Data.DataColumn dataColumn35;
+		private System.Data.DataColumn dataColumn36;
+		private System.Data.DataColumn dataColumn37;
+		private System.Data.DataColumn dataColumn38;
+		private System.Data.DataColumn dataColumn39;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DH;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DHDate;
+		private System.Data.DataColumn dataColumn40;
+		private System.Data.DataColumn dataColumn41;
+		private System.Data.DataColumn dataColumn42;
+		private System.Data.DataColumn dataColumn43;
+		private System.Data.DataColumn dataColumn44;
+		private System.Data.DataColumn dataColumn45;
+		private System.Data.DataColumn dataColumn18;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Buttress;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+		private System.Data.DataColumn dataColumn46;
+		private System.Data.DataColumn dataColumn47;
+		private System.Data.DataColumn dataColumn48;
+        private DataColumn dataColumn49;
+        private DataColumn dataColumn50;
+        private DataColumn dataColumn51;
+        private DataColumn dataColumn52;
+        private DataColumn dataColumn53;
+        private DataColumn dataColumn55;
+        private DataColumn dataColumn4;
+        private DataColumn dataColumn13;
+        private DataColumn dataColumn17;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor uCmb_BuyCode;
+        private DataColumn dataColumn20;
+        private DataColumn dataColumn21;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_ReceiveStuff()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_YL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_RECEIVE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_RECEIVE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CANCEL_RECEIVE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REFRESH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("SENDLIST_TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("RECEIVE_TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_YL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ImportYL");
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_SOURCE", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LENGTH");
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SENDTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERBUYER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANVEHICLEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_SOURCE", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 9, true, "KCJ_SOURCE", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("KCJ_STORAGELIST", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BILLETID");
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PRODUCTLINE");
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROLLNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MOTHERBOARDNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERNO");
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLY");
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WIDTH");
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("THEORYWEIGHT");
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FACEQUALITY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUGREASON");
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTCARDNUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLIPTYPEPROCESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SOURCEID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CONDOLENUMBER");
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CHECKOPERATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("IN_MAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YPLANNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("YORDERNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SENDBEGINDATE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ATTESTATIONORGAN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORDERBUYER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUSINESS_CATEGORY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "BILLETID", 0, true, "KCJ_STORAGELIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "THEORYWEIGHT", 10, true, "KCJ_STORAGELIST", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Chk_Buttress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_SendList = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_SendList = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_BilletID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BilletID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.chk_Time = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_DH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_DHDate = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_Buttress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_CheckMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_InMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.ultraGroupBox3 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gd_Source = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.DT_KCJ_SOURCE = new System.Data.DataTable();
+            this.dataColumn1 = new System.Data.DataColumn();
+            this.dataColumn2 = new System.Data.DataColumn();
+            this.dataColumn3 = new System.Data.DataColumn();
+            this.dataColumn5 = new System.Data.DataColumn();
+            this.dataColumn6 = new System.Data.DataColumn();
+            this.dataColumn7 = new System.Data.DataColumn();
+            this.dataColumn8 = new System.Data.DataColumn();
+            this.dataColumn9 = new System.Data.DataColumn();
+            this.dataColumn10 = new System.Data.DataColumn();
+            this.dataColumn11 = new System.Data.DataColumn();
+            this.dataColumn12 = new System.Data.DataColumn();
+            this.dataColumn22 = new System.Data.DataColumn();
+            this.dataColumn14 = new System.Data.DataColumn();
+            this.dataColumn15 = new System.Data.DataColumn();
+            this.dataColumn16 = new System.Data.DataColumn();
+            this.dataColumn18 = new System.Data.DataColumn();
+            this.dataColumn50 = new System.Data.DataColumn();
+            this.dataColumn52 = new System.Data.DataColumn();
+            this.dataColumn4 = new System.Data.DataColumn();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gd_Receive = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.DT_KCJ_STORAGELIST = new System.Data.DataTable();
+            this.dataColumn19 = new System.Data.DataColumn();
+            this.dataColumn23 = new System.Data.DataColumn();
+            this.dataColumn24 = new System.Data.DataColumn();
+            this.dataColumn25 = new System.Data.DataColumn();
+            this.dataColumn26 = new System.Data.DataColumn();
+            this.dataColumn27 = new System.Data.DataColumn();
+            this.dataColumn28 = new System.Data.DataColumn();
+            this.dataColumn29 = new System.Data.DataColumn();
+            this.dataColumn30 = new System.Data.DataColumn();
+            this.dataColumn31 = new System.Data.DataColumn();
+            this.dataColumn32 = new System.Data.DataColumn();
+            this.dataColumn33 = new System.Data.DataColumn();
+            this.dataColumn34 = new System.Data.DataColumn();
+            this.dataColumn35 = new System.Data.DataColumn();
+            this.dataColumn36 = new System.Data.DataColumn();
+            this.dataColumn37 = new System.Data.DataColumn();
+            this.dataColumn38 = new System.Data.DataColumn();
+            this.dataColumn39 = new System.Data.DataColumn();
+            this.dataColumn40 = new System.Data.DataColumn();
+            this.dataColumn41 = new System.Data.DataColumn();
+            this.dataColumn42 = new System.Data.DataColumn();
+            this.dataColumn43 = new System.Data.DataColumn();
+            this.dataColumn44 = new System.Data.DataColumn();
+            this.dataColumn45 = new System.Data.DataColumn();
+            this.dataColumn46 = new System.Data.DataColumn();
+            this.dataColumn47 = new System.Data.DataColumn();
+            this.dataColumn48 = new System.Data.DataColumn();
+            this.dataColumn49 = new System.Data.DataColumn();
+            this.dataColumn51 = new System.Data.DataColumn();
+            this.dataColumn53 = new System.Data.DataColumn();
+            this.dataColumn55 = new System.Data.DataColumn();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ds_All = new System.Data.DataSet();
+            this.dataColumn13 = new System.Data.DataColumn();
+            this.dataColumn17 = new System.Data.DataColumn();
+            this.uCmb_BuyCode = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.dataColumn20 = new System.Data.DataColumn();
+            this.dataColumn21 = new System.Data.DataColumn();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SendList)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DHDate)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_CheckMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).BeginInit();
+            this.ultraGroupBox3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_Source)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_SOURCE)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_Receive)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_STORAGELIST)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.uCmb_BuyCode)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(864, 24);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 25);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool7.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6,
+            buttonTool7});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool8.SharedProps.Caption = "入库信息查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "撤销入库";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "关闭";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "来料信息查询";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "接收入库";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool13.SharedProps.Caption = "导出转运信息";
+            buttonTool13.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool14.SharedProps.Caption = "导出入库信息";
+            buttonTool14.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool15.SharedProps.Caption = "原料撤消";
+            buttonTool15.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool16.SharedProps.Caption = "导入原料";
+            buttonTool16.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12,
+            buttonTool13,
+            buttonTool14,
+            buttonTool15,
+            buttonTool16});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(864, 25);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(864, 25);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(864, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.uCmb_BuyCode);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Controls.Add(this.Chk_Buttress);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.txt_SendList);
+            this.ultraGroupBox1.Controls.Add(this.chk_SendList);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollTop);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel5);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollNOEnd);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollNOBegin);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.txt_BilletID);
+            this.ultraGroupBox1.Controls.Add(this.chk_BilletID);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollNum);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.chk_Time);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(864, 72);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // cmb_Buress
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_Buress.Appearance = appearance2;
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(592, 40);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(96, 19);
+            this.cmb_Buress.TabIndex = 211;
+            this.cmb_Buress.Tag = "";
+            this.cmb_Buress.ValueMember = "";
+            // 
+            // Chk_Buttress
+            // 
+            this.Chk_Buttress.Location = new System.Drawing.Point(528, 40);
+            this.Chk_Buttress.Name = "Chk_Buttress";
+            this.Chk_Buttress.Size = new System.Drawing.Size(63, 16);
+            this.Chk_Buttress.TabIndex = 210;
+            this.Chk_Buttress.TabStop = false;
+            this.Chk_Buttress.Text = "堆位";
+            this.Chk_Buttress.CheckedChanged += new System.EventHandler(this.Chk_Buttress_CheckedChanged);
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(712, 40);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 209;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // txt_SendList
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_SendList.Appearance = appearance3;
+            this.txt_SendList.AutoSize = true;
+            this.txt_SendList.Enabled = false;
+            this.txt_SendList.FlatMode = true;
+            this.txt_SendList.Location = new System.Drawing.Point(416, 39);
+            this.txt_SendList.Name = "txt_SendList";
+            this.txt_SendList.Size = new System.Drawing.Size(104, 19);
+            this.txt_SendList.TabIndex = 172;
+            this.txt_SendList.TabStop = false;
+            this.txt_SendList.Tag = "";
+            // 
+            // chk_SendList
+            // 
+            this.chk_SendList.Location = new System.Drawing.Point(352, 40);
+            this.chk_SendList.Name = "chk_SendList";
+            this.chk_SendList.Size = new System.Drawing.Size(60, 16);
+            this.chk_SendList.TabIndex = 171;
+            this.chk_SendList.TabStop = false;
+            this.chk_SendList.Text = "发运号";
+            this.chk_SendList.CheckedChanged += new System.EventHandler(this.chk_SendList_CheckedChanged);
+            // 
+            // txt_RollTop
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollTop.Appearance = appearance4;
+            this.txt_RollTop.AutoSize = true;
+            this.txt_RollTop.Enabled = false;
+            this.txt_RollTop.FlatMode = true;
+            this.txt_RollTop.Location = new System.Drawing.Point(592, 16);
+            this.txt_RollTop.MaxLength = 5;
+            this.txt_RollTop.Name = "txt_RollTop";
+            this.txt_RollTop.Size = new System.Drawing.Size(40, 19);
+            this.txt_RollTop.TabIndex = 170;
+            this.txt_RollTop.TabStop = false;
+            // 
+            // txt_PlanID
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PlanID.Appearance = appearance5;
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(240, 40);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 169;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PlanID
+            // 
+            this.chk_PlanID.Location = new System.Drawing.Point(176, 40);
+            this.chk_PlanID.Name = "chk_PlanID";
+            this.chk_PlanID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PlanID.TabIndex = 168;
+            this.chk_PlanID.TabStop = false;
+            this.chk_PlanID.Text = "计划号";
+            this.chk_PlanID.CheckedChanged += new System.EventHandler(this.chk_PlanID_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(768, 37);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 164;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(688, 19);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel5.TabIndex = 163;
+            this.ultraLabel5.Text = "至";
+            // 
+            // txt_RollNOEnd
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOEnd.Appearance = appearance6;
+            this.txt_RollNOEnd.AutoSize = true;
+            this.txt_RollNOEnd.Enabled = false;
+            this.txt_RollNOEnd.FlatMode = true;
+            this.txt_RollNOEnd.Location = new System.Drawing.Point(706, 16);
+            this.txt_RollNOEnd.MaxLength = 5;
+            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
+            this.txt_RollNOEnd.Size = new System.Drawing.Size(56, 19);
+            this.txt_RollNOEnd.TabIndex = 162;
+            this.txt_RollNOEnd.TabStop = false;
+            // 
+            // txt_RollNOBegin
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOBegin.Appearance = appearance7;
+            this.txt_RollNOBegin.AutoSize = true;
+            this.txt_RollNOBegin.Enabled = false;
+            this.txt_RollNOBegin.FlatMode = true;
+            this.txt_RollNOBegin.Location = new System.Drawing.Point(632, 16);
+            this.txt_RollNOBegin.MaxLength = 5;
+            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
+            this.txt_RollNOBegin.Size = new System.Drawing.Size(56, 19);
+            this.txt_RollNOBegin.TabIndex = 161;
+            this.txt_RollNOBegin.TabStop = false;
+            // 
+            // txt_OrderNO
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_OrderNO.Appearance = appearance8;
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(240, 16);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 160;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // txt_BilletID
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_BilletID.Appearance = appearance9;
+            this.txt_BilletID.AutoSize = true;
+            this.txt_BilletID.Enabled = false;
+            this.txt_BilletID.FlatMode = true;
+            this.txt_BilletID.Location = new System.Drawing.Point(416, 16);
+            this.txt_BilletID.Name = "txt_BilletID";
+            this.txt_BilletID.Size = new System.Drawing.Size(104, 19);
+            this.txt_BilletID.TabIndex = 159;
+            this.txt_BilletID.TabStop = false;
+            this.txt_BilletID.Tag = "";
+            // 
+            // chk_BilletID
+            // 
+            this.chk_BilletID.Location = new System.Drawing.Point(352, 16);
+            this.chk_BilletID.Name = "chk_BilletID";
+            this.chk_BilletID.Size = new System.Drawing.Size(48, 16);
+            this.chk_BilletID.TabIndex = 158;
+            this.chk_BilletID.TabStop = false;
+            this.chk_BilletID.Text = "序号";
+            this.chk_BilletID.CheckedChanged += new System.EventHandler(this.chk_BilletID_CheckedChanged);
+            // 
+            // chk_RollNum
+            // 
+            this.chk_RollNum.Location = new System.Drawing.Point(528, 16);
+            this.chk_RollNum.Name = "chk_RollNum";
+            this.chk_RollNum.Size = new System.Drawing.Size(63, 16);
+            this.chk_RollNum.TabIndex = 156;
+            this.chk_RollNum.TabStop = false;
+            this.chk_RollNum.Text = "轧批号";
+            this.chk_RollNum.CheckedChanged += new System.EventHandler(this.chk_RollNum_CheckedChanged);
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(176, 16);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 155;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_EndTime.Appearance = appearance10;
+            this.dte_EndTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(56, 40);
+            this.dte_EndTime.MaskInput = "{date} {time}";
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 154;
+            this.dte_EndTime.TabStop = false;
+            this.dte_EndTime.Tag = "";
+            this.dte_EndTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(40, 40);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 153;
+            this.Lab_To.Text = "到";
+            // 
+            // dte_BeginTime
+            // 
+            appearance11.BackColor = System.Drawing.Color.LightCyan;
+            this.dte_BeginTime.Appearance = appearance11;
+            this.dte_BeginTime.DateTime = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(56, 16);
+            this.dte_BeginTime.MaskInput = "{date} {time}";
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 152;
+            this.dte_BeginTime.TabStop = false;
+            this.dte_BeginTime.Tag = "";
+            this.dte_BeginTime.Value = new System.DateTime(2007, 8, 31, 0, 0, 0, 0);
+            // 
+            // chk_Time
+            // 
+            this.chk_Time.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_Time.Location = new System.Drawing.Point(8, 16);
+            this.chk_Time.Name = "chk_Time";
+            this.chk_Time.Size = new System.Drawing.Size(46, 16);
+            this.chk_Time.TabIndex = 151;
+            this.chk_Time.TabStop = false;
+            this.chk_Time.Text = "时间";
+            this.chk_Time.CheckedChanged += new System.EventHandler(this.chk_Time_CheckedChanged);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
+            this.ultraGroupBox2.Controls.Add(this.txt_DH);
+            this.ultraGroupBox2.Controls.Add(this.txt_DHDate);
+            this.ultraGroupBox2.Controls.Add(this.cmb_Buttress);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel3);
+            this.ultraGroupBox2.Controls.Add(this.cmb_CheckMan);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
+            this.ultraGroupBox2.Controls.Add(this.cmb_InMan);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ClassTeam);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel10);
+            this.ultraGroupBox2.Controls.Add(this.cmb_ClassOrder);
+            this.ultraGroupBox2.Controls.Add(this.ultraLabel14);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Right;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(672, 96);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(192, 650);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 2;
+            this.ultraGroupBox2.Text = "编辑区域";
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(16, 145);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 584;
+            this.ultraLabel4.Text = "板块吊号";
+            // 
+            // txt_DH
+            // 
+            appearance12.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_DH.Appearance = appearance12;
+            this.txt_DH.AutoSize = true;
+            this.txt_DH.FlatMode = true;
+            this.txt_DH.Location = new System.Drawing.Point(120, 142);
+            this.txt_DH.MaxLength = 3;
+            this.txt_DH.Name = "txt_DH";
+            this.txt_DH.Size = new System.Drawing.Size(56, 19);
+            this.txt_DH.TabIndex = 6;
+            this.txt_DH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
+            // 
+            // txt_DHDate
+            // 
+            appearance13.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_DHDate.Appearance = appearance13;
+            this.txt_DHDate.AutoSize = true;
+            this.txt_DHDate.FlatMode = true;
+            this.txt_DHDate.Location = new System.Drawing.Point(72, 142);
+            this.txt_DHDate.Name = "txt_DHDate";
+            this.txt_DHDate.Size = new System.Drawing.Size(48, 19);
+            this.txt_DHDate.TabIndex = 5;
+            this.txt_DHDate.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
+            // 
+            // cmb_Buttress
+            // 
+            appearance14.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_Buttress.Appearance = appearance14;
+            this.cmb_Buttress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buttress.DisplayMember = "";
+            this.cmb_Buttress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buttress.FlatMode = true;
+            this.cmb_Buttress.Location = new System.Drawing.Point(72, 169);
+            this.cmb_Buttress.Name = "cmb_Buttress";
+            this.cmb_Buttress.Size = new System.Drawing.Size(104, 19);
+            this.cmb_Buttress.TabIndex = 7;
+            this.cmb_Buttress.Tag = "";
+            this.cmb_Buttress.ValueMember = "";
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(16, 171);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 581;
+            this.ultraLabel3.Text = "入库堆位";
+            // 
+            // cmb_CheckMan
+            // 
+            appearance15.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_CheckMan.Appearance = appearance15;
+            this.cmb_CheckMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_CheckMan.DisplayMember = "";
+            this.cmb_CheckMan.FlatMode = true;
+            this.cmb_CheckMan.Location = new System.Drawing.Point(72, 30);
+            this.cmb_CheckMan.Name = "cmb_CheckMan";
+            this.cmb_CheckMan.Size = new System.Drawing.Size(104, 19);
+            this.cmb_CheckMan.TabIndex = 1;
+            this.cmb_CheckMan.Tag = "";
+            this.cmb_CheckMan.ValueMember = "";
+            this.cmb_CheckMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(16, 32);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel2.TabIndex = 579;
+            this.ultraLabel2.Text = "验收人";
+            // 
+            // cmb_InMan
+            // 
+            appearance16.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_InMan.Appearance = appearance16;
+            this.cmb_InMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_InMan.DisplayMember = "";
+            this.cmb_InMan.FlatMode = true;
+            this.cmb_InMan.Location = new System.Drawing.Point(72, 58);
+            this.cmb_InMan.Name = "cmb_InMan";
+            this.cmb_InMan.Size = new System.Drawing.Size(104, 19);
+            this.cmb_InMan.TabIndex = 2;
+            this.cmb_InMan.Tag = "";
+            this.cmb_InMan.ValueMember = "";
+            this.cmb_InMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(16, 60);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel1.TabIndex = 577;
+            this.ultraLabel1.Text = "入库人";
+            // 
+            // cmb_ClassTeam
+            // 
+            appearance17.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ClassTeam.Appearance = appearance17;
+            this.cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassTeam.DisplayMember = "";
+            this.cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassTeam.FlatMode = true;
+            this.cmb_ClassTeam.Location = new System.Drawing.Point(72, 114);
+            this.cmb_ClassTeam.Name = "cmb_ClassTeam";
+            this.cmb_ClassTeam.Size = new System.Drawing.Size(104, 19);
+            this.cmb_ClassTeam.TabIndex = 4;
+            this.cmb_ClassTeam.Tag = "";
+            this.cmb_ClassTeam.ValueMember = "";
+            this.cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(16, 116);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel10.TabIndex = 575;
+            this.ultraLabel10.Text = "入库班组";
+            // 
+            // cmb_ClassOrder
+            // 
+            appearance18.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_ClassOrder.Appearance = appearance18;
+            this.cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOrder.DisplayMember = "";
+            this.cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ClassOrder.FlatMode = true;
+            this.cmb_ClassOrder.Location = new System.Drawing.Point(72, 86);
+            this.cmb_ClassOrder.Name = "cmb_ClassOrder";
+            this.cmb_ClassOrder.Size = new System.Drawing.Size(104, 19);
+            this.cmb_ClassOrder.TabIndex = 3;
+            this.cmb_ClassOrder.Tag = "";
+            this.cmb_ClassOrder.ValueMember = "";
+            this.cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.cmb_CheckMan_KeyDown);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(16, 88);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 574;
+            this.ultraLabel14.Text = "入库班次";
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.ultraGroupBox3);
+            this.panel2.Controls.Add(this.ultraExpandableGroupBox1);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel2.Location = new System.Drawing.Point(0, 96);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(672, 650);
+            this.panel2.TabIndex = 3;
+            // 
+            // ultraGroupBox3
+            // 
+            this.ultraGroupBox3.Controls.Add(this.gd_Source);
+            this.ultraGroupBox3.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox3.Location = new System.Drawing.Point(0, 0);
+            this.ultraGroupBox3.Name = "ultraGroupBox3";
+            this.ultraGroupBox3.Size = new System.Drawing.Size(672, 346);
+            this.ultraGroupBox3.SupportThemes = false;
+            this.ultraGroupBox3.TabIndex = 1;
+            this.ultraGroupBox3.Text = "来料信息";
+            // 
+            // gd_Source
+            // 
+            this.gd_Source.DataSource = this.DT_KCJ_SOURCE;
+            appearance19.BackColor = System.Drawing.Color.Ivory;
+            this.gd_Source.DisplayLayout.Appearance = appearance19;
+            ultraGridColumn1.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            appearance20.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn1.CellAppearance = appearance20;
+            ultraGridColumn1.Header.Caption = "序号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(98, 26);
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn2.Header.Caption = "产线";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 26);
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn3.Header.Caption = "轧编号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 26);
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            appearance21.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn4.CellAppearance = appearance21;
+            ultraGridColumn4.Header.Caption = "炉号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 26);
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            appearance22.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn5.CellAppearance = appearance22;
+            ultraGridColumn5.Header.Caption = "计划号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 26);
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn6.Header.Caption = "订单号";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 26);
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            appearance23.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn7.CellAppearance = appearance23;
+            ultraGridColumn7.Header.Caption = "厚度";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 26);
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn8.Header.Caption = "宽度";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 26);
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            appearance24.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn9.CellAppearance = appearance24;
+            ultraGridColumn9.Header.Caption = "长度";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 26);
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn10.Header.Caption = "重量";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            appearance25.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn11.CellAppearance = appearance25;
+            ultraGridColumn11.Header.Caption = "表面质量";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.Hidden = true;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 26);
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn12.Header.Caption = "牌号";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 26);
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn13.Header.Caption = "判定结果";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 26);
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.CellActivation = Infragistics.Win.UltraWinGrid.Activation.ActivateOnly;
+            ultraGridColumn14.Header.Caption = "明细号";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 26);
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 26);
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 26);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn16.Header.Caption = "发运时间";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "认证机构";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.Hidden = true;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "客户订单号";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.Hidden = true;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "发运指示号";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.EditorControl = this.uCmb_BuyCode;
+            ultraGridColumn20.Header.Caption = "客户名称";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "合同号";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21});
+            appearance26.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance26;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance27.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance27.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings1.Appearance = appearance27;
+            summarySettings1.DisplayFormat = "{0}";
+            summarySettings1.GroupBySummaryValueAppearance = appearance28;
+            summarySettings1.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            appearance29.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings2.Appearance = appearance29;
+            summarySettings2.DisplayFormat = "{0:.###}";
+            summarySettings2.GroupBySummaryValueAppearance = appearance30;
+            summarySettings2.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gd_Source.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gd_Source.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance31.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance31.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance31.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance31.BorderColor = System.Drawing.SystemColors.Window;
+            this.gd_Source.DisplayLayout.GroupByBox.Appearance = appearance31;
+            appearance32.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gd_Source.DisplayLayout.GroupByBox.BandLabelAppearance = appearance32;
+            this.gd_Source.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_Source.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance33.BackColor = System.Drawing.SystemColors.Window;
+            appearance33.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gd_Source.DisplayLayout.Override.ActiveCellAppearance = appearance33;
+            appearance34.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance34.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gd_Source.DisplayLayout.Override.ActiveRowAppearance = appearance34;
+            appearance35.BorderColor = System.Drawing.Color.Black;
+            appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Source.DisplayLayout.Override.CellAppearance = appearance35;
+            this.gd_Source.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gd_Source.DisplayLayout.Override.CellPadding = 0;
+            appearance36.BackColor = System.Drawing.SystemColors.Control;
+            appearance36.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance36.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance36.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance36.BorderColor = System.Drawing.SystemColors.Window;
+            appearance36.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Source.DisplayLayout.Override.GroupByRowAppearance = appearance36;
+            this.gd_Source.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance37.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_Source.DisplayLayout.Override.HeaderAppearance = appearance37;
+            this.gd_Source.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance38.BackColor = System.Drawing.SystemColors.Window;
+            appearance38.BorderColor = System.Drawing.Color.Black;
+            appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Source.DisplayLayout.Override.RowAppearance = appearance38;
+            appearance39.BackColor = System.Drawing.SystemColors.Window;
+            appearance39.BorderColor = System.Drawing.Color.Black;
+            appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Source.DisplayLayout.Override.RowPreviewAppearance = appearance39;
+            this.gd_Source.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_Source.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_Source.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance40.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance40.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Source.DisplayLayout.Override.SelectedRowAppearance = appearance40;
+            this.gd_Source.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance41.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_Source.DisplayLayout.Override.SummaryFooterAppearance = appearance41;
+            appearance42.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance42.ForeColor = System.Drawing.Color.Red;
+            this.gd_Source.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance42;
+            this.gd_Source.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance43.BackColor = System.Drawing.Color.MistyRose;
+            appearance43.ForeColor = System.Drawing.Color.Blue;
+            appearance43.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance43.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Source.DisplayLayout.Override.SummaryValueAppearance = appearance43;
+            appearance44.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_Source.DisplayLayout.Override.TemplateAddRowAppearance = appearance44;
+            this.gd_Source.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_Source.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_Source.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_Source.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_Source.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gd_Source.Location = new System.Drawing.Point(3, 18);
+            this.gd_Source.Name = "gd_Source";
+            this.gd_Source.Size = new System.Drawing.Size(666, 325);
+            this.gd_Source.TabIndex = 0;
+            this.gd_Source.TabStop = false;
+            this.gd_Source.Text = "中厚板厂转运板加信息";
+            this.gd_Source.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gd_Source_CellChange);
+            // 
+            // DT_KCJ_SOURCE
+            // 
+            this.DT_KCJ_SOURCE.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn1,
+            this.dataColumn2,
+            this.dataColumn3,
+            this.dataColumn5,
+            this.dataColumn6,
+            this.dataColumn7,
+            this.dataColumn8,
+            this.dataColumn9,
+            this.dataColumn10,
+            this.dataColumn11,
+            this.dataColumn12,
+            this.dataColumn22,
+            this.dataColumn14,
+            this.dataColumn15,
+            this.dataColumn16,
+            this.dataColumn18,
+            this.dataColumn50,
+            this.dataColumn52,
+            this.dataColumn4,
+            this.dataColumn13,
+            this.dataColumn17});
+            this.DT_KCJ_SOURCE.TableName = "KCJ_SOURCE";
+            // 
+            // dataColumn1
+            // 
+            this.dataColumn1.ColumnName = "BILLETID";
+            // 
+            // dataColumn2
+            // 
+            this.dataColumn2.ColumnName = "PRODUCTLINE";
+            // 
+            // dataColumn3
+            // 
+            this.dataColumn3.ColumnName = "ROLLNUMBER";
+            // 
+            // dataColumn5
+            // 
+            this.dataColumn5.ColumnName = "STOVENO";
+            // 
+            // dataColumn6
+            // 
+            this.dataColumn6.ColumnName = "PLANNO";
+            // 
+            // dataColumn7
+            // 
+            this.dataColumn7.ColumnName = "ORDERNO";
+            // 
+            // dataColumn8
+            // 
+            this.dataColumn8.ColumnName = "PLY";
+            this.dataColumn8.DataType = typeof(decimal);
+            // 
+            // dataColumn9
+            // 
+            this.dataColumn9.ColumnName = "WIDTH";
+            this.dataColumn9.DataType = typeof(decimal);
+            // 
+            // dataColumn10
+            // 
+            this.dataColumn10.ColumnName = "LENGTH";
+            this.dataColumn10.DataType = typeof(decimal);
+            // 
+            // dataColumn11
+            // 
+            this.dataColumn11.ColumnName = "THEORYWEIGHT";
+            this.dataColumn11.DataType = typeof(decimal);
+            // 
+            // dataColumn12
+            // 
+            this.dataColumn12.ColumnName = "FACEQUALITY";
+            // 
+            // dataColumn22
+            // 
+            this.dataColumn22.ColumnName = "DETERMINANTCARDNUMBER";
+            // 
+            // dataColumn14
+            // 
+            this.dataColumn14.ColumnName = "DETERMINANTRESULT";
+            // 
+            // dataColumn15
+            // 
+            this.dataColumn15.ColumnName = "SOURCEID";
+            // 
+            // dataColumn16
+            // 
+            this.dataColumn16.ColumnName = "FLAG";
+            // 
+            // dataColumn18
+            // 
+            this.dataColumn18.ColumnName = "SENDTIME";
+            // 
+            // dataColumn50
+            // 
+            this.dataColumn50.ColumnName = "ATTESTATIONORGAN";
+            // 
+            // dataColumn52
+            // 
+            this.dataColumn52.ColumnName = "ORDERBUYER";
+            // 
+            // dataColumn4
+            // 
+            this.dataColumn4.ColumnName = "PLANVEHICLEID";
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(672, 304);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 346);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(672, 304);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 0;
+            this.ultraExpandableGroupBox1.Text = "原料接收入库信息";
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.gd_Receive);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(666, 282);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // gd_Receive
+            // 
+            this.gd_Receive.DataSource = this.DT_KCJ_STORAGELIST;
+            appearance45.BackColor = System.Drawing.Color.Ivory;
+            this.gd_Receive.DisplayLayout.Appearance = appearance45;
+            appearance46.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn22.CellAppearance = appearance46;
+            ultraGridColumn22.Header.Caption = "序号";
+            ultraGridColumn22.Header.VisiblePosition = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 23);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            appearance47.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn23.CellAppearance = appearance47;
+            ultraGridColumn23.Header.Caption = "产线";
+            ultraGridColumn23.Header.VisiblePosition = 2;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 23);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "轧编号";
+            ultraGridColumn24.Header.VisiblePosition = 3;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 23);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn25.Header.Caption = "母板号";
+            ultraGridColumn25.Header.VisiblePosition = 4;
+            ultraGridColumn25.Hidden = true;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(0, 23);
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            appearance48.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            appearance48.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance48.TextVAlign = Infragistics.Win.VAlign.Middle;
+            ultraGridColumn26.CellAppearance = appearance48;
+            ultraGridColumn26.Header.Caption = "炉号";
+            ultraGridColumn26.Header.VisiblePosition = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 20);
+            ultraGridColumn26.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn27.Header.Caption = "计划号";
+            ultraGridColumn27.Header.VisiblePosition = 6;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 23);
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            appearance49.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn28.CellAppearance = appearance49;
+            ultraGridColumn28.Header.Caption = "订单号";
+            ultraGridColumn28.Header.VisiblePosition = 7;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(81, 23);
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            appearance50.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
+            ultraGridColumn29.CellAppearance = appearance50;
+            ultraGridColumn29.Header.Caption = "厚度";
+            ultraGridColumn29.Header.VisiblePosition = 5;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(62, 23);
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            appearance51.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn30.CellAppearance = appearance51;
+            ultraGridColumn30.Header.Caption = "宽度";
+            ultraGridColumn30.Header.VisiblePosition = 9;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 23);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "长度";
+            ultraGridColumn31.Header.VisiblePosition = 10;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 23);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            appearance52.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            appearance52.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
+            ultraGridColumn32.CellAppearance = appearance52;
+            ultraGridColumn32.Header.Caption = "重量";
+            ultraGridColumn32.Header.VisiblePosition = 8;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 23);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn33.Header.Caption = "表面质量";
+            ultraGridColumn33.Header.VisiblePosition = 12;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(74, 23);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            appearance53.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            appearance53.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance53.TextVAlign = Infragistics.Win.VAlign.Middle;
+            ultraGridColumn34.CellAppearance = appearance53;
+            ultraGridColumn34.Header.Caption = "缺陷类型";
+            ultraGridColumn34.Header.VisiblePosition = 13;
+            ultraGridColumn34.Hidden = true;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(80, 23);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "牌号";
+            ultraGridColumn35.Header.VisiblePosition = 15;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 23);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "切边类型";
+            ultraGridColumn36.Header.VisiblePosition = 16;
+            ultraGridColumn36.Hidden = true;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 23);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            appearance54.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            appearance54.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            ultraGridColumn37.CellAppearance = appearance54;
+            ultraGridColumn37.Header.Caption = "判定结果";
+            ultraGridColumn37.Header.VisiblePosition = 11;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 23);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "来料明细号";
+            ultraGridColumn38.Header.VisiblePosition = 17;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(91, 23);
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            appearance55.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance55.TextVAlign = Infragistics.Win.VAlign.Middle;
+            ultraGridColumn39.CellAppearance = appearance55;
+            ultraGridColumn39.Header.Caption = "入库时间";
+            ultraGridColumn39.Header.VisiblePosition = 14;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 23);
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredLabelSize = new System.Drawing.Size(0, 27);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            appearance56.BackColor = System.Drawing.Color.LightGoldenrodYellow;
+            ultraGridColumn40.CellAppearance = appearance56;
+            ultraGridColumn40.Header.Caption = "吊号";
+            ultraGridColumn40.Header.VisiblePosition = 18;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "验收人";
+            ultraGridColumn41.Header.VisiblePosition = 19;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "入库人";
+            ultraGridColumn42.Header.VisiblePosition = 20;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "班次";
+            ultraGridColumn43.Header.VisiblePosition = 21;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "班组";
+            ultraGridColumn44.Header.VisiblePosition = 22;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "堆位";
+            ultraGridColumn45.Header.VisiblePosition = 23;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "备注";
+            ultraGridColumn46.Header.VisiblePosition = 24;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "原计划号";
+            ultraGridColumn47.Header.VisiblePosition = 25;
+            ultraGridColumn47.Hidden = true;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
+            ultraGridColumn48.Header.Caption = "原订单号";
+            ultraGridColumn48.Header.VisiblePosition = 26;
+            ultraGridColumn48.Hidden = true;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.SortIndicator = Infragistics.Win.UltraWinGrid.SortIndicator.Disabled;
+            ultraGridColumn49.Header.Caption = "交货期";
+            ultraGridColumn49.Header.VisiblePosition = 27;
+            ultraGridColumn49.Hidden = true;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "认证机构";
+            ultraGridColumn50.Header.VisiblePosition = 28;
+            ultraGridColumn50.Hidden = true;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "客户订单号";
+            ultraGridColumn51.Header.VisiblePosition = 29;
+            ultraGridColumn51.Hidden = true;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "业务类型";
+            ultraGridColumn52.Header.VisiblePosition = 30;
+            ultraGridColumn52.Hidden = true;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.EditorControl = this.uCmb_BuyCode;
+            ultraGridColumn53.Header.Caption = "客户名称";
+            ultraGridColumn53.Header.VisiblePosition = 31;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "合同号";
+            ultraGridColumn54.Header.VisiblePosition = 32;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32,
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54});
+            appearance57.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance57;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance58.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance58.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings3.Appearance = appearance58;
+            summarySettings3.DisplayFormat = "{0}";
+            summarySettings3.GroupBySummaryValueAppearance = appearance59;
+            summarySettings3.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            appearance60.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance60.TextVAlign = Infragistics.Win.VAlign.Middle;
+            summarySettings4.Appearance = appearance60;
+            summarySettings4.DisplayFormat = "{0:.###}";
+            summarySettings4.GroupBySummaryValueAppearance = appearance61;
+            summarySettings4.SummaryDisplayArea = ((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas)((Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed | Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.InGroupByRows)));
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4});
+            ultraGridBand2.UseRowLayout = true;
+            this.gd_Receive.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gd_Receive.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance62.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance62.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance62.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance62.BorderColor = System.Drawing.SystemColors.Window;
+            this.gd_Receive.DisplayLayout.GroupByBox.Appearance = appearance62;
+            appearance63.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gd_Receive.DisplayLayout.GroupByBox.BandLabelAppearance = appearance63;
+            this.gd_Receive.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_Receive.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance64.BackColor = System.Drawing.SystemColors.Window;
+            appearance64.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gd_Receive.DisplayLayout.Override.ActiveCellAppearance = appearance64;
+            appearance65.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance65.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gd_Receive.DisplayLayout.Override.ActiveRowAppearance = appearance65;
+            this.gd_Receive.DisplayLayout.Override.AllowUpdate = Infragistics.Win.DefaultableBoolean.False;
+            this.gd_Receive.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.gd_Receive.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance66.BorderColor = System.Drawing.Color.Black;
+            appearance66.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Receive.DisplayLayout.Override.CellAppearance = appearance66;
+            this.gd_Receive.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gd_Receive.DisplayLayout.Override.CellPadding = 0;
+            appearance67.BackColor = System.Drawing.SystemColors.Control;
+            appearance67.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance67.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance67.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance67.BorderColor = System.Drawing.SystemColors.Window;
+            appearance67.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance67.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Receive.DisplayLayout.Override.GroupByRowAppearance = appearance67;
+            this.gd_Receive.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance68.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_Receive.DisplayLayout.Override.HeaderAppearance = appearance68;
+            this.gd_Receive.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance69.BackColor = System.Drawing.SystemColors.Window;
+            appearance69.BorderColor = System.Drawing.Color.Black;
+            appearance69.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Receive.DisplayLayout.Override.RowAppearance = appearance69;
+            appearance70.BackColor = System.Drawing.SystemColors.Window;
+            appearance70.BorderColor = System.Drawing.Color.Black;
+            appearance70.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Receive.DisplayLayout.Override.RowPreviewAppearance = appearance70;
+            this.gd_Receive.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_Receive.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_Receive.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance71.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance71.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Receive.DisplayLayout.Override.SelectedRowAppearance = appearance71;
+            this.gd_Receive.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance72.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_Receive.DisplayLayout.Override.SummaryFooterAppearance = appearance72;
+            appearance73.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance73.ForeColor = System.Drawing.Color.Red;
+            this.gd_Receive.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance73;
+            this.gd_Receive.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance74.BackColor = System.Drawing.Color.MistyRose;
+            appearance74.ForeColor = System.Drawing.Color.Blue;
+            appearance74.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance74.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_Receive.DisplayLayout.Override.SummaryValueAppearance = appearance74;
+            appearance75.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_Receive.DisplayLayout.Override.TemplateAddRowAppearance = appearance75;
+            this.gd_Receive.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_Receive.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_Receive.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_Receive.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_Receive.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gd_Receive.Location = new System.Drawing.Point(0, 0);
+            this.gd_Receive.Name = "gd_Receive";
+            this.gd_Receive.Size = new System.Drawing.Size(666, 282);
+            this.gd_Receive.TabIndex = 0;
+            this.gd_Receive.TabStop = false;
+            this.gd_Receive.Text = "板加接收中厚板厂入库信息";
+            // 
+            // DT_KCJ_STORAGELIST
+            // 
+            this.DT_KCJ_STORAGELIST.Columns.AddRange(new System.Data.DataColumn[] {
+            this.dataColumn19,
+            this.dataColumn23,
+            this.dataColumn24,
+            this.dataColumn25,
+            this.dataColumn26,
+            this.dataColumn27,
+            this.dataColumn28,
+            this.dataColumn29,
+            this.dataColumn30,
+            this.dataColumn31,
+            this.dataColumn32,
+            this.dataColumn33,
+            this.dataColumn34,
+            this.dataColumn35,
+            this.dataColumn36,
+            this.dataColumn37,
+            this.dataColumn38,
+            this.dataColumn39,
+            this.dataColumn40,
+            this.dataColumn41,
+            this.dataColumn42,
+            this.dataColumn43,
+            this.dataColumn44,
+            this.dataColumn45,
+            this.dataColumn46,
+            this.dataColumn47,
+            this.dataColumn48,
+            this.dataColumn49,
+            this.dataColumn51,
+            this.dataColumn53,
+            this.dataColumn55,
+            this.dataColumn20,
+            this.dataColumn21});
+            this.DT_KCJ_STORAGELIST.TableName = "KCJ_STORAGELIST";
+            // 
+            // dataColumn19
+            // 
+            this.dataColumn19.ColumnName = "BILLETID";
+            // 
+            // dataColumn23
+            // 
+            this.dataColumn23.ColumnName = "PRODUCTLINE";
+            // 
+            // dataColumn24
+            // 
+            this.dataColumn24.ColumnName = "ROLLNUMBER";
+            // 
+            // dataColumn25
+            // 
+            this.dataColumn25.ColumnName = "MOTHERBOARDNUMBER";
+            // 
+            // dataColumn26
+            // 
+            this.dataColumn26.ColumnName = "STOVENO";
+            // 
+            // dataColumn27
+            // 
+            this.dataColumn27.ColumnName = "PLANNO";
+            // 
+            // dataColumn28
+            // 
+            this.dataColumn28.ColumnName = "ORDERNO";
+            // 
+            // dataColumn29
+            // 
+            this.dataColumn29.ColumnName = "PLY";
+            this.dataColumn29.DataType = typeof(decimal);
+            // 
+            // dataColumn30
+            // 
+            this.dataColumn30.ColumnName = "WIDTH";
+            this.dataColumn30.DataType = typeof(decimal);
+            // 
+            // dataColumn31
+            // 
+            this.dataColumn31.ColumnName = "LENGTH";
+            this.dataColumn31.DataType = typeof(decimal);
+            // 
+            // dataColumn32
+            // 
+            this.dataColumn32.ColumnName = "THEORYWEIGHT";
+            this.dataColumn32.DataType = typeof(decimal);
+            // 
+            // dataColumn33
+            // 
+            this.dataColumn33.ColumnName = "FACEQUALITY";
+            // 
+            // dataColumn34
+            // 
+            this.dataColumn34.ColumnName = "BUGREASON";
+            // 
+            // dataColumn35
+            // 
+            this.dataColumn35.ColumnName = "DETERMINANTCARDNUMBER";
+            // 
+            // dataColumn36
+            // 
+            this.dataColumn36.ColumnName = "CLIPTYPEPROCESS";
+            // 
+            // dataColumn37
+            // 
+            this.dataColumn37.ColumnName = "DETERMINANTRESULT";
+            // 
+            // dataColumn38
+            // 
+            this.dataColumn38.ColumnName = "SOURCEID";
+            // 
+            // dataColumn39
+            // 
+            this.dataColumn39.ColumnName = "INTIME";
+            // 
+            // dataColumn40
+            // 
+            this.dataColumn40.ColumnName = "CONDOLENUMBER";
+            // 
+            // dataColumn41
+            // 
+            this.dataColumn41.ColumnName = "CHECKOPERATOR";
+            // 
+            // dataColumn42
+            // 
+            this.dataColumn42.ColumnName = "IN_MAN";
+            // 
+            // dataColumn43
+            // 
+            this.dataColumn43.ColumnName = "INCLASSORDER";
+            // 
+            // dataColumn44
+            // 
+            this.dataColumn44.ColumnName = "INCLASSTEAM";
+            // 
+            // dataColumn45
+            // 
+            this.dataColumn45.ColumnName = "BUTTRESS";
+            // 
+            // dataColumn46
+            // 
+            this.dataColumn46.ColumnName = "REMARK";
+            // 
+            // dataColumn47
+            // 
+            this.dataColumn47.ColumnName = "YPLANNO";
+            // 
+            // dataColumn48
+            // 
+            this.dataColumn48.ColumnName = "YORDERNO";
+            // 
+            // dataColumn49
+            // 
+            this.dataColumn49.ColumnName = "SENDBEGINDATE";
+            // 
+            // dataColumn51
+            // 
+            this.dataColumn51.ColumnName = "ATTESTATIONORGAN";
+            // 
+            // dataColumn53
+            // 
+            this.dataColumn53.ColumnName = "ORDERBUYER";
+            // 
+            // dataColumn55
+            // 
+            this.dataColumn55.ColumnName = "BUSINESS_CATEGORY";
+            // 
+            // ds_All
+            // 
+            this.ds_All.DataSetName = "NewDataSet";
+            this.ds_All.Locale = new System.Globalization.CultureInfo("zh-CN");
+            this.ds_All.Tables.AddRange(new System.Data.DataTable[] {
+            this.DT_KCJ_SOURCE,
+            this.DT_KCJ_STORAGELIST});
+            // 
+            // dataColumn13
+            // 
+            this.dataColumn13.ColumnName = "BUYERNAME";
+            // 
+            // dataColumn17
+            // 
+            this.dataColumn17.ColumnName = "PACTNO";
+            // 
+            // uCmb_BuyCode
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.uCmb_BuyCode.Appearance = appearance1;
+            this.uCmb_BuyCode.AutoSize = true;
+            this.uCmb_BuyCode.Enabled = false;
+            valueListItem1.DataValue = "0";
+            valueListItem1.DisplayText = "中厚板线";
+            valueListItem2.DataValue = "1";
+            valueListItem2.DisplayText = "线棒材";
+            valueListItem3.DataValue = "2";
+            valueListItem3.DisplayText = "卷板线";
+            this.uCmb_BuyCode.Items.Add(valueListItem1);
+            this.uCmb_BuyCode.Items.Add(valueListItem2);
+            this.uCmb_BuyCode.Items.Add(valueListItem3);
+            this.uCmb_BuyCode.Location = new System.Drawing.Point(768, 10);
+            this.uCmb_BuyCode.Name = "uCmb_BuyCode";
+            this.uCmb_BuyCode.Size = new System.Drawing.Size(98, 21);
+            this.uCmb_BuyCode.TabIndex = 212;
+            this.uCmb_BuyCode.Visible = false;
+            // 
+            // dataColumn20
+            // 
+            this.dataColumn20.ColumnName = "BUYERNAME";
+            // 
+            // dataColumn21
+            // 
+            this.dataColumn21.ColumnName = "PACTNO";
+            // 
+            // Frm_ReceiveStuff
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(864, 746);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_ReceiveStuff";
+            this.Text = "原料接收入库管理";
+            this.Load += new System.EventHandler(this.Frm_ReceiveStuff_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SendList)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BilletID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DHDate)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buttress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_CheckMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_InMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOrder)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox3)).EndInit();
+            this.ultraGroupBox3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_Source)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_SOURCE)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_Receive)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.DT_KCJ_STORAGELIST)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ds_All)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.uCmb_BuyCode)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+        public string strlx = "";
+		private void chk_Time_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.dte_BeginTime.Enabled = this.chk_Time.Checked;
+			this.dte_EndTime.Enabled = this.chk_Time.Checked;
+		}
+
+		private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+		}
+
+		private void chk_PlanID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_PlanID.Enabled=chk_PlanID.Checked;
+		}
+		private void chk_BilletID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_BilletID.Enabled = this.chk_BilletID.Checked;
+		}
+		
+
+		private void chk_RollNum_CheckedChanged(object sender, System.EventArgs e)
+		{
+			txt_RollTop.Enabled = this.chk_RollNum.Checked;
+			txt_RollNOBegin.Enabled = this.chk_RollNum.Checked;
+			txt_RollNOEnd.Enabled = this.chk_RollNum.Checked;
+		}
+
+		private void chk_SendList_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_SendList.Enabled = this.chk_SendList.Checked;
+		}
+
+		private void cmb_CheckMan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if (e.KeyCode == Keys.Return)
+					System.Windows.Forms.SendKeys.Send("{Tab}");
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gd_Source.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gd_Source.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gd_Receive.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gd_Receive.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+				}
+				else
+				{
+					this.gd_Source.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gd_Source.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gd_Source.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gd_Source.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gd_Source.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gd_Receive.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gd_Receive.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gd_Receive.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gd_Receive.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gd_Receive.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void gd_Source_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(Comm.ObjToStr(e.Cell.Value).ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gd_Source;
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in tmpGrid.Rows)
+				{
+					if(!row.IsFilteredOut)
+					{
+						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+						row.Update();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Frm_ReceiveStuff_Load(object sender, System.EventArgs e)
+		{
+			this.dte_BeginTime.DateTime = System.DateTime.Now.Date;
+			this.dte_EndTime.DateTime = System.DateTime.Now.Date;
+			txt_DHDate.Text=System.DateTime.Now.ToString("yyMMdd");
+            if (this.Key.Split('@').Length > 1)
+            {
+                strlx = this.Key.Split('@')[1];
+            }
+			try
+			{
+				this.IniComb();
+
+				Comm.SetGridSumArea(this.gd_Source);
+				Comm.SetGridSumArea(this.gd_Receive);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "RECEIVE":
+					this.Stuff_Receive();
+					break;
+
+                case "DEL_YL":
+                    Del_Stuff_Receive();
+                    break;
+                case "ImportYL":
+                    Import_Table();
+                    break;
+
+				case "REFRESH":
+                    this.GetSendSource(this.GetWhere("SOURCE"), ClientCommon._UserInfo.UserRoleID.ToString());
+					break;
+
+				case "QUERY_RECEIVE":
+					this.GetInKC(this.GetWhere(""));
+					break;
+
+				case"RECEIVE_TO_EXCEL":
+					this.Export(this.gd_Receive,"板加接收中厚板厂转运入库信息");
+					break;
+
+				case"CLOSE":
+					this.Close();
+					break;
+			}
+		
+		}
+
+		#region IniWindow
+		private void IniComb()
+		{
+			string strOut = "";
+			string sql = "";
+			DataSet ds; 
+
+			try
+			{
+				//班次
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);		
+		
+				//班组
+				sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+				ds.Tables[0].TableName="SCM_BASE_INFO";
+
+				Comm.Init_ComboControl(this.cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);	
+
+			
+				
+				
+                    sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'";
+                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                    ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                    Comm.Init_ComboControl(this.cmb_CheckMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+                    //入库人
+                    sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '514003'";
+                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                    ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                    Comm.Init_ComboControl(this.cmb_InMan, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+                    //堆位
+                    if (strlx == "1")
+                    {
+                        sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(板材)' ORDER BY BUTTRESSCODE ";
+                    }
+                    else if (strlx == "2")
+                    {
+                        sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(棒线材)' ORDER BY BUTTRESSCODE ";
+                    }
+                    ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                    ds.Tables[0].TableName = "KCJ_BUTTRESS";
+
+                    Comm.Init_ComboControl(this.cmb_Buttress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+                    Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+
+                    sql = "SELECT A.BUYERCODE ID_,A.BUYERNAME NAME_ FROM SEL_BUYERBASEINFO A";
+
+                    Object obj1 = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("TurnoffReport", "Core.XgMes.Server.TurnoffReport.TurnoffSCC_ZL",
+                           "getData", new object[] { sql }, out strOut) as DataSet;
+                    if (obj1 != null)
+                    {
+                        DataView dvw = ((DataSet)obj1).Tables[0].DefaultView;
+
+                        for (int i = 0; i < dvw.Count; i++)
+                        {
+                            uCmb_BuyCode.Items.Add(dvw[i][0].ToString(), dvw[i][1].ToString());
+
+                        }
+                    }
+               
+			
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+	
+
+		#endregion		
+
+		#region 查询
+		/// <summary>
+		/// 获取查询条件
+		/// </summary>
+		/// <param name=" _QueryType">查询类型</param>
+		/// <returns></returns>
+		private string GetWhere(string _QueryType)
+		{
+			string rtnStr="";
+
+            if (_QueryType == "SOURCE")
+            {
+                if (this.txt_SendList.Enabled && this.txt_SendList.Text.Trim().Length > 0)
+                {
+                    rtnStr += " AND A.PLANVEHICLEID LIKE '" + this.txt_SendList.Text.Trim() + "%'";
+                }
+                else
+                {
+                   
+                    return "";
+                }
+            }
+            else
+            {
+                if (this.dte_BeginTime.Enabled && this.dte_EndTime.Enabled)
+                {
+
+
+                    rtnStr += " AND A.INTIME BETWEEN TO_DATE('" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "','yyyy-MM-dd') "
+                            + " AND TO_DATE('" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + " 23:59:59','yyyy-MM-dd hh24:mi:ss') ";
+                }
+
+
+                    if (this.txt_OrderNO.Enabled && this.txt_OrderNO.Text.Trim().Length > 0)
+                        rtnStr += " AND A.ORDERNO LIKE '" + this.txt_OrderNO.Text.Trim() + "%'";
+
+                    if (this.txt_PlanID.Enabled && this.txt_PlanID.Text.Trim().Length > 0)
+                        rtnStr += " AND A.PLANNO LIKE '" + this.txt_PlanID.Text.Trim() + "%'";
+
+                    if (this.txt_BilletID.Enabled && this.txt_BilletID.Text.Trim().Length > 0)
+                        rtnStr += " AND A.BILLETID LIKE '" + this.txt_BilletID.Text.Trim() + "%'";
+
+                    if (this.chk_RollNum.Checked)
+                    {
+                        rtnStr += " AND SUBSTR(A.ROLLNUMBER,1,INSTR(A.ROLLNUMBER,'-')-1)='" + Comm.ObjToStr(this.txt_RollTop.Text.Trim()) + "' ";
+                        if (this.txt_RollNOBegin.Text.Trim().Length == 5 && this.txt_RollNOEnd.Text.Trim().Length < 5)
+                        {
+                            rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)='" + this.txt_RollNOBegin.Text.Trim() + "'";
+                        }
+                        if (this.txt_RollNOBegin.Text.Trim().Length < 5 && this.txt_RollNOEnd.Text.Trim().Length == 5)
+                        {
+                            rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='" + this.txt_RollNOEnd.Text.Trim() + "'";
+                        }
+                        if (this.txt_RollNOBegin.Text.Trim().Length == 5 && this.txt_RollNOEnd.Text.Trim().Length == 5)
+                        {
+                            rtnStr += " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)<='" + this.txt_RollNOEnd.Text.Trim() + "'"
+                                + " AND SUBSTR(A.ROLLNUMBER,INSTR(A.ROLLNUMBER,'-')+1,5)>='" + this.txt_RollNOBegin.Text.Trim() + "'";
+                        }
+                    }
+                    if (strlx == "1")
+                    {
+                        rtnStr += " AND (A.ROLLNUMBER LIKE 'H%' OR A.ROLLNUMBER LIKE 'Z%'   )  ";
+                    }
+                    if (strlx == "2")
+                    {
+                        rtnStr += " (A.ROLLNUMBER LIKE 'E%' OR A.ROLLNUMBER LIKE 'Y%'  OR A.ROLLNUMBER LIKE 'B%' ) ";
+                    }
+                    if (this.txt_SendList.Enabled && this.txt_SendList.Text.Trim().Length > 0)
+                    {
+                        rtnStr += " AND A.PLANVEHICLEID LIKE '" + this.txt_SendList.Text.Trim() + "%'";
+                    }
+                    if (this.cmb_Buress.Enabled && this.cmb_Buress.Text.Trim().Length > 0)
+                    {
+                        rtnStr += "AND I.BUTTRESS='" + this.cmb_Buress.Text.Trim() + "'";
+                    }
+                
+            }
+			return rtnStr;
+ 
+		}
+
+		/// <summary>
+		/// 获取来料信息
+		/// </summary>
+		/// <param name=" _Condition">条件</param>
+		/// <returns></returns>
+		private void GetSendSource(string _Condition,string strName)
+		{
+			try
+			{
+				string strOut = "";
+                if (_Condition == "")
+                {
+                    MessageBox.Show("请输入正确的发运号进行查询!!!!");
+                    return;
+                }
+				this.ds_All.Tables["KCJ_SOURCE"].Clear();
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
+                    "GetSource", new object[] { _Condition, strName, strlx }, out strOut);
+
+				if(strOut == "")
+					this.ds_All.Merge(ds);
+
+				this.ds_All.Tables["KCJ_SOURCE"].AcceptChanges();					
+				Comm.SetGridSumArea(this.gd_Source);
+				
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+
+
+        /// <summary>
+        /// 获取已导入来料信息
+        /// </summary>
+        /// <param name=" _Condition">条件</param>
+        /// <returns></returns>
+        private void GetSendSourceImport()
+        {
+            try
+            {
+                string strOut = "";
+                this.ds_All.Tables["KCJ_SOURCE"].Clear();
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
+                    "GetSourceImport", new object[] {strlx }, out strOut);
+
+                if (strOut == "")
+                    this.ds_All.Merge(ds);
+
+                this.ds_All.Tables["KCJ_SOURCE"].AcceptChanges();
+                Comm.SetGridSumArea(this.gd_Source);
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+
+        }
+		/// <summary>
+		/// 获取入库信息
+		/// </summary>
+		/// <param name=" _Condition">条件</param>
+		/// <returns></returns>
+		private void GetInKC(string _Condition)
+		{
+			try
+			{
+				string strOut = "";
+				this.ds_All.Tables["KCJ_STORAGELIST"].Clear();
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
+					"GetInStorage",new object[]{_Condition},out strOut);
+
+				if(strOut == "")
+					this.ds_All.Merge(ds);
+
+				this.ds_All.Tables["KCJ_STORAGELIST"].AcceptChanges();					
+				Comm.SetGridSumArea(this.gd_Receive);
+				
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+
+		}
+
+		#endregion
+
+		#region 入库
+		/// <summary>
+		/// 检查原料入库数据
+		/// </summary>
+		/// <returns></returns>
+		private bool CheckSource()
+		{
+			try
+			{
+				this.gd_Source.UpdateData();
+				System.Data.DataRow[] rows = this.ds_All.Tables["KCJ_SOURCE"].Select("FLAG='TRUE'");
+				if(rows.Length == 0)
+				{
+					MessageBox.Show("请您选择要接收入库的板块","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				if(this.cmb_CheckMan.Text.Trim().Length == 0)
+				{
+					MessageBox.Show("验收人为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				if(this.cmb_InMan.Text.Trim().Length == 0)
+				{
+					MessageBox.Show("入库人为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				if(this.cmb_ClassOrder.Text.Trim().Length == 0)
+				{
+					MessageBox.Show("入库班次为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				if(this.cmb_ClassTeam.Text.Trim().Length == 0)
+				{
+					MessageBox.Show("入库班组为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				if(this.cmb_ClassTeam.Text.Trim().Length == 0)
+				{
+					MessageBox.Show("入库堆位为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				if(this.txt_DH.Text.Trim().Length == 0)
+				{
+					MessageBox.Show("板块吊号为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return false;
+				}
+				return true;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return false;
+			}
+		}
+		
+		/// <summary>
+		/// 原料接收入库
+		/// </summary>
+		/// <returns></returns>
+		private void Stuff_Receive()
+		{
+			if(!this.CheckSource())
+				return;
+
+			try
+			{
+				System.Collections.ArrayList Billets = new ArrayList();
+				Billets = Comm.GetFieldValue(this.gd_Source,"FLAG","BILLETID");
+
+				System.Collections.ArrayList Others = new ArrayList();
+				Others.Add(this.cmb_CheckMan.Text.Trim());
+				Others.Add(this.cmb_InMan.Text.Trim());
+				Others.Add(Comm.ObjToStr(this.cmb_ClassOrder.Value));
+				Others.Add(Comm.ObjToStr(this.cmb_ClassTeam.Value));
+				Others.Add(Comm.ObjToStr(this.cmb_Buttress.Value));
+				Others.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+				Others.Add(this.txt_DHDate.Text.Trim()+"-"+this.txt_DH.Text.Trim());
+                Others.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserRoleID);
+
+				string strOut = "";
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
+					"Stuff_Receive",new object[]{Billets,Others },out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{
+					System.Data.DataRow[] rows = this.ds_All.Tables["KCJ_SOURCE"].Select("FLAG='TRUE'");
+					for(int i=0;i < rows.Length ;i++)
+					{
+						this.ds_All.Tables["KCJ_SOURCE"].Rows.Remove(rows[i]);
+						this.ds_All.Tables["KCJ_SOURCE"].AcceptChanges();
+					}
+					Comm.SetGridSumArea(this.gd_Source);
+
+					string	rtnStr = " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') >='"+System.DateTime.Now.ToString("yyyy-MM-dd")+"' "
+						+ " AND TO_CHAR(A.INTIME,'YYYY-MM-DD') <='"+System.DateTime.Now.ToString("yyyy-MM-dd")+"' ";
+					this.GetInKC(rtnStr);
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		#endregion
+
+		#region 撤销入库
+		/// <summary>
+		/// 撤销原料接收入库
+		/// </summary>
+		/// <returns></returns>
+		private void Del_Stuff_Receive()
+		{
+			System.Collections.ArrayList Billets = new ArrayList();
+			string strOut = "";
+			try
+			{
+				//获取板块序号
+				foreach ( Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gd_Receive.Selected.Rows )
+				{
+					if (row.IsFilteredOut == true) continue;
+					Billets.Add(Comm.ObjToStr(row.Cells["BILLETID"].Value));
+				}
+
+				if(Billets.Count==0)
+				{
+					MessageBox.Show("请您选择要撤销的板块信息","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+					return;
+				}
+				
+				System.Collections.ArrayList Others = new ArrayList();
+				Others.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
+							"Stuff_Del_Recevie",new object[]{Billets,Others},out strOut);
+				if(obj!=null && obj.ToString()=="1")
+				{	
+					System.Data.DataRow []  rows;
+					for(int i=0 ; i< Billets.Count; i++)
+					{
+						rows = this.ds_All.Tables["KCJ_STORAGELIST"].Select("BILLETID='"+Convert.ToString(Billets[i])+"'");
+						this.ds_All.Tables["KCJ_STORAGELIST"].Rows.Remove(rows[0]);
+						this.ds_All.Tables["KCJ_STORAGELIST"].AcceptChanges();
+
+					}
+					Comm.SetGridSumArea(this.gd_Receive);
+
+					//this.GetSendSource("","");
+
+					
+				}
+				else
+				{
+					MessageBox.Show(strOut,"提示",MessageBoxButtons.OK,MessageBoxIcon.Warning);
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		
+		#endregion
+
+		#region "导出"
+		private void Export(Infragistics.Win.UltraWinGrid.UltraGrid _gd,string _title)
+		{
+			try
+			{
+				string filename =_title+@".xls";
+				this.excelExporter.Export(_gd,filename);
+				System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+				st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ; 
+				System.Diagnostics.Process.Start(st);
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		private void Chk_Buttress_CheckedChanged(object sender, System.EventArgs e)
+		{
+	      this.cmb_Buress.Enabled=this.Chk_Buttress.Checked;
+		}
+
+        private void Import_Table()
+        {
+            try
+            {
+                DataSet ds = new DataSet();
+                DataTable dt = null;
+                string FileName = "";
+                System.Windows.Forms.OpenFileDialog open = new OpenFileDialog();
+                open.Filter = "*.xls|";
+                open.Title = "导入原料数据";
+                open.ShowDialog();
+                if (open.FileName != "")
+                {
+                    FileName = open.FileName;
+                    FileStream fs = new FileStream(FileName, FileMode.Open, FileAccess.Read);
+                    NPOI.HSSF.UserModel.HSSFWorkbook book = new NPOI.HSSF.UserModel.HSSFWorkbook(fs);
+                    int sheetCount = book.NumberOfSheets;
+                    for (int sheetIndex = 0; sheetIndex < sheetCount; sheetIndex++)
+                    {
+                        NPOI.SS.UserModel.ISheet sheet = book.GetSheetAt(sheetIndex);
+                        if (sheet == null) continue;
+
+                        NPOI.SS.UserModel.IRow row = sheet.GetRow(0);
+                        if (row == null) continue;
+
+                        int firstCellNum = row.FirstCellNum;
+                        int lastCellNum = row.LastCellNum;
+                        if (firstCellNum == lastCellNum) continue;
+
+                        dt = new DataTable(sheet.SheetName);
+                        try
+                        {
+                            for (int i = firstCellNum; i < lastCellNum; i++)
+                            {
+                                if (row.GetCell(i) != null)
+                                {
+                                    Type ty = row.GetCell(i).StringCellValue.GetType();
+                                    dt.Columns.Add(row.GetCell(i).StringCellValue, typeof(string));
+                                }
+                            }
+                        }
+                        catch (Exception ex)
+                        {
+                        }
+
+                        for (int i = 1; i <= sheet.LastRowNum; i++)
+                        {
+                            DataRow newRow = dt.Rows.Add();
+                            NPOI.SS.UserModel.IRow row1 = sheet.GetRow(i);
+                            NPOI.SS.UserModel.ICellStyle cellStyle = null;
+                            NPOI.SS.UserModel.ICell cell = null;
+                            try
+                            {
+
+                                for (int j = firstCellNum; j < lastCellNum; j++)
+                                {
+
+                                    
+                                    if (row1 != null)
+                                    {
+                                        if (row.GetCell(i) != null)
+                                        {
+                                            cell = row.GetCell(j);
+                                            if (cell!=null)
+                                            {
+                                            if (cell.GetType() != null)
+                                            {
+                                                // NPOI.SS.UserModel.CellType celltype = sheet.GetRow(i).GetCell(j).CellType;
+                                                try
+                                                {
+
+                                                    if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Numeric)
+                                                    {
+                                                        newRow[j] = row1.GetCell(j);
+                                                    }
+                                                    else if (cell != null && cell.CellType == NPOI.SS.UserModel.CellType.Formula)
+                                                    {
+                                                        if (cell.CellType == NPOI.SS.UserModel.CellType.Error)
+                                                        {
+                                                            newRow[j] = "";
+                                                        }
+                                                        else
+                                                        {
+                                                            newRow[j] = row1.GetCell(j);
+                                                        }
+
+                                                    }
+                                                    else
+                                                    {
+                                                        if (row1.GetCell(j) != null)
+                                                        {
+                                                            newRow[j] = row1.GetCell(j);
+                                                        }
+                                                        else
+                                                        {
+                                                            newRow[j] = row1.GetCell(j);
+                                                        }
+                                                    }
+
+                                                }
+                                                catch (Exception ex)
+                                                {
+                                                    cellStyle = book.CreateCellStyle();
+                                                    cellStyle.CloneStyleFrom(cellStyle);
+                                                    cellStyle.FillForegroundColor = HSSFColor.Pink.Index;
+                                                    cellStyle.FillPattern = NPOI.SS.UserModel.FillPattern.SolidForeground;
+                                                    row1.GetCell(j).CellStyle = cellStyle;
+                                                    using (FileStream fileStream2 = new FileStream(FileName, FileMode.Create, FileAccess.Write))
+                                                    {
+                                                        book.Write(fileStream2);
+                                                    }
+                                                    MessageBox.Show("格式错误" + ex, "错误提示");
+                                                    return;
+                                                }
+                                            }
+                                        }
+                                        }
+                                    }
+                                }
+                            }
+                            catch (Exception ee)
+                            {
+
+                                throw ee;
+                            }
+                        }
+
+                        ds.Tables.Add(dt);
+                    }
+
+                    #region "处理数据"
+                    if (ds.Tables.Count == 1 && ds.Tables[0].Rows.Count > 0)
+                    {
+                        //myDataSet.Tables[0].Rows.RemoveAt(0);
+                        //myDataSet.Tables[0].AcceptChanges();
+                        string err = "";
+                        string MakeMan = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.StuffRecevie",
+                            "Storginist_Imp", new object[] { ds.Tables[0], MakeMan }, out err);
+                        if (obj.GetType() != typeof(System.DBNull))
+                        {
+                            MessageBox.Show("导入数据成功!", "消息提示");
+                            GetSendSourceImport();
+                        }
+                        else
+                        {
+                            MessageBox.Show(err, "导入失败");
+                        }
+                    }
+                    else
+                    {
+                        MessageBox.Show("未获取导入数据!", "消息提示");
+                    }
+                    #endregion
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                MessageBox.Show("格式错误", "错误提示");
+            }
+        }
+
+	}
+}

+ 129 - 0
Client/.svn/pristine/4b/4b853191346b4476c2ca706a90269ea327a7b979.svn-base

@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+  <metadata name="ds_All.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>330, 17</value>
+  </metadata>
+</root>

+ 1024 - 0
Client/.svn/pristine/4c/4cd7c9e2f354ea4e8ff6c5876e67560c2d77df55.svn-base

@@ -0,0 +1,1024 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// YLButtressQuery 的摘要说明。
+	/// </summary>
+	public class YLButtressQuery : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_piHao;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Pihao;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNo;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNo;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QuYu;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Buress;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Slenn;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Slenn;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Buress;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private System.ComponentModel.IContainer components;
+
+		public YLButtressQuery()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("CLOSE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TAIZH");
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("NOW_BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPM_CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 0);
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 13, true);
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Slenn = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Slenn = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Buress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_QuYu = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanNo = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_Pihao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_piHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gb_Buress = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Slenn)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(840, 32);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "UltraToolbar1";
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            buttonTool5.SharedProps.Caption = "查询";
+            buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool6.SharedProps.Caption = "导出";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool7.SharedProps.Caption = "关闭";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "打印台帐";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool5,
+            buttonTool6,
+            buttonTool7,
+            buttonTool8});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(840, 52);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(840, 52);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(840, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Slenn);
+            this.ultraGroupBox1.Controls.Add(this.chk_Slenn);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Controls.Add(this.chk_Buress);
+            this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
+            this.ultraGroupBox1.Controls.Add(this.chk_QuYu);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanNo);
+            this.ultraGroupBox1.Controls.Add(this.chk_PlanNo);
+            this.ultraGroupBox1.Controls.Add(this.txt_Pihao);
+            this.ultraGroupBox1.Controls.Add(this.chk_piHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
+            this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(840, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.FlatMode = true;
+            this.chk_AllowFilter.Location = new System.Drawing.Point(536, 9);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 12;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // cmb_Slenn
+            // 
+            this.cmb_Slenn.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Slenn.DisplayLayout.Appearance = appearance1;
+            this.cmb_Slenn.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Slenn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Slenn.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Slenn.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.cmb_Slenn.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Slenn.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.cmb_Slenn.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Slenn.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Slenn.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Slenn.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.cmb_Slenn.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Slenn.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Slenn.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Slenn.DisplayLayout.Override.CellAppearance = appearance8;
+            this.cmb_Slenn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Slenn.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Slenn.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Slenn.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.cmb_Slenn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Slenn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Slenn.DisplayLayout.Override.RowAppearance = appearance11;
+            this.cmb_Slenn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Slenn.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.cmb_Slenn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Slenn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Slenn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Slenn.DisplayMember = "";
+            this.cmb_Slenn.Enabled = false;
+            this.cmb_Slenn.FlatMode = true;
+            this.cmb_Slenn.Location = new System.Drawing.Point(417, 32);
+            this.cmb_Slenn.Name = "cmb_Slenn";
+            this.cmb_Slenn.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Slenn.TabIndex = 11;
+            this.cmb_Slenn.ValueMember = "";
+            // 
+            // chk_Slenn
+            // 
+            this.chk_Slenn.FlatMode = true;
+            this.chk_Slenn.Location = new System.Drawing.Point(368, 32);
+            this.chk_Slenn.Name = "chk_Slenn";
+            this.chk_Slenn.Size = new System.Drawing.Size(48, 20);
+            this.chk_Slenn.TabIndex = 10;
+            this.chk_Slenn.Text = "牌号";
+            this.chk_Slenn.CheckedChanged += new System.EventHandler(this.chk_Slenn_CheckedChanged);
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance13.BackColor = System.Drawing.SystemColors.Window;
+            appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_Buress.DisplayLayout.Appearance = appearance13;
+            this.cmb_Buress.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance14.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buress.DisplayLayout.GroupByBox.Appearance = appearance14;
+            appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
+            this.cmb_Buress.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance16.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_Buress.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
+            this.cmb_Buress.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Buress.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance17.BackColor = System.Drawing.SystemColors.Window;
+            appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance17;
+            appearance18.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance18;
+            this.cmb_Buress.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Buress.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance19.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buress.DisplayLayout.Override.CardAreaAppearance = appearance19;
+            appearance20.BorderColor = System.Drawing.Color.Silver;
+            appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_Buress.DisplayLayout.Override.CellAppearance = appearance20;
+            this.cmb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Buress.DisplayLayout.Override.CellPadding = 0;
+            appearance21.BackColor = System.Drawing.SystemColors.Control;
+            appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance21.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance21;
+            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_Buress.DisplayLayout.Override.HeaderAppearance = appearance22;
+            this.cmb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance23.BackColor = System.Drawing.SystemColors.Window;
+            appearance23.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_Buress.DisplayLayout.Override.RowAppearance = appearance23;
+            this.cmb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
+            this.cmb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(417, 8);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Buress.TabIndex = 9;
+            this.cmb_Buress.ValueMember = "";
+            // 
+            // chk_Buress
+            // 
+            this.chk_Buress.FlatMode = true;
+            this.chk_Buress.Location = new System.Drawing.Point(368, 9);
+            this.chk_Buress.Name = "chk_Buress";
+            this.chk_Buress.Size = new System.Drawing.Size(48, 20);
+            this.chk_Buress.TabIndex = 8;
+            this.chk_Buress.Text = "垛位";
+            this.chk_Buress.CheckedChanged += new System.EventHandler(this.chk_Buress_CheckedChanged);
+            // 
+            // cmb_QuYu
+            // 
+            this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance25.BackColor = System.Drawing.SystemColors.Window;
+            appearance25.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_QuYu.DisplayLayout.Appearance = appearance25;
+            this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance26.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance26.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance26.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance26.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance26;
+            appearance27.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance27;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance28.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance28.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance28.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance28;
+            this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance29.BackColor = System.Drawing.SystemColors.Window;
+            appearance29.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance29;
+            appearance30.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance30.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance30;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance31;
+            appearance32.BorderColor = System.Drawing.Color.Silver;
+            appearance32.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance32;
+            this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
+            appearance33.BackColor = System.Drawing.SystemColors.Control;
+            appearance33.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance33.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance33.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance33.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance33;
+            appearance34.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance34;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance35.BackColor = System.Drawing.SystemColors.Window;
+            appearance35.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance35;
+            this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance36.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance36;
+            this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_QuYu.DisplayMember = "";
+            this.cmb_QuYu.Enabled = false;
+            this.cmb_QuYu.FlatMode = true;
+            this.cmb_QuYu.Location = new System.Drawing.Point(244, 32);
+            this.cmb_QuYu.Name = "cmb_QuYu";
+            this.cmb_QuYu.Size = new System.Drawing.Size(112, 19);
+            this.cmb_QuYu.TabIndex = 7;
+            this.cmb_QuYu.ValueMember = "";
+            // 
+            // chk_QuYu
+            // 
+            this.chk_QuYu.FlatMode = true;
+            this.chk_QuYu.Location = new System.Drawing.Point(196, 32);
+            this.chk_QuYu.Name = "chk_QuYu";
+            this.chk_QuYu.Size = new System.Drawing.Size(48, 20);
+            this.chk_QuYu.TabIndex = 6;
+            this.chk_QuYu.Text = "区域";
+            this.chk_QuYu.CheckedChanged += new System.EventHandler(this.chk_QuYu_CheckedChanged);
+            // 
+            // txt_PlanNo
+            // 
+            this.txt_PlanNo.AutoSize = true;
+            this.txt_PlanNo.Enabled = false;
+            this.txt_PlanNo.FlatMode = true;
+            this.txt_PlanNo.Location = new System.Drawing.Point(66, 32);
+            this.txt_PlanNo.Name = "txt_PlanNo";
+            this.txt_PlanNo.Size = new System.Drawing.Size(119, 19);
+            this.txt_PlanNo.TabIndex = 5;
+            // 
+            // chk_PlanNo
+            // 
+            this.chk_PlanNo.FlatMode = true;
+            this.chk_PlanNo.Location = new System.Drawing.Point(8, 32);
+            this.chk_PlanNo.Name = "chk_PlanNo";
+            this.chk_PlanNo.Size = new System.Drawing.Size(64, 20);
+            this.chk_PlanNo.TabIndex = 4;
+            this.chk_PlanNo.Text = "合同号";
+            this.chk_PlanNo.CheckedChanged += new System.EventHandler(this.chk_PlanNo_CheckedChanged);
+            // 
+            // txt_Pihao
+            // 
+            this.txt_Pihao.AutoSize = true;
+            this.txt_Pihao.Enabled = false;
+            this.txt_Pihao.FlatMode = true;
+            this.txt_Pihao.Location = new System.Drawing.Point(244, 8);
+            this.txt_Pihao.Name = "txt_Pihao";
+            this.txt_Pihao.Size = new System.Drawing.Size(112, 19);
+            this.txt_Pihao.TabIndex = 3;
+            // 
+            // chk_piHao
+            // 
+            this.chk_piHao.FlatMode = true;
+            this.chk_piHao.Location = new System.Drawing.Point(196, 9);
+            this.chk_piHao.Name = "chk_piHao";
+            this.chk_piHao.Size = new System.Drawing.Size(52, 20);
+            this.chk_piHao.TabIndex = 2;
+            this.chk_piHao.Text = "批号";
+            this.chk_piHao.CheckedChanged += new System.EventHandler(this.chk_piHao_CheckedChanged);
+            // 
+            // txt_GangJuan
+            // 
+            this.txt_GangJuan.AutoSize = true;
+            this.txt_GangJuan.Enabled = false;
+            this.txt_GangJuan.FlatMode = true;
+            this.txt_GangJuan.Location = new System.Drawing.Point(66, 8);
+            this.txt_GangJuan.Name = "txt_GangJuan";
+            this.txt_GangJuan.Size = new System.Drawing.Size(119, 19);
+            this.txt_GangJuan.TabIndex = 1;
+            // 
+            // chk_GangJuan
+            // 
+            this.chk_GangJuan.FlatMode = true;
+            this.chk_GangJuan.Location = new System.Drawing.Point(8, 9);
+            this.chk_GangJuan.Name = "chk_GangJuan";
+            this.chk_GangJuan.Size = new System.Drawing.Size(64, 20);
+            this.chk_GangJuan.TabIndex = 0;
+            this.chk_GangJuan.Text = "钢卷号";
+            this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.gb_Buress);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 88);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(840, 406);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 2;
+            // 
+            // gb_Buress
+            // 
+            appearance37.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Buress.DisplayLayout.Appearance = appearance37;
+            ultraGridColumn1.Header.Caption = "登记时间";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "牌号";
+            ultraGridColumn3.Header.VisiblePosition = 9;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "垛位";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "区域";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "合同号";
+            ultraGridColumn6.Header.VisiblePosition = 2;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(111, 0);
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "综合判定";
+            ultraGridColumn7.Header.VisiblePosition = 10;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "表面缺陷";
+            ultraGridColumn8.Header.VisiblePosition = 5;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "入库时间";
+            ultraGridColumn9.Header.VisiblePosition = 6;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "备注";
+            ultraGridColumn10.Header.VisiblePosition = 7;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(102, 0);
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "系统备注";
+            ultraGridColumn11.Header.VisiblePosition = 8;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "宽度";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(72, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "厚度";
+            ultraGridColumn13.Header.VisiblePosition = 13;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "重量";
+            ultraGridColumn14.Header.VisiblePosition = 14;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(87, 0);
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "批号";
+            ultraGridColumn15.Header.VisiblePosition = 12;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15});
+            appearance38.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance38;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}吨";
+            summarySettings1.GroupBySummaryValueAppearance = appearance39;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Buress.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Buress.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance40.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance40.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance40.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance40.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Buress.DisplayLayout.GroupByBox.Appearance = appearance40;
+            appearance41.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Buress.DisplayLayout.GroupByBox.BandLabelAppearance = appearance41;
+            this.gb_Buress.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Buress.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance42.BackColor = System.Drawing.SystemColors.Window;
+            appearance42.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Buress.DisplayLayout.Override.ActiveCellAppearance = appearance42;
+            appearance43.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance43.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Buress.DisplayLayout.Override.ActiveRowAppearance = appearance43;
+            appearance44.BorderColor = System.Drawing.Color.Black;
+            appearance44.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Buress.DisplayLayout.Override.CellAppearance = appearance44;
+            this.gb_Buress.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Buress.DisplayLayout.Override.CellPadding = 0;
+            appearance45.BackColor = System.Drawing.SystemColors.Control;
+            appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance45.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance45.BorderColor = System.Drawing.SystemColors.Window;
+            appearance45.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance45.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Buress.DisplayLayout.Override.GroupByRowAppearance = appearance45;
+            this.gb_Buress.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance46.BackColor = System.Drawing.Color.Silver;
+            this.gb_Buress.DisplayLayout.Override.HeaderAppearance = appearance46;
+            this.gb_Buress.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Buress.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance47.BackColor = System.Drawing.SystemColors.Window;
+            appearance47.BorderColor = System.Drawing.Color.Black;
+            appearance47.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Buress.DisplayLayout.Override.RowAppearance = appearance47;
+            appearance48.BackColor = System.Drawing.SystemColors.Window;
+            appearance48.BorderColor = System.Drawing.Color.Black;
+            appearance48.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Buress.DisplayLayout.Override.RowPreviewAppearance = appearance48;
+            this.gb_Buress.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Buress.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Buress.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance49.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Buress.DisplayLayout.Override.SelectedRowAppearance = appearance49;
+            this.gb_Buress.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance50.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Buress.DisplayLayout.Override.SummaryFooterAppearance = appearance50;
+            appearance51.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance51.ForeColor = System.Drawing.Color.Red;
+            this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance51;
+            this.gb_Buress.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance52.BackColor = System.Drawing.Color.MistyRose;
+            appearance52.ForeColor = System.Drawing.Color.Blue;
+            appearance52.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Buress.DisplayLayout.Override.SummaryValueAppearance = appearance52;
+            appearance53.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Buress.DisplayLayout.Override.TemplateAddRowAppearance = appearance53;
+            this.gb_Buress.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Buress.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Buress.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Buress.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Buress.Location = new System.Drawing.Point(3, 2);
+            this.gb_Buress.Name = "gb_Buress";
+            this.gb_Buress.Size = new System.Drawing.Size(834, 401);
+            this.gb_Buress.TabIndex = 0;
+            this.gb_Buress.Text = "ultraGrid1";
+            // 
+            // YLButtressQuery
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(840, 494);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "YLButtressQuery";
+            this.Text = "原料堆位信息查询";
+            this.Load += new System.EventHandler(this.YLButtressQuery_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Slenn)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNo)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Buress)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
+		}
+
+		private void chk_PlanNo_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanNo.Enabled=this.chk_PlanNo.Checked;
+		}
+
+		private void chk_piHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_Pihao.Enabled=this.chk_piHao.Checked;
+		}
+
+		private void chk_QuYu_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_QuYu.Enabled=this.chk_QuYu.Checked;
+		}
+
+		private void chk_Buress_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Buress.Enabled=this.chk_Buress.Checked;
+		}
+
+		private void chk_Slenn_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Slenn.Enabled=this.chk_Slenn.Checked;
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Buress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Buress.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Buress.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Buress.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Buress.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "QUERY":
+					this.YLQuery(this.GetWhere());
+					break;
+				case "DUCE":
+					ExportButtressInfo();
+					break;
+				case "CLOES":
+					this.Close();
+					break;
+				case "TAIZH":
+                    this.PrintGrid();
+					break;
+			}
+		}
+		private string GetWhere()
+		{
+			string strSql="";
+			if(this.chk_Buress.Checked)
+			{
+				strSql+=" AND C.NOW_BUTTRESS='"+this.cmb_Buress.Text+"'";
+			}
+			if(this.chk_GangJuan.Checked)
+			{
+				strSql+=" AND C.OLD_SAMPL_NO='"+this.txt_GangJuan.Text+"'";
+			}
+			if(this.chk_piHao.Checked)
+			{
+				strSql+=" AND A.BAHCT_NUMBER='"+this.txt_Pihao.Text+"'";
+			}
+			if(this.chk_PlanNo.Checked)
+			{
+				strSql+=" AND A.ORD_NO LIKE '%"+this.txt_PlanNo.Text+"%'";
+			}
+			if(this.chk_QuYu.Checked)
+			{
+				strSql+=" AND B.AREA='"+this.cmb_QuYu.Text+"'";
+			}
+			if(this.chk_Slenn.Checked)
+			{
+				strSql+=" AND A.TOT_DEC_GRD='"+this.cmb_Slenn.Text+"'";
+			}
+			return strSql;
+		}
+		private void YLQuery(string _Contionn)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ButressQuery_YL", "QueryBuress", new object[] { _Contionn }, out strOut);
+				this.gb_Buress.DataSource=ds;
+				this.gb_Buress.UpdateData();
+				Comm.SetGridSumArea(this.gb_Buress);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void PrintGrid()
+		{
+			FrmPrint print=new FrmPrint();
+			print.UltraGrid = this.gb_Buress;
+			print.UCGridPrint.SubHeadLeftText = "堆位:"+ Comm.ObjToStr(cmb_Buress.Text);
+			print.UCGridPrint.SubHeadRightText ="打印日期:"+System.DateTime.Now.Date.ToString("yyyy-MM-dd");
+			print.UCGridPrint.HeadText ="板材卷板成品堆垛实物反映表";
+			//			frmPrint.UCGridPrint.SubFootLeftText = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+			print.UCGridPrint.ColumnList["区域"].IsSelected = true;
+			print.UCGridPrint.ColumnList["综合判定"].IsSelected = true;
+			print.UCGridPrint.ColumnList["牌号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["垛位"].IsSelected = true;
+			print.UCGridPrint.ColumnList["登记时间"].IsSelected = true;
+			print.UCGridPrint.ColumnList["钢卷号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["备注"].IsSelected = true;
+			print.UCGridPrint.ColumnList["批号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["表面缺陷"].IsSelected = true;
+			print.UCGridPrint.ColumnList["合同号"].IsSelected = true;
+			print.UCGridPrint.ColumnList["入库时间"].IsSelected = true;
+			print.UCGridPrint.ColumnList["系统备注"].IsSelected = true;
+			
+			print.ShowDialog();
+		}
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Buress.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Buress,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+
+		private void YLButtressQuery_Load(object sender, System.EventArgs e)
+		{
+			Comm.SetGridSumArea(this.gb_Buress);
+			string strOut="";
+			string sql="";
+			DataSet ds;
+			//原料区域cmb_NewArea
+            sql = "select areacode from kcj_area_ZW  where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_AREA";
+
+			Comm.Init_ComboControl(this.cmb_QuYu,"KCJ_AREA","AREACODE","AREACODE",ref ds);
+
+			//堆位
+            sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+			Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+		}
+	}
+}

+ 290 - 0
Client/.svn/pristine/4f/4fab1dd037d2181be2c061c2de0fa7a9f5cda2f0.svn-base

@@ -0,0 +1,290 @@
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    partial class UCSendStatJB
+    {
+        /// <summary> 
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary> 
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region 组件设计器生成的代码
+
+        /// <summary> 
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            this.chk_StatOrder = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatBookInDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatBookInMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatSendMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatSpet = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatSendDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatClassTeam = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatRollNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatPactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatVecihleNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatSteel = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatListCoding = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatStation = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_StatInceName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_StatPlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_zl = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.SuspendLayout();
+            // 
+            // chk_StatOrder
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatOrder.Appearance = appearance1;
+            this.chk_StatOrder.FlatMode = true;
+            this.chk_StatOrder.Location = new System.Drawing.Point(1, 35);
+            this.chk_StatOrder.Name = "chk_StatOrder";
+            this.chk_StatOrder.Size = new System.Drawing.Size(59, 14);
+            this.chk_StatOrder.TabIndex = 42;
+            this.chk_StatOrder.Text = "按订单";
+            // 
+            // Chk_StatBookInDate
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatBookInDate.Appearance = appearance2;
+            this.Chk_StatBookInDate.FlatMode = true;
+            this.Chk_StatBookInDate.Location = new System.Drawing.Point(65, 97);
+            this.Chk_StatBookInDate.Name = "Chk_StatBookInDate";
+            this.Chk_StatBookInDate.Size = new System.Drawing.Size(84, 14);
+            this.Chk_StatBookInDate.TabIndex = 41;
+            this.Chk_StatBookInDate.Text = "按登记时间";
+            // 
+            // Chk_StatBookInMan
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatBookInMan.Appearance = appearance3;
+            this.Chk_StatBookInMan.FlatMode = true;
+            this.Chk_StatBookInMan.Location = new System.Drawing.Point(1, 113);
+            this.Chk_StatBookInMan.Name = "Chk_StatBookInMan";
+            this.Chk_StatBookInMan.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatBookInMan.TabIndex = 40;
+            this.Chk_StatBookInMan.Text = "登记人";
+            // 
+            // Chk_StatSendMan
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatSendMan.Appearance = appearance4;
+            this.Chk_StatSendMan.FlatMode = true;
+            this.Chk_StatSendMan.Location = new System.Drawing.Point(1, 97);
+            this.Chk_StatSendMan.Name = "Chk_StatSendMan";
+            this.Chk_StatSendMan.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatSendMan.TabIndex = 39;
+            this.Chk_StatSendMan.Text = "发运人";
+            // 
+            // Chk_StatSpet
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatSpet.Appearance = appearance5;
+            this.Chk_StatSpet.FlatMode = true;
+            this.Chk_StatSpet.Location = new System.Drawing.Point(1, 67);
+            this.Chk_StatSpet.Name = "Chk_StatSpet";
+            this.Chk_StatSpet.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatSpet.TabIndex = 38;
+            this.Chk_StatSpet.Text = "按规格";
+            // 
+            // Chk_StatSendDate
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatSendDate.Appearance = appearance6;
+            this.Chk_StatSendDate.Checked = true;
+            this.Chk_StatSendDate.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.Chk_StatSendDate.FlatMode = true;
+            this.Chk_StatSendDate.Location = new System.Drawing.Point(65, 81);
+            this.Chk_StatSendDate.Name = "Chk_StatSendDate";
+            this.Chk_StatSendDate.Size = new System.Drawing.Size(84, 14);
+            this.Chk_StatSendDate.TabIndex = 37;
+            this.Chk_StatSendDate.Text = "按发运日期";
+            // 
+            // Chk_StatClassTeam
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatClassTeam.Appearance = appearance7;
+            this.Chk_StatClassTeam.FlatMode = true;
+            this.Chk_StatClassTeam.Location = new System.Drawing.Point(1, 83);
+            this.Chk_StatClassTeam.Name = "Chk_StatClassTeam";
+            this.Chk_StatClassTeam.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatClassTeam.TabIndex = 31;
+            this.Chk_StatClassTeam.Text = "按班组";
+            // 
+            // Chk_StatRollNO
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatRollNO.Appearance = appearance8;
+            this.Chk_StatRollNO.Checked = true;
+            this.Chk_StatRollNO.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.Chk_StatRollNO.FlatMode = true;
+            this.Chk_StatRollNO.Location = new System.Drawing.Point(65, 67);
+            this.Chk_StatRollNO.Name = "Chk_StatRollNO";
+            this.Chk_StatRollNO.Size = new System.Drawing.Size(84, 14);
+            this.Chk_StatRollNO.TabIndex = 30;
+            this.Chk_StatRollNO.Text = "按钢卷包号";
+            // 
+            // Chk_StatPactNO
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatPactNO.Appearance = appearance9;
+            this.Chk_StatPactNO.FlatMode = true;
+            this.Chk_StatPactNO.Location = new System.Drawing.Point(1, 19);
+            this.Chk_StatPactNO.Name = "Chk_StatPactNO";
+            this.Chk_StatPactNO.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatPactNO.TabIndex = 28;
+            this.Chk_StatPactNO.Text = "按合同";
+            // 
+            // Chk_StatVecihleNO
+            // 
+            appearance10.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatVecihleNO.Appearance = appearance10;
+            this.Chk_StatVecihleNO.FlatMode = true;
+            this.Chk_StatVecihleNO.Location = new System.Drawing.Point(1, 3);
+            this.Chk_StatVecihleNO.Name = "Chk_StatVecihleNO";
+            this.Chk_StatVecihleNO.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatVecihleNO.TabIndex = 27;
+            this.Chk_StatVecihleNO.Text = "按车牌";
+            // 
+            // Chk_StatSteel
+            // 
+            appearance11.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatSteel.Appearance = appearance11;
+            this.Chk_StatSteel.FlatMode = true;
+            this.Chk_StatSteel.Location = new System.Drawing.Point(1, 51);
+            this.Chk_StatSteel.Name = "Chk_StatSteel";
+            this.Chk_StatSteel.Size = new System.Drawing.Size(59, 14);
+            this.Chk_StatSteel.TabIndex = 26;
+            this.Chk_StatSteel.Text = "按牌号";
+            // 
+            // Chk_StatListCoding
+            // 
+            appearance12.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatListCoding.Appearance = appearance12;
+            this.Chk_StatListCoding.FlatMode = true;
+            this.Chk_StatListCoding.Location = new System.Drawing.Point(65, 19);
+            this.Chk_StatListCoding.Name = "Chk_StatListCoding";
+            this.Chk_StatListCoding.Size = new System.Drawing.Size(72, 14);
+            this.Chk_StatListCoding.TabIndex = 25;
+            this.Chk_StatListCoding.Text = "按明细号";
+            // 
+            // chk_StatStation
+            // 
+            appearance13.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatStation.Appearance = appearance13;
+            this.chk_StatStation.FlatMode = true;
+            this.chk_StatStation.Location = new System.Drawing.Point(65, 35);
+            this.chk_StatStation.Name = "chk_StatStation";
+            this.chk_StatStation.Size = new System.Drawing.Size(59, 14);
+            this.chk_StatStation.TabIndex = 24;
+            this.chk_StatStation.Text = "按到站";
+            // 
+            // chk_StatInceName
+            // 
+            appearance14.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_StatInceName.Appearance = appearance14;
+            this.chk_StatInceName.FlatMode = true;
+            this.chk_StatInceName.Location = new System.Drawing.Point(65, 3);
+            this.chk_StatInceName.Name = "chk_StatInceName";
+            this.chk_StatInceName.Size = new System.Drawing.Size(84, 14);
+            this.chk_StatInceName.TabIndex = 23;
+            this.chk_StatInceName.Text = "按收货单位";
+            // 
+            // Chk_StatPlanNO
+            // 
+            appearance15.BackColor = System.Drawing.Color.LightCyan;
+            this.Chk_StatPlanNO.Appearance = appearance15;
+            this.Chk_StatPlanNO.Checked = true;
+            this.Chk_StatPlanNO.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.Chk_StatPlanNO.FlatMode = true;
+            this.Chk_StatPlanNO.Location = new System.Drawing.Point(65, 51);
+            this.Chk_StatPlanNO.Name = "Chk_StatPlanNO";
+            this.Chk_StatPlanNO.Size = new System.Drawing.Size(72, 14);
+            this.Chk_StatPlanNO.TabIndex = 29;
+            this.Chk_StatPlanNO.Text = "按钢卷号";
+            // 
+            // chk_zl
+            // 
+            appearance16.BackColor = System.Drawing.Color.LightCyan;
+            this.chk_zl.Appearance = appearance16;
+            this.chk_zl.FlatMode = true;
+            this.chk_zl.Location = new System.Drawing.Point(65, 113);
+            this.chk_zl.Name = "chk_zl";
+            this.chk_zl.Size = new System.Drawing.Size(84, 14);
+            this.chk_zl.TabIndex = 43;
+            this.chk_zl.Text = "过磅总重";
+            // 
+            // UCSendStatJB
+            // 
+            this.Controls.Add(this.chk_zl);
+            this.Controls.Add(this.chk_StatOrder);
+            this.Controls.Add(this.Chk_StatBookInDate);
+            this.Controls.Add(this.Chk_StatBookInMan);
+            this.Controls.Add(this.Chk_StatSendMan);
+            this.Controls.Add(this.Chk_StatSpet);
+            this.Controls.Add(this.Chk_StatSendDate);
+            this.Controls.Add(this.Chk_StatClassTeam);
+            this.Controls.Add(this.Chk_StatRollNO);
+            this.Controls.Add(this.Chk_StatPlanNO);
+            this.Controls.Add(this.Chk_StatPactNO);
+            this.Controls.Add(this.Chk_StatVecihleNO);
+            this.Controls.Add(this.Chk_StatSteel);
+            this.Controls.Add(this.Chk_StatListCoding);
+            this.Controls.Add(this.chk_StatStation);
+            this.Controls.Add(this.chk_StatInceName);
+            this.Name = "UCSendStatJB";
+            this.Size = new System.Drawing.Size(228, 196);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatOrder;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatBookInDate;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatBookInMan;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSendMan;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSpet;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSendDate;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatClassTeam;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatRollNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatPactNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatVecihleNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatSteel;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatListCoding;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatStation;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_StatInceName;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StatPlanNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_zl;
+    }
+}

+ 126 - 0
Client/.svn/pristine/52/52369a1992ce132967c766bbb4664c6bac1aa143.svn-base

@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>148, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+</root>

+ 126 - 0
Client/.svn/pristine/53/5305b6a6c283aaf9a63babce19931af5db5824f3.svn-base

@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+</root>

+ 2302 - 0
Client/.svn/pristine/54/543ebb9356128fe1ae680a1011f4260451c23ba5.svn-base

@@ -0,0 +1,2302 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Frm_ProduceManage 的摘要说明。
+	/// </summary>
+	public class Frm_ProduceManage : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Sleen;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+		private Infragistics.Win.Misc.UltraLabel lab_cd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PaiHao;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_PlanState;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Press;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PanPi;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_COIL_NO_ID;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassStrem;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOredre;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangHao;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Plact;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Sleen;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
+		private Infragistics.Win.Misc.UltraButton btn_Prod;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcL;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Ramark;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcLine;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_fjh;
+        private Infragistics.Win.Misc.UltraButton ultraButton1;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_XJZL;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Count;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_ProduceManage()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar2 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PRC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("BOOKIN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_BOOKIN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool19 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool20 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PLAN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool21 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY_PRC");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool22 = new Infragistics.Win.UltraWinToolbars.ButtonTool("BOOKIN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool23 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL_BOOKIN");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool24 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DC");
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand4 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn71 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn72 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn73 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn74 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn75 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn76 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn77 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn78 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn79 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISFJH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn80 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn81 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn82 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn83 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 8, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 8, true);
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand5 = new Infragistics.Win.UltraWinGrid.UltraGridBand("XF1", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn84 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn85 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand6 = new Infragistics.Win.UltraWinGrid.UltraGridBand("XF2", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn86 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn87 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn88 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn89 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK", 2);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn90 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH", 3);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn91 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN", 4);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn92 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NUM", 5);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn93 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID", 6);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn94 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETAIL_TIME", 7);
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_ProcL = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Sleen = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_PaiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_COIL_NO_ID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PanPi = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.txt_Count = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_XJZL = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
+            this.chk_fjh = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_ProcLine = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Ramark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.btn_Prod = new Infragistics.Win.Misc.UltraButton();
+            this.cmb_ClassStrem = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_ClassOredre = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Plact = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Sleen = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_GangHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_Press = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gb_PlanState = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_COIL_NO_ID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Count)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_XJZL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcLine)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ramark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStrem)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOredre)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Sleen)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
+            this.ultraExpandableGroupBox2.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(944, 26);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 2);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar2.DockedColumn = 0;
+            ultraToolbar2.DockedRow = 0;
+            ultraToolbar2.Text = "工具栏";
+            buttonTool13.InstanceProps.IsFirstInGroup = true;
+            buttonTool14.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar2.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool13,
+            buttonTool14,
+            buttonTool15,
+            buttonTool16,
+            buttonTool17,
+            buttonTool18});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar2});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool19.SharedProps.Caption = "关闭";
+            buttonTool19.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool20.SharedProps.Caption = "查询计划";
+            buttonTool20.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool21.SharedProps.Caption = "查询生产实绩";
+            buttonTool21.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool22.SharedProps.Caption = "登记生产实绩";
+            buttonTool22.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool23.SharedProps.Caption = "撤销生产实绩";
+            buttonTool23.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool24.SharedProps.Caption = "导出";
+            buttonTool24.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool19,
+            buttonTool20,
+            buttonTool21,
+            buttonTool22,
+            buttonTool23,
+            buttonTool24});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(944, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 2);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(944, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 26);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(944, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.cmb_ProcL);
+            this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
+            this.ultraGroupBox1.Controls.Add(this.ultraLabel10);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Sleen);
+            this.ultraGroupBox1.Controls.Add(this.chk_PaiHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_COIL_NO_ID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PanPi);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
+            this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 26);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(944, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // cmb_ProcL
+            // 
+            this.cmb_ProcL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProcL.DisplayMember = "";
+            this.cmb_ProcL.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ProcL.Enabled = false;
+            this.cmb_ProcL.FlatMode = true;
+            this.cmb_ProcL.Location = new System.Drawing.Point(746, 30);
+            this.cmb_ProcL.Name = "cmb_ProcL";
+            this.cmb_ProcL.Size = new System.Drawing.Size(90, 19);
+            this.cmb_ProcL.TabIndex = 260;
+            this.cmb_ProcL.Tag = "";
+            this.cmb_ProcL.ValueMember = "";
+            // 
+            // chk_ProcLine
+            // 
+            this.chk_ProcLine.Location = new System.Drawing.Point(690, 32);
+            this.chk_ProcLine.Name = "chk_ProcLine";
+            this.chk_ProcLine.Size = new System.Drawing.Size(64, 16);
+            this.chk_ProcLine.TabIndex = 259;
+            this.chk_ProcLine.TabStop = false;
+            this.chk_ProcLine.Text = "开平线";
+            this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.BackColor = System.Drawing.SystemColors.Control;
+            this.ultraLabel10.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraLabel10.Location = new System.Drawing.Point(840, 32);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(96, 16);
+            this.ultraLabel10.TabIndex = 258;
+            this.ultraLabel10.Text = "成品已被入库";
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(68, 30);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 257;
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(68, 6);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 256;
+            // 
+            // txt_BNumber
+            // 
+            this.txt_BNumber.AutoSize = true;
+            this.txt_BNumber.Enabled = false;
+            this.txt_BNumber.FlatMode = true;
+            this.txt_BNumber.Location = new System.Drawing.Point(746, 6);
+            this.txt_BNumber.Name = "txt_BNumber";
+            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
+            this.txt_BNumber.TabIndex = 255;
+            this.txt_BNumber.TabStop = false;
+            this.txt_BNumber.Tag = "";
+            // 
+            // chk_BNumber
+            // 
+            this.chk_BNumber.Location = new System.Drawing.Point(690, 8);
+            this.chk_BNumber.Name = "chk_BNumber";
+            this.chk_BNumber.Size = new System.Drawing.Size(48, 16);
+            this.chk_BNumber.TabIndex = 254;
+            this.chk_BNumber.TabStop = false;
+            this.chk_BNumber.Text = "批号";
+            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
+            // 
+            // cmb_Sleen
+            // 
+            this.cmb_Sleen.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Sleen.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_Sleen.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_Sleen.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.MaxRowScrollRegions = 1;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_Sleen.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_Sleen.DisplayLayout.Override.CellPadding = 0;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_Sleen.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.cmb_Sleen.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_Sleen.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_Sleen.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_Sleen.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_Sleen.DisplayMember = "";
+            this.cmb_Sleen.Enabled = false;
+            this.cmb_Sleen.FlatMode = true;
+            this.cmb_Sleen.Location = new System.Drawing.Point(600, 30);
+            this.cmb_Sleen.Name = "cmb_Sleen";
+            this.cmb_Sleen.Size = new System.Drawing.Size(84, 19);
+            this.cmb_Sleen.TabIndex = 253;
+            this.cmb_Sleen.ValueMember = "";
+            // 
+            // chk_PaiHao
+            // 
+            this.chk_PaiHao.Location = new System.Drawing.Point(540, 32);
+            this.chk_PaiHao.Name = "chk_PaiHao";
+            this.chk_PaiHao.Size = new System.Drawing.Size(48, 16);
+            this.chk_PaiHao.TabIndex = 252;
+            this.chk_PaiHao.TabStop = false;
+            this.chk_PaiHao.Text = "牌号";
+            this.chk_PaiHao.CheckedChanged += new System.EventHandler(this.chk_PaiHao_CheckedChanged);
+            // 
+            // txt_COIL_NO_ID
+            // 
+            this.txt_COIL_NO_ID.AutoSize = true;
+            this.txt_COIL_NO_ID.Enabled = false;
+            this.txt_COIL_NO_ID.FlatMode = true;
+            this.txt_COIL_NO_ID.Location = new System.Drawing.Point(430, 30);
+            this.txt_COIL_NO_ID.Name = "txt_COIL_NO_ID";
+            this.txt_COIL_NO_ID.Size = new System.Drawing.Size(104, 19);
+            this.txt_COIL_NO_ID.TabIndex = 251;
+            this.txt_COIL_NO_ID.TabStop = false;
+            this.txt_COIL_NO_ID.Tag = "";
+            // 
+            // chk_PanPi
+            // 
+            this.chk_PanPi.Location = new System.Drawing.Point(358, 32);
+            this.chk_PanPi.Name = "chk_PanPi";
+            this.chk_PanPi.Size = new System.Drawing.Size(72, 16);
+            this.chk_PanPi.TabIndex = 250;
+            this.chk_PanPi.TabStop = false;
+            this.chk_PanPi.Text = "卷板批号";
+            this.chk_PanPi.CheckedChanged += new System.EventHandler(this.chk_PanPi_CheckedChanged);
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(886, 8);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 249;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(836, 8);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 16);
+            this.chk_AllowFilter.TabIndex = 248;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // txt_GangP
+            // 
+            this.txt_GangP.AutoSize = true;
+            this.txt_GangP.Enabled = false;
+            this.txt_GangP.FlatMode = true;
+            this.txt_GangP.Location = new System.Drawing.Point(600, 6);
+            this.txt_GangP.Name = "txt_GangP";
+            this.txt_GangP.Size = new System.Drawing.Size(86, 19);
+            this.txt_GangP.TabIndex = 243;
+            this.txt_GangP.TabStop = false;
+            this.txt_GangP.Tag = "";
+            // 
+            // chk_BanHao
+            // 
+            this.chk_BanHao.Location = new System.Drawing.Point(540, 8);
+            this.chk_BanHao.Name = "chk_BanHao";
+            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_BanHao.TabIndex = 242;
+            this.chk_BanHao.TabStop = false;
+            this.chk_BanHao.Text = "板坯号";
+            this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(430, 6);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(104, 19);
+            this.txt_RollHao.TabIndex = 241;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // chk_RollHao
+            // 
+            this.chk_RollHao.Location = new System.Drawing.Point(358, 10);
+            this.chk_RollHao.Name = "chk_RollHao";
+            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollHao.TabIndex = 240;
+            this.chk_RollHao.TabStop = false;
+            this.chk_RollHao.Text = "钢卷号";
+            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
+            // 
+            // txt_PlanID
+            // 
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(248, 30);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 239;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PactID
+            // 
+            this.chk_PactID.Location = new System.Drawing.Point(190, 34);
+            this.chk_PactID.Name = "chk_PactID";
+            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PactID.TabIndex = 238;
+            this.chk_PactID.TabStop = false;
+            this.chk_PactID.Text = "合同号";
+            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
+            // 
+            // txt_OrderNO
+            // 
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(248, 6);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 237;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(190, 10);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 236;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(48, 32);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 235;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_CollectTime.Location = new System.Drawing.Point(20, 8);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(48, 16);
+            this.chk_CollectTime.TabIndex = 234;
+            this.chk_CollectTime.TabStop = false;
+            this.chk_CollectTime.Text = "时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(918, 104);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 522);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(944, 104);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 1;
+            this.ultraExpandableGroupBox1.Text = "编辑区";
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Count);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_XJZL);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel13);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraButton1);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.chk_fjh);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ProcLine);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel11);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ramark);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel9);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.btn_Prod);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassStrem);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_ClassOredre);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel6);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel8);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_WEIGHT);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Width);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Length);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.lab_cd);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel17);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ply);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel12);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel5);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Plact);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Sleen);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GangHao);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_End_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Begin_Y);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Scid_Top_Y);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(938, 82);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // txt_Count
+            // 
+            this.txt_Count.AutoSize = true;
+            this.txt_Count.Location = new System.Drawing.Point(591, 3);
+            this.txt_Count.Name = "txt_Count";
+            this.txt_Count.Size = new System.Drawing.Size(112, 21);
+            this.txt_Count.TabIndex = 654;
+            this.txt_Count.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Count.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // txt_XJZL
+            // 
+            this.txt_XJZL.FlatMode = true;
+            this.txt_XJZL.Location = new System.Drawing.Point(591, 49);
+            this.txt_XJZL.MaskInput = "nnnnn.nnn";
+            this.txt_XJZL.Name = "txt_XJZL";
+            this.txt_XJZL.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_XJZL.PromptChar = ' ';
+            this.txt_XJZL.Size = new System.Drawing.Size(112, 19);
+            this.txt_XJZL.TabIndex = 652;
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.Location = new System.Drawing.Point(538, 53);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel13.TabIndex = 653;
+            this.ultraLabel13.Text = "小件重量";
+            // 
+            // ultraButton1
+            // 
+            this.ultraButton1.Location = new System.Drawing.Point(857, 0);
+            this.ultraButton1.Name = "ultraButton1";
+            this.ultraButton1.Size = new System.Drawing.Size(76, 24);
+            this.ultraButton1.TabIndex = 651;
+            this.ultraButton1.Text = "单卷撤消";
+            this.ultraButton1.Visible = false;
+            this.ultraButton1.Click += new System.EventHandler(this.ultraButton1_Click);
+            // 
+            // chk_fjh
+            // 
+            this.chk_fjh.Location = new System.Drawing.Point(814, 57);
+            this.chk_fjh.Name = "chk_fjh";
+            this.chk_fjh.Size = new System.Drawing.Size(90, 16);
+            this.chk_fjh.TabIndex = 650;
+            this.chk_fjh.TabStop = false;
+            this.chk_fjh.Text = "是否非计划";
+            this.chk_fjh.Visible = false;
+            // 
+            // cmb_ProcLine
+            // 
+            this.cmb_ProcLine.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProcLine.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ProcLine.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_ProcLine.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ProcLine.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_ProcLine.DisplayLayout.MaxRowScrollRegions = 1;
+            this.cmb_ProcLine.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ProcLine.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ProcLine.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_ProcLine.DisplayLayout.Override.CellPadding = 0;
+            this.cmb_ProcLine.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_ProcLine.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.cmb_ProcLine.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_ProcLine.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_ProcLine.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_ProcLine.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_ProcLine.DisplayMember = "";
+            this.cmb_ProcLine.Location = new System.Drawing.Point(751, 29);
+            this.cmb_ProcLine.Name = "cmb_ProcLine";
+            this.cmb_ProcLine.Size = new System.Drawing.Size(100, 21);
+            this.cmb_ProcLine.TabIndex = 649;
+            this.cmb_ProcLine.ValueMember = "";
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.Location = new System.Drawing.Point(707, 33);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel11.TabIndex = 648;
+            this.ultraLabel11.Text = "开平线";
+            // 
+            // txt_Ramark
+            // 
+            this.txt_Ramark.AutoSize = true;
+            this.txt_Ramark.Location = new System.Drawing.Point(751, 56);
+            this.txt_Ramark.Multiline = true;
+            this.txt_Ramark.Name = "txt_Ramark";
+            this.txt_Ramark.Size = new System.Drawing.Size(182, 29);
+            this.txt_Ramark.TabIndex = 647;
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(707, 54);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(50, 18);
+            this.ultraLabel9.TabIndex = 646;
+            this.ultraLabel9.Text = "备注";
+            // 
+            // btn_Prod
+            // 
+            this.btn_Prod.Location = new System.Drawing.Point(746, 1);
+            this.btn_Prod.Name = "btn_Prod";
+            this.btn_Prod.Size = new System.Drawing.Size(105, 24);
+            this.btn_Prod.TabIndex = 645;
+            this.btn_Prod.Text = "单卷已生产完成";
+            this.btn_Prod.Click += new System.EventHandler(this.btn_Prod_Click);
+            // 
+            // cmb_ClassStrem
+            // 
+            this.cmb_ClassStrem.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassStrem.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ClassStrem.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_ClassStrem.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ClassStrem.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_ClassStrem.DisplayLayout.MaxRowScrollRegions = 1;
+            this.cmb_ClassStrem.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ClassStrem.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ClassStrem.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_ClassStrem.DisplayLayout.Override.CellPadding = 0;
+            this.cmb_ClassStrem.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_ClassStrem.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.cmb_ClassStrem.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_ClassStrem.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_ClassStrem.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_ClassStrem.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_ClassStrem.DisplayMember = "";
+            this.cmb_ClassStrem.Location = new System.Drawing.Point(300, 52);
+            this.cmb_ClassStrem.Name = "cmb_ClassStrem";
+            this.cmb_ClassStrem.Size = new System.Drawing.Size(86, 21);
+            this.cmb_ClassStrem.TabIndex = 8;
+            this.cmb_ClassStrem.ValueMember = "";
+            this.cmb_ClassStrem.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            this.cmb_ClassStrem.Enter += new System.EventHandler(this.txt_Count_Enter);
+            // 
+            // cmb_ClassOredre
+            // 
+            this.cmb_ClassOredre.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOredre.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ClassOredre.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_ClassOredre.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_ClassOredre.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_ClassOredre.DisplayLayout.MaxRowScrollRegions = 1;
+            this.cmb_ClassOredre.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ClassOredre.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_ClassOredre.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_ClassOredre.DisplayLayout.Override.CellPadding = 0;
+            this.cmb_ClassOredre.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_ClassOredre.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            this.cmb_ClassOredre.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            this.cmb_ClassOredre.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_ClassOredre.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_ClassOredre.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_ClassOredre.DisplayMember = "";
+            this.cmb_ClassOredre.Location = new System.Drawing.Point(300, 28);
+            this.cmb_ClassOredre.Name = "cmb_ClassOredre";
+            this.cmb_ClassOredre.Size = new System.Drawing.Size(86, 21);
+            this.cmb_ClassOredre.TabIndex = 7;
+            this.cmb_ClassOredre.ValueMember = "";
+            this.cmb_ClassOredre.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            this.cmb_ClassOredre.Enter += new System.EventHandler(this.txt_Count_Enter);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(242, 56);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(58, 16);
+            this.ultraLabel6.TabIndex = 644;
+            this.ultraLabel6.Text = "生产班组";
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(242, 32);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(58, 16);
+            this.ultraLabel3.TabIndex = 643;
+            this.ultraLabel3.Text = "生产班次";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(559, 8);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel8.TabIndex = 641;
+            this.ultraLabel8.Text = "数量";
+            // 
+            // txt_WEIGHT
+            // 
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(591, 28);
+            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.Size = new System.Drawing.Size(112, 19);
+            this.txt_WEIGHT.TabIndex = 13;
+            this.txt_WEIGHT.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(538, 30);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 639;
+            this.ultraLabel7.Text = "理论重量";
+            // 
+            // txt_Width
+            // 
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(422, 28);
+            this.txt_Width.MaskInput = "nnnn.nn";
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(112, 19);
+            this.txt_Width.TabIndex = 10;
+            this.txt_Width.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // txt_Length
+            // 
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(422, 50);
+            this.txt_Length.MaskInput = "nnnnnnn";
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(112, 19);
+            this.txt_Length.TabIndex = 11;
+            // 
+            // lab_cd
+            // 
+            this.lab_cd.Location = new System.Drawing.Point(392, 54);
+            this.lab_cd.Name = "lab_cd";
+            this.lab_cd.Size = new System.Drawing.Size(29, 16);
+            this.lab_cd.TabIndex = 638;
+            this.lab_cd.Text = "长度";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(392, 30);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel17.TabIndex = 637;
+            this.ultraLabel17.Text = "宽度";
+            // 
+            // txt_Ply
+            // 
+            this.txt_Ply.FlatMode = true;
+            this.txt_Ply.Location = new System.Drawing.Point(422, 6);
+            this.txt_Ply.MaskInput = "nnn.nnn";
+            this.txt_Ply.Name = "txt_Ply";
+            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Ply.PromptChar = ' ';
+            this.txt_Ply.Size = new System.Drawing.Size(112, 19);
+            this.txt_Ply.TabIndex = 9;
+            this.txt_Ply.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(392, 8);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel12.TabIndex = 633;
+            this.ultraLabel12.Text = "厚度";
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(24, 54);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel5.TabIndex = 629;
+            this.ultraLabel5.Text = "合同号";
+            // 
+            // txt_Plact
+            // 
+            this.txt_Plact.AutoSize = true;
+            this.txt_Plact.Location = new System.Drawing.Point(80, 52);
+            this.txt_Plact.Name = "txt_Plact";
+            this.txt_Plact.Size = new System.Drawing.Size(156, 21);
+            this.txt_Plact.TabIndex = 5;
+            this.txt_Plact.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Plact.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(242, 8);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(30, 16);
+            this.ultraLabel4.TabIndex = 627;
+            this.ultraLabel4.Text = "牌号";
+            // 
+            // txt_Sleen
+            // 
+            this.txt_Sleen.AutoSize = true;
+            this.txt_Sleen.Location = new System.Drawing.Point(274, 4);
+            this.txt_Sleen.Name = "txt_Sleen";
+            this.txt_Sleen.Size = new System.Drawing.Size(112, 21);
+            this.txt_Sleen.TabIndex = 6;
+            this.txt_Sleen.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Sleen.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(24, 32);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel2.TabIndex = 623;
+            this.ultraLabel2.Text = "钢卷号";
+            // 
+            // txt_GangHao
+            // 
+            this.txt_GangHao.AutoSize = true;
+            this.txt_GangHao.Location = new System.Drawing.Point(80, 28);
+            this.txt_GangHao.Name = "txt_GangHao";
+            this.txt_GangHao.Size = new System.Drawing.Size(156, 21);
+            this.txt_GangHao.TabIndex = 4;
+            this.txt_GangHao.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_GangHao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(24, 8);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 621;
+            this.ultraLabel1.Text = "卷板包号";
+            // 
+            // txt_Scid_End_Y
+            // 
+            this.txt_Scid_End_Y.AutoSize = true;
+            this.txt_Scid_End_Y.Location = new System.Drawing.Point(200, 4);
+            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
+            this.txt_Scid_End_Y.Size = new System.Drawing.Size(36, 21);
+            this.txt_Scid_End_Y.TabIndex = 3;
+            this.txt_Scid_End_Y.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Scid_End_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // txt_Scid_Begin_Y
+            // 
+            this.txt_Scid_Begin_Y.AutoSize = true;
+            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(110, 4);
+            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
+            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(90, 21);
+            this.txt_Scid_Begin_Y.TabIndex = 2;
+            this.txt_Scid_Begin_Y.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Scid_Begin_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // txt_Scid_Top_Y
+            // 
+            this.txt_Scid_Top_Y.AutoSize = true;
+            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(80, 4);
+            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
+            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(30, 21);
+            this.txt_Scid_Top_Y.TabIndex = 1;
+            this.txt_Scid_Top_Y.Enter += new System.EventHandler(this.txt_Count_Enter);
+            this.txt_Scid_Top_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Count_KeyDown);
+            // 
+            // ultraExpandableGroupBox2
+            // 
+            this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(918, 262);
+            this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 260);
+            this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
+            this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(944, 262);
+            this.ultraExpandableGroupBox2.SupportThemes = false;
+            this.ultraExpandableGroupBox2.TabIndex = 3;
+            this.ultraExpandableGroupBox2.Text = "生产实绩信息";
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_Press);
+            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(938, 240);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            // 
+            // gb_Press
+            // 
+            ultraGridColumn48.Header.Caption = "出库单号";
+            ultraGridColumn48.Header.VisiblePosition = 0;
+            ultraGridColumn48.Hidden = true;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "钢卷号";
+            ultraGridColumn49.Header.VisiblePosition = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "板坯号";
+            ultraGridColumn50.Header.VisiblePosition = 2;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "合同号";
+            ultraGridColumn51.Header.VisiblePosition = 3;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "订单号";
+            ultraGridColumn52.Header.VisiblePosition = 4;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "交货期";
+            ultraGridColumn53.Header.VisiblePosition = 5;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "宽度";
+            ultraGridColumn54.Header.VisiblePosition = 6;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "长度";
+            ultraGridColumn55.Header.VisiblePosition = 7;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "数量";
+            ultraGridColumn56.Header.VisiblePosition = 8;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "重量";
+            ultraGridColumn57.Header.VisiblePosition = 9;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 0);
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "牌号";
+            ultraGridColumn58.Header.VisiblePosition = 10;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.Caption = "综合判定";
+            ultraGridColumn59.Header.VisiblePosition = 11;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "特记事项";
+            ultraGridColumn60.Header.VisiblePosition = 12;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "车辆号";
+            ultraGridColumn61.Header.VisiblePosition = 13;
+            ultraGridColumn61.Hidden = true;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "质保书编号";
+            ultraGridColumn62.Header.VisiblePosition = 14;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "垛位";
+            ultraGridColumn63.Header.VisiblePosition = 15;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "登记人";
+            ultraGridColumn64.Header.VisiblePosition = 16;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "登记时间";
+            ultraGridColumn65.Header.VisiblePosition = 17;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn66.Header.Caption = "生产班次";
+            ultraGridColumn66.Header.VisiblePosition = 18;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "生产班组";
+            ultraGridColumn67.Header.VisiblePosition = 19;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn68.Header.Caption = "工单号";
+            ultraGridColumn68.Header.VisiblePosition = 20;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn69.Header.Caption = "卷板包号";
+            ultraGridColumn69.Header.VisiblePosition = 22;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn69.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(136, 0);
+            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn70.Header.Caption = "生产时间";
+            ultraGridColumn70.Header.VisiblePosition = 21;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn70.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn71.Header.VisiblePosition = 23;
+            ultraGridColumn71.Hidden = true;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn71.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn71.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn72.Header.Caption = "";
+            ultraGridColumn72.Header.VisiblePosition = 25;
+            ultraGridColumn72.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn72.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn72.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(38, 0);
+            ultraGridColumn72.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn72.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn72.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn73.Header.Caption = "厚度";
+            ultraGridColumn73.Header.VisiblePosition = 27;
+            ultraGridColumn73.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn73.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn73.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn73.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn73.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn74.Header.Caption = "卷板总包号";
+            ultraGridColumn74.Header.VisiblePosition = 29;
+            ultraGridColumn74.Hidden = true;
+            ultraGridColumn74.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn74.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn74.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn74.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(125, 0);
+            ultraGridColumn74.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn74.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn75.Header.Caption = "开平线";
+            ultraGridColumn75.Header.VisiblePosition = 30;
+            ultraGridColumn75.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn75.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn75.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn75.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn75.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn76.Header.Caption = "订单厚度";
+            ultraGridColumn76.Header.VisiblePosition = 24;
+            ultraGridColumn76.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn76.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn76.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(56, 0);
+            ultraGridColumn76.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn76.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn77.Header.Caption = "订单宽度";
+            ultraGridColumn77.Header.VisiblePosition = 26;
+            ultraGridColumn77.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn77.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn77.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(57, 0);
+            ultraGridColumn77.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn77.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn78.Header.Caption = "订单类型";
+            ultraGridColumn78.Header.VisiblePosition = 28;
+            ultraGridColumn78.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn78.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn78.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn78.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn78.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn79.Header.Caption = "是否非计划";
+            ultraGridColumn79.Header.VisiblePosition = 31;
+            ultraGridColumn79.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn79.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn79.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn79.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn80.Header.Caption = "工艺类型";
+            ultraGridColumn80.Header.VisiblePosition = 32;
+            ultraGridColumn80.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn80.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn80.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn80.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn81.Header.Caption = "炉号";
+            ultraGridColumn81.Header.VisiblePosition = 33;
+            ultraGridColumn81.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn81.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn81.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn81.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn81.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn82.Header.Caption = "批号";
+            ultraGridColumn82.Header.VisiblePosition = 34;
+            ultraGridColumn82.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn82.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn82.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn82.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn82.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn83.Header.Caption = "执行标准";
+            ultraGridColumn83.Header.VisiblePosition = 35;
+            ultraGridColumn83.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn83.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn83.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn83.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn83.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand4.Columns.AddRange(new object[] {
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68,
+            ultraGridColumn69,
+            ultraGridColumn70,
+            ultraGridColumn71,
+            ultraGridColumn72,
+            ultraGridColumn73,
+            ultraGridColumn74,
+            ultraGridColumn75,
+            ultraGridColumn76,
+            ultraGridColumn77,
+            ultraGridColumn78,
+            ultraGridColumn79,
+            ultraGridColumn80,
+            ultraGridColumn81,
+            ultraGridColumn82,
+            ultraGridColumn83});
+            ultraGridBand4.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings3.DisplayFormat = "{0}块";
+            summarySettings3.GroupBySummaryValueAppearance = appearance3;
+            summarySettings4.DisplayFormat = "{0}吨";
+            summarySettings4.GroupBySummaryValueAppearance = appearance4;
+            ultraGridBand4.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4});
+            ultraGridBand4.UseRowLayout = true;
+            this.gb_Press.DisplayLayout.BandsSerializer.Add(ultraGridBand4);
+            this.gb_Press.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Press.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Press.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_Press.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Press.DisplayLayout.Override.CellPadding = 0;
+            this.gb_Press.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_Press.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Press.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_Press.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Press.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Press.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_Press.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_Press.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Press.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Press.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Press.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Press.Location = new System.Drawing.Point(0, 0);
+            this.gb_Press.Name = "gb_Press";
+            this.gb_Press.Size = new System.Drawing.Size(938, 240);
+            this.gb_Press.TabIndex = 12;
+            this.gb_Press.Text = "ultraGrid1";
+            this.gb_Press.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Press_CellChange);
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.gb_PlanState);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 82);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(944, 178);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 4;
+            this.ultraGroupBox2.Text = "计划信息";
+            // 
+            // gb_PlanState
+            // 
+            ultraGridColumn84.Header.Caption = "钢卷号";
+            ultraGridColumn84.Header.VisiblePosition = 0;
+            ultraGridColumn84.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn84.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn84.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn84.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn84.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn85.Header.Caption = "工单号";
+            ultraGridColumn85.Header.VisiblePosition = 1;
+            ultraGridColumn85.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn85.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn85.RowLayoutColumnInfo.SpanX = 0;
+            ultraGridColumn85.RowLayoutColumnInfo.SpanY = 0;
+            ultraGridBand5.Columns.AddRange(new object[] {
+            ultraGridColumn84,
+            ultraGridColumn85});
+            ultraGridBand5.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridBand5.UseRowLayout = true;
+            ultraGridColumn86.Header.Caption = "钢卷号";
+            ultraGridColumn86.Header.VisiblePosition = 0;
+            ultraGridColumn86.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn86.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn86.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn86.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn87.Header.Caption = "合同号";
+            ultraGridColumn87.Header.VisiblePosition = 1;
+            ultraGridColumn87.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn87.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn87.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn87.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn88.Header.Caption = "牌号";
+            ultraGridColumn88.Header.VisiblePosition = 2;
+            ultraGridColumn88.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn88.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn88.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn88.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn89.Header.Caption = "厚度";
+            ultraGridColumn89.Header.VisiblePosition = 3;
+            ultraGridColumn89.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn89.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn89.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn89.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn90.Header.Caption = "宽度";
+            ultraGridColumn90.Header.VisiblePosition = 4;
+            ultraGridColumn90.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn90.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn90.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn90.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn91.Header.Caption = "长度";
+            ultraGridColumn91.Header.VisiblePosition = 5;
+            ultraGridColumn91.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn91.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn91.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn91.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn92.Header.Caption = "块数";
+            ultraGridColumn92.Header.VisiblePosition = 6;
+            ultraGridColumn92.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn92.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn92.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn92.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn93.Header.Caption = "工单号";
+            ultraGridColumn93.Header.VisiblePosition = 7;
+            ultraGridColumn93.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn93.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn93.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn93.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn94.Header.Caption = "制定时间";
+            ultraGridColumn94.Header.VisiblePosition = 8;
+            ultraGridColumn94.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn94.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn94.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn94.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand6.Columns.AddRange(new object[] {
+            ultraGridColumn86,
+            ultraGridColumn87,
+            ultraGridColumn88,
+            ultraGridColumn89,
+            ultraGridColumn90,
+            ultraGridColumn91,
+            ultraGridColumn92,
+            ultraGridColumn93,
+            ultraGridColumn94});
+            ultraGridBand6.UseRowLayout = true;
+            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand5);
+            this.gb_PlanState.DisplayLayout.BandsSerializer.Add(ultraGridBand6);
+            this.gb_PlanState.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_PlanState.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            this.gb_PlanState.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_PlanState.DisplayLayout.Override.CellPadding = 0;
+            this.gb_PlanState.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            this.gb_PlanState.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_PlanState.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_PlanState.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.gb_PlanState.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            this.gb_PlanState.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gb_PlanState.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_PlanState.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_PlanState.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_PlanState.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_PlanState.Location = new System.Drawing.Point(3, 18);
+            this.gb_PlanState.Name = "gb_PlanState";
+            this.gb_PlanState.Size = new System.Drawing.Size(938, 157);
+            this.gb_PlanState.TabIndex = 11;
+            this.gb_PlanState.Text = "ultraGrid3";
+            this.gb_PlanState.AfterRowActivate += new System.EventHandler(this.gb_PlanState_AfterRowActivate);
+            this.gb_PlanState.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_PlanState_CellChange);
+            // 
+            // Frm_ProduceManage
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(944, 626);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_ProduceManage";
+            this.Text = "卷板开平生产管理";
+            this.Load += new System.EventHandler(this.Frm_ProduceManage_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Sleen)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_COIL_NO_ID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Count)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_XJZL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcLine)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ramark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStrem)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOredre)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Sleen)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
+            this.ultraExpandableGroupBox2.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_PlanState)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region 查询
+		private string GetWhere()
+		{
+			string strSql="";
+			if(this.chk_CollectTime.Checked)
+			{
+                strSql += " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND TO_CHAR(A.DEVLMT_DTIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+			}
+			if(this.chk_OrderNO.Checked)
+			{
+				strSql+=" AND A.ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
+			}
+			if(this.chk_PactID.Checked)
+			{
+                strSql += " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+			}
+			if(this.chk_RollHao.Checked)
+			{
+				strSql+=" AND A.OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
+			}
+			if(this.chk_BanHao.Checked)
+			{
+				strSql+=" AND A.SLAB_NO='"+this.txt_GangP.Text+"'";
+			}
+			if(this.chk_PaiHao.Checked)
+			{
+				strSql+=" AND A.STL_GRD="+this.cmb_Sleen.Value+"'";
+			}
+			if(this.chk_BNumber.Checked)
+			{
+				strSql+="AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '"+this.txt_BNumber.Text+"'";
+			}
+			if(this.chk_ProcLine.Checked)
+			{
+				strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
+			}
+			return strSql;
+		}
+		private void PlanQuery(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Plan_XF_Qery", new object[] { _Conntion }, out strOut);
+                ds.Tables["dtXF_Detail"].Columns["WORKORDER_ID"].Caption = "工单号";
+                ds.Tables["dtXF_Detail"].Columns["OLD_SAMPL_NO"].Caption = "钢卷号";
+                ds.Tables["dtXF_Detail"].Columns["ORD_NO"].Caption = "合同号";
+                ds.Tables["dtXF_Detail"].Columns["STL_GRD"].Caption = "牌号";
+                ds.Tables["dtXF_Detail"].Columns["COIL_THK"].Caption = "厚";
+                ds.Tables["dtXF_Detail"].Columns["COIL_WTH"].Caption = "宽";
+                ds.Tables["dtXF_Detail"].Columns["COIL_LEN"].Caption = "长";
+                ds.Tables["dtXF_Detail"].Columns["COIL_NUM"].Caption = "数量";
+                ds.Tables["dtXF_Detail"].Columns["DETAIL_TIME"].Caption = "时间";
+                this.gb_PlanState.DataSource=ds;
+				this.gb_PlanState.UpdateData();
+				Comm.SetGridSumArea(this.gb_PlanState);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private string PGetWhere()
+		{
+			string strSql="";
+			if(this.chk_CollectTime.Checked)
+			{
+				strSql += " AND TO_CHAR(A.PCTIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
+					+ " AND TO_CHAR(A.PCTIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
+			}
+			if(this.chk_OrderNO.Checked)
+			{
+				strSql+=" AND A.ORD_SEQ='"+this.txt_OrderNO.Text+"'";;
+			}
+			if(this.chk_PactID.Checked)
+			{
+                strSql += " AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+			}
+			if(this.chk_RollHao.Checked)
+			{
+				strSql+=" AND A.OLD_SAMPL_NO='"+this.txt_RollHao.Text+"'";
+			}
+			if(this.chk_BanHao.Checked)
+			{
+				strSql+=" AND A.SLAB_NO='"+this.txt_GangP.Text+"'";
+			}
+			if(this.chk_PaiHao.Checked)
+			{
+				strSql+=" AND A.STL_GRD='"+this.cmb_Sleen.Value+"'";
+			}
+			if(this.chk_PanPi.Checked)
+			{
+                strSql+=" AND A.COIL_NO_ID='"+this.txt_COIL_NO_ID.Text+"'";
+			}
+			if(this.chk_BNumber.Checked)
+			{
+				strSql+="AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '"+this.txt_BNumber.Text+"'";
+			}
+			if(this.chk_ProcLine.Checked)
+			{
+				strSql+=" AND A.STOCKTYPE='"+this.cmb_ProcL.Value.ToString()+"'";
+			}
+			return strSql;
+		}
+
+		private void Procde_Query(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
+				this.gb_Press.DataSource=ds;
+				this.gb_Press.UpdateData();
+				Comm.SetGridSumArea(this.gb_Press);
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
+				{
+					if(row.Cells["TURNOFFCOLLECT_LOG"].Value.ToString()=="1")
+					{
+						row.Appearance.ForeColor = System.Drawing.Color.Red;
+					}
+					else
+					{
+						row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region 生产登记
+		private System.Collections.ArrayList GetFieldValue(Infragistics.Win.UltraWinGrid.UltraGrid _SelectGrid,string _Select,string _FieldValue,string _FieldValue1)
+		{
+			System.Collections.ArrayList resultArray = new System.Collections.ArrayList();
+			
+			foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in _SelectGrid.Rows)
+			{
+				if(row.Cells[_Select].Value.ToString().ToUpper() == "TRUE")
+					resultArray.Add(row.Cells[_FieldValue].Value.ToString()+";"+row.Cells[_FieldValue1].Value.ToString());
+				
+			}
+			return resultArray;
+
+		}
+
+		private bool Check_Press()
+		{
+			if(this.txt_Scid_End_Y.Text.Trim().Length==0)
+			{
+				MessageBox.Show("钢卷批号不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false ;
+			}
+			if(this.cmb_ClassOredre.Text.Trim().Length==0&&this.cmb_ClassStrem.Text.Trim().Length==0)
+			{
+				MessageBox.Show("班次,班组不能为空!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+				return false ;
+			}
+            if (this.cmb_ProcLine.Text.Trim().Length == 0 )
+            {
+                MessageBox.Show("产线不能为空!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                return false;
+            }
+			return true;
+		}
+		private bool Check()
+		{
+			foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Rows)
+			{
+				if(row.Cells["FLAG"].Text.ToUpper()=="TRUE"&&!row.IsFilteredOut)
+				{
+					if(row.Cells["OLD_SAMPL_NO"].Value.ToString()!=this.txt_Scid_Top_Y.Text+"-"+this.txt_Scid_Begin_Y.Text)
+					{
+						MessageBox.Show("你所选中的行与卷板包号前两格不相符,请查看!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+						return false ;
+					}
+				}
+			}
+			return true;
+		}
+		private void Press_Add()
+		{
+			if(!Check_Press())
+			{
+				return;
+			}
+			try
+			{
+				string strOut="";
+                string isfjh = "";//是否非计划
+				ArrayList array=new ArrayList();
+                array.Add(this.txt_GangHao.Text);
+				//array=Comm.GetFieldValue(this.gb_PlanState,"FLAG","OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要生产的信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+				ArrayList Other=new ArrayList();
+                if (chk_fjh.Checked == true)
+                {
+                    isfjh = "1";
+                }
+                else
+                {
+                    isfjh = "0";
+                }
+				Other.Add(this.txt_Scid_Top_Y.Text+"-"+this.txt_Scid_Begin_Y.Text+"-"+this.txt_Scid_End_Y.Text);
+				Other.Add(this.cmb_ClassOredre.Value.ToString());
+				Other.Add(this.cmb_ClassStrem.Value.ToString());
+				Other.Add(this.txt_Length.Value.ToString());
+                Other.Add(this.txt_Count.Text);
+				Other.Add(this.txt_WEIGHT.Value.ToString());
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+				Other.Add(this.txt_Ply.Value.ToString());
+                Other.Add(this.txt_Width.Value.ToString());
+				Other.Add(this.txt_Ramark.Text);
+                Other.Add(this.cmb_ProcLine.Value.ToString());
+                Other.Add(isfjh);
+                Other.Add(this.txt_XJZL.Value.ToString());
+				/*if(!Check())
+				{
+					return;
+				}*/
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_Set", new object[] { array, Other }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+//					DataSet ds=(DataSet)this.gb_PlanState.DataSource;
+//					System.Data.DataRow[] row=ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
+//					for(int i=0;i<row.Length;i++)
+//					{
+//						ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
+//						ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
+//					}
+					string strSql=" AND A.COIL_NO_ID='"+this.txt_Scid_Top_Y.Text+"-"+this.txt_Scid_Begin_Y.Text+"-"+this.txt_Scid_End_Y.Text+"'";
+					this.Procde_Query(strSql);
+					Comm.SetGridSumArea(this.gb_PlanState);
+					Comm.SetGridSumArea(this.gb_Press);
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region 撤消生产登记
+		private void Press_Delete()
+		{
+			try
+			{
+				string strOut="";
+				ArrayList array=new ArrayList();
+				array=this.GetFieldValue(this.gb_Press,"FLAG","COIL_NO_ID","OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要撤消的生产信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_Del", new object[] { array }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_Press.DataSource;
+					System.Data.DataRow [] row=ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("FLAG='TRUE'");
+					for(int i=0;i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
+					}
+					this.PlanQuery("");
+					Comm.SetGridSumArea(this.gb_Press);
+					Comm.SetGridSumArea(this.gb_PlanState);
+				}
+				else
+				{
+                    MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region EVENT
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "QUERY_PLAN":
+					this.PlanQuery(this.GetWhere());
+					break;
+				case "QUERY_PRC":
+					this.Procde_Query(this.PGetWhere());
+					break;
+				case "BOOKIN":
+					this.Press_Add();
+					break;
+				case "DEL_BOOKIN":
+					this.Press_Delete();
+					break;
+				case "Close":
+					this.Close();
+					break;
+				case "DC":
+					ExportButtressInfo();
+					break;
+			}
+		}
+
+		private void gb_PlanState_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void gb_Press_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.dte_BeginTime.Enabled=this.chk_CollectTime.Checked;
+			this.dte_EndTime.Enabled=this.chk_CollectTime.Checked;
+		}
+
+		private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_OrderNO.Enabled=this.chk_OrderNO.Checked;
+		}
+
+		private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanID.Enabled=this.chk_PactID.Checked;
+		}
+
+		private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_RollHao.Enabled=this.chk_RollHao.Checked;
+		}
+
+		private void chk_PanPi_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_COIL_NO_ID.Enabled=this.chk_PanPi.Checked;
+		}
+
+		private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_GangP.Enabled=this.chk_BanHao.Checked;
+		}
+
+		private void chk_PaiHao_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Sleen.Enabled=this.chk_PaiHao.Checked;
+		}
+
+		private void gb_PlanState_AfterRowActivate(object sender, System.EventArgs e)
+		{
+            if (gb_PlanState.ActiveRow.Band.Key == "ReltnXF")
+            {
+                this.txt_Scid_Top_Y.Text = this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Substring(0, 2);
+                this.txt_Scid_Begin_Y.Text = this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString().Substring(3);
+                this.txt_GangHao.Text = this.gb_PlanState.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString();
+                this.txt_Plact.Text = this.gb_PlanState.ActiveRow.Cells["ORD_NO"].Value.ToString();
+                this.txt_Sleen.Text = this.gb_PlanState.ActiveRow.Cells["STL_GRD"].Value.ToString();
+                this.txt_Ply.Value = this.gb_PlanState.ActiveRow.Cells["PLAN_COIL_THK"].Value;
+                this.txt_Width.Value = this.gb_PlanState.ActiveRow.Cells["PLAN_COIL_WTH"].Value;
+                this.txt_Length.Value = this.gb_PlanState.ActiveRow.Cells["PLAN_COIL_LEN"].Value;
+                this.txt_Count.Text = this.gb_PlanState.ActiveRow.Cells["COIL_NUM"].Value.ToString();
+            }
+		}
+
+		private void Frm_ProduceManage_Load(object sender, System.EventArgs e)
+		{
+			Comm.SetGridSumArea(this.gb_PlanState);
+			Comm.SetGridSumArea(this.gb_Press);
+			string strOut="";
+			string sql="";
+			DataSet ds;
+			//班次
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_ClassOredre,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//班组
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_ClassStrem,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			sql ="SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8055'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_BASEDATA";
+
+			Comm.Init_ComboControl(this.cmb_ProcL,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+
+            sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE ID_ IN( '8055001','8055002')";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.cmb_ProcLine,"KCJ_BASEDATA","NAME_","ID_",ref ds);
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					//this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+					this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					//this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					//this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Press.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+
+					this.gb_PlanState.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					//this.gb_PlanState.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_PlanState.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+		{
+			
+			try
+			{
+				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_PlanState;
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_PlanState.Rows)
+				{
+					if(!row.IsFilteredOut)
+					{
+						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+						row.Update();
+					}
+				}
+				Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Press;
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
+				{
+					if(!row.IsFilteredOut)
+					{
+						row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+						row.Update();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_BNumber.Enabled=this.chk_BNumber.Checked;
+		}
+
+		private void txt_Count_Enter(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+
+				}
+				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+				{
+					((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void txt_Count_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData == Keys.Return)
+				{
+					    if(((System.Windows.Forms.Control)sender).Name == "txt_Length")
+					{
+                        if (this.txt_Count.Text.Trim() == "" || this.txt_Count.Text.Trim() == "0")
+						{
+							MessageBox.Show("数量不能为空","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+							return;
+						}
+                        if (this.txt_Count.Text.Trim() == "余开" || this.txt_Count.Text.Trim() == "全开")
+                        {
+                            MessageBox.Show("余开等请输入具体数量以获取理论重量", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                            return;
+                        }
+                        this.txt_WEIGHT.Value = ((Comm.ObjToInt(this.txt_Width.Value) * Comm.ObjToDouble(this.txt_Ply.Value) * Comm.ObjToInt(this.txt_Length.Value) * Comm.ObjToInt(this.txt_Count.Value)) * 0.00000000785);
+						
+					}	
+					System.Windows.Forms.SendKeys.Send("{TAB}");	
+				}
+					
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void btn_Prod_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+				string strOut="";
+				ArrayList  array=new ArrayList();
+				array=Comm.GetFieldValue(this.gb_PlanState,"FLAG","OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择你要计划信息!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.ProduceManage", "Press_QUEREN", new object[] { array }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					DataSet ds=(DataSet)this.gb_PlanState.DataSource;
+					System.Data.DataRow[] row=ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
+					for(int i=0;i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
+					}
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+
+				}
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Press.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Press,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+		}
+
+		private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_ProcL.Enabled=this.chk_ProcLine.Checked;
+		}
+
+        private void ultraButton1_Click(object sender, EventArgs e)
+        {
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array = Comm.GetFieldValue(this.gb_PlanState, "FLAG", "OLD_SAMPL_NO");
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要计划信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.ProduceManage", "Press_QUERENDEL", new object[] { array }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    DataSet ds = (DataSet)this.gb_PlanState.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_PLAN"].Select("FLAG='TRUE'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_PLAN"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_PLAN"].AcceptChanges();
+                    }
+                }
+                else
+                {
+                    MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+	}
+}

BIN
Client/.svn/pristine/55/5503371cd809653a9583695d89ee55676f9f1fe0.svn-base


+ 70 - 0
Client/.svn/pristine/56/56d03fc7e736629a1af610c9af4aebe9fdaafe72.svn-base

@@ -0,0 +1,70 @@
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\bin\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\bin\Debug\Core.XgMes.Client.JGKC.RollManager.pdb
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\ResolveAssemblyReference.cache
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.pdb
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.csproj.GenerateResource.Cache
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffReceive.resources
+D:\code\Client\Core.XgMes.Client.JGKC.RollManager.dll
+D:\code\Client\Core.XgMes.Client.JGKC.RollManager.pdb
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll.licenses
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffMove.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanDrawUp.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceManage.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffManage.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffMove.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoSendCan.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.CPButtressQuery.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.frmJBZKZH.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.TurnoffSendQueryJB.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendQueryJB.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendStatJB.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YLButtressQuery.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YL_Buress.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmPrint.resources
+D:\code\板加对外接单\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmJBCB.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\ResolveAssemblyReference.cache
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmJBCB.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffMove.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffReceive.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffManage.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffMove.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoSendCan.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.CPButtressQuery.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.frmJBZKZH.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmPrint.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.TurnoffSendQueryJB.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendQueryJB.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendStatJB.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YLButtressQuery.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YL_Buress.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceManage.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanDrawUp.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.csproj.GenerateResource.Cache
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll.licenses
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.pdb
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceTurnManage.resources
+D:\code\板加\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanTurnDrawUp.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\ResolveAssemblyReference.cache
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmJBCB.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffMove.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffReceive.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffManage.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffMove.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoSendCan.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.CPButtressQuery.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.frmJBZKZH.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmPrint.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.TurnoffSendQueryJB.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendQueryJB.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendStatJB.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YLButtressQuery.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YL_Buress.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceManage.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceTurnManage.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanDrawUp.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanTurnDrawUp.resources
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.csproj.GenerateResource.Cache
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+D:\code\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.pdb

BIN
Client/.svn/pristine/57/578adb5254defe71e81abe5bc5f6832267a80966.svn-base


BIN
Client/.svn/pristine/58/58adf2ed2b669bf7ed68cfc3ab12774c6981abcc.svn-base


+ 2829 - 0
Client/.svn/pristine/5a/5a3e65fc2d1abc7b07e2878da7e10154dd2f8087.svn-base

@@ -0,0 +1,2829 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using System.Data;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using Core.XgMes.Client.StorageBase;
+
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// 板材加工中心发运
+	/// </summary>
+	public class FrmTurnoffSendList : Core.XgMes.Client.StorageBase.FrmStorageBaseMode
+	{
+		#region "Varible"
+        public string strlx = "";
+		private Infragistics.Win.UltraWinGrid.UltraGrid Grd_HCSendPlan;
+		private System.Windows.Forms.Panel Pal_Edit;
+		private Infragistics.Win.UltraWinTabControl.UltraTabControl Tab_Match;
+		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
+		private Infragistics.Win.UltraWinGrid.UltraGrid Grd_Storage;
+		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
+        private Infragistics.Win.UltraWinGrid.UltraGrid Grd_Send;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_AskPlan;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_VecihleNO;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_ListCoding;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_SendMan;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassOrder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassTeam;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendTime;
+		private Infragistics.Win.Misc.UltraLabel lab_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Condole;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Billet;
+        private Infragistics.Win.Misc.UltraButton Btn_SendBillet;
+		private Infragistics.Win.Misc.UltraButton Btn_GetListCoding;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_EndTime;
+		private Infragistics.Win.Misc.UltraLabel Lab_To;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BeginTime;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_DeliveryTime;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_AskPlanID;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_AskPlanID;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCode;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ListCode;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNO;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Remark;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_IncpName;
+		#endregion
+
+        private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_SendPactNO;
+        private Infragistics.Win.Misc.UltraButton btn_Edit;
+        private Infragistics.Win.Misc.UltraButton btn_NSendID;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_Txt_ListCodingTop;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl3;
+        private Infragistics.Win.UltraWinGrid.UltraGrid Grd_HBSend;
+        private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl4;
+        private Infragistics.Win.UltraWinGrid.UltraGrid Grd_ZBSend;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Icode;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QXFY;
+        private Infragistics.Win.Misc.UltraButton chk_ybfs;
+        private Infragistics.Win.Misc.UltraButton chk_cxfs;
+        
+
+		/// <summary>
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+		public FrmTurnoffSendList()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance88 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance89 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance90 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance91 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance92 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance93 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance94 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance95 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance73 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance74 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance75 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance76 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance77 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance78 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance79 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance80 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance81 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance82 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance83 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance84 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance85 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance86 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance87 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab3 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab4 = new Infragistics.Win.UltraWinTabControl.UltraTab();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.Grd_Storage = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.Grd_Send = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraTabPageControl3 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.Grd_HBSend = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.ultraTabPageControl4 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
+            this.Grd_ZBSend = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.Grd_HCSendPlan = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.Pal_Edit = new System.Windows.Forms.Panel();
+            this.chk_ybfs = new Infragistics.Win.Misc.UltraButton();
+            this.chk_QXFY = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_Icode = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Cmb_Txt_ListCodingTop = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.btn_NSendID = new Infragistics.Win.Misc.UltraButton();
+            this.btn_Edit = new Infragistics.Win.Misc.UltraButton();
+            this.Txt_SendPactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_IncpName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.Btn_GetListCoding = new Infragistics.Win.Misc.UltraButton();
+            this.Btn_SendBillet = new Infragistics.Win.Misc.UltraButton();
+            this.Txt_Billet = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.lab_Condole = new Infragistics.Win.Misc.UltraLabel();
+            this.Dte_SendTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.Cmb_SendMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_ListCoding = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.Txt_AskPlan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.Tab_Match = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
+            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
+            this.Dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.Dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Chk_DeliveryTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_PlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ListCode = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_ListCode = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_cxfs = new Infragistics.Win.Misc.UltraButton();
+            ((System.ComponentModel.ISupportInitialize)(this.BaseToolBarManager)).BeginInit();
+            this.FrmBaseMode_Fill_Panel.SuspendLayout();
+            this.Pal_Top.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_Query)).BeginInit();
+            this.Grp_Query.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Calc_Manager)).BeginInit();
+            this.Pal_Buttom.SuspendLayout();
+            this.ultraTabPageControl1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Storage)).BeginInit();
+            this.ultraTabPageControl2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Send)).BeginInit();
+            this.ultraTabPageControl3.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_HBSend)).BeginInit();
+            this.ultraTabPageControl4.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_ZBSend)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_HCSendPlan)).BeginInit();
+            this.Pal_Edit.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Icode)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_IncpName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Billet)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Tab_Match)).BeginInit();
+            this.Tab_Match.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // BaseToolBarManager
+            // 
+            this.BaseToolBarManager.MenuSettings.ForceSerialization = true;
+            this.BaseToolBarManager.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            // 
+            // FrmBaseMode_Fill_Panel
+            // 
+            this.FrmBaseMode_Fill_Panel.Size = new System.Drawing.Size(1162, 556);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Left
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 20);
+            this._FrmBaseMode_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 556);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Right
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1162, 20);
+            this._FrmBaseMode_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 556);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Top
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1162, 20);
+            // 
+            // _FrmBaseMode_Toolbars_Dock_Area_Bottom
+            // 
+            this._FrmBaseMode_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 576);
+            this._FrmBaseMode_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1162, 0);
+            // 
+            // Pal_Top
+            // 
+            this.Pal_Top.Size = new System.Drawing.Size(1162, 53);
+            // 
+            // Grp_Query
+            // 
+            this.Grp_Query.Controls.Add(this.chk_AllowFilter);
+            this.Grp_Query.Controls.Add(this.ultraLabel10);
+            this.Grp_Query.Controls.Add(this.txt_RollNOEnd);
+            this.Grp_Query.Controls.Add(this.txt_RollNOBegin);
+            this.Grp_Query.Controls.Add(this.chk_RollNO);
+            this.Grp_Query.Controls.Add(this.txt_AskPlanID);
+            this.Grp_Query.Controls.Add(this.Chk_AskPlanID);
+            this.Grp_Query.Controls.Add(this.txt_ListCode);
+            this.Grp_Query.Controls.Add(this.chk_ListCode);
+            this.Grp_Query.Controls.Add(this.Txt_PlanNO);
+            this.Grp_Query.Controls.Add(this.Chk_PlanNO);
+            this.Grp_Query.Controls.Add(this.Txt_PactNO);
+            this.Grp_Query.Controls.Add(this.Chk_PactNO);
+            this.Grp_Query.Controls.Add(this.Dte_EndTime);
+            this.Grp_Query.Controls.Add(this.Lab_To);
+            this.Grp_Query.Controls.Add(this.Dte_BeginTime);
+            this.Grp_Query.Controls.Add(this.Chk_DeliveryTime);
+            this.Grp_Query.Size = new System.Drawing.Size(1162, 53);
+            // 
+            // Pal_Buttom
+            // 
+            this.Pal_Buttom.Controls.Add(this.Tab_Match);
+            this.Pal_Buttom.Controls.Add(this.Pal_Edit);
+            this.Pal_Buttom.Controls.Add(this.Grd_HCSendPlan);
+            this.Pal_Buttom.Location = new System.Drawing.Point(0, 53);
+            this.Pal_Buttom.Size = new System.Drawing.Size(1162, 503);
+            // 
+            // ultraTabPageControl1
+            // 
+            this.ultraTabPageControl1.Controls.Add(this.Grd_Storage);
+            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
+            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
+            this.ultraTabPageControl1.Size = new System.Drawing.Size(1158, 154);
+            // 
+            // Grd_Storage
+            // 
+            this.Grd_Storage.CalcManager = this.Calc_Manager;
+            this.Grd_Storage.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
+            appearance9.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Storage.DisplayLayout.GroupByBox.Appearance = appearance9;
+            appearance10.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Storage.DisplayLayout.GroupByBox.BandLabelAppearance = appearance10;
+            this.Grd_Storage.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Storage.DisplayLayout.GroupByBox.Hidden = true;
+            appearance11.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance11.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance11.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance11.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Storage.DisplayLayout.GroupByBox.PromptAppearance = appearance11;
+            this.Grd_Storage.DisplayLayout.Override.CellPadding = 0;
+            this.Grd_Storage.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+            appearance12.BackColor = System.Drawing.SystemColors.Control;
+            appearance12.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance12.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance12.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance12.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Storage.DisplayLayout.Override.GroupByRowAppearance = appearance12;
+            appearance13.BackColor = System.Drawing.Color.LightSteelBlue;
+            appearance13.TextHAlign = Infragistics.Win.HAlign.Center;
+            this.Grd_Storage.DisplayLayout.Override.HeaderAppearance = appearance13;
+            this.Grd_Storage.DisplayLayout.Override.MinRowHeight = 21;
+            appearance14.BackColor = System.Drawing.SystemColors.Window;
+            appearance14.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_Storage.DisplayLayout.Override.RowAppearance = appearance14;
+            appearance15.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.Grd_Storage.DisplayLayout.Override.RowSelectorAppearance = appearance15;
+            this.Grd_Storage.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.Grd_Storage.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_Storage.DisplayLayout.Override.TemplateAddRowAppearance = appearance16;
+            this.Grd_Storage.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_Storage.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_Storage.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_Storage.Location = new System.Drawing.Point(0, 0);
+            this.Grd_Storage.Name = "Grd_Storage";
+            this.Grd_Storage.Size = new System.Drawing.Size(1158, 154);
+            this.Grd_Storage.TabIndex = 49;
+            this.Grd_Storage.DoubleClickCell += new Infragistics.Win.UltraWinGrid.DoubleClickCellEventHandler(this.Grd_Storage_DoubleClickCell);
+            this.Grd_Storage.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.Grd_Storage_InitializeRow);
+            // 
+            // ultraTabPageControl2
+            // 
+            this.ultraTabPageControl2.Controls.Add(this.Grd_Send);
+            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
+            this.ultraTabPageControl2.Size = new System.Drawing.Size(1158, 154);
+            // 
+            // Grd_Send
+            // 
+            this.Grd_Send.CalcManager = this.Calc_Manager;
+            this.Grd_Send.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
+            appearance17.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance17.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance17.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Send.DisplayLayout.GroupByBox.Appearance = appearance17;
+            appearance18.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Send.DisplayLayout.GroupByBox.BandLabelAppearance = appearance18;
+            this.Grd_Send.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_Send.DisplayLayout.GroupByBox.Hidden = true;
+            appearance19.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance19.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance19.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance19.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_Send.DisplayLayout.GroupByBox.PromptAppearance = appearance19;
+            this.Grd_Send.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.RaisedSoft;
+            this.Grd_Send.DisplayLayout.Override.CellPadding = 0;
+            appearance20.BackColor = System.Drawing.SystemColors.Control;
+            appearance20.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance20.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance20.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance20.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_Send.DisplayLayout.Override.GroupByRowAppearance = appearance20;
+            appearance21.BackColor = System.Drawing.Color.LightSteelBlue;
+            appearance21.TextHAlign = Infragistics.Win.HAlign.Center;
+            this.Grd_Send.DisplayLayout.Override.HeaderAppearance = appearance21;
+            this.Grd_Send.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.Select;
+            this.Grd_Send.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.Grd_Send.DisplayLayout.Override.MinRowHeight = 21;
+            appearance22.BackColor = System.Drawing.SystemColors.Window;
+            appearance22.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_Send.DisplayLayout.Override.RowAppearance = appearance22;
+            appearance23.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.Grd_Send.DisplayLayout.Override.RowSelectorAppearance = appearance23;
+            this.Grd_Send.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.Grd_Send.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.Grd_Send.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_Send.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
+            appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_Send.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
+            this.Grd_Send.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_Send.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_Send.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_Send.Location = new System.Drawing.Point(0, 0);
+            this.Grd_Send.Name = "Grd_Send";
+            this.Grd_Send.Size = new System.Drawing.Size(1158, 154);
+            this.Grd_Send.TabIndex = 49;
+            // 
+            // ultraTabPageControl3
+            // 
+            this.ultraTabPageControl3.Controls.Add(this.Grd_HBSend);
+            this.ultraTabPageControl3.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl3.Name = "ultraTabPageControl3";
+            this.ultraTabPageControl3.Size = new System.Drawing.Size(1158, 154);
+            // 
+            // Grd_HBSend
+            // 
+            this.Grd_HBSend.CalcManager = this.Calc_Manager;
+            this.Grd_HBSend.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_HBSend.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_HBSend.Location = new System.Drawing.Point(0, 0);
+            this.Grd_HBSend.Name = "Grd_HBSend";
+            this.Grd_HBSend.Size = new System.Drawing.Size(1158, 154);
+            this.Grd_HBSend.TabIndex = 49;
+            // 
+            // ultraTabPageControl4
+            // 
+            this.ultraTabPageControl4.Controls.Add(this.Grd_ZBSend);
+            this.ultraTabPageControl4.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabPageControl4.Name = "ultraTabPageControl4";
+            this.ultraTabPageControl4.Size = new System.Drawing.Size(1158, 154);
+            // 
+            // Grd_ZBSend
+            // 
+            this.Grd_ZBSend.CalcManager = this.Calc_Manager;
+            this.Grd_ZBSend.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Grd_ZBSend.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_ZBSend.Location = new System.Drawing.Point(0, 0);
+            this.Grd_ZBSend.Name = "Grd_ZBSend";
+            this.Grd_ZBSend.Size = new System.Drawing.Size(1158, 154);
+            this.Grd_ZBSend.TabIndex = 50;
+            // 
+            // Grd_HCSendPlan
+            // 
+            this.Grd_HCSendPlan.CalcManager = this.Calc_Manager;
+            this.Grd_HCSendPlan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.True;
+            appearance88.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance88.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance88.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance88.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_HCSendPlan.DisplayLayout.GroupByBox.Appearance = appearance88;
+            appearance89.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_HCSendPlan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance89;
+            this.Grd_HCSendPlan.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Grd_HCSendPlan.DisplayLayout.GroupByBox.Hidden = true;
+            appearance90.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance90.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance90.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance90.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Grd_HCSendPlan.DisplayLayout.GroupByBox.PromptAppearance = appearance90;
+            this.Grd_HCSendPlan.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.RaisedSoft;
+            this.Grd_HCSendPlan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
+            this.Grd_HCSendPlan.DisplayLayout.Override.CellPadding = 0;
+            appearance91.BackColor = System.Drawing.SystemColors.Control;
+            appearance91.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance91.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance91.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance91.BorderColor = System.Drawing.SystemColors.Window;
+            this.Grd_HCSendPlan.DisplayLayout.Override.GroupByRowAppearance = appearance91;
+            appearance92.BackColor = System.Drawing.Color.LightSteelBlue;
+            appearance92.TextHAlign = Infragistics.Win.HAlign.Center;
+            this.Grd_HCSendPlan.DisplayLayout.Override.HeaderAppearance = appearance92;
+            this.Grd_HCSendPlan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Grd_HCSendPlan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            this.Grd_HCSendPlan.DisplayLayout.Override.MinRowHeight = 21;
+            appearance93.BackColor = System.Drawing.SystemColors.Window;
+            appearance93.BorderColor = System.Drawing.Color.Silver;
+            this.Grd_HCSendPlan.DisplayLayout.Override.RowAppearance = appearance93;
+            appearance94.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.Grd_HCSendPlan.DisplayLayout.Override.RowSelectorAppearance = appearance94;
+            this.Grd_HCSendPlan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.Grd_HCSendPlan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.Grd_HCSendPlan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            this.Grd_HCSendPlan.DisplayLayout.Override.SelectTypeCell = Infragistics.Win.UltraWinGrid.SelectType.None;
+            appearance95.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Grd_HCSendPlan.DisplayLayout.Override.TemplateAddRowAppearance = appearance95;
+            this.Grd_HCSendPlan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Grd_HCSendPlan.Dock = System.Windows.Forms.DockStyle.Top;
+            this.Grd_HCSendPlan.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Grd_HCSendPlan.Location = new System.Drawing.Point(0, 0);
+            this.Grd_HCSendPlan.Name = "Grd_HCSendPlan";
+            this.Grd_HCSendPlan.Size = new System.Drawing.Size(1162, 226);
+            this.Grd_HCSendPlan.TabIndex = 42;
+            this.Grd_HCSendPlan.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.Grd_HCSendPlan_DoubleClickRow);
+            // 
+            // Pal_Edit
+            // 
+            this.Pal_Edit.Controls.Add(this.chk_cxfs);
+            this.Pal_Edit.Controls.Add(this.chk_ybfs);
+            this.Pal_Edit.Controls.Add(this.chk_QXFY);
+            this.Pal_Edit.Controls.Add(this.txt_Icode);
+            this.Pal_Edit.Controls.Add(this.Cmb_Txt_ListCodingTop);
+            this.Pal_Edit.Controls.Add(this.btn_NSendID);
+            this.Pal_Edit.Controls.Add(this.btn_Edit);
+            this.Pal_Edit.Controls.Add(this.Txt_SendPactNO);
+            this.Pal_Edit.Controls.Add(this.ultraLabel18);
+            this.Pal_Edit.Controls.Add(this.Txt_IncpName);
+            this.Pal_Edit.Controls.Add(this.ultraLabel14);
+            this.Pal_Edit.Controls.Add(this.Btn_GetListCoding);
+            this.Pal_Edit.Controls.Add(this.Btn_SendBillet);
+            this.Pal_Edit.Controls.Add(this.Txt_Billet);
+            this.Pal_Edit.Controls.Add(this.ultraLabel9);
+            this.Pal_Edit.Controls.Add(this.Txt_Condole);
+            this.Pal_Edit.Controls.Add(this.lab_Condole);
+            this.Pal_Edit.Controls.Add(this.Dte_SendTime);
+            this.Pal_Edit.Controls.Add(this.ultraLabel8);
+            this.Pal_Edit.Controls.Add(this.Txt_Remark);
+            this.Pal_Edit.Controls.Add(this.ultraLabel19);
+            this.Pal_Edit.Controls.Add(this.Cmb_ClassTeam);
+            this.Pal_Edit.Controls.Add(this.ultraLabel6);
+            this.Pal_Edit.Controls.Add(this.Cmb_ClassOrder);
+            this.Pal_Edit.Controls.Add(this.ultraLabel5);
+            this.Pal_Edit.Controls.Add(this.Cmb_SendMan);
+            this.Pal_Edit.Controls.Add(this.ultraLabel4);
+            this.Pal_Edit.Controls.Add(this.Txt_ListCoding);
+            this.Pal_Edit.Controls.Add(this.ultraLabel3);
+            this.Pal_Edit.Controls.Add(this.Txt_VecihleNO);
+            this.Pal_Edit.Controls.Add(this.ultraLabel2);
+            this.Pal_Edit.Controls.Add(this.Txt_AskPlan);
+            this.Pal_Edit.Controls.Add(this.ultraLabel1);
+            this.Pal_Edit.Dock = System.Windows.Forms.DockStyle.Top;
+            this.Pal_Edit.Location = new System.Drawing.Point(0, 226);
+            this.Pal_Edit.Name = "Pal_Edit";
+            this.Pal_Edit.Size = new System.Drawing.Size(1162, 100);
+            this.Pal_Edit.TabIndex = 51;
+            // 
+            // chk_ybfs
+            // 
+            this.chk_ybfs.Location = new System.Drawing.Point(598, 30);
+            this.chk_ybfs.Name = "chk_ybfs";
+            this.chk_ybfs.Size = new System.Drawing.Size(72, 24);
+            this.chk_ybfs.TabIndex = 212;
+            this.chk_ybfs.Text = "预报发送";
+            this.chk_ybfs.Click += new System.EventHandler(this.chk_ybfs_Click);
+            // 
+            // chk_QXFY
+            // 
+            this.chk_QXFY.BackColor = System.Drawing.Color.Red;
+            this.chk_QXFY.Location = new System.Drawing.Point(598, 52);
+            this.chk_QXFY.Name = "chk_QXFY";
+            this.chk_QXFY.Size = new System.Drawing.Size(72, 24);
+            this.chk_QXFY.TabIndex = 211;
+            this.chk_QXFY.TabStop = false;
+            this.chk_QXFY.Text = "强行发运";
+            this.chk_QXFY.Visible = false;
+            // 
+            // txt_Icode
+            // 
+            appearance25.BackColor = System.Drawing.Color.LavenderBlush;
+            this.txt_Icode.Appearance = appearance25;
+            this.txt_Icode.AutoSize = true;
+            this.txt_Icode.FlatMode = true;
+            this.txt_Icode.Location = new System.Drawing.Point(724, 72);
+            this.txt_Icode.Name = "txt_Icode";
+            this.txt_Icode.Size = new System.Drawing.Size(108, 19);
+            this.txt_Icode.TabIndex = 66;
+            this.txt_Icode.Visible = false;
+            // 
+            // Cmb_Txt_ListCodingTop
+            // 
+            appearance26.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_Txt_ListCodingTop.Appearance = appearance26;
+            this.Cmb_Txt_ListCodingTop.CalcManager = this.Calc_Manager;
+            this.Cmb_Txt_ListCodingTop.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance27.BackColor = System.Drawing.SystemColors.Window;
+            appearance27.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Appearance = appearance27;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance28.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance28.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance28.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance28.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.Appearance = appearance28;
+            appearance29.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.BandLabelAppearance = appearance29;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance30.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance30.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance30.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance30.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.PromptAppearance = appearance30;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance31.BackColor = System.Drawing.SystemColors.Window;
+            appearance31.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.ActiveCellAppearance = appearance31;
+            appearance32.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance32.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.ActiveRowAppearance = appearance32;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance33.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CardAreaAppearance = appearance33;
+            appearance34.BorderColor = System.Drawing.Color.Silver;
+            appearance34.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellAppearance = appearance34;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellPadding = 0;
+            appearance35.BackColor = System.Drawing.SystemColors.Control;
+            appearance35.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance35.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance35.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance35.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.GroupByRowAppearance = appearance35;
+            appearance36.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderAppearance = appearance36;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance37.BackColor = System.Drawing.SystemColors.Window;
+            appearance37.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.RowAppearance = appearance37;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance38.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.TemplateAddRowAppearance = appearance38;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_Txt_ListCodingTop.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_Txt_ListCodingTop.DisplayMember = "";
+            this.Cmb_Txt_ListCodingTop.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_Txt_ListCodingTop.FlatMode = true;
+            this.Cmb_Txt_ListCodingTop.Location = new System.Drawing.Point(66, 53);
+            this.Cmb_Txt_ListCodingTop.Name = "Cmb_Txt_ListCodingTop";
+            this.Cmb_Txt_ListCodingTop.Size = new System.Drawing.Size(54, 19);
+            this.Cmb_Txt_ListCodingTop.TabIndex = 65;
+            this.Cmb_Txt_ListCodingTop.ValueMember = "";
+            // 
+            // btn_NSendID
+            // 
+            this.btn_NSendID.FlatMode = true;
+            this.btn_NSendID.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btn_NSendID.Location = new System.Drawing.Point(178, 4);
+            this.btn_NSendID.Name = "btn_NSendID";
+            this.btn_NSendID.Size = new System.Drawing.Size(36, 19);
+            this.btn_NSendID.TabIndex = 60;
+            this.btn_NSendID.Text = "……";
+            this.btn_NSendID.Visible = false;
+            // 
+            // btn_Edit
+            // 
+            appearance39.BackColor = System.Drawing.Color.Red;
+            this.btn_Edit.Appearance = appearance39;
+            this.btn_Edit.FlatMode = true;
+            this.btn_Edit.Font = new System.Drawing.Font("宋体", 8.5F);
+            this.btn_Edit.Location = new System.Drawing.Point(178, 28);
+            this.btn_Edit.Name = "btn_Edit";
+            this.btn_Edit.Size = new System.Drawing.Size(36, 20);
+            this.btn_Edit.TabIndex = 57;
+            this.btn_Edit.Text = "修改";
+            this.btn_Edit.Click += new System.EventHandler(this.btn_Edit_Click);
+            // 
+            // Txt_SendPactNO
+            // 
+            appearance40.BackColor = System.Drawing.Color.LavenderBlush;
+            this.Txt_SendPactNO.Appearance = appearance40;
+            this.Txt_SendPactNO.AutoSize = true;
+            this.Txt_SendPactNO.FlatMode = true;
+            this.Txt_SendPactNO.Location = new System.Drawing.Point(66, 74);
+            this.Txt_SendPactNO.Name = "Txt_SendPactNO";
+            this.Txt_SendPactNO.ReadOnly = true;
+            this.Txt_SendPactNO.Size = new System.Drawing.Size(144, 19);
+            this.Txt_SendPactNO.TabIndex = 6;
+            this.Txt_SendPactNO.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_SendPactNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel18.Location = new System.Drawing.Point(10, 76);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel18.TabIndex = 56;
+            this.ultraLabel18.Text = "合同号";
+            // 
+            // Txt_IncpName
+            // 
+            appearance41.BackColor = System.Drawing.Color.LavenderBlush;
+            this.Txt_IncpName.Appearance = appearance41;
+            this.Txt_IncpName.AutoSize = true;
+            this.Txt_IncpName.FlatMode = true;
+            this.Txt_IncpName.Location = new System.Drawing.Point(280, 73);
+            this.Txt_IncpName.Name = "Txt_IncpName";
+            this.Txt_IncpName.Size = new System.Drawing.Size(108, 19);
+            this.Txt_IncpName.TabIndex = 9;
+            this.Txt_IncpName.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_IncpName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel14.Location = new System.Drawing.Point(224, 75);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 48;
+            this.ultraLabel14.Text = "订货单位";
+            // 
+            // Btn_GetListCoding
+            // 
+            this.Btn_GetListCoding.FlatMode = true;
+            this.Btn_GetListCoding.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.Btn_GetListCoding.Location = new System.Drawing.Point(190, 52);
+            this.Btn_GetListCoding.Name = "Btn_GetListCoding";
+            this.Btn_GetListCoding.Size = new System.Drawing.Size(22, 19);
+            this.Btn_GetListCoding.TabIndex = 40;
+            this.Btn_GetListCoding.Text = "……";
+            this.Btn_GetListCoding.Click += new System.EventHandler(this.Btn_GetListCoding_Click);
+            // 
+            // Btn_SendBillet
+            // 
+            this.Btn_SendBillet.Location = new System.Drawing.Point(598, 76);
+            this.Btn_SendBillet.Name = "Btn_SendBillet";
+            this.Btn_SendBillet.Size = new System.Drawing.Size(72, 24);
+            this.Btn_SendBillet.TabIndex = 17;
+            this.Btn_SendBillet.Text = "单块登记";
+            this.Btn_SendBillet.Click += new System.EventHandler(this.Btn_SendBillet_Click);
+            // 
+            // Txt_Billet
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_Billet.Appearance = appearance42;
+            this.Txt_Billet.AutoSize = true;
+            this.Txt_Billet.FlatMode = true;
+            this.Txt_Billet.Location = new System.Drawing.Point(450, 26);
+            this.Txt_Billet.Name = "Txt_Billet";
+            this.Txt_Billet.Size = new System.Drawing.Size(114, 19);
+            this.Txt_Billet.TabIndex = 16;
+            this.Txt_Billet.TextChanged += new System.EventHandler(this.Txt_Billet_TextChanged);
+            this.Txt_Billet.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_Billet.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(394, 28);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel9.TabIndex = 19;
+            this.ultraLabel9.Text = "发运序号";
+            // 
+            // Txt_Condole
+            // 
+            appearance43.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_Condole.Appearance = appearance43;
+            this.Txt_Condole.AutoSize = true;
+            this.Txt_Condole.FlatMode = true;
+            this.Txt_Condole.Location = new System.Drawing.Point(450, 2);
+            this.Txt_Condole.Name = "Txt_Condole";
+            this.Txt_Condole.Size = new System.Drawing.Size(114, 19);
+            this.Txt_Condole.TabIndex = 15;
+            this.Txt_Condole.TextChanged += new System.EventHandler(this.Txt_Condole_TextChanged);
+            this.Txt_Condole.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_Condole.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // lab_Condole
+            // 
+            this.lab_Condole.Location = new System.Drawing.Point(394, 4);
+            this.lab_Condole.Name = "lab_Condole";
+            this.lab_Condole.Size = new System.Drawing.Size(54, 16);
+            this.lab_Condole.TabIndex = 17;
+            this.lab_Condole.Text = "发运吊号";
+            // 
+            // Dte_SendTime
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.Dte_SendTime.Appearance = appearance44;
+            this.Dte_SendTime.DateTime = new System.DateTime(2007, 9, 4, 0, 0, 0, 0);
+            this.Dte_SendTime.FlatMode = true;
+            this.Dte_SendTime.Location = new System.Drawing.Point(450, 48);
+            this.Dte_SendTime.MaskInput = "{date} {time}";
+            this.Dte_SendTime.Name = "Dte_SendTime";
+            this.Dte_SendTime.Size = new System.Drawing.Size(114, 19);
+            this.Dte_SendTime.TabIndex = 13;
+            this.Dte_SendTime.Value = new System.DateTime(2007, 9, 4, 0, 0, 0, 0);
+            this.Dte_SendTime.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Dte_SendTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(394, 50);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel8.TabIndex = 15;
+            this.ultraLabel8.Text = "发运时间";
+            // 
+            // Txt_Remark
+            // 
+            appearance45.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_Remark.Appearance = appearance45;
+            this.Txt_Remark.AutoSize = true;
+            this.Txt_Remark.FlatMode = true;
+            this.Txt_Remark.Location = new System.Drawing.Point(448, 72);
+            this.Txt_Remark.Name = "Txt_Remark";
+            this.Txt_Remark.Size = new System.Drawing.Size(144, 19);
+            this.Txt_Remark.TabIndex = 17;
+            this.Txt_Remark.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel19.Location = new System.Drawing.Point(394, 75);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel19.TabIndex = 13;
+            this.ultraLabel19.Text = "发运备注";
+            // 
+            // Cmb_ClassTeam
+            // 
+            appearance46.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_ClassTeam.Appearance = appearance46;
+            this.Cmb_ClassTeam.CalcManager = this.Calc_Manager;
+            this.Cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance47.BackColor = System.Drawing.SystemColors.Window;
+            appearance47.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_ClassTeam.DisplayLayout.Appearance = appearance47;
+            this.Cmb_ClassTeam.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassTeam.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance48.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance48.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance48.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance48.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.Appearance = appearance48;
+            appearance49.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BandLabelAppearance = appearance49;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance50.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance50.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance50.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance50.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.PromptAppearance = appearance50;
+            this.Cmb_ClassTeam.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassTeam.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance51.BackColor = System.Drawing.SystemColors.Window;
+            appearance51.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.ActiveCellAppearance = appearance51;
+            appearance52.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance52.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.ActiveRowAppearance = appearance52;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance53.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CardAreaAppearance = appearance53;
+            appearance54.BorderColor = System.Drawing.Color.Silver;
+            appearance54.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellAppearance = appearance54;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellPadding = 0;
+            appearance55.BackColor = System.Drawing.SystemColors.Control;
+            appearance55.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance55.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance55.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance55.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.Override.GroupByRowAppearance = appearance55;
+            appearance56.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderAppearance = appearance56;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance57.BackColor = System.Drawing.SystemColors.Window;
+            appearance57.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowAppearance = appearance57;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance58.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_ClassTeam.DisplayLayout.Override.TemplateAddRowAppearance = appearance58;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassTeam.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassTeam.DisplayMember = "";
+            this.Cmb_ClassTeam.FlatMode = true;
+            this.Cmb_ClassTeam.Location = new System.Drawing.Point(280, 50);
+            this.Cmb_ClassTeam.Name = "Cmb_ClassTeam";
+            this.Cmb_ClassTeam.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_ClassTeam.TabIndex = 12;
+            this.Cmb_ClassTeam.ValueMember = "";
+            this.Cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            this.Cmb_ClassTeam.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(224, 52);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 10;
+            this.ultraLabel6.Text = "发运班组";
+            // 
+            // Cmb_ClassOrder
+            // 
+            appearance59.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_ClassOrder.Appearance = appearance59;
+            this.Cmb_ClassOrder.CalcManager = this.Calc_Manager;
+            this.Cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance60.BackColor = System.Drawing.SystemColors.Window;
+            appearance60.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_ClassOrder.DisplayLayout.Appearance = appearance60;
+            this.Cmb_ClassOrder.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassOrder.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance61.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance61.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance61.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance61.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.Appearance = appearance61;
+            appearance62.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.BandLabelAppearance = appearance62;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance63.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance63.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance63.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance63.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.PromptAppearance = appearance63;
+            this.Cmb_ClassOrder.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassOrder.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance64.BackColor = System.Drawing.SystemColors.Window;
+            appearance64.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.ActiveCellAppearance = appearance64;
+            appearance65.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance65.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.ActiveRowAppearance = appearance65;
+            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance66.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CardAreaAppearance = appearance66;
+            appearance67.BorderColor = System.Drawing.Color.Silver;
+            appearance67.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellAppearance = appearance67;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassOrder.DisplayLayout.Override.CellPadding = 0;
+            appearance68.BackColor = System.Drawing.SystemColors.Control;
+            appearance68.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance68.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance68.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance68.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassOrder.DisplayLayout.Override.GroupByRowAppearance = appearance68;
+            appearance69.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderAppearance = appearance69;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance70.BackColor = System.Drawing.SystemColors.Window;
+            appearance70.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_ClassOrder.DisplayLayout.Override.RowAppearance = appearance70;
+            this.Cmb_ClassOrder.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance71.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_ClassOrder.DisplayLayout.Override.TemplateAddRowAppearance = appearance71;
+            this.Cmb_ClassOrder.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassOrder.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassOrder.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassOrder.DisplayMember = "";
+            this.Cmb_ClassOrder.FlatMode = true;
+            this.Cmb_ClassOrder.Location = new System.Drawing.Point(280, 26);
+            this.Cmb_ClassOrder.Name = "Cmb_ClassOrder";
+            this.Cmb_ClassOrder.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_ClassOrder.TabIndex = 11;
+            this.Cmb_ClassOrder.ValueMember = "";
+            this.Cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            this.Cmb_ClassOrder.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(224, 28);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel5.TabIndex = 8;
+            this.ultraLabel5.Text = "发运班次";
+            // 
+            // Cmb_SendMan
+            // 
+            appearance72.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_SendMan.Appearance = appearance72;
+            this.Cmb_SendMan.CalcManager = this.Calc_Manager;
+            this.Cmb_SendMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance73.BackColor = System.Drawing.SystemColors.Window;
+            appearance73.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_SendMan.DisplayLayout.Appearance = appearance73;
+            this.Cmb_SendMan.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_SendMan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance74.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance74.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance74.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance74.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.Appearance = appearance74;
+            appearance75.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance75;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance76.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance76.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance76.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance76.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_SendMan.DisplayLayout.GroupByBox.PromptAppearance = appearance76;
+            this.Cmb_SendMan.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_SendMan.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance77.BackColor = System.Drawing.SystemColors.Window;
+            appearance77.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_SendMan.DisplayLayout.Override.ActiveCellAppearance = appearance77;
+            appearance78.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance78.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_SendMan.DisplayLayout.Override.ActiveRowAppearance = appearance78;
+            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance79.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SendMan.DisplayLayout.Override.CardAreaAppearance = appearance79;
+            appearance80.BorderColor = System.Drawing.Color.Silver;
+            appearance80.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_SendMan.DisplayLayout.Override.CellAppearance = appearance80;
+            this.Cmb_SendMan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_SendMan.DisplayLayout.Override.CellPadding = 0;
+            appearance81.BackColor = System.Drawing.SystemColors.Control;
+            appearance81.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance81.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance81.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance81.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SendMan.DisplayLayout.Override.GroupByRowAppearance = appearance81;
+            appearance82.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderAppearance = appearance82;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_SendMan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance83.BackColor = System.Drawing.SystemColors.Window;
+            appearance83.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_SendMan.DisplayLayout.Override.RowAppearance = appearance83;
+            this.Cmb_SendMan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance84.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_SendMan.DisplayLayout.Override.TemplateAddRowAppearance = appearance84;
+            this.Cmb_SendMan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_SendMan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_SendMan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_SendMan.DisplayMember = "";
+            this.Cmb_SendMan.FlatMode = true;
+            this.Cmb_SendMan.Location = new System.Drawing.Point(280, 2);
+            this.Cmb_SendMan.Name = "Cmb_SendMan";
+            this.Cmb_SendMan.Size = new System.Drawing.Size(108, 19);
+            this.Cmb_SendMan.TabIndex = 10;
+            this.Cmb_SendMan.ValueMember = "";
+            this.Cmb_SendMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            this.Cmb_SendMan.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel4.Location = new System.Drawing.Point(236, 4);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(42, 16);
+            this.ultraLabel4.TabIndex = 6;
+            this.ultraLabel4.Text = "发运人";
+            // 
+            // Txt_ListCoding
+            // 
+            appearance85.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_ListCoding.Appearance = appearance85;
+            this.Txt_ListCoding.AutoSize = true;
+            this.Txt_ListCoding.FlatMode = true;
+            this.Txt_ListCoding.Location = new System.Drawing.Point(120, 52);
+            this.Txt_ListCoding.Name = "Txt_ListCoding";
+            this.Txt_ListCoding.Size = new System.Drawing.Size(70, 19);
+            this.Txt_ListCoding.TabIndex = 4;
+            this.Txt_ListCoding.ValueChanged += new System.EventHandler(this.Txt_ListCoding_ValueChanged);
+            this.Txt_ListCoding.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_ListCoding.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(10, 54);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel3.TabIndex = 4;
+            this.ultraLabel3.Text = "明细编码";
+            // 
+            // Txt_VecihleNO
+            // 
+            appearance86.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_VecihleNO.Appearance = appearance86;
+            this.Txt_VecihleNO.AutoSize = true;
+            this.Txt_VecihleNO.FlatMode = true;
+            this.Txt_VecihleNO.Location = new System.Drawing.Point(66, 28);
+            this.Txt_VecihleNO.Name = "Txt_VecihleNO";
+            this.Txt_VecihleNO.Size = new System.Drawing.Size(112, 19);
+            this.Txt_VecihleNO.TabIndex = 2;
+            this.Txt_VecihleNO.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_VecihleNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(10, 30);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel2.TabIndex = 2;
+            this.ultraLabel2.Text = "发运车号";
+            // 
+            // Txt_AskPlan
+            // 
+            appearance87.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_AskPlan.Appearance = appearance87;
+            this.Txt_AskPlan.AutoSize = true;
+            this.Txt_AskPlan.Enabled = false;
+            this.Txt_AskPlan.FlatMode = true;
+            this.Txt_AskPlan.Location = new System.Drawing.Point(66, 4);
+            this.Txt_AskPlan.Name = "Txt_AskPlan";
+            this.Txt_AskPlan.ReadOnly = true;
+            this.Txt_AskPlan.Size = new System.Drawing.Size(112, 19);
+            this.Txt_AskPlan.TabIndex = 1;
+            this.Txt_AskPlan.Enter += new System.EventHandler(this.Dte_SendTime_Enter);
+            this.Txt_AskPlan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Dte_SendTime_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel1.Location = new System.Drawing.Point(10, 6);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel1.TabIndex = 0;
+            this.ultraLabel1.Text = "发运号码";
+            // 
+            // Tab_Match
+            // 
+            this.Tab_Match.Controls.Add(this.ultraTabSharedControlsPage1);
+            this.Tab_Match.Controls.Add(this.ultraTabPageControl1);
+            this.Tab_Match.Controls.Add(this.ultraTabPageControl2);
+            this.Tab_Match.Controls.Add(this.ultraTabPageControl3);
+            this.Tab_Match.Controls.Add(this.ultraTabPageControl4);
+            this.Tab_Match.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.Tab_Match.Location = new System.Drawing.Point(0, 326);
+            this.Tab_Match.Name = "Tab_Match";
+            this.Tab_Match.SharedControlsPage = this.ultraTabSharedControlsPage1;
+            this.Tab_Match.Size = new System.Drawing.Size(1162, 177);
+            this.Tab_Match.TabIndex = 55;
+            ultraTab1.Key = "STORAGE";
+            ultraTab1.TabPage = this.ultraTabPageControl1;
+            ultraTab1.Text = "可发信息";
+            ultraTab2.Key = "SEND";
+            ultraTab2.TabPage = this.ultraTabPageControl2;
+            ultraTab2.Text = "已发信息";
+            ultraTab3.Key = "HBSEND";
+            ultraTab3.TabPage = this.ultraTabPageControl3;
+            ultraTab3.Text = "厚板发运信息";
+            ultraTab3.Visible = false;
+            ultraTab4.Key = "ZBSEND";
+            ultraTab4.TabPage = this.ultraTabPageControl4;
+            ultraTab4.Text = "中板发运信息";
+            ultraTab4.Visible = false;
+            this.Tab_Match.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
+            ultraTab1,
+            ultraTab2,
+            ultraTab3,
+            ultraTab4});
+            this.Tab_Match.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
+            // 
+            // ultraTabSharedControlsPage1
+            // 
+            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
+            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
+            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1158, 154);
+            // 
+            // Dte_EndTime
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.Dte_EndTime.Appearance = appearance7;
+            this.Dte_EndTime.DateTime = new System.DateTime(2007, 9, 4, 0, 0, 0, 0);
+            this.Dte_EndTime.FlatMode = true;
+            this.Dte_EndTime.Location = new System.Drawing.Point(62, 28);
+            this.Dte_EndTime.Name = "Dte_EndTime";
+            this.Dte_EndTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_EndTime.TabIndex = 69;
+            this.Dte_EndTime.Tag = "TO_CHAR(C.PLANDATE,\'YYYY-MM-DD\')#D#1|:WDSN";
+            this.Dte_EndTime.Value = new System.DateTime(2007, 9, 4, 0, 0, 0, 0);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(42, 30);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 68;
+            this.Lab_To.Text = "到";
+            // 
+            // Dte_BeginTime
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.Dte_BeginTime.Appearance = appearance8;
+            this.Dte_BeginTime.DateTime = new System.DateTime(2007, 9, 4, 0, 0, 0, 0);
+            this.Dte_BeginTime.FlatMode = true;
+            this.Dte_BeginTime.Location = new System.Drawing.Point(62, 6);
+            this.Dte_BeginTime.Name = "Dte_BeginTime";
+            this.Dte_BeginTime.Size = new System.Drawing.Size(112, 19);
+            this.Dte_BeginTime.TabIndex = 67;
+            this.Dte_BeginTime.Tag = "TO_CHAR(C.PLANDATE,\'YYYY-MM-DD\')#D#0|:HDSN";
+            this.Dte_BeginTime.Value = new System.DateTime(2007, 9, 4, 0, 0, 0, 0);
+            // 
+            // Chk_DeliveryTime
+            // 
+            this.Chk_DeliveryTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.Chk_DeliveryTime.Checked = true;
+            this.Chk_DeliveryTime.CheckState = System.Windows.Forms.CheckState.Checked;
+            this.Chk_DeliveryTime.FlatMode = true;
+            this.Chk_DeliveryTime.Location = new System.Drawing.Point(14, 8);
+            this.Chk_DeliveryTime.Name = "Chk_DeliveryTime";
+            this.Chk_DeliveryTime.Size = new System.Drawing.Size(48, 14);
+            this.Chk_DeliveryTime.TabIndex = 66;
+            this.Chk_DeliveryTime.Text = "时间";
+            this.Chk_DeliveryTime.CheckedChanged += new System.EventHandler(this.Chk_DeliveryTime_CheckedChanged);
+            // 
+            // Txt_PactNO
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_PactNO.Appearance = appearance6;
+            this.Txt_PactNO.AutoSize = true;
+            this.Txt_PactNO.Enabled = false;
+            this.Txt_PactNO.FlatMode = true;
+            this.Txt_PactNO.Location = new System.Drawing.Point(240, 6);
+            this.Txt_PactNO.Name = "Txt_PactNO";
+            this.Txt_PactNO.Size = new System.Drawing.Size(98, 19);
+            this.Txt_PactNO.TabIndex = 85;
+            this.Txt_PactNO.Tag = "";
+            // 
+            // Chk_PactNO
+            // 
+            this.Chk_PactNO.FlatMode = true;
+            this.Chk_PactNO.Location = new System.Drawing.Point(178, 8);
+            this.Chk_PactNO.Name = "Chk_PactNO";
+            this.Chk_PactNO.Size = new System.Drawing.Size(60, 14);
+            this.Chk_PactNO.TabIndex = 84;
+            this.Chk_PactNO.Text = "合同号";
+            this.Chk_PactNO.CheckedChanged += new System.EventHandler(this.Chk_PactNO_CheckedChanged);
+            // 
+            // Txt_PlanNO
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.Txt_PlanNO.Appearance = appearance5;
+            this.Txt_PlanNO.AutoSize = true;
+            this.Txt_PlanNO.Enabled = false;
+            this.Txt_PlanNO.FlatMode = true;
+            this.Txt_PlanNO.Location = new System.Drawing.Point(240, 28);
+            this.Txt_PlanNO.Name = "Txt_PlanNO";
+            this.Txt_PlanNO.Size = new System.Drawing.Size(98, 19);
+            this.Txt_PlanNO.TabIndex = 87;
+            this.Txt_PlanNO.Tag = "";
+            // 
+            // Chk_PlanNO
+            // 
+            this.Chk_PlanNO.FlatMode = true;
+            this.Chk_PlanNO.Location = new System.Drawing.Point(178, 30);
+            this.Chk_PlanNO.Name = "Chk_PlanNO";
+            this.Chk_PlanNO.Size = new System.Drawing.Size(60, 14);
+            this.Chk_PlanNO.TabIndex = 86;
+            this.Chk_PlanNO.Text = "计划号";
+            this.Chk_PlanNO.CheckedChanged += new System.EventHandler(this.Chk_PlanNO_CheckedChanged);
+            // 
+            // txt_AskPlanID
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_AskPlanID.Appearance = appearance3;
+            this.txt_AskPlanID.AutoSize = true;
+            this.txt_AskPlanID.Enabled = false;
+            this.txt_AskPlanID.FlatMode = true;
+            this.txt_AskPlanID.Location = new System.Drawing.Point(414, 6);
+            this.txt_AskPlanID.Name = "txt_AskPlanID";
+            this.txt_AskPlanID.Size = new System.Drawing.Size(98, 19);
+            this.txt_AskPlanID.TabIndex = 91;
+            this.txt_AskPlanID.Tag = "";
+            // 
+            // Chk_AskPlanID
+            // 
+            this.Chk_AskPlanID.FlatMode = true;
+            this.Chk_AskPlanID.Location = new System.Drawing.Point(352, 8);
+            this.Chk_AskPlanID.Name = "Chk_AskPlanID";
+            this.Chk_AskPlanID.Size = new System.Drawing.Size(60, 14);
+            this.Chk_AskPlanID.TabIndex = 90;
+            this.Chk_AskPlanID.Text = "发运号";
+            this.Chk_AskPlanID.CheckedChanged += new System.EventHandler(this.Chk_AskPlanID_CheckedChanged);
+            // 
+            // txt_ListCode
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_ListCode.Appearance = appearance4;
+            this.txt_ListCode.AutoSize = true;
+            this.txt_ListCode.Enabled = false;
+            this.txt_ListCode.FlatMode = true;
+            this.txt_ListCode.Location = new System.Drawing.Point(414, 28);
+            this.txt_ListCode.Name = "txt_ListCode";
+            this.txt_ListCode.Size = new System.Drawing.Size(98, 19);
+            this.txt_ListCode.TabIndex = 89;
+            this.txt_ListCode.Tag = "";
+            // 
+            // chk_ListCode
+            // 
+            this.chk_ListCode.FlatMode = true;
+            this.chk_ListCode.Location = new System.Drawing.Point(352, 30);
+            this.chk_ListCode.Name = "chk_ListCode";
+            this.chk_ListCode.Size = new System.Drawing.Size(60, 14);
+            this.chk_ListCode.TabIndex = 88;
+            this.chk_ListCode.Text = "明细号";
+            this.chk_ListCode.CheckedChanged += new System.EventHandler(this.chk_ListCode_CheckedChanged);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(1238, 6);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(11, 14);
+            this.ultraLabel10.TabIndex = 97;
+            this.ultraLabel10.Text = "-";
+            this.ultraLabel10.Visible = false;
+            // 
+            // txt_RollNOEnd
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOEnd.Appearance = appearance1;
+            this.txt_RollNOEnd.AutoSize = true;
+            this.txt_RollNOEnd.Enabled = false;
+            this.txt_RollNOEnd.FlatMode = true;
+            this.txt_RollNOEnd.Location = new System.Drawing.Point(1252, 4);
+            this.txt_RollNOEnd.MaxLength = 5;
+            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
+            this.txt_RollNOEnd.Size = new System.Drawing.Size(50, 19);
+            this.txt_RollNOEnd.TabIndex = 96;
+            this.txt_RollNOEnd.Visible = false;
+            // 
+            // txt_RollNOBegin
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_RollNOBegin.Appearance = appearance2;
+            this.txt_RollNOBegin.AutoSize = true;
+            this.txt_RollNOBegin.Enabled = false;
+            this.txt_RollNOBegin.FlatMode = true;
+            this.txt_RollNOBegin.Location = new System.Drawing.Point(585, 6);
+            this.txt_RollNOBegin.MaxLength = 20;
+            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
+            this.txt_RollNOBegin.Size = new System.Drawing.Size(70, 19);
+            this.txt_RollNOBegin.TabIndex = 95;
+            // 
+            // chk_RollNO
+            // 
+            this.chk_RollNO.FlatMode = true;
+            this.chk_RollNO.Location = new System.Drawing.Point(528, 8);
+            this.chk_RollNO.Name = "chk_RollNO";
+            this.chk_RollNO.Size = new System.Drawing.Size(60, 14);
+            this.chk_RollNO.TabIndex = 93;
+            this.chk_RollNO.Text = "轧编号";
+            this.chk_RollNO.CheckedChanged += new System.EventHandler(this.chk_RollNO_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(528, 28);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 210;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // chk_cxfs
+            // 
+            this.chk_cxfs.Location = new System.Drawing.Point(598, 6);
+            this.chk_cxfs.Name = "chk_cxfs";
+            this.chk_cxfs.Size = new System.Drawing.Size(72, 24);
+            this.chk_cxfs.TabIndex = 754;
+            this.chk_cxfs.Text = "撤销发送";
+            this.chk_cxfs.Click += new System.EventHandler(this.chk_cxfs_Click);
+            // 
+            // FrmTurnoffSendList
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1162, 576);
+            this.Name = "FrmTurnoffSendList";
+            this.Text = "FrmTurnoffSendList";
+            this.Load += new System.EventHandler(this.FrmTurnoffSendList_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.BaseToolBarManager)).EndInit();
+            this.FrmBaseMode_Fill_Panel.ResumeLayout(false);
+            this.Pal_Top.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grp_Query)).EndInit();
+            this.Grp_Query.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Calc_Manager)).EndInit();
+            this.Pal_Buttom.ResumeLayout(false);
+            this.ultraTabPageControl1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Storage)).EndInit();
+            this.ultraTabPageControl2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_Send)).EndInit();
+            this.ultraTabPageControl3.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_HBSend)).EndInit();
+            this.ultraTabPageControl4.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_ZBSend)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Grd_HCSendPlan)).EndInit();
+            this.Pal_Edit.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Icode)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_IncpName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Billet)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Tab_Match)).EndInit();
+            this.Tab_Match.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_PlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region "Init"
+        public string strlxx = "";
+        private void FrmTurnoffSendList_Load(object sender, System.EventArgs e)
+        {
+            try
+            {
+
+                strlx = this.Key.Split('@')[3];
+                strlxx =this.Key.Split('@')[4];
+                if (strlxx == "YL")
+                {
+                    chk_QXFY.Visible = true;
+                }
+                this.ToolBarToolsConfig = this.Key.Split('@')[1];
+                this.DBFileName = this.Key.Split('@')[2];
+                
+                InitFrmDataSet();
+                //this.Txt_ListCodingTop.Text = "FN" + System.DateTime.Now.ToString("yy").Substring(1, 2);
+              
+                this.Dte_SendTime.DateTime = System.DateTime.Now.Date;
+                Dte_BeginTime.DateTime = System.DateTime.Now;
+                Dte_EndTime.DateTime = System.DateTime.Now;
+             
+            
+
+
+
+               
+
+                string strOut = "";
+                string sql = "";
+                DataSet ds= new DataSet();
+
+                sql = "SELECT ID_, NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE = '8012'";
+                ds.Clear();
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                if (strlx == "1")
+                {
+                    sql = "SELECT ID_, NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE='8094' AND (NAME_  LIKE 'DWBC%' )";
+                }
+                else if (strlx == "2")
+                {
+                    sql = "SELECT ID_, NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE='8094' AND (NAME_  LIKE 'DWXB%' )";
+                }
+                ds.Clear();
+                ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+                ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+                Comm.Init_ComboControl(this.Cmb_Txt_ListCodingTop, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+                if (strlx == "1")
+                {
+                    Cmb_Txt_ListCodingTop.Value = "809401";
+                }
+                else
+                {
+                    Cmb_Txt_ListCodingTop.Value = "809402";
+                }
+                
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+		private void InitFrmDataSet()
+		{
+			try
+			{
+				if(this.DBFileName.Trim().Length >0)
+				{
+					object obj = StorageBaseClass.GetEntityInfo(this.DBFileName,"4001JB1");
+					if(obj!=null)
+					{
+						this.FrmDataSet = obj as System.Data.DataSet ;
+						Init_Frm();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		protected override void Init_Frm()
+		{
+			try
+			{
+				base.Init_Frm ();
+				StorageGridHelper.SetGrid(this.Grd_HCSendPlan,ref this._FrmDataSet,"SEL_ASKVEHICLEPLAN_C",new string[]{"SEL_ASKVEHICLEPLAN_C"});
+                StorageGridHelper.SetGrid(this.Grd_Storage, ref this._FrmDataSet, "KCJ_TURNOFFBUTTRESSLIST_VIEW", new string[] { "KCJ_TURNOFFBUTTRESSLIST_VIEW" });
+                StorageGridHelper.SetGrid(this.Grd_Send, ref this._FrmDataSet, "KCJ_TURNOFFSENDLIST", new string[] { "KCJ_TURNOFFSENDLIST" });
+	
+				this.Grd_Send.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+		
+				StorageBaseClass.Init_ComboControl(this.Cmb_ClassOrder,"XT_BC|ID_|NAME_",ref this._FrmDataSet);
+				StorageBaseClass.Init_ComboControl(this.Cmb_ClassTeam,"XT_BZ|ID_|NAME_",ref this._FrmDataSet);
+				
+				StorageBaseClass.Init_ComboControl(this.Cmb_SendMan,"SENDMAN|NAME_|NAME_",ref this._FrmDataSet);
+				Grd_Storage.DisplayLayout.Override.SupportDataErrorInfo = Infragistics.Win.UltraWinGrid.SupportDataErrorInfo.RowsAndCells;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+			
+		}
+		#endregion
+
+		#region "CheckBox"
+
+		private void Chk_DeliveryTime_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Dte_BeginTime.Enabled = this.Dte_EndTime.Enabled = this.Chk_DeliveryTime.Checked;
+		}
+
+	
+
+		
+
+		private void Chk_PactNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Txt_PactNO.Enabled = this.Chk_PactNO.Checked;
+		}
+
+		private void Chk_PlanNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.Txt_PlanNO.Enabled = this.Chk_PlanNO.Checked;
+		}
+
+		private void Chk_AskPlanID_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_AskPlanID.Enabled = this.Chk_AskPlanID.Checked;
+		}
+
+		private void chk_ListCode_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_ListCode.Enabled = this.chk_ListCode.Checked;
+		}
+
+		private void chk_RollNO_CheckedChanged(object sender, System.EventArgs e)
+		{
+			 this.txt_RollNOBegin.Enabled = this.txt_RollNOEnd.Enabled = this.chk_RollNO.Checked;
+		}
+	
+	
+		#endregion
+
+		#region "Grid"
+		private void Grd_HCSendPlan_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+		{
+			try
+			{
+				if(e.Row!=null)
+				{
+					if(e.Row.ChildBands==null)
+					{
+                        string where ="";
+                       
+                         where = " AND A.ASKPLAN_ID='" + e.Row.Cells["ASKPLAN_ID"].Value.ToString() + "'  "; 
+                        
+						this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Clear();
+                        GetJBSendList(where, strlx);
+						if(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows.Count>0)
+						{
+							this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+							this.Txt_VecihleNO.Text =  this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["TRAINWAGON"].ToString();
+							this.Txt_ListCoding.Text = this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["LISTNUMBER"].ToString().Split('-')[1];
+							this.Txt_Remark.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["REMARK"]);
+							this.Cmb_SendMan.Text = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["PICKSTORAGEMAN"]);
+							this.Cmb_ClassOrder.Value = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSORDER"]);
+							this.Cmb_ClassTeam.Value = StorageBaseClass.CheckNullStr(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["CLASSTEAM"]);
+							this.Dte_SendTime.Value = Convert.ToDateTime(this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows[0]["PICKSTORAGETIME"]);
+                            Txt_IncpName.Text = e.Row.Cells["INCEPTCORPNAME"].Value.ToString();
+                            txt_Icode.Text = e.Row.Cells["ICODE"].Value.ToString();
+							this.Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Value.ToString();
+							
+						}
+						else
+						{
+							this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
+                            this.Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Value.ToString();
+                            Txt_IncpName.Text = e.Row.Cells["INCEPTCORPCODE"].Value.ToString();
+                            txt_Icode.Text = e.Row.Cells["ICODE"].Value.ToString();
+                            
+							this.Txt_VecihleNO.Text =  "";
+							this.Txt_ListCoding.Text = "";
+							this.Txt_Remark.Text = "";
+							this.Cmb_SendMan.Text = "";
+							this.Cmb_ClassOrder.Value = "";
+							this.Cmb_ClassTeam.Value = "";
+							this.Dte_SendTime.Value = System.DateTime.Now;
+						}
+//					
+                        this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].Clear();
+                        this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].AcceptChanges();
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Grd_Storage_DoubleClickCell(object sender, Infragistics.Win.UltraWinGrid.DoubleClickCellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "CONDOLENUMBER")
+				{
+					this.Txt_Condole.Text = StorageBaseClass.CheckNullStr(e.Cell.Value);
+				}
+				if(e.Cell.Column.Key == "BILLETID")
+				{
+					this.Txt_Billet.Text = StorageBaseClass.CheckNullStr(e.Cell.Value);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Grd_Storage_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
+		{
+			try
+			{
+				string SendFlag = StorageBaseClass.CheckNullStr(e.Row.Cells["SENDFLAG"].Value);
+				if(SendFlag=="0")
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+				}
+				if(SendFlag.StartsWith("1"))
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
+				}
+				if(SendFlag.StartsWith("2"))
+				{
+					e.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		#endregion
+
+		#region "CustomMethod"
+
+
+        private void GetJBSendList(string where, string strlx)
+		{
+			try
+			{
+				string err = "";
+				this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Clear();
+                this._FrmDataSet.AcceptChanges();
+                this.Grd_Send.UpdateData();
+                object obj = null;
+                string strRolid = ClientCommon._UserInfo.UserRoleID.ToString();
+
+                obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                           "GetSendListData", new object[] { where, strlx }, out err);
+                    
+
+            
+
+              
+                this._FrmDataSet.AcceptChanges();
+                this.Grd_Send.UpdateData();
+				if(obj!=null)
+				{
+                    this._FrmDataSet.AcceptChanges();
+					this._FrmDataSet.Merge(obj as System.Data.DataSet);
+					this._FrmDataSet.AcceptChanges();
+                    this.Grd_Send.UpdateData();
+				}
+				this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].AcceptChanges();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		
+		private bool GetTurnoffList(string where)
+		{
+			try
+			{
+				string err = "";
+                this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].Clear();
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+					"GetCanSendList",new object[]{where,strlx,strlxx},out err);
+				if(obj!=null)
+				{
+					this._FrmDataSet.Merge(obj as System.Data.DataSet);
+					this._FrmDataSet.AcceptChanges();
+                    this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].AcceptChanges();
+					CheckBillet();
+					return true;
+				}
+                this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].AcceptChanges();
+				return false;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return false;
+			}
+		}
+
+
+      
+		private string GetWhere(string type)
+		{
+			string rtnStr = "";
+			if(this.Dte_BeginTime.Enabled)
+			{
+				if(type=="PLAN")
+				{
+                 
+                   
+
+
+                        rtnStr = " AND T1.INCEPTDATE BETWEEN TO_DATE('" + this.Dte_BeginTime.DateTime.ToString("yyyy-MM-dd 00:00:00") + "','YYYY-MM-DD hh24:mi:ss') "
+                           + " AND TO_DATE('" + this.Dte_EndTime.DateTime.ToString("yyyy-MM-dd 23:59:59") + "','YYYY-MM-DD hh24:mi:ss') ";
+                    
+				}
+				else
+				{
+                    rtnStr = " AND C.PICKSTORAGETIME BETWEEN TO_DATE('" + this.Dte_BeginTime.DateTime.ToString("yyyy-MM-dd 00:00:00") + "','YYYY-MM-DD hh24:mi:ss') "
+                            + " AND TO_DATE('" + this.Dte_EndTime.DateTime.ToString("yyyy-MM-dd 23:59:59") + "','YYYY-MM-DD hh24:mi:ss') ";
+				}
+			}
+		
+			if(this.Txt_PactNO.Enabled && this.Txt_PactNO.Text.Length>0)
+			{
+				if(type=="PLAN")
+				{
+					rtnStr = rtnStr + " AND A.PACTNO LIKE '" + this.Txt_PactNO.Text +"%' ";
+				}
+				else
+				{
+					rtnStr = rtnStr + " AND C.PACTNO LIKE '" + this.Txt_PactNO.Text +"%' ";
+				}
+			}
+			if(this.Txt_PlanNO.Enabled && this.Txt_PlanNO.Text.Length>0)
+			{
+				if(type=="PLAN")
+				{
+                   
+                        rtnStr = rtnStr + " AND A.PACTINDEXDETAIL LIKE '" + this.Txt_PlanNO.Text + "%' ";
+                    
+				}
+				else
+				{
+					rtnStr = rtnStr + " AND C.PLANNO LIKE '" + this.Txt_PlanNO.Text +"%' ";
+				}
+			}
+			if(this.txt_AskPlanID.Enabled && this.txt_AskPlanID.Text.Length>0)
+			{
+               
+                rtnStr = rtnStr + " AND A.ASKPLAN_ID LIKE '" + this.txt_AskPlanID.Text + "%' "; 
+			}
+			if(type!="PLAN")
+			{
+				if(this.txt_ListCode.Enabled && this.txt_ListCode.Text.Length>0)
+				{
+					rtnStr = rtnStr + " AND C.LISTNUMBER LIKE '" + this.txt_ListCode.Text +"%' ";
+				}
+               
+				string rollno = "";
+				if(this.chk_RollNO.Checked)
+				{
+
+                    rollno = " AND C.SERIALNUMBER LIKE '" + this.txt_RollNOBegin.Text + "%' ";
+				}
+				rtnStr = rtnStr + rollno;
+			}
+			if(rtnStr.Length == 0)
+			{
+				if(type=="PLAN")
+				{
+
+                    rtnStr = " AND A.INCEPTDATE BETWEEN TO_DATE('" + System.DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "','YYYY-MM-DD') "
+                                 + " AND TO_DATE('" + System.DateTime.Now.ToString("yyyy-MM-dd") + "','YYYY-MM-DD') ";
+                    
+				}
+				else
+				{
+                    rtnStr = " AND C.PICKSTORAGETIME BETWEEN TO_DATE('" + System.DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd") + "','YYYY-MM-DD') "
+                           + " AND TO_DATE('" + System.DateTime.Now.ToString("yyyy-MM-dd") + "','YYYY-MM-DD') ";
+				}
+			}
+			return rtnStr;
+		}
+		private void AddSendList(System.Collections.ArrayList Billets,System.Collections.ArrayList SendInfo,string BtnName,System.Data.DataRow[] SendRows)
+		{
+			try
+			{
+
+                string SRole = ClientCommon._UserInfo.UserRoleID.ToString();
+				string strerr = "";
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                    "CommitAddSendList", new object[] { Billets, SendInfo, "0" }, out strerr);
+				if(obj!=null)
+				{
+					System.Collections.ArrayList FailInfo = new ArrayList();
+					System.Collections.ArrayList FailBillet = new ArrayList();
+					System.Collections.ArrayList FailCode = new ArrayList();
+					if(obj.GetType() == typeof(System.Collections.ArrayList))
+					{
+						FailInfo = (System.Collections.ArrayList)obj;
+						for(int j=0;j<FailInfo.Count;j++)
+						{
+							FailBillet.Add(StorageBaseClass.CheckNullStr(FailInfo[j]).Split(';')[0]);
+							FailCode.Add(StorageBaseClass.CheckNullStr(FailInfo[j]).Split(';')[1]);
+						}
+					}
+                    string where = " AND C.PLANVEHICLEID='" + Txt_AskPlan.Text.Trim() + "' ";
+					where += " AND C.SERIALNUMBER IN(";
+					for(int i=0;i<Billets.Count;i++)
+					{
+						if(!FailBillet.Contains(Billets[i].ToString()))
+						{
+							where = where + "'" + Billets[i].ToString() +"',";
+						}
+					}
+					where = where .Substring(0,where.Length-1)+")";
+					if(FailInfo.Count < Billets.Count)
+					{
+						GetJBSendList(where,strlx);
+					}
+					if(BtnName == "CONDOLE")
+					{
+						this.Txt_Condole.Focus();
+						this.Txt_Condole.SelectAll();
+					}
+					else
+					{
+						this.Txt_Billet.Focus();
+						this.Txt_Billet.SelectAll();
+					}
+
+					foreach(System.Data.DataRow row in SendRows)
+					{
+						if(!FailBillet.Contains(row["BILLETID"].ToString()))
+						{
+                            this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].Rows.Remove(row);
+						}
+						else
+						{
+							for(int i=0;i<FailBillet.Count;i++)
+							{
+								if(FailBillet[i].ToString() == row["BILLETID"].ToString())
+								{
+									row.BeginEdit();
+									row["SENDFLAG"] = FailCode[i];
+									row.EndEdit();
+								}
+							}
+						}
+					}
+
+                    this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].AcceptChanges();
+                    SetDataErrorRow(this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"]);
+				}
+				else
+				{
+					MessageBox.Show(strerr,StorageBaseClass.MsgCaption);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private bool CheckAddSend()
+		{
+			if(this.Txt_VecihleNO.Text.Length == 0)
+			{
+				MessageBox.Show("请您确认发运车牌号",StorageBaseClass.MsgCaption);
+				return false;
+			}
+			if(this.Txt_ListCoding.Text.Length == 0)
+			{
+				MessageBox.Show("请您确认发运明细号",StorageBaseClass.MsgCaption);
+				return false;
+			}
+			if(this.Cmb_SendMan.Text.Length == 0)
+			{
+				MessageBox.Show("请您确认发运人",StorageBaseClass.MsgCaption);
+				return false;
+			}
+			if(this.Cmb_ClassOrder.Text.Length == 0)
+			{
+				MessageBox.Show("请您确认发运班次",StorageBaseClass.MsgCaption);
+				return false;
+			}
+			if(this.Cmb_ClassTeam.Text.Length == 0)
+			{
+				MessageBox.Show("请您确认发运班班组",StorageBaseClass.MsgCaption);
+				return false;
+			}
+			if(this.Dte_SendTime.Value == null)
+			{
+				MessageBox.Show("请您确认发运时间",StorageBaseClass.MsgCaption);
+				return false;
+			}
+
+		
+			if(this.Txt_SendPactNO.Text.Trim().Length==0)
+			{
+				MessageBox.Show("请您确认合同号",StorageBaseClass.MsgCaption);
+				return false;
+			}
+			return true;
+		}
+		//与订单校验工艺需求、牌号规格、加工需求
+		private void CheckBillet()
+		{
+			try
+			{
+				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.Grd_Storage.Rows)
+				{
+					if(StorageBaseClass.CheckNullStr(row.Cells["ORDERNO"].Value).Length>0)
+					{
+						if(StorageBaseClass.CheckNullStr(row.Cells["KDETERMINANTRESULT"].Value).IndexOf("401401")<0)
+						{
+							row.Cells["DETERMINANTRESULT"].Appearance.BackColor = System.Drawing.Color.Red;
+						}
+						
+				
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+	
+		private void GetValueList(Infragistics.Win.UltraWinGrid.UltraGridRow row,string ColumnName,ref System.Collections.ArrayList ValueList)
+		{
+			try
+			{
+				if(row.GetType()==typeof(Infragistics.Win.UltraWinGrid.UltraGridGroupByRow))
+				{
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridRow crow in row.ChildBands[0].Rows)
+					{
+						GetValueList(crow,ColumnName,ref ValueList);
+					}
+				}
+				else
+				{
+					ValueList.Add(StorageBaseClass.CheckNullStr(row.Cells["ID"].Value));
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void SetDataErrorRow(System.Data.DataTable table)
+		{
+			try
+			{
+				foreach(System.Data.DataRow row in table.Rows)
+				{
+					switch(StorageBaseClass.CheckNullStr(row["SENDFLAG"]))
+					{
+						case "0":
+							row.ClearErrors();
+							break;
+						case "11":
+							row.RowError = "清库发运不能发运有合同号的板块";
+							row.SetColumnError(table.Columns["BILLETID"],"清库发运不能发运有合同号的板块!");
+							break;
+						case "12":
+							row.RowError = "系统不能匹配对应排车计划的合同,请人工操作成品分配";
+							row.SetColumnError(table.Columns["BILLETID"],"系统不能匹配对应排车计划的合同,请人工操作成品分配");
+							break;
+						case "13":
+							row.RowError = "无合同号的板块不能对非清库的排车进行发运";
+							row.SetColumnError(table.Columns["BILLETID"],"无合同号的板块不能对非清库的排车进行发运");
+							break;
+						case "14":
+							row.RowError = "板块对应的收货单位与排车计划设定的收货单位不一致";
+							row.SetColumnError(table.Columns["BILLETID"],"板块对应的收货单位与排车计划设定的收货单位不一致");
+							break;
+						case "15":
+							row.RowError = "板块加工工艺结果不合格,不允许发运";
+							row.SetColumnError(table.Columns["BILLETID"],"板块加工工艺结果不合格,不允许发运");
+							break;
+						case "21":
+							row.RowError = "发运的量超过了合同的上限";
+							row.SetColumnError(table.Columns["BILLETID"],"发运的量超过了合同的上限");
+							break;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void GetListData(string ListCoding)
+		{
+			try
+			{
+				string err = "";
+				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JBFYManager","Core.XgMes.Server.JGKC.TurnoffSendManager.SendListManager",
+					"GetListData",new object[]{ListCoding,strlx},out err);
+				if(obj!=null)
+				{
+					this.Txt_AskPlan.Text = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["PLANVEHICLEID"]);
+					this.Txt_VecihleNO.Text = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["TRAINWAGON"]);
+					
+					this.Txt_SendPactNO.Text = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["PACTNO"]);
+					
+					this.Txt_IncpName.Text = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["CUSTOMER"]);
+					
+					this.Cmb_SendMan.Text = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["PICKSTORAGEMAN"]);
+					this.Cmb_ClassOrder.Value = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["CLASSORDER"]);
+					this.Cmb_ClassTeam.Value = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["CLASSTEAM"]);
+					this.Dte_SendTime.Value = Convert.ToDateTime((obj as System.Data.DataSet).Tables[0].Rows[0]["PICKSTORAGETIME"]);
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region "Button"
+		private void Btn_Add_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+				if(Txt_ListCoding.Text.Trim().Length < 5)
+				{
+					MessageBox.Show("明细号" + this.Txt_ListCoding.Text.Trim() + "必须为五位数或五位数加一位字母",StorageBaseClass.MsgCaption);
+					this.Txt_ListCoding.SelectAll();
+					return;
+				}
+             
+				System.Data.DataRow[] rows;
+			
+                    rows = this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].Select("CONDOLENUMBER='" + this.Txt_Condole.Text + "'");
+				
+				
+				if(rows.Length ==0)
+				{
+					MessageBox.Show("对应的吊号满足条件的可发量为“0”",StorageBaseClass.MsgCaption);
+					this.Txt_Condole.Focus();
+					return;
+				}
+				else
+				{
+					System.Collections.ArrayList Billets = new ArrayList();
+					System.Collections.ArrayList SendInfo = new ArrayList();
+					foreach(System.Data.DataRow row in rows)
+					{
+						Billets.Add(row["BILLETID"]);
+					}
+					SendInfo.Add(this.Txt_AskPlan.Text);//1
+					SendInfo.Add(this.Txt_VecihleNO.Text);//2
+                    //SendInfo.Add(this.Txt_ListCodingTop.Text+"-"+this.Txt_ListCoding.Text.Trim());
+                    SendInfo.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.Txt_ListCoding.Text.Trim());//3
+					SendInfo.Add(this.Cmb_SendMan.Text);//4
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Cmb_ClassOrder.Value));//5
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value));//6
+					SendInfo.Add(Convert.ToDateTime(this.Dte_SendTime.Value).ToString("yyyy-MM-dd HH:mm:ss"));//7
+					SendInfo.Add(this.Txt_Remark.Text);//8
+					SendInfo.Add(StorageBaseClass.CheckNullStr("0"));//9
+					SendInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);//10
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Txt_IncpName.Text.Trim()));//11
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Txt_SendPactNO.Text));//12
+					//2008-03-26 ZW
+				
+						SendInfo.Add("0");//13
+					
+				
+				
+						SendInfo.Add("0");//14
+				
+                        SendInfo.Add("0");//15
+                    
+                    SendInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);//16
+                    SendInfo.Add(strlx);//17
+                    SendInfo.Add(strlxx);//18
+					AddSendList(Billets,SendInfo,"CONDOLE",rows);
+
+				}
+				
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				this.Txt_Condole.Focus();
+			}
+		}
+
+		private void Btn_SendBillet_Click(object sender, System.EventArgs e)
+		{
+			try
+			{	
+				if(Txt_ListCoding.Text.Trim().Length < 5)
+				{
+					MessageBox.Show("明细号" + this.Txt_ListCoding.Text.Trim() + "必须为五位数或五位数加一位字母",StorageBaseClass.MsgCaption);
+					this.Txt_ListCoding.SelectAll();
+					return;
+				}
+
+				System.Data.DataRow[] rows;
+
+                rows = this._FrmDataSet.Tables["KCJ_TURNOFFBUTTRESSLIST_VIEW"].Select("BILLETID='" + this.Txt_Billet.Text + "'");
+             
+				if(rows.Length ==0)
+				{
+					MessageBox.Show("对应的序号满足条件的可发量为“0”",StorageBaseClass.MsgCaption);
+					this.Txt_Billet.Focus();
+					return;
+				}
+				else
+				{
+					System.Collections.ArrayList Billets = new ArrayList();
+					System.Collections.ArrayList SendInfo = new ArrayList();
+					foreach(System.Data.DataRow row in rows)
+					{
+						Billets.Add(row["BILLETID"]);
+					}
+					SendInfo.Add(this.Txt_AskPlan.Text);//1  发运指示号
+					SendInfo.Add(this.Txt_VecihleNO.Text);//2   车号
+                    SendInfo.Add(this.Cmb_Txt_ListCodingTop.Text.Trim() + "-" + this.Txt_ListCoding.Text.Trim());//3 明细号
+					SendInfo.Add(this.Cmb_SendMan.Text);//4  发运人
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Cmb_ClassOrder.Value));//5 发运班次
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value));//6  发运班组
+					SendInfo.Add(Convert.ToDateTime(this.Dte_SendTime.Value).ToString("yyyy-MM-dd HH:mm:ss"));//7 发运时间
+					SendInfo.Add(this.Txt_Remark.Text);//8 备注			
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.txt_Icode.Text.ToString().Trim()));//9  收货单位
+					SendInfo.Add(StorageBaseClass.CheckNullStr(this.Txt_SendPactNO.Text));//10 合同号
+                    SendInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);//11 登记人
+                    SendInfo.Add(strlx);//12登记类型
+                    SendInfo.Add("0");//13V发运类型
+                    SendInfo.Add(strlxx);//14V发运类型
+                    if (chk_QXFY.Checked)
+                    {
+                        SendInfo.Add("1");//15强行发运
+                    }
+                    else
+                    {
+                        SendInfo.Add("0");//15强行发运
+                    }
+					AddSendList(Billets,SendInfo,"",rows);
+				}
+               
+				
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				this.Txt_Billet.Focus();
+			}
+        }
+       
+        private void Btn_GetListCoding_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+                //string year = this.Txt_ListCodingTop.Text.Substring(2,this.Txt_ListCodingTop.Text.Length-2);
+                string year = this.Cmb_Txt_ListCodingTop.Text.Substring(5, 1);
+				string strerr = "";
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+					"GetListCoding",new object[]{"SEND",year},out strerr);
+				if(StorageBaseClass.CheckNullStr(obj).Length ==0)
+				{
+					MessageBox.Show("获取申报编号失败",StorageBaseClass.MsgCaption);
+				}
+				else
+				{
+					this.Txt_ListCoding.Text = StorageBaseClass.CheckNullStr(obj);
+				} 
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void btn_Edit_Click(object sender, System.EventArgs e)
+		{
+			try
+			{
+				string strerr = "";
+				object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("JBFYManager","Core.XgMes.Server.JGKC.TurnoffSendManager.SendListManager",
+					"EditVechileNO",new object[]{this.Cmb_Txt_ListCodingTop.Text+"-"+this.Txt_ListCoding.Text,this.Txt_VecihleNO.Text},out strerr);
+				if(StorageBaseClass.CheckNullStr(obj) == "1")
+				{
+					MessageBox.Show("车号更改成功",StorageBaseClass.MsgCaption);
+					return;
+				}
+				else
+				{
+					if(strerr.Length>0)
+					{
+						MessageBox.Show(strerr,StorageBaseClass.MsgCaption);
+						return;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region "Key Event"
+		private void Dte_SendTime_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+		{
+			try
+			{
+				if(e.KeyData==System.Windows.Forms.Keys.Return)
+				{
+					if(((System.Windows.Forms.Control)sender).Name == "Txt_ListCoding")
+					{
+						if(Txt_ListCoding.Text.Trim().Length < 5)
+						{
+							MessageBox.Show("明细号" + this.Txt_ListCoding.Text.Trim() + "必须为五位数或五位数加一位字母",StorageBaseClass.MsgCaption);
+							this.Txt_ListCoding.SelectAll();
+							return;
+						}
+					}
+
+					string where = "";
+					if(((System.Windows.Forms.Control)sender).Name == "Txt_Condole")
+					{
+						this.Tab_Match.Tabs["STORAGE"].Selected = true;
+						where = " AND B.CONDOLENUMBER='" + this.Txt_Condole.Text + "' ";
+					
+                  
+						if(!GetTurnoffList(where))
+						{
+							MessageBox.Show("吊号" + this.Txt_Condole.Text + "的板块无库存!",StorageBaseClass.MsgCaption);
+							this.Txt_Condole.SelectAll();
+							return;
+						}
+
+                        Txt_Billet.Focus();
+						return;
+					}
+                    if (((System.Windows.Forms.Control)sender).Name == "Txt_Billet")
+                    {
+                            try
+                            {
+                                string err = "";
+                                object obj = new object();
+
+                                obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                                       "GetListOrderData", new object[] { Txt_Billet.Text,strlxx }, out err);
+                                
+                                if (obj != null)
+                                {
+
+                                    this.Txt_SendPactNO.Text = StorageBaseClass.CheckNullStr((obj as System.Data.DataSet).Tables[0].Rows[0]["ORDERNO"]);
+
+                                }
+                            }
+                            catch (System.Exception ex)
+                            {
+                                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                            }
+                        
+                    }
+					if(((System.Windows.Forms.Control)sender).Name == "Txt_Billet")
+					{
+						this.Tab_Match.Tabs["STORAGE"].Selected = true;
+						where = " AND A.BILLETID='" + Txt_Billet.Text + "' ";
+                        if (!GetTurnoffList(where))
+                        {
+                            MessageBox.Show("" + this.Txt_Billet.Text + "的板块无库存!", StorageBaseClass.MsgCaption);
+                            this.Txt_Billet.SelectAll();
+                            Txt_Billet.Focus();
+                            return;
+                        }
+
+                        else
+                        {
+                            this.Dte_SendTime.Focus();
+                        }
+                         
+                           
+                       
+						return;
+					}
+                    if (((System.Windows.Forms.Control)sender).Name == "Dte_SendTime")
+                    {
+                        this.Txt_Remark.Focus();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Txt_Remark")
+                    {
+                        this.Btn_SendBillet.Focus();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Txt_ListCoding")
+					{
+                        GetListData(Cmb_Txt_ListCodingTop.Text + "-" + Txt_ListCoding.Text);
+					}
+                    if (((System.Windows.Forms.Control)sender).Name == "Txt_SendPactNO")
+                    {
+                        this.Cmb_SendMan.Focus();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Cmb_SendMan")
+                    {
+                        this.Cmb_ClassOrder.Focus();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Cmb_ClassOrder")
+                    {
+                        this.Cmb_ClassTeam.Focus();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Cmb_ClassTeam")
+                    {
+                        this.Txt_IncpName.Focus();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "Txt_IncpName")
+                    {
+                        this.Txt_Condole.Focus();
+                    }
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void Dte_SendTime_Enter(object sender, System.EventArgs e)
+		{
+			if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
+			{
+				((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+			}
+			if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+			{
+				((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+			}
+		}
+		#endregion
+
+		#region "ToolBarButton"
+		public void AskQuery()
+		{
+			try
+			{
+				//string err = "";
+				this._FrmDataSet.Tables["SEL_ASKVEHICLEPLAN_C"].Clear();
+				string where = GetWhere("PLAN");
+
+                string strOut = "";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                     "GetAskPlanData", new object[] { where,strlx }, out strOut);
+          
+				if(ds!=null)
+				{
+                    this._FrmDataSet.Tables["SEL_ASKVEHICLEPLAN_C"].Merge(ds.Tables[0]);
+				}
+				this._FrmDataSet.AcceptChanges();
+	
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		public void SendQuery()
+		{
+			try
+			{
+				string err = "";
+				this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Clear();
+				string where = GetWhere("SEND");
+                string strRolid = ClientCommon._UserInfo.UserRoleID.ToString();
+                object obj = null;
+
+
+
+                obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                     "GetSendListData", new object[] { where ,strlx}, out err);
+             
+                
+                this._FrmDataSet.AcceptChanges();
+				if(obj!=null)
+				{
+					this._FrmDataSet.Merge(obj as System.Data.DataSet);
+				}
+				this._FrmDataSet.AcceptChanges();
+				this.Tab_Match.Tabs["SEND"].Selected = true;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		public void Print()
+		{
+			try
+			{
+				string strerr = "";
+                object obj = null;
+                string strRole = ClientCommon._UserInfo.UserRoleID.ToString();
+                Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
+				if(!this.txt_ListCode.Enabled | this.txt_ListCode.Text.Trim()=="")
+				{
+					MessageBox.Show("请您输写要打印的发运明细编号",StorageBaseClass.MsgCaption);
+					return;
+				}
+
+                obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                          "GetPrintData", new object[] { this.txt_ListCode.Text, strlx, strRole,strlxx }, out strerr);
+                    if (strlx == "2")
+                    {
+                        rtp._rtpFileName = @"PSSendListXC.rpt";
+                    }
+                    else if (strlx == "1")
+                    {
+                        rtp._rtpFileName = @"BJSEND_BC.rpt";
+                    }
+                   
+              
+                if (strlx == "2" || strlx == "3")
+                {
+                }
+                else
+                {
+                    if (obj == null)
+                    {
+                        MessageBox.Show("请您确认输写的发运明细编号是否正确", StorageBaseClass.MsgCaption);
+                        return;
+                    }
+                }
+				
+
+				rtp._rtpDataSet = obj as System.Data.DataSet;
+				rtp._rtpDataSet.Tables["TOP"].Rows[0]["CREATOR"]=Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;
+				rtp.ShowDialog();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		protected override bool Delete()
+		{
+			try
+			{
+				if(this.Grd_Send.ActiveRow==null)
+				{
+					MessageBox.Show("请选择您要删除选择的发运明细!",StorageBaseClass.MsgCaption);
+					return false;
+				}
+				System.Windows.Forms.DialogResult t = MessageBox.Show("你确认要撤销所选则的发运操作",StorageBaseClass.MsgCaption,System.Windows.Forms.MessageBoxButtons.YesNo);
+				if(t == System.Windows.Forms.DialogResult.No)
+				{
+					return false;
+				}
+				System.Collections.ArrayList BilletInfo = new ArrayList();
+				System.Collections.ArrayList SendInfo = new ArrayList();
+				if(this.Grd_Send.ActiveRow.GetType() == typeof(Infragistics.Win.UltraWinGrid.UltraGridRow))
+				{
+					BilletInfo.Add(StorageBaseClass.CheckNullStr(this.Grd_Send.ActiveRow.Cells["ID"].Value));
+				
+				}
+				else
+				{
+					foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.Grd_Send.ActiveRow.ChildBands[0].Rows)
+					{
+						GetValueList(row,"ID",ref BilletInfo);
+					}
+				}
+				SendInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+				SendInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserBb);
+				SendInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserBc);
+                SendInfo.Add(strlx);
+                SendInfo.Add(strlxx);
+                string strRole = ClientCommon._UserInfo.UserRoleID.ToString();
+				string strerr = "";
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                    "DelSendList", new object[] { BilletInfo, SendInfo, strlx }, out strerr);
+				if(StorageBaseClass.CheckNullStr(obj)=="1")
+				{
+					for(int i=0;i<BilletInfo.Count;i++)
+					{
+						System.Data.DataRow[] row = this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Select("ID='"+BilletInfo[i].ToString()+"'");
+						if(row.Length==1)
+							this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].Rows.Remove(row[0]);
+					}
+					this._FrmDataSet.Tables["KCJ_TURNOFFSENDLIST"].AcceptChanges();
+				}
+				else
+				{
+					MessageBox.Show(strerr,StorageBaseClass.MsgCaption);
+				}
+
+				return true;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return false;
+			}
+		}
+
+		public void Export()
+		{
+			try
+			{
+				string filename = @"发运明细.xls";
+				base.ultraGridExcelExporter.Export(this.Grd_Send,filename);
+				System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+				st.WindowStyle =System.Diagnostics.ProcessWindowStyle.Maximized ; 
+				System.Diagnostics.Process.Start(st);
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		#region "Text"
+		private void Txt_Condole_TextChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+
+                
+				this.Txt_Condole.Focus();
+				
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Txt_Billet_TextChanged(object sender, System.EventArgs e)
+		{
+			try
+			{
+
+                
+				this.Txt_Billet.Focus();
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		#endregion
+
+		
+
+	
+
+	
+
+		private void Txt_ListCoding_ValueChanged(object sender, System.EventArgs e)
+		{
+		
+		}
+
+        private void chk_AllowFilter_CheckedChanged(object sender, EventArgs e)
+        {
+            if (this.chk_AllowFilter.Checked)
+            {
+                this.Grd_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+                Grd_HCSendPlan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+             
+            }
+            else
+            {
+                this.Grd_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                Grd_HCSendPlan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                if (this.Grd_Send.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                {
+                    for (int i = 0; i < this.Grd_Send.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                    {
+                        this.Grd_Send.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                    }
+                }
+                if (this.Grd_HCSendPlan.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                {
+                    for (int i = 0; i < this.Grd_HCSendPlan.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                    {
+                        this.Grd_HCSendPlan.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                    }
+                }
+                
+
+            }
+        }
+
+
+
+ 
+
+        private void btn_SendID_Click(object sender, EventArgs e)
+        {
+            this.Cmb_Txt_ListCodingTop.Text = "FN" + System.DateTime.Now.ToString("yy").Substring(1, 1);
+            this.Txt_AskPlan.Text = "N" + System.DateTime.Now.ToString("yyyyMMddHHmmss");
+            this.Txt_AskPlan.Enabled = true;
+            this.btn_NSendID.Visible = false;
+        }
+
+        private void chk_ybfs_Click(object sender, EventArgs e)
+        {
+            AFFIRMJL();
+        }
+
+        #region "预报发送"
+        private void AFFIRMJL()
+        {
+            try
+            {
+                if (this.Txt_VecihleNO.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认车牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.Txt_AskPlan.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认发运号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                System.Collections.ArrayList LoadInfo = new ArrayList();
+                string strerr = "";
+                string Type = "AFFIRMJL";
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
+                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("预报发送成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (System.Exception ex)
+            { 
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region "撤销发送"
+        private void QXZL()
+        {
+            try
+            {
+                if (this.Txt_VecihleNO.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认车牌号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                if (this.Txt_AskPlan.Text.Length == 0)
+                {
+                    MessageBox.Show("请您确认发运号!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    return;
+                }
+                System.Collections.ArrayList LoadInfo = new ArrayList();
+                string strerr = "";
+                string Type = "QXZL";
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
+                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
+                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.SendManager",
+                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("撤销发送成功!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        private void chk_cxfs_Click(object sender, EventArgs e)
+        {
+            QXZL();
+        }
+
+
+		
+
+		
+	}
+}

+ 129 - 0
Client/.svn/pristine/5a/5af2d29d7339e8dd68e3f767b43212939ad4fcd5.svn-base

@@ -0,0 +1,129 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+
+using Core.XgMes.Client.StorageBase;
+
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    public partial class TurnoffSendQueryJB : Mes.ClientFrameWork.FrmBase
+    {
+        public TurnoffSendQueryJB()
+        {
+            InitializeComponent();
+        }
+
+        private void TurnoffSendQueryJB_Load(object sender, EventArgs e)
+        {
+
+        }
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+             DialogResult result = DialogResult.No;
+             switch (e.Tool.Key)
+             {
+                 case "btnQuery":
+                     this.Cursor = Cursors.WaitCursor;
+                     Query();
+                     this.Cursor = Cursors.Default;
+                     break;
+                 case "btnExcel":
+                     Export();
+                     break;
+                 case "btnExit":
+                     this.Close();
+                     break;
+             }
+        }
+        private void Query()
+        {
+            try
+            {
+                
+                string where = this.ucSendQueryJB1.WhereStr;
+                System.Collections.ArrayList ps = new ArrayList();
+                System.Collections.ArrayList pg = new ArrayList();
+                System.Collections.ArrayList ps0 = this.ucSendStatJB1.SendSelectStr;
+                System.Collections.ArrayList pg0 = this.ucSendStatJB1.SendGroupbyStr;
+           
+                //if (where.IndexOf("A.CLEARFLAG") < 0)
+                //{
+                //    ps.AddRange(ps0);
+                //    ps.AddRange(ps1);
+                //    pg.AddRange(pg0);
+                //    pg.AddRange(pg1);
+                //}
+                //else if (where.IndexOf("A.CLEARFLAG='0'") >= 0)
+                //{
+                    ps.AddRange(ps0);
+                    pg.AddRange(pg0);
+                //}
+                //else if (where.IndexOf("A.CLEARFLAG='1'") >= 0)
+                //{
+                //    ps.AddRange(ps1);
+                //    pg.AddRange(pg1);
+                //}
+                string strerr = "";
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan",
+                    "GetOutStorageData", new object[] { where, ps, pg }, out strerr);
+                if (obj != null)
+                {
+                    this.ultraGrid1.DataSource = (System.Data.DataSet)obj;
+                    foreach (System.Data.DataColumn col in this.dataSet1.Tables[0].Columns)
+                    {
+                        if (!((System.Data.DataSet)obj).Tables[0].Columns.Contains(col.ColumnName))
+                        {
+                            this.ultraGrid1.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = true;
+                        }
+                        else
+                        {
+                            this.ultraGrid1.DisplayLayout.Bands[0].Columns[col.ColumnName].Hidden = false;
+                        }
+                    }
+                }
+                
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+               
+            }
+        }
+        public void Export()
+        {
+            try
+            {
+                string filename = @"成品发运.xls";
+                this.ultraGridExcelExporter1.Export(this.ultraGrid1, filename);
+                System.Diagnostics.ProcessStartInfo st = new System.Diagnostics.ProcessStartInfo(filename);
+                st.WindowStyle = System.Diagnostics.ProcessWindowStyle.Maximized;
+                System.Diagnostics.Process.Start(st);
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_Filter_CheckedChanged(object sender, EventArgs e)
+        {
+            if (this.chk_Filter.Checked)
+            {
+                this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+
+            }
+            else
+            {
+                this.ultraGrid1.DisplayLayout.Bands[0].ColumnFilters.ClearAllFilters();
+                this.ultraGrid1.DisplayLayout.Bands[1].ColumnFilters.ClearAllFilters();
+                this.ultraGrid1.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+
+
+            }
+        }
+    }
+}

BIN
Client/.svn/pristine/5c/5c491dec9825c16c1ad8cff214b2950b76c711f8.svn-base


+ 1492 - 0
Client/.svn/pristine/5c/5c75a1446d8d8124ad50821355ab11cacbbd0f40.svn-base

@@ -0,0 +1,1492 @@
+using System;
+using System.Collections;
+using System.ComponentModel;
+using System.Drawing;
+using System.Data;
+using System.Windows.Forms;
+
+using Core.XgMes.Client.StorageBase;
+
+namespace Core.XgMes.Client.JGKC.SteelPlateManager
+{
+	/// <summary>
+	/// 中板成品发运综合查询,查询条件设置控件
+	/// </summary>
+	public class UCSendQuery : System.Windows.Forms.UserControl
+	{
+		#region "Varible"
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_SendDate;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendBegin;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendEnd;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BookInEnd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BookInBegin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_BookInDate;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_ListCode;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_IncpName;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_IncpName;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_StationName;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_StationName;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PactNO;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LengthEnd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_LenghtBegin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Length;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthEnd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WidthBegin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Width;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyEnd;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_PlyBegin;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Ply;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollNum;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PlanNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_VecihleNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_ClassTeam;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassTeam;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_SendMan;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_SendMan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_SteelName;
+		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_SteelName;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCodingEnd;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCodingBegin;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCodingTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOEnd;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOBegin;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollNOTop;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_VecihleNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_BookInMan;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BookInMan;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_Condole;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Condole;
+		#endregion
+
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PL;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_ProductLine;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Date_XCSJE;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Date_XCSJS;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_XCSJ;
+		/// <summary> 
+		/// 必需的设计器变量。
+		/// </summary>
+		private System.ComponentModel.Container components = null;
+
+		public UCSendQuery()
+		{
+			// 该调用是 Windows.Forms 窗体设计器所必需的。
+			InitializeComponent();
+
+			// TODO: 在 InitializeComponent 调用后添加任何初始化
+
+		}
+
+		/// <summary> 
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region 组件设计器生成的代码
+		/// <summary> 
+		/// 设计器支持所需的方法 - 不要使用代码编辑器 
+		/// 修改此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            this.Chk_SendDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Dte_SendBegin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.Dte_SendEnd = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Dte_BookInEnd = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.Dte_BookInBegin = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Chk_BookInDate = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_ListCode = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ListCodingEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_ListCodingBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_ListCodingTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_IncpName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_IncpName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_StationName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_StationName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_LengthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_LenghtBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.chk_Length = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_WidthEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_WidthBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.chk_Width = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlyEnd = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PlyBegin = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.chk_Ply = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollNOEnd = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_RollNOBegin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_RollNOTop = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollNum = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PlanNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_ClassTeam = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Chk_SendMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_SendMan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_SteelName = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Cmb_SteelName = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.Chk_BookInMan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_BookInMan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_Condole = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Txt_Condole = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PL = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_ProductLine = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.Date_XCSJE = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.Date_XCSJS = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.chk_XCSJ = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_IncpName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_StationName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOTop)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_VecihleNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SendMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SteelName)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BookInMan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJE)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJS)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // Chk_SendDate
+            // 
+            this.Chk_SendDate.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_SendDate.FlatMode = true;
+            this.Chk_SendDate.Location = new System.Drawing.Point(6, 6);
+            this.Chk_SendDate.Name = "Chk_SendDate";
+            this.Chk_SendDate.Size = new System.Drawing.Size(74, 16);
+            this.Chk_SendDate.TabIndex = 0;
+            this.Chk_SendDate.Text = "发运日期";
+            // 
+            // Dte_SendBegin
+            // 
+            this.Dte_SendBegin.FlatMode = true;
+            this.Dte_SendBegin.Location = new System.Drawing.Point(80, 4);
+            this.Dte_SendBegin.MaskInput = "{date}";
+            this.Dte_SendBegin.Name = "Dte_SendBegin";
+            this.Dte_SendBegin.Size = new System.Drawing.Size(114, 19);
+            this.Dte_SendBegin.TabIndex = 1;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel1.Location = new System.Drawing.Point(196, 8);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(16, 16);
+            this.ultraLabel1.TabIndex = 2;
+            this.ultraLabel1.Text = "到";
+            // 
+            // Dte_SendEnd
+            // 
+            this.Dte_SendEnd.FlatMode = true;
+            this.Dte_SendEnd.Location = new System.Drawing.Point(214, 4);
+            this.Dte_SendEnd.MaskInput = "{date}";
+            this.Dte_SendEnd.Name = "Dte_SendEnd";
+            this.Dte_SendEnd.Size = new System.Drawing.Size(114, 19);
+            this.Dte_SendEnd.TabIndex = 3;
+            // 
+            // Dte_BookInEnd
+            // 
+            this.Dte_BookInEnd.FlatMode = true;
+            this.Dte_BookInEnd.Location = new System.Drawing.Point(214, 29);
+            this.Dte_BookInEnd.MaskInput = "{date}";
+            this.Dte_BookInEnd.Name = "Dte_BookInEnd";
+            this.Dte_BookInEnd.Size = new System.Drawing.Size(114, 19);
+            this.Dte_BookInEnd.TabIndex = 7;
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(196, 32);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(16, 16);
+            this.ultraLabel2.TabIndex = 6;
+            this.ultraLabel2.Text = "到";
+            // 
+            // Dte_BookInBegin
+            // 
+            this.Dte_BookInBegin.FlatMode = true;
+            this.Dte_BookInBegin.Location = new System.Drawing.Point(80, 29);
+            this.Dte_BookInBegin.MaskInput = "{date}";
+            this.Dte_BookInBegin.Name = "Dte_BookInBegin";
+            this.Dte_BookInBegin.Size = new System.Drawing.Size(114, 19);
+            this.Dte_BookInBegin.TabIndex = 5;
+            // 
+            // Chk_BookInDate
+            // 
+            this.Chk_BookInDate.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_BookInDate.FlatMode = true;
+            this.Chk_BookInDate.Location = new System.Drawing.Point(6, 30);
+            this.Chk_BookInDate.Name = "Chk_BookInDate";
+            this.Chk_BookInDate.Size = new System.Drawing.Size(74, 16);
+            this.Chk_BookInDate.TabIndex = 4;
+            this.Chk_BookInDate.Text = "登记日期";
+            // 
+            // Chk_ListCode
+            // 
+            this.Chk_ListCode.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_ListCode.FlatMode = true;
+            this.Chk_ListCode.Location = new System.Drawing.Point(6, 81);
+            this.Chk_ListCode.Name = "Chk_ListCode";
+            this.Chk_ListCode.Size = new System.Drawing.Size(74, 16);
+            this.Chk_ListCode.TabIndex = 57;
+            this.Chk_ListCode.Text = "发货编号";
+            // 
+            // txt_ListCodingEnd
+            // 
+            this.txt_ListCodingEnd.AutoSize = true;
+            this.txt_ListCodingEnd.FlatMode = true;
+            this.txt_ListCodingEnd.Location = new System.Drawing.Point(214, 79);
+            this.txt_ListCodingEnd.MaxLength = 6;
+            this.txt_ListCodingEnd.Name = "txt_ListCodingEnd";
+            this.txt_ListCodingEnd.Size = new System.Drawing.Size(114, 19);
+            this.txt_ListCodingEnd.TabIndex = 61;
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(196, 81);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel3.TabIndex = 60;
+            this.ultraLabel3.Text = "到";
+            // 
+            // txt_ListCodingBegin
+            // 
+            this.txt_ListCodingBegin.AutoSize = true;
+            this.txt_ListCodingBegin.FlatMode = true;
+            this.txt_ListCodingBegin.Location = new System.Drawing.Point(112, 79);
+            this.txt_ListCodingBegin.MaxLength = 6;
+            this.txt_ListCodingBegin.Name = "txt_ListCodingBegin";
+            this.txt_ListCodingBegin.Size = new System.Drawing.Size(82, 19);
+            this.txt_ListCodingBegin.TabIndex = 59;
+            // 
+            // txt_ListCodingTop
+            // 
+            this.txt_ListCodingTop.AutoSize = true;
+            this.txt_ListCodingTop.FlatMode = true;
+            this.txt_ListCodingTop.Location = new System.Drawing.Point(80, 79);
+            this.txt_ListCodingTop.Name = "txt_ListCodingTop";
+            this.txt_ListCodingTop.Size = new System.Drawing.Size(32, 19);
+            this.txt_ListCodingTop.TabIndex = 58;
+            // 
+            // Chk_IncpName
+            // 
+            this.Chk_IncpName.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_IncpName.FlatMode = true;
+            this.Chk_IncpName.Location = new System.Drawing.Point(6, 129);
+            this.Chk_IncpName.Name = "Chk_IncpName";
+            this.Chk_IncpName.Size = new System.Drawing.Size(74, 16);
+            this.Chk_IncpName.TabIndex = 62;
+            this.Chk_IncpName.Text = "收货单位";
+            // 
+            // txt_IncpName
+            // 
+            this.txt_IncpName.AutoSize = true;
+            this.txt_IncpName.FlatMode = true;
+            this.txt_IncpName.Location = new System.Drawing.Point(80, 127);
+            this.txt_IncpName.Name = "txt_IncpName";
+            this.txt_IncpName.Size = new System.Drawing.Size(248, 19);
+            this.txt_IncpName.TabIndex = 63;
+            // 
+            // Chk_StationName
+            // 
+            this.Chk_StationName.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_StationName.FlatMode = true;
+            this.Chk_StationName.Location = new System.Drawing.Point(6, 151);
+            this.Chk_StationName.Name = "Chk_StationName";
+            this.Chk_StationName.Size = new System.Drawing.Size(46, 16);
+            this.Chk_StationName.TabIndex = 64;
+            this.Chk_StationName.Text = "到站";
+            // 
+            // txt_StationName
+            // 
+            this.txt_StationName.AutoSize = true;
+            this.txt_StationName.FlatMode = true;
+            this.txt_StationName.Location = new System.Drawing.Point(80, 150);
+            this.txt_StationName.Name = "txt_StationName";
+            this.txt_StationName.Size = new System.Drawing.Size(248, 19);
+            this.txt_StationName.TabIndex = 65;
+            // 
+            // Chk_PactNO
+            // 
+            this.Chk_PactNO.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_PactNO.FlatMode = true;
+            this.Chk_PactNO.Location = new System.Drawing.Point(6, 105);
+            this.Chk_PactNO.Name = "Chk_PactNO";
+            this.Chk_PactNO.Size = new System.Drawing.Size(74, 16);
+            this.Chk_PactNO.TabIndex = 66;
+            this.Chk_PactNO.Text = "合同号";
+            // 
+            // txt_PactNO
+            // 
+            this.txt_PactNO.AutoSize = true;
+            this.txt_PactNO.FlatMode = true;
+            this.txt_PactNO.Location = new System.Drawing.Point(80, 104);
+            this.txt_PactNO.Name = "txt_PactNO";
+            this.txt_PactNO.Size = new System.Drawing.Size(102, 19);
+            this.txt_PactNO.TabIndex = 67;
+            // 
+            // txt_LengthEnd
+            // 
+            this.txt_LengthEnd.FlatMode = true;
+            this.txt_LengthEnd.Location = new System.Drawing.Point(506, 77);
+            this.txt_LengthEnd.MaskInput = "nnnnn";
+            this.txt_LengthEnd.Name = "txt_LengthEnd";
+            this.txt_LengthEnd.PromptChar = ' ';
+            this.txt_LengthEnd.Size = new System.Drawing.Size(42, 19);
+            this.txt_LengthEnd.TabIndex = 84;
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(480, 78);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel4.TabIndex = 83;
+            this.ultraLabel4.Text = "到";
+            // 
+            // txt_LenghtBegin
+            // 
+            this.txt_LenghtBegin.FlatMode = true;
+            this.txt_LenghtBegin.Location = new System.Drawing.Point(408, 77);
+            this.txt_LenghtBegin.MaskInput = "nnnnn";
+            this.txt_LenghtBegin.Name = "txt_LenghtBegin";
+            this.txt_LenghtBegin.PromptChar = ' ';
+            this.txt_LenghtBegin.Size = new System.Drawing.Size(68, 19);
+            this.txt_LenghtBegin.TabIndex = 82;
+            // 
+            // chk_Length
+            // 
+            this.chk_Length.BackColor = System.Drawing.Color.Transparent;
+            this.chk_Length.FlatMode = true;
+            this.chk_Length.Location = new System.Drawing.Point(334, 78);
+            this.chk_Length.Name = "chk_Length";
+            this.chk_Length.Size = new System.Drawing.Size(74, 16);
+            this.chk_Length.TabIndex = 81;
+            this.chk_Length.Text = "长度从";
+            // 
+            // txt_WidthEnd
+            // 
+            this.txt_WidthEnd.FlatMode = true;
+            this.txt_WidthEnd.Location = new System.Drawing.Point(506, 52);
+            this.txt_WidthEnd.MaskInput = "nnnn";
+            this.txt_WidthEnd.Name = "txt_WidthEnd";
+            this.txt_WidthEnd.PromptChar = ' ';
+            this.txt_WidthEnd.Size = new System.Drawing.Size(42, 19);
+            this.txt_WidthEnd.TabIndex = 80;
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(480, 54);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel5.TabIndex = 79;
+            this.ultraLabel5.Text = "到";
+            // 
+            // txt_WidthBegin
+            // 
+            this.txt_WidthBegin.FlatMode = true;
+            this.txt_WidthBegin.Location = new System.Drawing.Point(408, 52);
+            this.txt_WidthBegin.MaskInput = "nnnn";
+            this.txt_WidthBegin.Name = "txt_WidthBegin";
+            this.txt_WidthBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WidthBegin.PromptChar = ' ';
+            this.txt_WidthBegin.Size = new System.Drawing.Size(68, 19);
+            this.txt_WidthBegin.TabIndex = 78;
+            // 
+            // chk_Width
+            // 
+            this.chk_Width.BackColor = System.Drawing.Color.Transparent;
+            this.chk_Width.FlatMode = true;
+            this.chk_Width.Location = new System.Drawing.Point(334, 54);
+            this.chk_Width.Name = "chk_Width";
+            this.chk_Width.Size = new System.Drawing.Size(74, 16);
+            this.chk_Width.TabIndex = 77;
+            this.chk_Width.Text = "宽度从";
+            // 
+            // txt_PlyEnd
+            // 
+            this.txt_PlyEnd.FlatMode = true;
+            this.txt_PlyEnd.Location = new System.Drawing.Point(506, 29);
+            this.txt_PlyEnd.MaskInput = "nnn.nnn";
+            this.txt_PlyEnd.Name = "txt_PlyEnd";
+            this.txt_PlyEnd.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_PlyEnd.PromptChar = ' ';
+            this.txt_PlyEnd.Size = new System.Drawing.Size(42, 19);
+            this.txt_PlyEnd.TabIndex = 76;
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(480, 32);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel6.TabIndex = 75;
+            this.ultraLabel6.Text = "到";
+            // 
+            // txt_PlyBegin
+            // 
+            this.txt_PlyBegin.FlatMode = true;
+            this.txt_PlyBegin.Location = new System.Drawing.Point(408, 29);
+            this.txt_PlyBegin.MaskInput = "nnn.nnn";
+            this.txt_PlyBegin.Name = "txt_PlyBegin";
+            this.txt_PlyBegin.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_PlyBegin.PromptChar = ' ';
+            this.txt_PlyBegin.Size = new System.Drawing.Size(68, 19);
+            this.txt_PlyBegin.TabIndex = 74;
+            // 
+            // chk_Ply
+            // 
+            this.chk_Ply.BackColor = System.Drawing.Color.Transparent;
+            this.chk_Ply.FlatMode = true;
+            this.chk_Ply.Location = new System.Drawing.Point(334, 30);
+            this.chk_Ply.Name = "chk_Ply";
+            this.chk_Ply.Size = new System.Drawing.Size(74, 16);
+            this.chk_Ply.TabIndex = 73;
+            this.chk_Ply.Text = "厚度从";
+            // 
+            // txt_RollNOEnd
+            // 
+            this.txt_RollNOEnd.AutoSize = true;
+            this.txt_RollNOEnd.FlatMode = true;
+            this.txt_RollNOEnd.Location = new System.Drawing.Point(658, 171);
+            this.txt_RollNOEnd.MaxLength = 5;
+            this.txt_RollNOEnd.Name = "txt_RollNOEnd";
+            this.txt_RollNOEnd.Size = new System.Drawing.Size(42, 19);
+            this.txt_RollNOEnd.TabIndex = 72;
+            this.txt_RollNOEnd.Visible = false;
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(632, 175);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(17, 16);
+            this.ultraLabel7.TabIndex = 71;
+            this.ultraLabel7.Text = "到";
+            this.ultraLabel7.Visible = false;
+            // 
+            // txt_RollNOBegin
+            // 
+            this.txt_RollNOBegin.AutoSize = true;
+            this.txt_RollNOBegin.FlatMode = true;
+            this.txt_RollNOBegin.Location = new System.Drawing.Point(586, 171);
+            this.txt_RollNOBegin.MaxLength = 5;
+            this.txt_RollNOBegin.Name = "txt_RollNOBegin";
+            this.txt_RollNOBegin.Size = new System.Drawing.Size(42, 19);
+            this.txt_RollNOBegin.TabIndex = 70;
+            this.txt_RollNOBegin.Visible = false;
+            // 
+            // txt_RollNOTop
+            // 
+            this.txt_RollNOTop.AutoSize = true;
+            this.txt_RollNOTop.FlatMode = true;
+            this.txt_RollNOTop.Location = new System.Drawing.Point(408, 4);
+            this.txt_RollNOTop.Name = "txt_RollNOTop";
+            this.txt_RollNOTop.Size = new System.Drawing.Size(140, 19);
+            this.txt_RollNOTop.TabIndex = 69;
+            // 
+            // chk_RollNum
+            // 
+            this.chk_RollNum.BackColor = System.Drawing.Color.Transparent;
+            this.chk_RollNum.FlatMode = true;
+            this.chk_RollNum.Location = new System.Drawing.Point(334, 6);
+            this.chk_RollNum.Name = "chk_RollNum";
+            this.chk_RollNum.Size = new System.Drawing.Size(74, 16);
+            this.chk_RollNum.TabIndex = 68;
+            this.chk_RollNum.Text = "轧编号";
+            // 
+            // txt_PlanNO
+            // 
+            this.txt_PlanNO.AutoSize = true;
+            this.txt_PlanNO.FlatMode = true;
+            this.txt_PlanNO.Location = new System.Drawing.Point(408, 100);
+            this.txt_PlanNO.Name = "txt_PlanNO";
+            this.txt_PlanNO.Size = new System.Drawing.Size(140, 19);
+            this.txt_PlanNO.TabIndex = 86;
+            // 
+            // chk_PlanNO
+            // 
+            this.chk_PlanNO.BackColor = System.Drawing.Color.Transparent;
+            this.chk_PlanNO.FlatMode = true;
+            this.chk_PlanNO.Location = new System.Drawing.Point(334, 102);
+            this.chk_PlanNO.Name = "chk_PlanNO";
+            this.chk_PlanNO.Size = new System.Drawing.Size(74, 16);
+            this.chk_PlanNO.TabIndex = 85;
+            this.chk_PlanNO.Text = "计划号";
+            // 
+            // Chk_VecihleNO
+            // 
+            this.Chk_VecihleNO.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_VecihleNO.FlatMode = true;
+            this.Chk_VecihleNO.Location = new System.Drawing.Point(6, 174);
+            this.Chk_VecihleNO.Name = "Chk_VecihleNO";
+            this.Chk_VecihleNO.Size = new System.Drawing.Size(74, 16);
+            this.Chk_VecihleNO.TabIndex = 87;
+            this.Chk_VecihleNO.Text = "车牌号";
+            // 
+            // txt_VecihleNO
+            // 
+            this.txt_VecihleNO.AutoSize = true;
+            this.txt_VecihleNO.FlatMode = true;
+            this.txt_VecihleNO.Location = new System.Drawing.Point(80, 173);
+            this.txt_VecihleNO.Name = "txt_VecihleNO";
+            this.txt_VecihleNO.Size = new System.Drawing.Size(248, 19);
+            this.txt_VecihleNO.TabIndex = 88;
+            // 
+            // Chk_ClassTeam
+            // 
+            this.Chk_ClassTeam.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_ClassTeam.FlatMode = true;
+            this.Chk_ClassTeam.Location = new System.Drawing.Point(554, 29);
+            this.Chk_ClassTeam.Name = "Chk_ClassTeam";
+            this.Chk_ClassTeam.Size = new System.Drawing.Size(74, 16);
+            this.Chk_ClassTeam.TabIndex = 92;
+            this.Chk_ClassTeam.Text = "发运班组";
+            // 
+            // Cmb_ClassTeam
+            // 
+            this.Cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_ClassTeam.DisplayLayout.Appearance = appearance1;
+            this.Cmb_ClassTeam.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_ClassTeam.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.Cmb_ClassTeam.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_ClassTeam.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellAppearance = appearance8;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_ClassTeam.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_ClassTeam.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowAppearance = appearance11;
+            this.Cmb_ClassTeam.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_ClassTeam.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_ClassTeam.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_ClassTeam.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_ClassTeam.DisplayMember = "";
+            this.Cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.Cmb_ClassTeam.FlatMode = true;
+            this.Cmb_ClassTeam.Location = new System.Drawing.Point(628, 27);
+            this.Cmb_ClassTeam.Name = "Cmb_ClassTeam";
+            this.Cmb_ClassTeam.Size = new System.Drawing.Size(110, 19);
+            this.Cmb_ClassTeam.TabIndex = 93;
+            this.Cmb_ClassTeam.ValueMember = "";
+            // 
+            // Chk_SendMan
+            // 
+            this.Chk_SendMan.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_SendMan.FlatMode = true;
+            this.Chk_SendMan.Location = new System.Drawing.Point(554, 53);
+            this.Chk_SendMan.Name = "Chk_SendMan";
+            this.Chk_SendMan.Size = new System.Drawing.Size(74, 16);
+            this.Chk_SendMan.TabIndex = 94;
+            this.Chk_SendMan.Text = "发运人";
+            // 
+            // txt_SendMan
+            // 
+            this.txt_SendMan.AutoSize = true;
+            this.txt_SendMan.FlatMode = true;
+            this.txt_SendMan.Location = new System.Drawing.Point(628, 52);
+            this.txt_SendMan.Name = "txt_SendMan";
+            this.txt_SendMan.Size = new System.Drawing.Size(110, 19);
+            this.txt_SendMan.TabIndex = 95;
+            // 
+            // Chk_SteelName
+            // 
+            this.Chk_SteelName.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_SteelName.FlatMode = true;
+            this.Chk_SteelName.Location = new System.Drawing.Point(554, 5);
+            this.Chk_SteelName.Name = "Chk_SteelName";
+            this.Chk_SteelName.Size = new System.Drawing.Size(74, 16);
+            this.Chk_SteelName.TabIndex = 97;
+            this.Chk_SteelName.Text = "发运牌号";
+            // 
+            // Cmb_SteelName
+            // 
+            this.Cmb_SteelName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance13.BackColor = System.Drawing.SystemColors.Window;
+            appearance13.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.Cmb_SteelName.DisplayLayout.Appearance = appearance13;
+            this.Cmb_SteelName.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.Cmb_SteelName.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance14.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance14.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance14.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SteelName.DisplayLayout.GroupByBox.Appearance = appearance14;
+            appearance15.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_SteelName.DisplayLayout.GroupByBox.BandLabelAppearance = appearance15;
+            this.Cmb_SteelName.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance16.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance16.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance16.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.Cmb_SteelName.DisplayLayout.GroupByBox.PromptAppearance = appearance16;
+            this.Cmb_SteelName.DisplayLayout.MaxColScrollRegions = 1;
+            this.Cmb_SteelName.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance17.BackColor = System.Drawing.SystemColors.Window;
+            appearance17.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.Cmb_SteelName.DisplayLayout.Override.ActiveCellAppearance = appearance17;
+            appearance18.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance18.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.Cmb_SteelName.DisplayLayout.Override.ActiveRowAppearance = appearance18;
+            this.Cmb_SteelName.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.Cmb_SteelName.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance19.BackColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SteelName.DisplayLayout.Override.CardAreaAppearance = appearance19;
+            appearance20.BorderColor = System.Drawing.Color.Silver;
+            appearance20.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.Cmb_SteelName.DisplayLayout.Override.CellAppearance = appearance20;
+            this.Cmb_SteelName.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.Cmb_SteelName.DisplayLayout.Override.CellPadding = 0;
+            appearance21.BackColor = System.Drawing.SystemColors.Control;
+            appearance21.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance21.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance21.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance21.BorderColor = System.Drawing.SystemColors.Window;
+            this.Cmb_SteelName.DisplayLayout.Override.GroupByRowAppearance = appearance21;
+            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.Cmb_SteelName.DisplayLayout.Override.HeaderAppearance = appearance22;
+            this.Cmb_SteelName.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.Cmb_SteelName.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance23.BackColor = System.Drawing.SystemColors.Window;
+            appearance23.BorderColor = System.Drawing.Color.Silver;
+            this.Cmb_SteelName.DisplayLayout.Override.RowAppearance = appearance23;
+            this.Cmb_SteelName.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance24.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.Cmb_SteelName.DisplayLayout.Override.TemplateAddRowAppearance = appearance24;
+            this.Cmb_SteelName.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.Cmb_SteelName.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.Cmb_SteelName.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.Cmb_SteelName.DisplayMember = "";
+            this.Cmb_SteelName.FlatMode = true;
+            this.Cmb_SteelName.Location = new System.Drawing.Point(628, 4);
+            this.Cmb_SteelName.Name = "Cmb_SteelName";
+            this.Cmb_SteelName.Size = new System.Drawing.Size(110, 19);
+            this.Cmb_SteelName.TabIndex = 98;
+            this.Cmb_SteelName.ValueMember = "";
+            // 
+            // Chk_BookInMan
+            // 
+            this.Chk_BookInMan.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_BookInMan.FlatMode = true;
+            this.Chk_BookInMan.Location = new System.Drawing.Point(554, 77);
+            this.Chk_BookInMan.Name = "Chk_BookInMan";
+            this.Chk_BookInMan.Size = new System.Drawing.Size(74, 16);
+            this.Chk_BookInMan.TabIndex = 100;
+            this.Chk_BookInMan.Text = "登记人";
+            // 
+            // txt_BookInMan
+            // 
+            this.txt_BookInMan.AutoSize = true;
+            this.txt_BookInMan.FlatMode = true;
+            this.txt_BookInMan.Location = new System.Drawing.Point(628, 75);
+            this.txt_BookInMan.Name = "txt_BookInMan";
+            this.txt_BookInMan.Size = new System.Drawing.Size(110, 19);
+            this.txt_BookInMan.TabIndex = 101;
+            // 
+            // Chk_Condole
+            // 
+            this.Chk_Condole.BackColor = System.Drawing.Color.Transparent;
+            this.Chk_Condole.FlatMode = true;
+            this.Chk_Condole.Location = new System.Drawing.Point(334, 126);
+            this.Chk_Condole.Name = "Chk_Condole";
+            this.Chk_Condole.Size = new System.Drawing.Size(74, 16);
+            this.Chk_Condole.TabIndex = 104;
+            this.Chk_Condole.Text = "发运吊号";
+            // 
+            // Txt_Condole
+            // 
+            this.Txt_Condole.AutoSize = true;
+            this.Txt_Condole.FlatMode = true;
+            this.Txt_Condole.Location = new System.Drawing.Point(408, 123);
+            this.Txt_Condole.Name = "Txt_Condole";
+            this.Txt_Condole.Size = new System.Drawing.Size(140, 19);
+            this.Txt_Condole.TabIndex = 105;
+            // 
+            // chk_PL
+            // 
+            this.chk_PL.BackColor = System.Drawing.Color.Transparent;
+            this.chk_PL.FlatMode = true;
+            this.chk_PL.Location = new System.Drawing.Point(188, 107);
+            this.chk_PL.Name = "chk_PL";
+            this.chk_PL.Size = new System.Drawing.Size(46, 16);
+            this.chk_PL.TabIndex = 108;
+            this.chk_PL.Text = "产线";
+            // 
+            // cmb_ProductLine
+            // 
+            this.cmb_ProductLine.AutoSize = true;
+            this.cmb_ProductLine.DropDownStyle = Infragistics.Win.DropDownStyle.DropDownList;
+            valueListItem1.DataValue = "4001HB1";
+            valueListItem1.DisplayText = "厚板线";
+            valueListItem2.DataValue = "4001ZB1";
+            valueListItem2.DisplayText = "中板线";
+            this.cmb_ProductLine.Items.Add(valueListItem1);
+            this.cmb_ProductLine.Items.Add(valueListItem2);
+            this.cmb_ProductLine.Location = new System.Drawing.Point(236, 103);
+            this.cmb_ProductLine.Name = "cmb_ProductLine";
+            this.cmb_ProductLine.Size = new System.Drawing.Size(92, 21);
+            this.cmb_ProductLine.TabIndex = 143;
+            this.cmb_ProductLine.TabStop = false;
+            // 
+            // Date_XCSJE
+            // 
+            this.Date_XCSJE.FlatMode = true;
+            this.Date_XCSJE.Location = new System.Drawing.Point(214, 53);
+            this.Date_XCSJE.MaskInput = "{date}";
+            this.Date_XCSJE.Name = "Date_XCSJE";
+            this.Date_XCSJE.Size = new System.Drawing.Size(114, 19);
+            this.Date_XCSJE.TabIndex = 149;
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel8.Location = new System.Drawing.Point(196, 56);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(16, 16);
+            this.ultraLabel8.TabIndex = 148;
+            this.ultraLabel8.Text = "到";
+            // 
+            // Date_XCSJS
+            // 
+            this.Date_XCSJS.FlatMode = true;
+            this.Date_XCSJS.Location = new System.Drawing.Point(80, 53);
+            this.Date_XCSJS.MaskInput = "{date}";
+            this.Date_XCSJS.Name = "Date_XCSJS";
+            this.Date_XCSJS.Size = new System.Drawing.Size(114, 19);
+            this.Date_XCSJS.TabIndex = 147;
+            // 
+            // chk_XCSJ
+            // 
+            this.chk_XCSJ.BackColor = System.Drawing.Color.Transparent;
+            this.chk_XCSJ.FlatMode = true;
+            this.chk_XCSJ.Location = new System.Drawing.Point(6, 54);
+            this.chk_XCSJ.Name = "chk_XCSJ";
+            this.chk_XCSJ.Size = new System.Drawing.Size(74, 16);
+            this.chk_XCSJ.TabIndex = 146;
+            this.chk_XCSJ.Text = "下车日期";
+            // 
+            // UCSendQuery
+            // 
+            this.Controls.Add(this.Date_XCSJE);
+            this.Controls.Add(this.ultraLabel8);
+            this.Controls.Add(this.Date_XCSJS);
+            this.Controls.Add(this.chk_XCSJ);
+            this.Controls.Add(this.cmb_ProductLine);
+            this.Controls.Add(this.chk_PL);
+            this.Controls.Add(this.Txt_Condole);
+            this.Controls.Add(this.Chk_Condole);
+            this.Controls.Add(this.txt_BookInMan);
+            this.Controls.Add(this.Chk_BookInMan);
+            this.Controls.Add(this.Cmb_SteelName);
+            this.Controls.Add(this.Chk_SteelName);
+            this.Controls.Add(this.txt_SendMan);
+            this.Controls.Add(this.Chk_SendMan);
+            this.Controls.Add(this.Cmb_ClassTeam);
+            this.Controls.Add(this.Chk_ClassTeam);
+            this.Controls.Add(this.txt_VecihleNO);
+            this.Controls.Add(this.Chk_VecihleNO);
+            this.Controls.Add(this.txt_PlanNO);
+            this.Controls.Add(this.chk_PlanNO);
+            this.Controls.Add(this.txt_LengthEnd);
+            this.Controls.Add(this.ultraLabel4);
+            this.Controls.Add(this.txt_LenghtBegin);
+            this.Controls.Add(this.chk_Length);
+            this.Controls.Add(this.txt_WidthEnd);
+            this.Controls.Add(this.ultraLabel5);
+            this.Controls.Add(this.txt_WidthBegin);
+            this.Controls.Add(this.chk_Width);
+            this.Controls.Add(this.txt_PlyEnd);
+            this.Controls.Add(this.ultraLabel6);
+            this.Controls.Add(this.txt_PlyBegin);
+            this.Controls.Add(this.chk_Ply);
+            this.Controls.Add(this.txt_RollNOEnd);
+            this.Controls.Add(this.ultraLabel7);
+            this.Controls.Add(this.txt_RollNOBegin);
+            this.Controls.Add(this.txt_RollNOTop);
+            this.Controls.Add(this.chk_RollNum);
+            this.Controls.Add(this.txt_PactNO);
+            this.Controls.Add(this.Chk_PactNO);
+            this.Controls.Add(this.txt_StationName);
+            this.Controls.Add(this.Chk_StationName);
+            this.Controls.Add(this.txt_IncpName);
+            this.Controls.Add(this.Chk_IncpName);
+            this.Controls.Add(this.txt_ListCodingEnd);
+            this.Controls.Add(this.ultraLabel3);
+            this.Controls.Add(this.txt_ListCodingBegin);
+            this.Controls.Add(this.txt_ListCodingTop);
+            this.Controls.Add(this.Chk_ListCode);
+            this.Controls.Add(this.Dte_BookInEnd);
+            this.Controls.Add(this.ultraLabel2);
+            this.Controls.Add(this.Dte_BookInBegin);
+            this.Controls.Add(this.Chk_BookInDate);
+            this.Controls.Add(this.Dte_SendEnd);
+            this.Controls.Add(this.ultraLabel1);
+            this.Controls.Add(this.Dte_SendBegin);
+            this.Controls.Add(this.Chk_SendDate);
+            this.Name = "UCSendQuery";
+            this.Size = new System.Drawing.Size(748, 211);
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Dte_BookInBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCodingTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_IncpName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_StationName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PactNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LengthEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_LenghtBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WidthBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlyBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOEnd)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOBegin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollNOTop)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_VecihleNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_SendMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SteelName)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BookInMan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Txt_Condole)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProductLine)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJE)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Date_XCSJS)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+
+		#region "Preporty"
+		private System.Data.DataSet _MyDataSet = null;
+		public System.Data.DataSet MyDataSet
+		{
+			set
+			{
+				_MyDataSet = value;
+				StorageBaseClass.Init_ComboControl(this.Cmb_SteelName,"XT_PH|PHMC|PHMC",ref this._MyDataSet);
+				StorageBaseClass.Init_ComboControl(this.Cmb_ClassTeam,"XT_BZ|ID_|NAME_",ref this._MyDataSet);
+			
+				
+			}
+		}
+		private string _WhereStr = "";
+		public string WhereStr
+		{
+			get
+			{
+				_WhereStr = GetSteelCondition();
+				_WhereStr = _WhereStr + GetPactNOCondition();
+				_WhereStr = _WhereStr + GetSendDateCondition();
+				_WhereStr = _WhereStr + GetBookInDateCondition();
+				_WhereStr = _WhereStr + GetListCondingCondition();
+				_WhereStr = _WhereStr + GetIncpNameCondition();
+				_WhereStr = _WhereStr + GetStationNameCondition();
+				_WhereStr = _WhereStr + GetRollNOCondition();
+				_WhereStr = _WhereStr + GetPlyCondition();
+                _WhereStr = _WhereStr + GetXCDateCondition();
+				_WhereStr = _WhereStr + GetWidthCondition();
+				_WhereStr = _WhereStr + GetLengthCondition();
+				_WhereStr = _WhereStr + GetPlanNOCondition();
+				_WhereStr = _WhereStr + GetVecihleNOCondition();
+				_WhereStr = _WhereStr + GetClassTeamCondition();
+				_WhereStr = _WhereStr + GetSendManCondition();
+				
+			
+				_WhereStr = _WhereStr + GetCondole();
+				_WhereStr = _WhereStr + GetBookInManCondition();
+			
+				_WhereStr = _WhereStr + GetPLCondition();
+
+				return _WhereStr;
+			}
+		}
+		#endregion
+
+		#region "Method"
+	
+
+		//产线
+		private string GetPLCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_PL.Checked && this.cmb_ProductLine.Text.Trim().Length>0)
+				{
+					rtnStr = " AND B.PRODLINECODE='"+this.cmb_ProductLine.Value.ToString()+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+
+		//牌号
+		private string GetSteelCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_SteelName.Checked && this.Cmb_SteelName.Text.Trim().Length>0)
+				{
+					rtnStr = " AND A.STEELTYPE='"+this.Cmb_SteelName.Text.Trim()+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//合同号B
+		private string GetPactNOCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_PactNO.Checked && this.txt_PactNO.Text.Trim().Length>0)
+				{
+					rtnStr = " AND B.PACTNO LIKE '%"+this.txt_PactNO.Text.Trim()+"%' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//发运日期A
+		private string GetSendDateCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_SendDate.Checked && this.Dte_SendBegin.Value!=null)
+				{
+					rtnStr = " AND TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')>='"+Convert.ToDateTime(this.Dte_SendBegin.Value).ToString("yy-MM-dd")+"' "
+						+" AND TO_CHAR(A.PICKSTORAGETIME,'YY-MM-DD')<='"+Convert.ToDateTime(this.Dte_SendEnd.Value).ToString("yy-MM-dd")+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//登记日期A
+		private string GetBookInDateCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_BookInDate.Checked && this.Dte_BookInBegin.Value!=null)
+				{
+					rtnStr = " AND TO_CHAR(A.CREATTIME,'YY-MM-DD')>='"+Convert.ToDateTime(this.Dte_BookInBegin.Value).ToString("yy-MM-dd")+"' "
+						+" AND TO_CHAR(A.CREATTIME,'YY-MM-DD')<='"+Convert.ToDateTime(this.Dte_BookInEnd.Value).ToString("yy-MM-dd")+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+        //下车时间A
+        private string GetXCDateCondition()
+        {
+            try
+            {
+                string rtnStr = "";
+                if (this.chk_XCSJ.Checked && this.Date_XCSJS.Value != null)
+                {
+                    rtnStr = " AND SUBSTR(A.PLANVEHICLEID,3,6) >='" + Convert.ToDateTime(this.Date_XCSJS.Value).ToString("yyMMdd") + "' "
+                        + " AND SUBSTR(A.PLANVEHICLEID,3,6) <='" + Convert.ToDateTime(this.Date_XCSJE.Value).ToString("yyMMdd") + "' ";
+                }
+                return rtnStr;
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+                return "";
+            }
+        }
+		//发运明细A
+		private string GetListCondingCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_ListCode.Checked)
+				{
+					
+					rtnStr = " AND SUBSTR(A.LISTNUMBER,1,"+StorageBaseClass.CheckNullStr(this.txt_ListCodingTop.Text.Trim().Length)+")='"+this.txt_ListCodingTop.Text.Trim()+"' ";
+					if(this.txt_ListCodingTop.Text.Trim().Length == 3)
+					{
+						if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length == 0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,5,5)='"+this.txt_ListCodingBegin.Text.Trim()+"' ";
+						}
+						if(this.txt_ListCodingBegin.Text.Trim().Length == 0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,5,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
+						}
+						if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,5,5)>='"+this.txt_ListCodingBegin.Text.Trim()+"' "
+								+ " AND SUBSTR(A.LISTNUMBER,5,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
+						}
+					}
+
+					if(this.txt_ListCodingTop.Text.Trim().Length == 2)
+					{
+						if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length == 0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,4,5)='"+this.txt_ListCodingBegin.Text.Trim()+"' ";
+						}
+						if(this.txt_ListCodingBegin.Text.Trim().Length == 0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,4,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
+						}
+						if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,4,5)>='"+this.txt_ListCodingBegin.Text.Trim()+"' "
+								+ " AND SUBSTR(A.LISTNUMBER,4,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
+						}
+					}
+
+				}
+                if(this.txt_ListCodingTop.Text.Trim().Length == 4)
+					{
+						if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length == 0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,6,5)='"+this.txt_ListCodingBegin.Text.Trim()+"' ";
+						}
+						if(this.txt_ListCodingBegin.Text.Trim().Length == 0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,6,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
+						}
+						if(this.txt_ListCodingBegin.Text.Trim().Length>0 && this.txt_ListCodingEnd.Text.Trim().Length>0)
+						{
+							rtnStr = rtnStr + " AND SUBSTR(A.LISTNUMBER,6,5)>='"+this.txt_ListCodingBegin.Text.Trim()+"' "
+								+ " AND SUBSTR(A.LISTNUMBER,6,5)<='"+this.txt_ListCodingEnd.Text.Trim()+"' ";
+						}
+					}
+
+				
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//收货单位C
+		private string GetIncpNameCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_IncpName.Checked && this.txt_IncpName.Text.Trim().Length>0)
+				{
+					rtnStr = " AND C.INCEPTCORPNAME LIKE '%"+this.txt_IncpName.Text.Trim()+"%' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//到站D
+		private string GetStationNameCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_StationName.Checked && this.txt_StationName.Text.Trim().Length>0)
+				{
+					rtnStr = " AND D.STATIONNAME LIKE '%"+this.txt_StationName.Text.Trim()+"%' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//轧编号
+		private string GetRollNOCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_RollNum.Checked)
+				{
+                    //rtnStr = " AND SUBSTR(A.ROLLNO,1,INSTR(A.ROLLNO,'-')-1)='"+this.txt_RollNOTop.Text.Trim()+"' ";
+                    //if(this.txt_RollNOBegin.Text.Trim().Length>0 && this.txt_RollNOEnd.Text.Trim().Length==0)
+                    //{
+                    //    rtnStr = rtnStr + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)='"+this.txt_RollNOBegin.Text.Trim()+"' ";
+                    //}
+                    //if(this.txt_RollNOBegin.Text.Trim().Length==0 && this.txt_RollNOEnd.Text.Trim().Length>0)
+                    //{
+                    //    rtnStr = rtnStr + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"' ";
+                    //}
+                    //if(this.txt_RollNOBegin.Text.Trim().Length>0 && this.txt_RollNOEnd.Text.Trim().Length>0)
+                    //{
+                    //    rtnStr = rtnStr + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)>='"+this.txt_RollNOBegin.Text.Trim()+"' "
+                    //        + " AND SUBSTR(A.ROLLNO,INSTR(A.ROLLNO,'-')+1,5)<='"+this.txt_RollNOEnd.Text.Trim()+"' ";
+                    //}
+                    rtnStr = " AND A.SERIALNUMBER LIKE '" + this.txt_RollNOTop.Text.Trim() + "%'";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//厚度
+		private string GetPlyCondition()
+		{
+			try
+			{
+				if(this.chk_Ply.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)==0)
+					{
+						rtnStr = " AND A.PLY="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
+					{
+						rtnStr = " AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_PlyBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_PlyEnd.Value)>0)
+					{
+						rtnStr = " AND A.PLY>="+StorageBaseClass.CheckNullStr(this.txt_PlyBegin.Value)
+							+" AND A.PLY<="+StorageBaseClass.CheckNullStr(this.txt_PlyEnd.Value);
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//宽度
+		private string GetWidthCondition()
+		{
+			try
+			{
+				if(this.chk_Width.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)==0)
+					{
+						rtnStr = " AND A.WIDTH="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
+					{
+						rtnStr = " AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_WidthBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_WidthEnd.Value)>0)
+					{
+						rtnStr = " AND A.WIDTH>="+StorageBaseClass.CheckNullStr(this.txt_WidthBegin.Value)
+							+" AND A.WIDTH<="+StorageBaseClass.CheckNullStr(this.txt_WidthEnd.Value);
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//长度
+		private string GetLengthCondition()
+		{
+			try
+			{
+				if(this.chk_Length.Checked)
+				{
+					string rtnStr = "";
+					if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)==0)
+					{
+						rtnStr = " AND A.LENGTH="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)==0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
+					{
+						rtnStr = " AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
+						return rtnStr;
+					}
+					if(StorageBaseClass.CheckDecimal(this.txt_LenghtBegin.Value)>0 && StorageBaseClass.CheckDecimal(this.txt_LengthEnd.Value)>0)
+					{
+						rtnStr = " AND A.LENGTH>="+StorageBaseClass.CheckNullStr(this.txt_LenghtBegin.Value)
+							+" AND A.LENGTH<="+StorageBaseClass.CheckNullStr(this.txt_LengthEnd.Value);
+						return rtnStr;
+					}
+				}
+				return "";
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//计划号
+		private string GetPlanNOCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.chk_PlanNO.Checked && this.txt_PlanNO.Text.Trim().Length>0)
+				{
+					rtnStr = " AND A.PLANNO LIKE '%"+this.txt_PlanNO.Text.Trim()+"%' "; 
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//车牌号
+		private string GetVecihleNOCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_VecihleNO.Checked && this.txt_VecihleNO.Text.Trim().Length>0)
+				{
+					rtnStr = " AND A.TRAINWAGON LIKE '%"+this.txt_VecihleNO.Text.Trim()+"%' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//班组
+		private string GetClassTeamCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_ClassTeam.Checked && StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value).Length>0)
+				{
+					rtnStr = " AND A.CLASSTEAM='"+StorageBaseClass.CheckNullStr(this.Cmb_ClassTeam.Value)+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//发运人
+		private string GetSendManCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_SendMan.Checked && this.txt_SendMan.Text.Trim().Length>0)
+				{
+					rtnStr = " AND A.PICKSTORAGEMAN='"+this.txt_SendMan.Text.Trim()+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+		//发运明细的登记人
+		private string GetBookInManCondition()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_BookInMan.Checked && this.txt_BookInMan.Text.Trim().Length>0)
+				{
+					rtnStr = " AND A.CREATOR='"+this.txt_BookInMan.Text.Trim()+"' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+	
+		//获得发运吊号的条件
+		private string GetCondole()
+		{
+			try
+			{
+				string rtnStr = "";
+				if(this.Chk_Condole.Checked && this.Txt_Condole.Text.Length>0)
+				{
+					rtnStr = " AND A.CONDOLENUMBER LIKE '%" + this.Txt_Condole.Text + "%' ";
+				}
+				return rtnStr;
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+				return "";
+			}
+		}
+    
+	
+		#endregion
+
+        private void chk_Filter_CheckedChanged(object sender, EventArgs e)
+        {
+
+        }
+
+	}
+}

BIN
Client/.svn/pristine/5f/5f16b57d4d15a404953f6e8c754620859143d184.svn-base


+ 364 - 0
Client/.svn/pristine/60/60e608c7e8f535debf0ed0f4cfe70fb8a95b23ba.svn-base

@@ -0,0 +1,364 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 1.3
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">1.3</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1">this is my long string</data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        [base64 mime encoded serialized .NET Framework object]
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        [base64 mime encoded string representing a byte array form of the .NET Framework object]
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used forserialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>1.3</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <data name="panel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="panel1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="panel1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="panel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="panel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="panel1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>8, 8</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Left.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Left.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Left.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraToolbarsManager1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraToolbarsManager1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraToolbarsManager1.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Right.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Right.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Right.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Top.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Top.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Top.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Bottom.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Bottom.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="_panel1_Toolbars_Dock_Area_Bottom.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraGroupBox1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="ultraGroupBox1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraGroupBox1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraGroupBox1.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="ultraGroupBox1.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>8, 8</value>
+  </data>
+  <data name="ultraGroupBox1.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="ultraCheckEditor1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="ultraCheckEditor1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraCheckEditor1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="dte_EndTime.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="dte_EndTime.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="dte_EndTime.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraLabel1.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="ultraLabel1.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraLabel1.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="dte_BeginTime.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="dte_BeginTime.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="dte_BeginTime.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Time.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_Time.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Time.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="cmb_Buress.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="cmb_Buress.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="cmb_Buress.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="cmb_Man.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="cmb_Man.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="cmb_Man.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Man.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_Man.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Man.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="txt_Opreate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="txt_Opreate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="txt_Opreate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_Opreate.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_Opreate.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Opreate.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="txt_GangJuan.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="txt_GangJuan.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="txt_GangJuan.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_GangJuan.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_GangJuan.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_GangJuan.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Buress.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="chk_Buress.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="chk_Buress.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraGroupBox2.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="ultraGroupBox2.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraGroupBox2.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="ultraGroupBox2.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="ultraGroupBox2.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>8, 8</value>
+  </data>
+  <data name="ultraGroupBox2.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="gb_Buress.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="gb_Buress.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="gb_Buress.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="excelExporter.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="excelExporter.Location" type="System.Drawing.Point, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </data>
+  <data name="excelExporter.Modifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+  <data name="$this.Locked" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>(Default)</value>
+  </data>
+  <data name="$this.TrayLargeIcon" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.Localizable" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>False</value>
+  </data>
+  <data name="$this.GridSize" type="System.Drawing.Size, System.Drawing, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>8, 8</value>
+  </data>
+  <data name="$this.DrawGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.Name">
+    <value>YL_Buress</value>
+  </data>
+  <data name="$this.TrayHeight" type="System.Int32, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>80</value>
+  </data>
+  <data name="$this.SnapToGrid" type="System.Boolean, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </data>
+  <data name="$this.DefaultModifiers" type="System.CodeDom.MemberAttributes, System, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>Private</value>
+  </data>
+</root>

+ 2914 - 0
Client/.svn/pristine/60/60f303441d6a6345285e5c3eb6f26ad8a7f922a2.svn-base

@@ -0,0 +1,2914 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    /// <summary>
+    /// Frm_TurnoffManage 的摘要说明。
+    /// </summary>
+    public class Frm_TurnoffManage : Mes.ClientFrameWork.FrmBase
+    {
+        private System.Windows.Forms.Panel panel1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Press;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turan;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PaiHao;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+        private Infragistics.Win.Misc.UltraLabel lab_cd;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel25;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangpeiH;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_TiShi;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PiHao;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassStream;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOreder;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Num;
+        private Infragistics.Win.Misc.UltraButton Btn_Turn;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_Time;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PiHao_Begin;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Pihao_Top;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PIhao_End;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ReMark;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcL;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Plact;
+        private Infragistics.Win.UltraWinDataSource.UltraDataSource ultraDataSource1;
+        private Infragistics.Win.UltraWinGrid.UltraCombo txt_ZHPD;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_area;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Gylx;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_plid;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Seq;
+        private System.ComponentModel.IContainer components;
+
+        public Frm_TurnoffManage()
+        {
+            //
+            // Windows 窗体设计器支持所必需的
+            //
+            InitializeComponent();
+
+            //
+            // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+            //
+        }
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing)
+            {
+                if (components != null)
+                {
+                    components.Dispose();
+                }
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要使用代码编辑器修改
+        /// 此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ADD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ADD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REF");
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STCOKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GZQX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYQX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER", 3);
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, "", "XJJL_WEIGHT", 33, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_ProcL = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PIhao_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Pihao_Top = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PiHao_Begin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_Press = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.txt_Seq = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_plid = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_Gylx = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_area = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_ZHPD = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_Plact = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_ReMark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_Time = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Btn_Turn = new Infragistics.Win.Misc.UltraButton();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PaiHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Num = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassStream = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOreder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_GangpeiH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_TiShi = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gb_Turan = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraDataSource1 = new Infragistics.Win.UltraWinDataSource.UltraDataSource();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PIhao_End)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao_Top)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao_Begin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Seq)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_plid)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_area)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZHPD)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PaiHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStream)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOreder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_TiShi)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(968, 28);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 4);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool7.SharedProps.Caption = "关闭";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "登记";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "撤销";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "导出";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "刷新成品收集槽";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(968, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 4);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(968, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 28);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(968, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.cmb_ProcL);
+            this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
+            this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor1);
+            this.ultraGroupBox1.Controls.Add(this.txt_PIhao_End);
+            this.ultraGroupBox1.Controls.Add(this.txt_Pihao_Top);
+            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.txt_PiHao_Begin);
+            this.ultraGroupBox1.Controls.Add(this.chk_PiHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
+            this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 28);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(968, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // cmb_ProcL
+            // 
+            this.cmb_ProcL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProcL.DisplayMember = "";
+            this.cmb_ProcL.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ProcL.Enabled = false;
+            this.cmb_ProcL.FlatMode = true;
+            this.cmb_ProcL.Location = new System.Drawing.Point(794, 30);
+            this.cmb_ProcL.Name = "cmb_ProcL";
+            this.cmb_ProcL.Size = new System.Drawing.Size(90, 19);
+            this.cmb_ProcL.TabIndex = 281;
+            this.cmb_ProcL.Tag = "";
+            this.cmb_ProcL.ValueMember = "";
+            // 
+            // chk_ProcLine
+            // 
+            this.chk_ProcLine.Location = new System.Drawing.Point(732, 32);
+            this.chk_ProcLine.Name = "chk_ProcLine";
+            this.chk_ProcLine.Size = new System.Drawing.Size(64, 16);
+            this.chk_ProcLine.TabIndex = 280;
+            this.chk_ProcLine.TabStop = false;
+            this.chk_ProcLine.Text = "产线";
+            this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(70, 30);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 279;
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(70, 8);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 278;
+            // 
+            // cmb_QuYu
+            // 
+            this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_QuYu.DisplayLayout.Appearance = appearance1;
+            this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance8;
+            this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance11;
+            this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_QuYu.DisplayMember = "";
+            this.cmb_QuYu.Enabled = false;
+            this.cmb_QuYu.FlatMode = true;
+            this.cmb_QuYu.Location = new System.Drawing.Point(640, 30);
+            this.cmb_QuYu.Name = "cmb_QuYu";
+            this.cmb_QuYu.Size = new System.Drawing.Size(86, 19);
+            this.cmb_QuYu.TabIndex = 277;
+            this.cmb_QuYu.TabStop = false;
+            this.cmb_QuYu.ValueMember = "";
+            // 
+            // ultraCheckEditor1
+            // 
+            this.ultraCheckEditor1.Location = new System.Drawing.Point(580, 32);
+            this.ultraCheckEditor1.Name = "ultraCheckEditor1";
+            this.ultraCheckEditor1.Size = new System.Drawing.Size(52, 16);
+            this.ultraCheckEditor1.TabIndex = 276;
+            this.ultraCheckEditor1.TabStop = false;
+            this.ultraCheckEditor1.Text = "区域";
+            this.ultraCheckEditor1.CheckedChanged += new System.EventHandler(this.ultraCheckEditor1_CheckedChanged);
+            // 
+            // txt_PIhao_End
+            // 
+            this.txt_PIhao_End.AutoSize = true;
+            this.txt_PIhao_End.Enabled = false;
+            this.txt_PIhao_End.FlatMode = true;
+            this.txt_PIhao_End.Location = new System.Drawing.Point(545, 30);
+            this.txt_PIhao_End.Name = "txt_PIhao_End";
+            this.txt_PIhao_End.Size = new System.Drawing.Size(29, 19);
+            this.txt_PIhao_End.TabIndex = 275;
+            this.txt_PIhao_End.TabStop = false;
+            this.txt_PIhao_End.Tag = "";
+            // 
+            // txt_Pihao_Top
+            // 
+            this.txt_Pihao_Top.AutoSize = true;
+            this.txt_Pihao_Top.Enabled = false;
+            this.txt_Pihao_Top.FlatMode = true;
+            this.txt_Pihao_Top.Location = new System.Drawing.Point(456, 30);
+            this.txt_Pihao_Top.Name = "txt_Pihao_Top";
+            this.txt_Pihao_Top.Size = new System.Drawing.Size(90, 19);
+            this.txt_Pihao_Top.TabIndex = 274;
+            this.txt_Pihao_Top.TabStop = false;
+            this.txt_Pihao_Top.Tag = "";
+            // 
+            // txt_BNumber
+            // 
+            this.txt_BNumber.AutoSize = true;
+            this.txt_BNumber.Enabled = false;
+            this.txt_BNumber.FlatMode = true;
+            this.txt_BNumber.Location = new System.Drawing.Point(794, 6);
+            this.txt_BNumber.Name = "txt_BNumber";
+            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
+            this.txt_BNumber.TabIndex = 273;
+            this.txt_BNumber.TabStop = false;
+            this.txt_BNumber.Tag = "";
+            // 
+            // chk_BNumber
+            // 
+            this.chk_BNumber.Location = new System.Drawing.Point(732, 10);
+            this.chk_BNumber.Name = "chk_BNumber";
+            this.chk_BNumber.Size = new System.Drawing.Size(48, 16);
+            this.chk_BNumber.TabIndex = 272;
+            this.chk_BNumber.TabStop = false;
+            this.chk_BNumber.Text = "批号";
+            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
+            // 
+            // txt_PiHao_Begin
+            // 
+            this.txt_PiHao_Begin.AutoSize = true;
+            this.txt_PiHao_Begin.Enabled = false;
+            this.txt_PiHao_Begin.FlatMode = true;
+            this.txt_PiHao_Begin.Location = new System.Drawing.Point(430, 30);
+            this.txt_PiHao_Begin.Name = "txt_PiHao_Begin";
+            this.txt_PiHao_Begin.Size = new System.Drawing.Size(26, 19);
+            this.txt_PiHao_Begin.TabIndex = 269;
+            this.txt_PiHao_Begin.TabStop = false;
+            this.txt_PiHao_Begin.Tag = "";
+            // 
+            // chk_PiHao
+            // 
+            this.chk_PiHao.Location = new System.Drawing.Point(358, 32);
+            this.chk_PiHao.Name = "chk_PiHao";
+            this.chk_PiHao.Size = new System.Drawing.Size(72, 16);
+            this.chk_PiHao.TabIndex = 268;
+            this.chk_PiHao.TabStop = false;
+            this.chk_PiHao.Text = "卷板包号";
+            this.chk_PiHao.CheckedChanged += new System.EventHandler(this.chk_PiHao_CheckedChanged);
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(892, 30);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 267;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(892, 4);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 266;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // txt_GangP
+            // 
+            this.txt_GangP.AutoSize = true;
+            this.txt_GangP.Enabled = false;
+            this.txt_GangP.FlatMode = true;
+            this.txt_GangP.Location = new System.Drawing.Point(640, 8);
+            this.txt_GangP.Name = "txt_GangP";
+            this.txt_GangP.Size = new System.Drawing.Size(86, 19);
+            this.txt_GangP.TabIndex = 265;
+            this.txt_GangP.TabStop = false;
+            this.txt_GangP.Tag = "";
+            // 
+            // chk_BanHao
+            // 
+            this.chk_BanHao.Location = new System.Drawing.Point(580, 10);
+            this.chk_BanHao.Name = "chk_BanHao";
+            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_BanHao.TabIndex = 264;
+            this.chk_BanHao.TabStop = false;
+            this.chk_BanHao.Text = "板坯号";
+            this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(430, 8);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(144, 19);
+            this.txt_RollHao.TabIndex = 263;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // chk_RollHao
+            // 
+            this.chk_RollHao.Location = new System.Drawing.Point(358, 12);
+            this.chk_RollHao.Name = "chk_RollHao";
+            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollHao.TabIndex = 262;
+            this.chk_RollHao.TabStop = false;
+            this.chk_RollHao.Text = "钢卷号";
+            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
+            // 
+            // txt_PlanID
+            // 
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(248, 30);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 261;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PactID
+            // 
+            this.chk_PactID.Location = new System.Drawing.Point(190, 34);
+            this.chk_PactID.Name = "chk_PactID";
+            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PactID.TabIndex = 260;
+            this.chk_PactID.TabStop = false;
+            this.chk_PactID.Text = "合同号";
+            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
+            // 
+            // txt_OrderNO
+            // 
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(248, 8);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 259;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(190, 12);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 258;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(48, 32);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 257;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_CollectTime.Location = new System.Drawing.Point(20, 10);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(48, 16);
+            this.chk_CollectTime.TabIndex = 256;
+            this.chk_CollectTime.TabStop = false;
+            this.chk_CollectTime.Text = "时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(0, 0);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 84);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(968, 206);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 2;
+            this.ultraExpandableGroupBox1.Text = "编辑区";
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.gb_Press);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel2);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(962, 184);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // gb_Press
+            // 
+            appearance13.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Press.DisplayLayout.Appearance = appearance13;
+            ultraGridColumn1.Header.Caption = "出库单号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.Hidden = true;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "订单号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "交货期";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "厚度";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "宽度";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "长度";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "重量";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "数量";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "牌号";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "综合判定";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "特记事项";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "车辆号";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.Hidden = true;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "质保书编号";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "垛位";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "登记人";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "登记时间";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "生产班次";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(8, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "生产班组";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "工单号";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "卷板包号";
+            ultraGridColumn23.Header.VisiblePosition = 23;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "生产时间";
+            ultraGridColumn24.Header.VisiblePosition = 22;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.Hidden = true;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "表面缺陷";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.Header.Caption = "工艺类型";
+            ultraGridColumn27.Header.VisiblePosition = 26;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "产线";
+            ultraGridColumn28.Header.VisiblePosition = 28;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "小件计量";
+            ultraGridColumn29.Header.VisiblePosition = 29;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(112, 0);
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "炉号";
+            ultraGridColumn30.Header.VisiblePosition = 27;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "批号";
+            ultraGridColumn31.Header.VisiblePosition = 30;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "执行标准";
+            ultraGridColumn32.Header.VisiblePosition = 31;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32});
+            appearance14.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance14;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}块";
+            summarySettings1.GroupBySummaryValueAppearance = appearance15;
+            summarySettings2.DisplayFormat = "{0}吨";
+            summarySettings2.GroupBySummaryValueAppearance = appearance16;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Press.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Press.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance17.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance17.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance17.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Press.DisplayLayout.GroupByBox.Appearance = appearance17;
+            appearance18.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Press.DisplayLayout.GroupByBox.BandLabelAppearance = appearance18;
+            this.gb_Press.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Press.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance19.BackColor = System.Drawing.SystemColors.Window;
+            appearance19.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Press.DisplayLayout.Override.ActiveCellAppearance = appearance19;
+            appearance20.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance20.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Press.DisplayLayout.Override.ActiveRowAppearance = appearance20;
+            appearance21.BorderColor = System.Drawing.Color.Black;
+            appearance21.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.CellAppearance = appearance21;
+            this.gb_Press.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Press.DisplayLayout.Override.CellPadding = 0;
+            appearance22.BackColor = System.Drawing.SystemColors.Control;
+            appearance22.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance22.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance22.BorderColor = System.Drawing.SystemColors.Window;
+            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance22.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.GroupByRowAppearance = appearance22;
+            this.gb_Press.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance23.BackColor = System.Drawing.Color.Silver;
+            this.gb_Press.DisplayLayout.Override.HeaderAppearance = appearance23;
+            this.gb_Press.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Press.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance24.BackColor = System.Drawing.SystemColors.Window;
+            appearance24.BorderColor = System.Drawing.Color.Black;
+            appearance24.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.RowAppearance = appearance24;
+            appearance25.BackColor = System.Drawing.SystemColors.Window;
+            appearance25.BorderColor = System.Drawing.Color.Black;
+            appearance25.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.RowPreviewAppearance = appearance25;
+            this.gb_Press.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Press.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Press.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance26.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.SelectedRowAppearance = appearance26;
+            this.gb_Press.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance27.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterAppearance = appearance27;
+            appearance28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance28.ForeColor = System.Drawing.Color.Red;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance28;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance29.BackColor = System.Drawing.Color.MistyRose;
+            appearance29.ForeColor = System.Drawing.Color.Blue;
+            appearance29.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.SummaryValueAppearance = appearance29;
+            appearance30.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Press.DisplayLayout.Override.TemplateAddRowAppearance = appearance30;
+            this.gb_Press.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Press.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Press.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Press.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Press.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gb_Press.Location = new System.Drawing.Point(629, 0);
+            this.gb_Press.Name = "gb_Press";
+            this.gb_Press.Size = new System.Drawing.Size(333, 184);
+            this.gb_Press.TabIndex = 15;
+            this.gb_Press.Text = "ultraGrid1";
+            this.gb_Press.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.gb_Press_DoubleClickRow);
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.txt_Seq);
+            this.panel2.Controls.Add(this.cmb_plid);
+            this.panel2.Controls.Add(this.cmb_Gylx);
+            this.panel2.Controls.Add(this.ultraLabel16);
+            this.panel2.Controls.Add(this.ultraLabel15);
+            this.panel2.Controls.Add(this.cmb_area);
+            this.panel2.Controls.Add(this.ultraLabel14);
+            this.panel2.Controls.Add(this.txt_ZHPD);
+            this.panel2.Controls.Add(this.txt_Plact);
+            this.panel2.Controls.Add(this.txt_ReMark);
+            this.panel2.Controls.Add(this.ultraLabel13);
+            this.panel2.Controls.Add(this.dte_Time);
+            this.panel2.Controls.Add(this.Btn_Turn);
+            this.panel2.Controls.Add(this.ultraLabel11);
+            this.panel2.Controls.Add(this.txt_PaiHao);
+            this.panel2.Controls.Add(this.txt_Num);
+            this.panel2.Controls.Add(this.ultraLabel9);
+            this.panel2.Controls.Add(this.txt_WEIGHT);
+            this.panel2.Controls.Add(this.ultraLabel10);
+            this.panel2.Controls.Add(this.txt_Width);
+            this.panel2.Controls.Add(this.txt_Length);
+            this.panel2.Controls.Add(this.lab_cd);
+            this.panel2.Controls.Add(this.ultraLabel17);
+            this.panel2.Controls.Add(this.txt_Ply);
+            this.panel2.Controls.Add(this.ultraLabel12);
+            this.panel2.Controls.Add(this.ultraLabel20);
+            this.panel2.Controls.Add(this.cmb_ClassStream);
+            this.panel2.Controls.Add(this.ultraLabel7);
+            this.panel2.Controls.Add(this.cmb_ClassOreder);
+            this.panel2.Controls.Add(this.ultraLabel6);
+            this.panel2.Controls.Add(this.cmb_Buress);
+            this.panel2.Controls.Add(this.ultraLabel4);
+            this.panel2.Controls.Add(this.ultraLabel8);
+            this.panel2.Controls.Add(this.cmb_BugReaSon);
+            this.panel2.Controls.Add(this.ultraLabel25);
+            this.panel2.Controls.Add(this.ultraLabel2);
+            this.panel2.Controls.Add(this.ultraLabel3);
+            this.panel2.Controls.Add(this.txt_GangpeiH);
+            this.panel2.Controls.Add(this.ultraLabel1);
+            this.panel2.Controls.Add(this.txt_Scid_End_Y);
+            this.panel2.Controls.Add(this.txt_Scid_Begin_Y);
+            this.panel2.Controls.Add(this.txt_Scid_Top_Y);
+            this.panel2.Controls.Add(this.ultraLabel5);
+            this.panel2.Controls.Add(this.txt_TiShi);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(629, 184);
+            this.panel2.TabIndex = 0;
+            this.panel2.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // txt_Seq
+            // 
+            this.txt_Seq.AutoSize = true;
+            this.txt_Seq.FlatMode = true;
+            this.txt_Seq.Location = new System.Drawing.Point(184, 107);
+            this.txt_Seq.Name = "txt_Seq";
+            this.txt_Seq.Size = new System.Drawing.Size(44, 19);
+            this.txt_Seq.TabIndex = 706;
+            // 
+            // cmb_plid
+            // 
+            this.cmb_plid.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_plid.DisplayMember = "";
+            this.cmb_plid.Location = new System.Drawing.Point(288, 151);
+            this.cmb_plid.Name = "cmb_plid";
+            this.cmb_plid.Size = new System.Drawing.Size(116, 21);
+            this.cmb_plid.TabIndex = 705;
+            this.cmb_plid.ValueMember = "";
+            // 
+            // cmb_Gylx
+            // 
+            this.cmb_Gylx.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Gylx.DisplayMember = "";
+            this.cmb_Gylx.Location = new System.Drawing.Point(78, 152);
+            this.cmb_Gylx.Name = "cmb_Gylx";
+            this.cmb_Gylx.Size = new System.Drawing.Size(150, 21);
+            this.cmb_Gylx.TabIndex = 704;
+            this.cmb_Gylx.ValueMember = "";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.Location = new System.Drawing.Point(234, 155);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel16.TabIndex = 701;
+            this.ultraLabel16.Text = "产线";
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.Location = new System.Drawing.Point(22, 157);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 699;
+            this.ultraLabel15.Text = "工艺类型";
+            // 
+            // cmb_area
+            // 
+            this.cmb_area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_area.DisplayMember = "";
+            this.cmb_area.Location = new System.Drawing.Point(288, 54);
+            this.cmb_area.Name = "cmb_area";
+            this.cmb_area.Size = new System.Drawing.Size(116, 21);
+            this.cmb_area.TabIndex = 696;
+            this.cmb_area.ValueMember = "";
+            this.cmb_area.ValueChanged += new System.EventHandler(this.cmb_area_ValueChanged);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(234, 58);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 697;
+            this.ultraLabel14.Text = "入库区域";
+            // 
+            // txt_ZHPD
+            // 
+            this.txt_ZHPD.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.txt_ZHPD.DisplayMember = "";
+            this.txt_ZHPD.Location = new System.Drawing.Point(288, 29);
+            this.txt_ZHPD.Name = "txt_ZHPD";
+            this.txt_ZHPD.ReadOnly = true;
+            this.txt_ZHPD.Size = new System.Drawing.Size(116, 21);
+            this.txt_ZHPD.TabIndex = 695;
+            this.txt_ZHPD.ValueMember = "";
+            // 
+            // txt_Plact
+            // 
+            this.txt_Plact.AutoSize = true;
+            this.txt_Plact.FlatMode = true;
+            this.txt_Plact.Location = new System.Drawing.Point(78, 107);
+            this.txt_Plact.Name = "txt_Plact";
+            this.txt_Plact.Size = new System.Drawing.Size(106, 19);
+            this.txt_Plact.TabIndex = 6;
+            this.txt_Plact.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Plact.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_ReMark
+            // 
+            this.txt_ReMark.AutoSize = true;
+            this.txt_ReMark.FlatMode = true;
+            this.txt_ReMark.Location = new System.Drawing.Point(466, 128);
+            this.txt_ReMark.Name = "txt_ReMark";
+            this.txt_ReMark.Size = new System.Drawing.Size(112, 19);
+            this.txt_ReMark.TabIndex = 18;
+            this.txt_ReMark.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_ReMark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.Location = new System.Drawing.Point(436, 130);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel13.TabIndex = 694;
+            this.ultraLabel13.Text = "备注";
+            // 
+            // dte_Time
+            // 
+            this.dte_Time.Location = new System.Drawing.Point(465, 152);
+            this.dte_Time.Name = "dte_Time";
+            this.dte_Time.Size = new System.Drawing.Size(116, 21);
+            this.dte_Time.TabIndex = 12;
+            this.dte_Time.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.dte_Time.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // Btn_Turn
+            // 
+            this.Btn_Turn.Location = new System.Drawing.Point(582, 101);
+            this.Btn_Turn.Name = "Btn_Turn";
+            this.Btn_Turn.Size = new System.Drawing.Size(34, 46);
+            this.Btn_Turn.TabIndex = 18;
+            this.Btn_Turn.Text = "登记";
+            this.Btn_Turn.Click += new System.EventHandler(this.Btn_Turn_Click);
+            this.Btn_Turn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel11
+            // 
+            appearance31.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel11.Appearance = appearance31;
+            this.ultraLabel11.Location = new System.Drawing.Point(22, 85);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel11.TabIndex = 692;
+            this.ultraLabel11.Text = "牌号";
+            // 
+            // txt_PaiHao
+            // 
+            appearance32.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PaiHao.Appearance = appearance32;
+            this.txt_PaiHao.AutoSize = true;
+            this.txt_PaiHao.Location = new System.Drawing.Point(78, 81);
+            this.txt_PaiHao.Name = "txt_PaiHao";
+            this.txt_PaiHao.Size = new System.Drawing.Size(150, 21);
+            this.txt_PaiHao.TabIndex = 5;
+            this.txt_PaiHao.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_PaiHao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_Num
+            // 
+            this.txt_Num.FlatMode = true;
+            this.txt_Num.Location = new System.Drawing.Point(466, 80);
+            this.txt_Num.MaskInput = "nnnnn";
+            this.txt_Num.Name = "txt_Num";
+            this.txt_Num.PromptChar = ' ';
+            this.txt_Num.Size = new System.Drawing.Size(112, 19);
+            this.txt_Num.TabIndex = 16;
+            this.txt_Num.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Num.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(436, 82);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel9.TabIndex = 691;
+            this.ultraLabel9.Text = "数量";
+            // 
+            // txt_WEIGHT
+            // 
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(466, 104);
+            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.Size = new System.Drawing.Size(112, 19);
+            this.txt_WEIGHT.TabIndex = 17;
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_WEIGHT.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(414, 106);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(62, 16);
+            this.ultraLabel10.TabIndex = 690;
+            this.ultraLabel10.Text = "理论重量";
+            // 
+            // txt_Width
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Width.Appearance = appearance33;
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(466, 32);
+            this.txt_Width.MaskInput = "nnnn.nn";
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(112, 19);
+            this.txt_Width.TabIndex = 14;
+            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Width.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // txt_Length
+            // 
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(466, 56);
+            this.txt_Length.MaskInput = "nnnnn";
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(112, 19);
+            this.txt_Length.TabIndex = 15;
+            this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Length.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // lab_cd
+            // 
+            this.lab_cd.Location = new System.Drawing.Point(436, 58);
+            this.lab_cd.Name = "lab_cd";
+            this.lab_cd.Size = new System.Drawing.Size(29, 16);
+            this.lab_cd.TabIndex = 689;
+            this.lab_cd.Text = "长度";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(436, 34);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel17.TabIndex = 688;
+            this.ultraLabel17.Text = "宽度";
+            // 
+            // txt_Ply
+            // 
+            appearance34.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Ply.Appearance = appearance34;
+            this.txt_Ply.FlatMode = true;
+            this.txt_Ply.Location = new System.Drawing.Point(466, 8);
+            this.txt_Ply.MaskInput = "nnn.nnn";
+            this.txt_Ply.Name = "txt_Ply";
+            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Ply.PromptChar = ' ';
+            this.txt_Ply.ReadOnly = true;
+            this.txt_Ply.Size = new System.Drawing.Size(112, 19);
+            this.txt_Ply.TabIndex = 13;
+            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Ply.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(436, 10);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel12.TabIndex = 687;
+            this.ultraLabel12.Text = "厚度";
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.Location = new System.Drawing.Point(411, 156);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel20.TabIndex = 686;
+            this.ultraLabel20.Text = "入库时间";
+            // 
+            // cmb_ClassStream
+            // 
+            this.cmb_ClassStream.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassStream.DisplayMember = "";
+            this.cmb_ClassStream.Location = new System.Drawing.Point(288, 128);
+            this.cmb_ClassStream.Name = "cmb_ClassStream";
+            this.cmb_ClassStream.Size = new System.Drawing.Size(116, 21);
+            this.cmb_ClassStream.TabIndex = 11;
+            this.cmb_ClassStream.ValueMember = "";
+            this.cmb_ClassStream.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_ClassStream.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(234, 132);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 685;
+            this.ultraLabel7.Text = "入库班组";
+            // 
+            // cmb_ClassOreder
+            // 
+            this.cmb_ClassOreder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOreder.DisplayMember = "";
+            this.cmb_ClassOreder.Location = new System.Drawing.Point(288, 104);
+            this.cmb_ClassOreder.Name = "cmb_ClassOreder";
+            this.cmb_ClassOreder.Size = new System.Drawing.Size(116, 21);
+            this.cmb_ClassOreder.TabIndex = 10;
+            this.cmb_ClassOreder.ValueMember = "";
+            this.cmb_ClassOreder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_ClassOreder.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(234, 108);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 684;
+            this.ultraLabel6.Text = "入库班次";
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.Location = new System.Drawing.Point(288, 80);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(116, 21);
+            this.cmb_Buress.TabIndex = 9;
+            this.cmb_Buress.ValueMember = "";
+            this.cmb_Buress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_Buress.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(234, 84);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 683;
+            this.ultraLabel4.Text = "入库垛位";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(232, 35);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel8.TabIndex = 682;
+            this.ultraLabel8.Text = "综合判定";
+            // 
+            // cmb_BugReaSon
+            // 
+            this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BugReaSon.DisplayMember = "";
+            this.cmb_BugReaSon.Location = new System.Drawing.Point(78, 129);
+            this.cmb_BugReaSon.Name = "cmb_BugReaSon";
+            this.cmb_BugReaSon.Size = new System.Drawing.Size(150, 21);
+            this.cmb_BugReaSon.TabIndex = 7;
+            this.cmb_BugReaSon.ValueMember = "";
+            this.cmb_BugReaSon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_BugReaSon.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel25
+            // 
+            this.ultraLabel25.Location = new System.Drawing.Point(22, 133);
+            this.ultraLabel25.Name = "ultraLabel25";
+            this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel25.TabIndex = 681;
+            this.ultraLabel25.Text = "表面缺陷";
+            // 
+            // ultraLabel2
+            // 
+            appearance35.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel2.Appearance = appearance35;
+            this.ultraLabel2.Location = new System.Drawing.Point(22, 109);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel2.TabIndex = 680;
+            this.ultraLabel2.Text = "订单号";
+            // 
+            // ultraLabel3
+            // 
+            appearance36.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel3.Appearance = appearance36;
+            this.ultraLabel3.Location = new System.Drawing.Point(22, 59);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 679;
+            this.ultraLabel3.Text = "钢卷号";
+            // 
+            // txt_GangpeiH
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_GangpeiH.Appearance = appearance37;
+            this.txt_GangpeiH.AutoSize = true;
+            this.txt_GangpeiH.Location = new System.Drawing.Point(78, 57);
+            this.txt_GangpeiH.Name = "txt_GangpeiH";
+            this.txt_GangpeiH.ReadOnly = true;
+            this.txt_GangpeiH.Size = new System.Drawing.Size(150, 21);
+            this.txt_GangpeiH.TabIndex = 4;
+            this.txt_GangpeiH.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_GangpeiH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            appearance38.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel1.Appearance = appearance38;
+            this.ultraLabel1.Location = new System.Drawing.Point(22, 37);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 678;
+            this.ultraLabel1.Text = "卷板包号";
+            // 
+            // txt_Scid_End_Y
+            // 
+            this.txt_Scid_End_Y.AutoSize = true;
+            this.txt_Scid_End_Y.Location = new System.Drawing.Point(184, 33);
+            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
+            this.txt_Scid_End_Y.Size = new System.Drawing.Size(44, 21);
+            this.txt_Scid_End_Y.TabIndex = 3;
+            this.txt_Scid_End_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Scid_End_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_Scid_Begin_Y
+            // 
+            this.txt_Scid_Begin_Y.AutoSize = true;
+            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(108, 33);
+            this.txt_Scid_Begin_Y.MaxLength = 10;
+            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
+            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(76, 21);
+            this.txt_Scid_Begin_Y.TabIndex = 2;
+            this.txt_Scid_Begin_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Scid_Begin_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_Scid_Top_Y
+            // 
+            this.txt_Scid_Top_Y.AutoSize = true;
+            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(78, 33);
+            this.txt_Scid_Top_Y.MaxLength = 2;
+            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
+            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(30, 21);
+            this.txt_Scid_Top_Y.TabIndex = 1;
+            this.txt_Scid_Top_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Scid_Top_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel5
+            // 
+            appearance39.FontData.BoldAsString = "True";
+            appearance39.ForeColor = System.Drawing.Color.Red;
+            appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel5.Appearance = appearance39;
+            this.ultraLabel5.Font = new System.Drawing.Font("宋体", 9.5F);
+            this.ultraLabel5.Location = new System.Drawing.Point(16, 9);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(62, 18);
+            this.ultraLabel5.TabIndex = 676;
+            this.ultraLabel5.Text = "提示信息";
+            // 
+            // txt_TiShi
+            // 
+            this.txt_TiShi.AutoSize = true;
+            this.txt_TiShi.FlatMode = true;
+            this.txt_TiShi.Location = new System.Drawing.Point(78, 7);
+            this.txt_TiShi.Name = "txt_TiShi";
+            this.txt_TiShi.Size = new System.Drawing.Size(330, 19);
+            this.txt_TiShi.TabIndex = 677;
+            this.txt_TiShi.TabStop = false;
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.gb_Turan);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 290);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(968, 240);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 3;
+            this.ultraGroupBox2.Text = "成品收集信息";
+            // 
+            // gb_Turan
+            // 
+            appearance40.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Turan.DisplayLayout.Appearance = appearance40;
+            ultraGridColumn33.Header.Caption = "出库单号";
+            ultraGridColumn33.Header.VisiblePosition = 0;
+            ultraGridColumn33.Hidden = true;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "钢卷号";
+            ultraGridColumn34.Header.VisiblePosition = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "板坯号";
+            ultraGridColumn35.Header.VisiblePosition = 2;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "合同号";
+            ultraGridColumn36.Header.VisiblePosition = 3;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "订单号";
+            ultraGridColumn37.Header.VisiblePosition = 4;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "交货期";
+            ultraGridColumn38.Header.VisiblePosition = 5;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "厚度";
+            ultraGridColumn39.Header.VisiblePosition = 6;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "宽度";
+            ultraGridColumn40.Header.VisiblePosition = 7;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "长度";
+            ultraGridColumn41.Header.VisiblePosition = 8;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "理论重量";
+            ultraGridColumn42.Header.VisiblePosition = 9;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "数量";
+            ultraGridColumn43.Header.VisiblePosition = 10;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "牌号";
+            ultraGridColumn44.Header.VisiblePosition = 11;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "综合判定";
+            ultraGridColumn45.Header.VisiblePosition = 12;
+            ultraGridColumn45.Hidden = true;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "特记事项";
+            ultraGridColumn46.Header.VisiblePosition = 13;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "车辆号";
+            ultraGridColumn47.Header.VisiblePosition = 14;
+            ultraGridColumn47.Hidden = true;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "质保书编号";
+            ultraGridColumn48.Header.VisiblePosition = 15;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "垛位";
+            ultraGridColumn49.Header.VisiblePosition = 16;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "登记人";
+            ultraGridColumn50.Header.VisiblePosition = 17;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "登记时间";
+            ultraGridColumn51.Header.VisiblePosition = 18;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 33;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "入库班次";
+            ultraGridColumn52.Header.VisiblePosition = 19;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "入库班组";
+            ultraGridColumn53.Header.VisiblePosition = 20;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn54.Header.Caption = "工单号";
+            ultraGridColumn54.Header.VisiblePosition = 21;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "卷板包号";
+            ultraGridColumn55.Header.VisiblePosition = 24;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 0);
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "生产时间";
+            ultraGridColumn56.Header.VisiblePosition = 22;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.VisiblePosition = 25;
+            ultraGridColumn57.Hidden = true;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "";
+            ultraGridColumn58.Header.VisiblePosition = 26;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(34, 0);
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn59.Header.Caption = "产线";
+            ultraGridColumn59.Header.VisiblePosition = 27;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "订单类型";
+            ultraGridColumn60.Header.VisiblePosition = 23;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "备注";
+            ultraGridColumn61.Header.VisiblePosition = 28;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 32;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "工艺类型";
+            ultraGridColumn62.Header.VisiblePosition = 29;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "综合判定结果";
+            ultraGridColumn63.Header.VisiblePosition = 30;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "钢质缺陷";
+            ultraGridColumn64.Header.VisiblePosition = 32;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "工艺缺陷";
+            ultraGridColumn65.Header.VisiblePosition = 35;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn66.Header.Caption = "过磅重量";
+            ultraGridColumn66.Header.VisiblePosition = 33;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "炉号";
+            ultraGridColumn67.Header.VisiblePosition = 31;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn68.Header.Caption = "批号";
+            ultraGridColumn68.Header.VisiblePosition = 34;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn69.Header.Caption = "执行标准";
+            ultraGridColumn69.Header.VisiblePosition = 36;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn69.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn70.Header.Caption = "卷板总包号";
+            ultraGridColumn70.Header.VisiblePosition = 37;
+            ultraGridColumn70.Hidden = true;
+            ultraGridColumn70.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn70.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(128, 0);
+            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68,
+            ultraGridColumn69,
+            ultraGridColumn70});
+            appearance41.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance41;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings3.DisplayFormat = "{0}吨";
+            summarySettings3.GroupBySummaryValueAppearance = appearance42;
+            summarySettings4.DisplayFormat = "{0}块";
+            summarySettings4.GroupBySummaryValueAppearance = appearance43;
+            summarySettings5.DisplayFormat = "{0}吨";
+            summarySettings5.GroupBySummaryValueAppearance = appearance44;
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4,
+            summarySettings5});
+            ultraGridBand2.UseRowLayout = true;
+            this.gb_Turan.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gb_Turan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance45.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance45.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Turan.DisplayLayout.GroupByBox.Appearance = appearance45;
+            appearance46.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Turan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance46;
+            this.gb_Turan.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Turan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance47.BackColor = System.Drawing.SystemColors.Window;
+            appearance47.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Turan.DisplayLayout.Override.ActiveCellAppearance = appearance47;
+            appearance48.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance48.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Turan.DisplayLayout.Override.ActiveRowAppearance = appearance48;
+            appearance49.BorderColor = System.Drawing.Color.Black;
+            appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.CellAppearance = appearance49;
+            this.gb_Turan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Turan.DisplayLayout.Override.CellPadding = 0;
+            appearance50.BackColor = System.Drawing.SystemColors.Control;
+            appearance50.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance50.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance50.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance50.BorderColor = System.Drawing.SystemColors.Window;
+            appearance50.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.GroupByRowAppearance = appearance50;
+            this.gb_Turan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance51.BackColor = System.Drawing.Color.Silver;
+            this.gb_Turan.DisplayLayout.Override.HeaderAppearance = appearance51;
+            this.gb_Turan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Turan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance52.BackColor = System.Drawing.SystemColors.Window;
+            appearance52.BorderColor = System.Drawing.Color.Black;
+            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.RowAppearance = appearance52;
+            appearance53.BackColor = System.Drawing.SystemColors.Window;
+            appearance53.BorderColor = System.Drawing.Color.Black;
+            appearance53.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.RowPreviewAppearance = appearance53;
+            this.gb_Turan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Turan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Turan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance54.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.SelectedRowAppearance = appearance54;
+            this.gb_Turan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance55.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Turan.DisplayLayout.Override.SummaryFooterAppearance = appearance55;
+            appearance56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance56.ForeColor = System.Drawing.Color.Red;
+            this.gb_Turan.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance56;
+            this.gb_Turan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance57.BackColor = System.Drawing.Color.MistyRose;
+            appearance57.ForeColor = System.Drawing.Color.Blue;
+            appearance57.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance57.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.SummaryValueAppearance = appearance57;
+            appearance58.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Turan.DisplayLayout.Override.TemplateAddRowAppearance = appearance58;
+            this.gb_Turan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Turan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Turan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Turan.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Turan.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gb_Turan.Location = new System.Drawing.Point(3, 18);
+            this.gb_Turan.Name = "gb_Turan";
+            this.gb_Turan.Size = new System.Drawing.Size(962, 219);
+            this.gb_Turan.TabIndex = 14;
+            this.gb_Turan.Text = "ultraGrid2";
+            this.gb_Turan.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Turan_CellChange);
+            // 
+            // Frm_TurnoffManage
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(968, 530);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_TurnoffManage";
+            this.Text = "卷板成品收集入库管理";
+            this.Load += new System.EventHandler(this.Frm_TurnoffManage_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PIhao_End)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao_Top)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao_Begin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Seq)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_plid)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_area)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZHPD)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PaiHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStream)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOreder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_TiShi)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+        #endregion
+
+        #region 查询
+        private string GetWhere()
+        {
+            string strSql = "";
+            if (this.chk_CollectTime.Checked)
+            {
+                strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += "AND A.ORD_SEQ like '%" + this.txt_OrderNO.Text + "%'"; ;
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += "AND A.ORD_NO like '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.chk_RollHao.Checked)
+            {
+                strSql += "AND A.OLD_SAMPL_NO LIKE '%" + this.txt_RollHao.Text + "%'";
+            }
+            if (this.chk_BanHao.Checked)
+            {
+                strSql += "AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
+            }
+            if (this.chk_PiHao.Checked)
+            {
+                strSql += "AND A.COIL_NO_ID='" + this.txt_PiHao_Begin.Text + "-" + this.txt_Pihao_Top.Text + "-" + this.txt_PIhao_End.Text + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+            return strSql;
+        }
+        private void DetailQuery(string _Conntion)
+        {
+            try
+            {
+                string strOut = "";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
+                this.gb_Press.DataSource = ds;
+                this.gb_Press.UpdateData();
+                Comm.SetGridSumArea(this.gb_Press);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private void GetZYDetail(string _Conntion)
+        {
+            string strOut = "";
+            try
+            {
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
+                if (ds != null && ds.Tables[0].Rows.Count > 0)
+                {
+                    System.Data.DataRow dr = ds.Tables[0].Rows[0];
+                    this.txt_GangpeiH.Text = Comm.ObjToStr(dr["OLD_SAMPL_NO"]);
+                    this.txt_PaiHao.Text = Comm.ObjToStr(dr["STL_GRD"]);
+                    this.txt_Plact.Text = Comm.ObjToStr(dr["ORD_NO"]);
+                    this.txt_Ply.Value = Comm.ObjToDouble(dr["ZSLAB_PLY"]);
+                    this.txt_Width.Value = Comm.ObjToDouble(dr["ZSLAB_WIDTH"]);
+                    this.txt_Length.Value = Comm.ObjToStr(dr["ZSLAB_LENGTH"]);
+                    this.txt_Num.Value = Comm.ObjToStr(dr["ZSLAB_NUM"]);
+                    this.txt_WEIGHT.Value = Comm.ObjToStr(dr["ZSLAB_WEIGHT"]);
+                    this.cmb_BugReaSon.Value = Comm.ObjToStr(dr["CRK_CD1"]);
+                    this.cmb_Gylx.Value = Comm.ObjToStr(dr["GYLX"]);
+                    this.cmb_plid.Value = Comm.ObjToStr(dr["STOCKTYPE"]);
+                    this.txt_ZHPD.Value = Comm.ObjToStr(dr["TOT_DEC_GRD"]);
+                    this.txt_Seq.Text = Comm.ObjToStr(dr["ORD_SEQ"]);
+                    this.cmb_Gylx.Value = Comm.ObjToStr(dr["GYLX"]);
+
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = "该钢卷无生产实绩信息,请与生产作业组联系";
+                    txt_Scid_Top_Y.Focus();
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void txt_Scid_Top_Y_Enter(object sender, System.EventArgs e)
+        {
+            try
+            {
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+                }
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void txt_Scid_Top_Y_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+        {
+            try
+            {
+                if (e.KeyData == Keys.Return)
+                {
+                    if (((System.Windows.Forms.Control)sender).Name == this.txt_Scid_End_Y.Name)
+                    {
+                        string sqlStr = " AND A.COIL_NO_ID = '" + this.txt_Scid_Top_Y.Text.Trim() + "-" + this.txt_Scid_Begin_Y.Text.Trim() + "-" + this.txt_Scid_End_Y.Text + "'";
+                        this.GetZYDetail(sqlStr);
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == this.Btn_Turn.Name)
+                    {
+                        this.TurnAdd();
+                    }
+                    System.Windows.Forms.SendKeys.Send("{TAB}");
+
+                }
+
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private string Turn_GetWhere()
+        {
+            string strSql = "";
+            if (this.chk_CollectTime.Checked)
+            {
+                strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += "AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'"; ;
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += "AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.chk_RollHao.Checked)
+            {
+                strSql += "AND A.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'";
+            }
+            if (this.chk_BanHao.Checked)
+            {
+                strSql += "AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
+            }
+            if (this.chk_PiHao.Checked)
+            {
+                strSql += "AND COIL_NO_ID='" + this.txt_PiHao_Begin.Text + "-" + this.txt_Pihao_Top.Text + "-" + this.txt_PIhao_End.Text + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+            if (this.ultraCheckEditor1.Checked)
+            {
+                strSql += " AND B.AREA='" + this.cmb_QuYu.Value + "'";
+            }
+            if (this.chk_ProcLine.Checked)
+            {
+                strSql += " AND A.STOCKTYPE='" + this.cmb_ProcL.Value.ToString() + "'";
+            }
+            return strSql;
+        }
+        private void TurnQuery(string _Conntion)
+        {
+            try
+            {
+                string strOut = "";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_Query", new object[] { _Conntion }, out strOut);
+                this.gb_Turan.DataSource = ds;
+                this.gb_Turan.UpdateData();
+                Comm.SetGridSumArea(this.gb_Turan);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region 成品入库
+        private bool Check_Turn()
+        {
+            if (this.txt_Scid_End_Y.Text.Trim().Length == 0 && this.txt_Scid_Begin_Y.Text.Trim().Length == 0 && this.txt_Scid_Top_Y.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "板批号不能为空!";
+                return false;
+            }
+            if (this.cmb_Buress.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "堆位不能为空!";
+                return false;
+            }
+            if (this.cmb_ClassOreder.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "班次不能为空!";
+                return false;
+            }
+            if (this.cmb_ClassStream.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "班组不能为空!";
+                return false;
+            }
+            if (this.txt_Ply.Value.ToString().Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "厚度不能为空!";
+                return false;
+            }
+            return true;
+        }
+        private void TurnAdd()
+        {
+            if (!Check_Turn())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array.Add(this.txt_Scid_Top_Y.Text + "-" + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您查看卷板批号是否填写正确!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.cmb_BugReaSon.Text);
+                Other.Add(this.txt_ZHPD.Value);
+                Other.Add(this.cmb_Buress.Value.ToString());
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.txt_Length.Value.ToString());
+                Other.Add(this.txt_Num.Value.ToString());
+                Other.Add(this.txt_WEIGHT.Value.ToString());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.txt_ReMark.Text);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_ADD", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    txt_TiShi.Text = "成功入库!";
+
+                    this.txt_WEIGHT.Value = 0;
+                    this.txt_Num.Value = 0;
+                    this.txt_Length.Value = 0;
+                    this.txt_Ply.Value = 0;
+                    this.txt_Width.Value = 0;
+                    this.txt_GangpeiH.Clear();
+
+                    DataSet ds = (DataSet)this.gb_Press.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + "-" + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
+                    }
+                    string strSql = " AND A.COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + "-" + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'";
+                    this.TurnQuery(strSql);
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "QUERY":
+                    TurnQuery(this.Turn_GetWhere());
+                    break;
+                case "ADD":
+                    this.TurnAdd();
+                    break;
+                case "DEL":
+                    this.Turn_Del();
+                    break;
+                case "REF":
+                    this.DetailQuery(this.GetWhere());
+                    break;
+                case "TO_EXCEL":
+                    ExportButtressInfo();
+                    break;
+                case "Close":
+                    break;
+            }
+        }
+
+
+        #region 初始化
+        private void Frm_TurnoffManage_Load(object sender, System.EventArgs e)
+        {
+            string strOut = "";
+            string sql = "", strSql="";
+            DataSet ds;
+            Comm.SetGridSumArea(this.gb_Press);
+            Comm.SetGridSumArea(this.gb_Turan);
+            //班次
+            sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+            Comm.Init_ComboControl(this.cmb_ClassOreder, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //班组
+            sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+            Comm.Init_ComboControl(this.cmb_ClassStream, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //堆位
+            sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BUTTRESS";
+
+            Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+
+            //原料区域cmb_NewArea
+            sql = "select areacode from kcj_area_ZW  where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_AREA";
+
+            Comm.Init_ComboControl(this.cmb_QuYu, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
+            //add by lyp 成品区域
+            Comm.Init_ComboControl(this.cmb_area, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
+            //开平线
+            sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE in ('8055','8066')";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.cmb_ProcL, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+            Comm.Init_ComboControl(this.cmb_plid, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+            //工艺缺陷
+            strSql = "SELECT T.ID_,T.NAME_ FROM SCM_BASE_INFO T WHERE ID_ LIKE '4124ZB1G%' AND T.SORT_CODE = '4124'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+            Comm.Init_ComboControl(this.cmb_BugReaSon, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //判定类别
+            strSql = "SELECT T.ID_,T.NAME_ FROM SCM_BASE_INFO T WHERE T.SORT_CODE = '4127'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+            Comm.Init_ComboControl(this.txt_ZHPD, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //工艺类型
+            sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='8077'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.cmb_Gylx, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+           
+           
+           
+
+        }
+        #endregion
+
+        #region 入库
+        private void Btn_Turn_Click(object sender, System.EventArgs e)
+        {
+            if (!Check_Turn())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array.Add(this.txt_Scid_Top_Y.Text + "-" + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您查看卷板批号是否填写正确!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.cmb_BugReaSon.Text);
+                Other.Add(this.txt_ZHPD.Value);
+                Other.Add(this.cmb_Buress.Text);
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.txt_Length.Value.ToString());
+                Other.Add(this.txt_Num.Value.ToString());
+                Other.Add(this.txt_WEIGHT.Value.ToString());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.txt_ReMark.Text);
+                Other.Add(this.txt_Plact.Text.Trim());
+                Other.Add(this.txt_Width.Text.Trim());
+                Other.Add(this.txt_Seq.Text.Trim());
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_ADD", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    txt_TiShi.Text = "成功入库!";
+
+                    this.txt_WEIGHT.Value = 0;
+                    this.txt_Num.Value = 0;
+                    this.txt_Length.Value = 0;
+                    this.txt_Ply.Value = 0;
+                    this.txt_Width.Value = 0;
+                    this.txt_GangpeiH.Clear();
+
+                    DataSet ds = (DataSet)this.gb_Press.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + "-" + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
+                    }
+                    string strSql = " AND A.COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + "-" + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'";
+                    this.TurnQuery(strSql);
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region 撤消成品入库
+        private void Turn_Del()
+        {
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array = Comm.GetFieldValue(this.gb_Turan, "FLAG", "COIL_NO_ID");
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要撤消的成品信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_Del", new object[] { array }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    DataSet ds = (DataSet)this.gb_Turan.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_TURNOFFLIST"].Select("FLAG='TRUE'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_TURNOFFLIST"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
+                    }
+                    this.DetailQuery("");
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region EVENT
+        private void gb_Turan_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+        {
+            try
+            {
+                if (e.Cell.Column.Key == "FLAG")
+                {
+                    e.Cell.Row.Update();
+                    if (e.Cell.Value.ToString().ToUpper() == "TRUE")
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    }
+                    else
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+        {
+            try
+            {
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_Press;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Turan;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Turan.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+        {
+            try
+            {
+                if (this.chk_AllowFilter.Checked)
+                {
+                    this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+                    this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+                    this.gb_Turan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+                    this.gb_Turan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+                }
+                else
+                {
+                    this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+                    this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                    if (this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                    {
+                        for (int i = 0; i < this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                        {
+                            this.gb_Press.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                        }
+                    }
+
+                    this.gb_Turan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+                    this.gb_Turan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                    if (this.gb_Turan.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                    {
+                        for (int i = 0; i < this.gb_Turan.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                        {
+                            this.gb_Turan.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                        }
+                    }
+
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked;
+            this.dte_EndTime.Enabled = this.chk_CollectTime.Checked;
+        }
+
+        private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+        }
+
+        private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_PlanID.Enabled = this.chk_PactID.Checked;
+        }
+
+        private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_RollHao.Enabled = this.chk_RollHao.Checked;
+        }
+
+        private void chk_PiHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_PiHao_Begin.Enabled = this.chk_PiHao.Checked;
+            this.txt_PIhao_End.Enabled = this.chk_PiHao.Checked;
+            this.txt_Pihao_Top.Enabled = this.chk_PiHao.Checked;
+        }
+
+        private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_GangP.Enabled = this.chk_BanHao.Checked;
+        }
+
+        #endregion
+
+        private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_BNumber.Enabled = this.chk_BNumber.Checked;
+        }
+
+        private void gb_Press_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+        {
+            this.txt_Scid_Top_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(0, 2);
+            this.txt_Scid_Begin_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(3, 10);
+            this.txt_Scid_End_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(14);
+            txt_ReMark.Text = e.Row.Cells["REM"].Value.ToString();
+            txt_GangpeiH.Text = e.Row.Cells["OLD_SAMPL_NO"].Value.ToString();
+            txt_PaiHao.Text = e.Row.Cells["STL_GRD"].Value.ToString();
+            txt_Plact.Text = e.Row.Cells["ORD_NO"].Value.ToString();
+            txt_Seq.Text = e.Row.Cells["ORD_SEQ"].Value.ToString();
+            txt_Ply.Value = e.Row.Cells["ZSLAB_PLY"].Value.ToString();
+            txt_Width.Value = e.Row.Cells["ZSLAB_WIDTH"].Value.ToString();
+            txt_Length.Value = e.Row.Cells["ZSLAB_LENGTH"].Value.ToString();
+            txt_Num.Value = e.Row.Cells["ZSLAB_NUM"].Value.ToString();
+            txt_WEIGHT.Value = e.Row.Cells["ZSLAB_WEIGHT"].Value.ToString();
+        }
+
+        private void ultraCheckEditor1_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_QuYu.Enabled = this.ultraCheckEditor1.Checked;
+        }
+
+        #region "导出报表"
+        private void ExportButtressInfo()
+        {
+
+            if (this.gb_Turan.Rows.Count > 0)
+            {
+                Comm.ExPortExcel(this.gb_Turan, this.excelExporter);
+            }
+            else
+            {
+                MessageBox.Show("无信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+            }
+        }
+        #endregion
+
+        private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_ProcL.Enabled = this.chk_ProcLine.Checked;
+        }
+
+        private void cmb_area_ValueChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string areaCode = "";
+                string buttressCode = "";
+                string strOut = "";
+               
+
+               
+                    areaCode = this.cmb_area.Value.ToString();
+                    if (areaCode != "")
+                    {
+
+
+
+
+                        DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoReport",
+                            "QueryFJButtress", new object[] { buttressCode, areaCode, "1" }, out strOut);
+                        if (strOut == "")
+                        {
+                            this.cmb_Buress.DataSource = ds;
+
+                        }
+                        else
+                        {
+                            MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                        }
+                    }
+            }
+            catch (Exception et)
+            {
+                throw et;
+            }
+
+        }
+       
+    }
+}

+ 252 - 0
Client/.svn/pristine/62/629ee43f37f0fd3af598e5462a878738d661ad25.svn-base

@@ -0,0 +1,252 @@
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+    partial class FrmMaterialDaioage
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_CODE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL_NAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SPEC");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MATERIAL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("UNITS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SUBSTANCE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOTID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOTNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCK_CODE");
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.btnQR = new System.Windows.Forms.Button();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
+            this.panel2.SuspendLayout();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this.ultraGrid1);
+            this.panel1.Controls.Add(this.panel2);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(430, 262);
+            this.panel1.TabIndex = 0;
+            // 
+            // ultraGrid1
+            // 
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.ultraGrid1.DisplayLayout.Appearance = appearance1;
+            ultraGridColumn1.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn1.Header.Caption = "物资代码";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn2.Header.Caption = "物资名称";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn3.Header.Caption = "规格型号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn4.Header.Caption = "材质";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn5.Header.Caption = "计量单位";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn6.Header.Caption = "单重";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn7.Header.Caption = "仓库代码";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn8.Header.Caption = "仓库名称";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+            ultraGridColumn9.Header.Caption = "仓库类别";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9});
+            ultraGridBand1.UseRowLayout = true;
+            this.ultraGrid1.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.ultraGrid1.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.ultraGrid1.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.ultraGrid1.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.ultraGrid1.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.ultraGrid1.DisplayLayout.MaxColScrollRegions = 1;
+            this.ultraGrid1.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.ultraGrid1.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.ultraGrid1.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.ultraGrid1.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.ultraGrid1.DisplayLayout.Override.CellAppearance = appearance8;
+            this.ultraGrid1.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.ultraGrid1.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.ultraGrid1.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.ultraGrid1.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.ultraGrid1.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.ultraGrid1.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.ultraGrid1.DisplayLayout.Override.RowAppearance = appearance11;
+            this.ultraGrid1.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.ultraGrid1.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.ultraGrid1.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.ultraGrid1.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGrid1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.ultraGrid1.Location = new System.Drawing.Point(0, 41);
+            this.ultraGrid1.Name = "ultraGrid1";
+            this.ultraGrid1.Size = new System.Drawing.Size(430, 221);
+            this.ultraGrid1.TabIndex = 1;
+            this.ultraGrid1.Text = "ultraGrid1";
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.btnQR);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(430, 41);
+            this.panel2.TabIndex = 0;
+            // 
+            // btnQR
+            // 
+            this.btnQR.Location = new System.Drawing.Point(315, 3);
+            this.btnQR.Name = "btnQR";
+            this.btnQR.Size = new System.Drawing.Size(75, 30);
+            this.btnQR.TabIndex = 0;
+            this.btnQR.Text = "确认";
+            this.btnQR.UseVisualStyleBackColor = true;
+            this.btnQR.Click += new System.EventHandler(this.btnQR_Click);
+            // 
+            // FrmMaterialDaioage
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(430, 262);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmMaterialDaioage";
+            this.Text = "FrmMaterialDaioage";
+            this.Load += new System.EventHandler(this.FrmMaterialDaioage_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
+            this.panel2.ResumeLayout(false);
+            this.ResumeLayout(false);
+
+        }
+
+        #endregion
+
+        private System.Windows.Forms.Panel panel1;
+        private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
+        private System.Windows.Forms.Panel panel2;
+        private System.Windows.Forms.Button btnQR;
+    }
+}

BIN
Client/.svn/pristine/62/62c605d882d113aa7713c319e639dae26a5d69a9.svn-base


+ 2582 - 0
Client/.svn/pristine/63/63c2fc19b63826a59427b7d64e0b102f9da92d93.svn-base

@@ -0,0 +1,2582 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+using  System.Runtime.InteropServices;
+using Core.XgMes.Client.JGKC.TurnoffSendManager;
+using Infragistics.Win.UltraWinEditors;
+
+namespace Core.XgMes.Client.JGKC.MaterialManager
+{
+	/// <summary>
+    /// FrmDepot的摘要说明。
+	/// </summary>
+	public class FrmDepot : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gd_CK;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_gfmc;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_CKmc;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_gfdm;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_CKDM;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_DM;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_MC;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor3;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor1;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor5;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel18;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel19;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor10;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor11;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel21;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor12;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel22;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel23;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor13;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel24;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel25;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor15;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel26;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor16;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor Chk_CKLB;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor8;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor18;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel27;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor19;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor20;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor3;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel37;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel38;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor5;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel39;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel40;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel41;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor8;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel42;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor9;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel43;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor10;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel44;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel45;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor21;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel46;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor22;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel47;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor23;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel48;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor24;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel49;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor25;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel51;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor26;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel52;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor27;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel53;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor28;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel54;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor29;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor30;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor11;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel55;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor12;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel56;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor13;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel57;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel58;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor15;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel59;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor16;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel60;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor17;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel61;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor ultraComboEditor18;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel62;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel63;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor31;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel64;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor32;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel65;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor33;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel66;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor34;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel67;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor35;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel71;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel75;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Remark;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_QY;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor cmb_StorageLB;
+        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_CKLB;
+		private System.ComponentModel.IContainer components;
+
+        public FrmDepot()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Add");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Query");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Export");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("UPDATE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Del");
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOTID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOTNAME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEPOT_LB");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISVALID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("RECODER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CK_TIME");
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem17 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem18 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem19 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem20 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem21 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem22 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem23 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem24 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem25 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem26 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem27 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem28 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance61 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem29 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem30 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance62 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem31 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem32 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance63 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem33 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem34 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance64 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem35 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem36 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance65 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem37 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem38 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance66 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem39 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem40 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance67 = new Infragistics.Win.Appearance();
+            Infragistics.Win.ValueListItem valueListItem41 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.ValueListItem valueListItem42 = new Infragistics.Win.ValueListItem();
+            Infragistics.Win.Appearance appearance68 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance69 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance70 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance71 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance72 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Chk_CKLB = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_gfmc = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_CKmc = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_gfdm = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.Chk_CKDM = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_QY = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel75 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel71 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_MC = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_DM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.gd_CK = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor3 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor1 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor4 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor5 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor6 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor7 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor9 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor10 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor11 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel21 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor12 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor2 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel22 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel23 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor13 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel24 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor14 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor15 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel26 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor16 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor8 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor18 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel27 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor19 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor20 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor3 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel37 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor4 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel38 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor5 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel39 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor6 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel40 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor7 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel41 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor8 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel42 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor9 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel43 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor10 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel44 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel45 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor21 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel46 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor22 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel47 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor23 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel48 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor24 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel49 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor25 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel51 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor26 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel52 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor27 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel53 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor28 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel54 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor29 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraTextEditor30 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraComboEditor11 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel55 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor12 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel56 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor13 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel57 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor14 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel58 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor15 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel59 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor16 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel60 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor17 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel61 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraComboEditor18 = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.ultraLabel62 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel63 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor31 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel64 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor32 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel65 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor33 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel66 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor34 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel67 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraTextEditor35 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_StorageLB = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.Cmb_CKLB = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_gfmc)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_gfdm)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QY)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gd_CK)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor18)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor19)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor20)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor3)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor4)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor5)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor6)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor8)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor9)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor10)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor21)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor22)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor23)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor24)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor25)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor26)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor27)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor28)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor29)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor30)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor11)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor12)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor13)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor14)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor15)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor16)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor17)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor18)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor31)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor32)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor33)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor34)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor35)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_StorageLB)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_CKLB)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(1028, 32);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 26);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 6);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool7.SharedProps.Caption = "新增";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "关闭";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "导出";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "修改";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "删除";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1028, 26);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 6);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1028, 26);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 32);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1028, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            appearance1.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraGroupBox1.Appearance = appearance1;
+            this.ultraGroupBox1.Controls.Add(this.Cmb_CKLB);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.Chk_CKLB);
+            this.ultraGroupBox1.Controls.Add(this.txt_gfmc);
+            this.ultraGroupBox1.Controls.Add(this.Chk_CKmc);
+            this.ultraGroupBox1.Controls.Add(this.txt_gfdm);
+            this.ultraGroupBox1.Controls.Add(this.Chk_CKDM);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 32);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(1028, 35);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(919, 8);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(72, 20);
+            this.chk_AllowFilter.TabIndex = 131;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "允许过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // Chk_CKLB
+            // 
+            this.Chk_CKLB.FlatMode = true;
+            this.Chk_CKLB.Location = new System.Drawing.Point(353, 8);
+            this.Chk_CKLB.Name = "Chk_CKLB";
+            this.Chk_CKLB.Size = new System.Drawing.Size(75, 17);
+            this.Chk_CKLB.TabIndex = 112;
+            this.Chk_CKLB.Text = "仓库类别";
+            this.Chk_CKLB.CheckedChanged += new System.EventHandler(this.Chk_CKLB_CheckedChanged);
+            // 
+            // txt_gfmc
+            // 
+            appearance3.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_gfmc.Appearance = appearance3;
+            this.txt_gfmc.AutoSize = true;
+            this.txt_gfmc.Enabled = false;
+            this.txt_gfmc.FlatMode = true;
+            this.txt_gfmc.Location = new System.Drawing.Point(251, 6);
+            this.txt_gfmc.Name = "txt_gfmc";
+            this.txt_gfmc.Size = new System.Drawing.Size(96, 19);
+            this.txt_gfmc.TabIndex = 111;
+            this.txt_gfmc.Tag = "";
+            // 
+            // Chk_CKmc
+            // 
+            this.Chk_CKmc.FlatMode = true;
+            this.Chk_CKmc.Location = new System.Drawing.Point(179, 8);
+            this.Chk_CKmc.Name = "Chk_CKmc";
+            this.Chk_CKmc.Size = new System.Drawing.Size(76, 16);
+            this.Chk_CKmc.TabIndex = 110;
+            this.Chk_CKmc.Text = "仓库名称";
+            this.Chk_CKmc.CheckedChanged += new System.EventHandler(this.Chk_CKmc_CheckedChanged);
+            // 
+            // txt_gfdm
+            // 
+            appearance4.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_gfdm.Appearance = appearance4;
+            this.txt_gfdm.AutoSize = true;
+            this.txt_gfdm.Enabled = false;
+            this.txt_gfdm.FlatMode = true;
+            this.txt_gfdm.Location = new System.Drawing.Point(77, 5);
+            this.txt_gfdm.Name = "txt_gfdm";
+            this.txt_gfdm.Size = new System.Drawing.Size(96, 19);
+            this.txt_gfdm.TabIndex = 109;
+            this.txt_gfdm.Tag = "";
+            // 
+            // Chk_CKDM
+            // 
+            this.Chk_CKDM.FlatMode = true;
+            this.Chk_CKDM.Location = new System.Drawing.Point(6, 6);
+            this.Chk_CKDM.Name = "Chk_CKDM";
+            this.Chk_CKDM.Size = new System.Drawing.Size(85, 16);
+            this.Chk_CKDM.TabIndex = 108;
+            this.Chk_CKDM.Text = "仓库代码";
+            this.Chk_CKDM.CheckedChanged += new System.EventHandler(this.Chk_CKDM_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(200, 185);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 440);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(1028, 78);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 4;
+            this.ultraExpandableGroupBox1.Text = "仓库详情";
+            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Remark);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_QY);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel75);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_StorageLB);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel71);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_MC);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_DM);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(1024, 56);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // txt_Remark
+            // 
+            appearance5.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Remark.Appearance = appearance5;
+            this.txt_Remark.AutoSize = true;
+            this.txt_Remark.FlatMode = true;
+            this.txt_Remark.Location = new System.Drawing.Point(490, 3);
+            this.txt_Remark.Multiline = true;
+            this.txt_Remark.Name = "txt_Remark";
+            this.txt_Remark.Size = new System.Drawing.Size(357, 49);
+            this.txt_Remark.TabIndex = 440;
+            this.txt_Remark.Tag = "";
+            // 
+            // cmb_QY
+            // 
+            appearance6.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_QY.Appearance = appearance6;
+            this.cmb_QY.AutoSize = true;
+            valueListItem1.DataValue = "0";
+            valueListItem1.DisplayText = "不启用";
+            valueListItem2.DataValue = "1";
+            valueListItem2.DisplayText = "启用";
+            this.cmb_QY.Items.Add(valueListItem1);
+            this.cmb_QY.Items.Add(valueListItem2);
+            this.cmb_QY.Location = new System.Drawing.Point(265, 31);
+            this.cmb_QY.Name = "cmb_QY";
+            this.cmb_QY.Size = new System.Drawing.Size(139, 21);
+            this.cmb_QY.TabIndex = 439;
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel2.Location = new System.Drawing.Point(208, 34);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel2.TabIndex = 438;
+            this.ultraLabel2.Text = "是否启用";
+            // 
+            // ultraLabel75
+            // 
+            this.ultraLabel75.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel75.Location = new System.Drawing.Point(446, 6);
+            this.ultraLabel75.Name = "ultraLabel75";
+            this.ultraLabel75.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel75.TabIndex = 436;
+            this.ultraLabel75.Text = "备注";
+            // 
+            // ultraLabel71
+            // 
+            this.ultraLabel71.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel71.Location = new System.Drawing.Point(208, 8);
+            this.ultraLabel71.Name = "ultraLabel71";
+            this.ultraLabel71.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel71.TabIndex = 428;
+            this.ultraLabel71.Text = "仓库类别";
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel1.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 363;
+            this.ultraLabel1.Text = "仓库名称";
+            // 
+            // txt_MC
+            // 
+            appearance8.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_MC.Appearance = appearance8;
+            this.txt_MC.AutoSize = true;
+            this.txt_MC.FlatMode = true;
+            this.txt_MC.Location = new System.Drawing.Point(60, 28);
+            this.txt_MC.Multiline = true;
+            this.txt_MC.Name = "txt_MC";
+            this.txt_MC.Size = new System.Drawing.Size(84, 19);
+            this.txt_MC.TabIndex = 362;
+            this.txt_MC.Tag = "";
+            this.txt_MC.Enter += new System.EventHandler(this.txt_DM_Enter);
+            this.txt_MC.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel4.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel4.TabIndex = 361;
+            this.ultraLabel4.Text = "仓库代码";
+            // 
+            // txt_DM
+            // 
+            appearance9.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_DM.Appearance = appearance9;
+            this.txt_DM.AutoSize = true;
+            this.txt_DM.Enabled = false;
+            this.txt_DM.FlatMode = true;
+            this.txt_DM.Location = new System.Drawing.Point(60, 5);
+            this.txt_DM.Name = "txt_DM";
+            this.txt_DM.Size = new System.Drawing.Size(84, 19);
+            this.txt_DM.TabIndex = 358;
+            this.txt_DM.Tag = "";
+            this.txt_DM.Enter += new System.EventHandler(this.txt_DM_Enter);
+            this.txt_DM.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.gd_CK);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.panel2.Location = new System.Drawing.Point(0, 67);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(1028, 373);
+            this.panel2.TabIndex = 5;
+            // 
+            // gd_CK
+            // 
+            appearance10.BackColor = System.Drawing.Color.Ivory;
+            this.gd_CK.DisplayLayout.Appearance = appearance10;
+            ultraGridColumn1.Header.Caption = "仓库代码";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "仓库名称";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "仓库类别";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "是否启用";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "备注";
+            ultraGridColumn5.Header.VisiblePosition = 5;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "操作人员";
+            ultraGridColumn6.Header.VisiblePosition = 6;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "操作时间";
+            ultraGridColumn7.Header.VisiblePosition = 4;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7});
+            ultraGridBand1.UseRowLayout = true;
+            this.gd_CK.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gd_CK.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            this.gd_CK.DisplayLayout.GroupByBox.Hidden = true;
+            this.gd_CK.DisplayLayout.GroupByBox.Prompt = " 将要分组的列拖至该区域!";
+            appearance11.BorderColor = System.Drawing.Color.Black;
+            appearance11.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_CK.DisplayLayout.Override.CellAppearance = appearance11;
+            this.gd_CK.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
+            this.gd_CK.DisplayLayout.Override.CellPadding = 0;
+            appearance12.BackColor = System.Drawing.SystemColors.Control;
+            appearance12.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance12.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance12.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance12.BorderColor = System.Drawing.SystemColors.Window;
+            appearance12.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance12.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_CK.DisplayLayout.Override.GroupByRowAppearance = appearance12;
+            this.gd_CK.DisplayLayout.Override.GroupByRowDescriptionMask = "[caption]:[value] ([count]条记录)";
+            this.gd_CK.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance13.BackColor = System.Drawing.Color.LightSteelBlue;
+            this.gd_CK.DisplayLayout.Override.HeaderAppearance = appearance13;
+            this.gd_CK.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortSingle;
+            this.gd_CK.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance14.BackColor = System.Drawing.SystemColors.Window;
+            appearance14.BorderColor = System.Drawing.Color.Black;
+            appearance14.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_CK.DisplayLayout.Override.RowAppearance = appearance14;
+            appearance15.BackColor = System.Drawing.SystemColors.Window;
+            appearance15.BorderColor = System.Drawing.Color.Black;
+            appearance15.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_CK.DisplayLayout.Override.RowPreviewAppearance = appearance15;
+            this.gd_CK.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gd_CK.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gd_CK.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance16.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance16.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_CK.DisplayLayout.Override.SelectedRowAppearance = appearance16;
+            this.gd_CK.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance17.BackColor = System.Drawing.SystemColors.Window;
+            this.gd_CK.DisplayLayout.Override.SummaryFooterAppearance = appearance17;
+            appearance18.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance18.ForeColor = System.Drawing.Color.Red;
+            this.gd_CK.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance18;
+            this.gd_CK.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance19.BackColor = System.Drawing.Color.MistyRose;
+            appearance19.ForeColor = System.Drawing.Color.Blue;
+            appearance19.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance19.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gd_CK.DisplayLayout.Override.SummaryValueAppearance = appearance19;
+            appearance20.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gd_CK.DisplayLayout.Override.TemplateAddRowAppearance = appearance20;
+            this.gd_CK.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gd_CK.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gd_CK.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gd_CK.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gd_CK.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gd_CK.Location = new System.Drawing.Point(0, 0);
+            this.gd_CK.Name = "gd_CK";
+            this.gd_CK.Size = new System.Drawing.Size(1028, 373);
+            this.gd_CK.TabIndex = 1;
+            this.gd_CK.Text = "原料垛位信息";
+            this.gd_CK.AfterRowActivate += new System.EventHandler(this.gd_CK_AfterRowActivate);
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel3.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 365;
+            this.ultraLabel3.Text = "规格型号";
+            // 
+            // ultraTextEditor1
+            // 
+            appearance21.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor1.Appearance = appearance21;
+            this.ultraTextEditor1.AutoSize = true;
+            this.ultraTextEditor1.Enabled = false;
+            this.ultraTextEditor1.FlatMode = true;
+            this.ultraTextEditor1.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor1.Multiline = true;
+            this.ultraTextEditor1.Name = "ultraTextEditor1";
+            this.ultraTextEditor1.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor1.TabIndex = 364;
+            this.ultraTextEditor1.Tag = "";
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel5.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel5.TabIndex = 363;
+            this.ultraLabel5.Text = "物资名称";
+            // 
+            // ultraTextEditor2
+            // 
+            appearance22.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor2.Appearance = appearance22;
+            this.ultraTextEditor2.AutoSize = true;
+            this.ultraTextEditor2.Enabled = false;
+            this.ultraTextEditor2.FlatMode = true;
+            this.ultraTextEditor2.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor2.Multiline = true;
+            this.ultraTextEditor2.Name = "ultraTextEditor2";
+            this.ultraTextEditor2.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor2.TabIndex = 362;
+            this.ultraTextEditor2.Tag = "";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel6.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel6.TabIndex = 361;
+            this.ultraLabel6.Text = "物资代码";
+            // 
+            // ultraTextEditor3
+            // 
+            appearance23.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor3.Appearance = appearance23;
+            this.ultraTextEditor3.AutoSize = true;
+            this.ultraTextEditor3.Enabled = false;
+            this.ultraTextEditor3.FlatMode = true;
+            this.ultraTextEditor3.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor3.Name = "ultraTextEditor3";
+            this.ultraTextEditor3.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor3.TabIndex = 358;
+            this.ultraTextEditor3.Tag = "";
+            // 
+            // ultraComboEditor1
+            // 
+            appearance24.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor1.Appearance = appearance24;
+            this.ultraComboEditor1.AutoSize = true;
+            valueListItem3.DataValue = "0";
+            valueListItem4.DataValue = "A";
+            valueListItem4.DisplayText = "A";
+            valueListItem5.DataValue = "B";
+            valueListItem5.DisplayText = "B";
+            valueListItem6.DataValue = "C";
+            valueListItem6.DisplayText = "C";
+            this.ultraComboEditor1.Items.Add(valueListItem3);
+            this.ultraComboEditor1.Items.Add(valueListItem4);
+            this.ultraComboEditor1.Items.Add(valueListItem5);
+            this.ultraComboEditor1.Items.Add(valueListItem6);
+            this.ultraComboEditor1.Location = new System.Drawing.Point(340, 5);
+            this.ultraComboEditor1.Name = "ultraComboEditor1";
+            this.ultraComboEditor1.Size = new System.Drawing.Size(86, 21);
+            this.ultraComboEditor1.TabIndex = 369;
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel9.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel9.TabIndex = 368;
+            this.ultraLabel9.Text = "物资类别";
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel10.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel10.TabIndex = 367;
+            this.ultraLabel10.Text = "材质";
+            // 
+            // ultraTextEditor4
+            // 
+            appearance25.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor4.Appearance = appearance25;
+            this.ultraTextEditor4.AutoSize = true;
+            this.ultraTextEditor4.Enabled = false;
+            this.ultraTextEditor4.FlatMode = true;
+            this.ultraTextEditor4.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor4.Multiline = true;
+            this.ultraTextEditor4.Name = "ultraTextEditor4";
+            this.ultraTextEditor4.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor4.TabIndex = 366;
+            this.ultraTextEditor4.Tag = "";
+            // 
+            // ultraLabel11
+            // 
+            this.ultraLabel11.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel11.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel11.TabIndex = 365;
+            this.ultraLabel11.Text = "规格型号";
+            // 
+            // ultraTextEditor5
+            // 
+            appearance26.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor5.Appearance = appearance26;
+            this.ultraTextEditor5.AutoSize = true;
+            this.ultraTextEditor5.Enabled = false;
+            this.ultraTextEditor5.FlatMode = true;
+            this.ultraTextEditor5.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor5.Multiline = true;
+            this.ultraTextEditor5.Name = "ultraTextEditor5";
+            this.ultraTextEditor5.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor5.TabIndex = 364;
+            this.ultraTextEditor5.Tag = "";
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel12.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel12.TabIndex = 363;
+            this.ultraLabel12.Text = "物资名称";
+            // 
+            // ultraTextEditor6
+            // 
+            appearance27.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor6.Appearance = appearance27;
+            this.ultraTextEditor6.AutoSize = true;
+            this.ultraTextEditor6.Enabled = false;
+            this.ultraTextEditor6.FlatMode = true;
+            this.ultraTextEditor6.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor6.Multiline = true;
+            this.ultraTextEditor6.Name = "ultraTextEditor6";
+            this.ultraTextEditor6.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor6.TabIndex = 362;
+            this.ultraTextEditor6.Tag = "";
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel13.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel13.TabIndex = 361;
+            this.ultraLabel13.Text = "物资代码";
+            // 
+            // ultraTextEditor7
+            // 
+            appearance28.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor7.Appearance = appearance28;
+            this.ultraTextEditor7.AutoSize = true;
+            this.ultraTextEditor7.Enabled = false;
+            this.ultraTextEditor7.FlatMode = true;
+            this.ultraTextEditor7.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor7.Name = "ultraTextEditor7";
+            this.ultraTextEditor7.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor7.TabIndex = 358;
+            this.ultraTextEditor7.Tag = "";
+            // 
+            // ultraLabel18
+            // 
+            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel18.Location = new System.Drawing.Point(3, 99);
+            this.ultraLabel18.Name = "ultraLabel18";
+            this.ultraLabel18.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel18.TabIndex = 377;
+            this.ultraLabel18.Text = "最高限价";
+            // 
+            // ultraTextEditor9
+            // 
+            appearance29.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor9.Appearance = appearance29;
+            this.ultraTextEditor9.AutoSize = true;
+            this.ultraTextEditor9.Enabled = false;
+            this.ultraTextEditor9.FlatMode = true;
+            this.ultraTextEditor9.Location = new System.Drawing.Point(60, 96);
+            this.ultraTextEditor9.Name = "ultraTextEditor9";
+            this.ultraTextEditor9.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor9.TabIndex = 376;
+            this.ultraTextEditor9.Tag = "";
+            // 
+            // ultraLabel19
+            // 
+            this.ultraLabel19.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel19.Location = new System.Drawing.Point(289, 77);
+            this.ultraLabel19.Name = "ultraLabel19";
+            this.ultraLabel19.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel19.TabIndex = 375;
+            this.ultraLabel19.Text = "最高限价";
+            // 
+            // ultraTextEditor10
+            // 
+            appearance30.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor10.Appearance = appearance30;
+            this.ultraTextEditor10.AutoSize = true;
+            this.ultraTextEditor10.Enabled = false;
+            this.ultraTextEditor10.FlatMode = true;
+            this.ultraTextEditor10.Location = new System.Drawing.Point(346, 74);
+            this.ultraTextEditor10.Name = "ultraTextEditor10";
+            this.ultraTextEditor10.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor10.TabIndex = 374;
+            this.ultraTextEditor10.Tag = "";
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel20.Location = new System.Drawing.Point(289, 55);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel20.TabIndex = 373;
+            this.ultraLabel20.Text = "预估价";
+            // 
+            // ultraTextEditor11
+            // 
+            appearance31.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor11.Appearance = appearance31;
+            this.ultraTextEditor11.AutoSize = true;
+            this.ultraTextEditor11.Enabled = false;
+            this.ultraTextEditor11.FlatMode = true;
+            this.ultraTextEditor11.Location = new System.Drawing.Point(346, 52);
+            this.ultraTextEditor11.Name = "ultraTextEditor11";
+            this.ultraTextEditor11.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor11.TabIndex = 372;
+            this.ultraTextEditor11.Tag = "";
+            // 
+            // ultraLabel21
+            // 
+            this.ultraLabel21.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel21.Location = new System.Drawing.Point(289, 33);
+            this.ultraLabel21.Name = "ultraLabel21";
+            this.ultraLabel21.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel21.TabIndex = 371;
+            this.ultraLabel21.Text = "计划价";
+            // 
+            // ultraTextEditor12
+            // 
+            appearance32.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor12.Appearance = appearance32;
+            this.ultraTextEditor12.AutoSize = true;
+            this.ultraTextEditor12.Enabled = false;
+            this.ultraTextEditor12.FlatMode = true;
+            this.ultraTextEditor12.Location = new System.Drawing.Point(346, 30);
+            this.ultraTextEditor12.Name = "ultraTextEditor12";
+            this.ultraTextEditor12.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor12.TabIndex = 370;
+            this.ultraTextEditor12.Tag = "";
+            // 
+            // ultraComboEditor2
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor2.Appearance = appearance33;
+            this.ultraComboEditor2.AutoSize = true;
+            valueListItem7.DataValue = "0";
+            valueListItem8.DataValue = "A";
+            valueListItem8.DisplayText = "A";
+            valueListItem9.DataValue = "B";
+            valueListItem9.DisplayText = "B";
+            valueListItem10.DataValue = "C";
+            valueListItem10.DisplayText = "C";
+            this.ultraComboEditor2.Items.Add(valueListItem7);
+            this.ultraComboEditor2.Items.Add(valueListItem8);
+            this.ultraComboEditor2.Items.Add(valueListItem9);
+            this.ultraComboEditor2.Items.Add(valueListItem10);
+            this.ultraComboEditor2.Location = new System.Drawing.Point(346, 5);
+            this.ultraComboEditor2.Name = "ultraComboEditor2";
+            this.ultraComboEditor2.Size = new System.Drawing.Size(86, 21);
+            this.ultraComboEditor2.TabIndex = 369;
+            // 
+            // ultraLabel22
+            // 
+            this.ultraLabel22.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel22.Location = new System.Drawing.Point(289, 8);
+            this.ultraLabel22.Name = "ultraLabel22";
+            this.ultraLabel22.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel22.TabIndex = 368;
+            this.ultraLabel22.Text = "物资类别";
+            // 
+            // ultraLabel23
+            // 
+            this.ultraLabel23.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel23.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel23.Name = "ultraLabel23";
+            this.ultraLabel23.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel23.TabIndex = 367;
+            this.ultraLabel23.Text = "材质";
+            // 
+            // ultraTextEditor13
+            // 
+            appearance34.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor13.Appearance = appearance34;
+            this.ultraTextEditor13.AutoSize = true;
+            this.ultraTextEditor13.Enabled = false;
+            this.ultraTextEditor13.FlatMode = true;
+            this.ultraTextEditor13.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor13.Multiline = true;
+            this.ultraTextEditor13.Name = "ultraTextEditor13";
+            this.ultraTextEditor13.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor13.TabIndex = 366;
+            this.ultraTextEditor13.Tag = "";
+            // 
+            // ultraLabel24
+            // 
+            this.ultraLabel24.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel24.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel24.Name = "ultraLabel24";
+            this.ultraLabel24.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel24.TabIndex = 365;
+            this.ultraLabel24.Text = "规格型号";
+            // 
+            // ultraTextEditor14
+            // 
+            appearance35.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor14.Appearance = appearance35;
+            this.ultraTextEditor14.AutoSize = true;
+            this.ultraTextEditor14.Enabled = false;
+            this.ultraTextEditor14.FlatMode = true;
+            this.ultraTextEditor14.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor14.Multiline = true;
+            this.ultraTextEditor14.Name = "ultraTextEditor14";
+            this.ultraTextEditor14.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor14.TabIndex = 364;
+            this.ultraTextEditor14.Tag = "";
+            // 
+            // ultraLabel25
+            // 
+            this.ultraLabel25.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel25.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel25.Name = "ultraLabel25";
+            this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel25.TabIndex = 363;
+            this.ultraLabel25.Text = "物资名称";
+            // 
+            // ultraTextEditor15
+            // 
+            appearance36.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor15.Appearance = appearance36;
+            this.ultraTextEditor15.AutoSize = true;
+            this.ultraTextEditor15.Enabled = false;
+            this.ultraTextEditor15.FlatMode = true;
+            this.ultraTextEditor15.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor15.Multiline = true;
+            this.ultraTextEditor15.Name = "ultraTextEditor15";
+            this.ultraTextEditor15.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor15.TabIndex = 362;
+            this.ultraTextEditor15.Tag = "";
+            // 
+            // ultraLabel26
+            // 
+            this.ultraLabel26.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel26.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel26.Name = "ultraLabel26";
+            this.ultraLabel26.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel26.TabIndex = 361;
+            this.ultraLabel26.Text = "物资代码";
+            // 
+            // ultraTextEditor16
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor16.Appearance = appearance37;
+            this.ultraTextEditor16.AutoSize = true;
+            this.ultraTextEditor16.Enabled = false;
+            this.ultraTextEditor16.FlatMode = true;
+            this.ultraTextEditor16.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor16.Name = "ultraTextEditor16";
+            this.ultraTextEditor16.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor16.TabIndex = 358;
+            this.ultraTextEditor16.Tag = "";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel16.Location = new System.Drawing.Point(261, 33);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(118, 18);
+            this.ultraLabel16.TabIndex = 405;
+            this.ultraLabel16.Text = "委托代理人身份证号";
+            // 
+            // ultraTextEditor8
+            // 
+            appearance38.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor8.Appearance = appearance38;
+            this.ultraTextEditor8.AutoSize = true;
+            this.ultraTextEditor8.FlatMode = true;
+            this.ultraTextEditor8.Location = new System.Drawing.Point(385, 30);
+            this.ultraTextEditor8.Multiline = true;
+            this.ultraTextEditor8.Name = "ultraTextEditor8";
+            this.ultraTextEditor8.Size = new System.Drawing.Size(91, 19);
+            this.ultraTextEditor8.TabIndex = 404;
+            this.ultraTextEditor8.Tag = "";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel17.Location = new System.Drawing.Point(4, 99);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(109, 19);
+            this.ultraLabel17.TabIndex = 403;
+            this.ultraLabel17.Text = "法人代表身份证号";
+            // 
+            // ultraTextEditor18
+            // 
+            appearance39.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor18.Appearance = appearance39;
+            this.ultraTextEditor18.AutoSize = true;
+            this.ultraTextEditor18.FlatMode = true;
+            this.ultraTextEditor18.Location = new System.Drawing.Point(112, 96);
+            this.ultraTextEditor18.Multiline = true;
+            this.ultraTextEditor18.Name = "ultraTextEditor18";
+            this.ultraTextEditor18.Size = new System.Drawing.Size(139, 19);
+            this.ultraTextEditor18.TabIndex = 402;
+            this.ultraTextEditor18.Tag = "";
+            // 
+            // ultraLabel27
+            // 
+            this.ultraLabel27.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel27.Location = new System.Drawing.Point(261, 7);
+            this.ultraLabel27.Name = "ultraLabel27";
+            this.ultraLabel27.Size = new System.Drawing.Size(66, 16);
+            this.ultraLabel27.TabIndex = 401;
+            this.ultraLabel27.Text = "委托代理人";
+            // 
+            // ultraTextEditor19
+            // 
+            appearance40.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor19.Appearance = appearance40;
+            this.ultraTextEditor19.AutoSize = true;
+            this.ultraTextEditor19.FlatMode = true;
+            this.ultraTextEditor19.Location = new System.Drawing.Point(333, 4);
+            this.ultraTextEditor19.Multiline = true;
+            this.ultraTextEditor19.Name = "ultraTextEditor19";
+            this.ultraTextEditor19.Size = new System.Drawing.Size(143, 19);
+            this.ultraTextEditor19.TabIndex = 400;
+            this.ultraTextEditor19.Tag = "";
+            // 
+            // ultraTextEditor20
+            // 
+            appearance41.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor20.Appearance = appearance41;
+            this.ultraTextEditor20.AutoSize = true;
+            this.ultraTextEditor20.FlatMode = true;
+            this.ultraTextEditor20.Location = new System.Drawing.Point(927, 28);
+            this.ultraTextEditor20.Multiline = true;
+            this.ultraTextEditor20.Name = "ultraTextEditor20";
+            this.ultraTextEditor20.Size = new System.Drawing.Size(173, 85);
+            this.ultraTextEditor20.TabIndex = 399;
+            this.ultraTextEditor20.Tag = "";
+            // 
+            // ultraComboEditor3
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor3.Appearance = appearance42;
+            this.ultraComboEditor3.AutoSize = true;
+            valueListItem11.DataValue = "0";
+            valueListItem11.DisplayText = "非以旧换新";
+            valueListItem12.DataValue = "1";
+            valueListItem12.DisplayText = "以旧换新";
+            this.ultraComboEditor3.Items.Add(valueListItem11);
+            this.ultraComboEditor3.Items.Add(valueListItem12);
+            this.ultraComboEditor3.Location = new System.Drawing.Point(962, 2);
+            this.ultraComboEditor3.Name = "ultraComboEditor3";
+            this.ultraComboEditor3.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor3.TabIndex = 398;
+            // 
+            // ultraLabel37
+            // 
+            this.ultraLabel37.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel37.Location = new System.Drawing.Point(886, 5);
+            this.ultraLabel37.Name = "ultraLabel37";
+            this.ultraLabel37.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel37.TabIndex = 397;
+            this.ultraLabel37.Text = "是否以旧换新";
+            // 
+            // ultraComboEditor4
+            // 
+            appearance43.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor4.Appearance = appearance43;
+            this.ultraComboEditor4.AutoSize = true;
+            valueListItem13.DataValue = "0";
+            valueListItem13.DisplayText = "非招标物资";
+            valueListItem14.DataValue = "1";
+            valueListItem14.DisplayText = "招标物资";
+            this.ultraComboEditor4.Items.Add(valueListItem13);
+            this.ultraComboEditor4.Items.Add(valueListItem14);
+            this.ultraComboEditor4.Location = new System.Drawing.Point(760, 73);
+            this.ultraComboEditor4.Name = "ultraComboEditor4";
+            this.ultraComboEditor4.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor4.TabIndex = 396;
+            // 
+            // ultraLabel38
+            // 
+            this.ultraLabel38.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel38.Location = new System.Drawing.Point(684, 76);
+            this.ultraLabel38.Name = "ultraLabel38";
+            this.ultraLabel38.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel38.TabIndex = 395;
+            this.ultraLabel38.Text = "是否招标物资";
+            // 
+            // ultraComboEditor5
+            // 
+            appearance44.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor5.Appearance = appearance44;
+            this.ultraComboEditor5.AutoSize = true;
+            valueListItem15.DataValue = "0";
+            valueListItem15.DisplayText = "非修复物资";
+            valueListItem16.DataValue = "1";
+            valueListItem16.DisplayText = "修复物资";
+            this.ultraComboEditor5.Items.Add(valueListItem15);
+            this.ultraComboEditor5.Items.Add(valueListItem16);
+            this.ultraComboEditor5.Location = new System.Drawing.Point(760, 49);
+            this.ultraComboEditor5.Name = "ultraComboEditor5";
+            this.ultraComboEditor5.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor5.TabIndex = 394;
+            // 
+            // ultraLabel39
+            // 
+            this.ultraLabel39.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel39.Location = new System.Drawing.Point(684, 52);
+            this.ultraLabel39.Name = "ultraLabel39";
+            this.ultraLabel39.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel39.TabIndex = 393;
+            this.ultraLabel39.Text = "是否修复物资";
+            // 
+            // ultraComboEditor6
+            // 
+            appearance45.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor6.Appearance = appearance45;
+            this.ultraComboEditor6.AutoSize = true;
+            valueListItem17.DataValue = "0";
+            valueListItem17.DisplayText = "不包安装";
+            valueListItem18.DataValue = "1";
+            valueListItem18.DisplayText = "包安装";
+            this.ultraComboEditor6.Items.Add(valueListItem17);
+            this.ultraComboEditor6.Items.Add(valueListItem18);
+            this.ultraComboEditor6.Location = new System.Drawing.Point(760, 26);
+            this.ultraComboEditor6.Name = "ultraComboEditor6";
+            this.ultraComboEditor6.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor6.TabIndex = 392;
+            // 
+            // ultraLabel40
+            // 
+            this.ultraLabel40.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel40.Location = new System.Drawing.Point(684, 29);
+            this.ultraLabel40.Name = "ultraLabel40";
+            this.ultraLabel40.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel40.TabIndex = 391;
+            this.ultraLabel40.Text = "是否包安装";
+            // 
+            // ultraComboEditor7
+            // 
+            appearance46.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor7.Appearance = appearance46;
+            this.ultraComboEditor7.AutoSize = true;
+            valueListItem19.DataValue = "0";
+            valueListItem19.DisplayText = "非备库物资";
+            valueListItem20.DataValue = "1";
+            valueListItem20.DisplayText = "备库物资";
+            this.ultraComboEditor7.Items.Add(valueListItem19);
+            this.ultraComboEditor7.Items.Add(valueListItem20);
+            this.ultraComboEditor7.Location = new System.Drawing.Point(760, 3);
+            this.ultraComboEditor7.Name = "ultraComboEditor7";
+            this.ultraComboEditor7.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor7.TabIndex = 390;
+            // 
+            // ultraLabel41
+            // 
+            this.ultraLabel41.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel41.Location = new System.Drawing.Point(684, 6);
+            this.ultraLabel41.Name = "ultraLabel41";
+            this.ultraLabel41.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel41.TabIndex = 389;
+            this.ultraLabel41.Text = "是否备库物资";
+            // 
+            // ultraComboEditor8
+            // 
+            appearance47.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor8.Appearance = appearance47;
+            this.ultraComboEditor8.AutoSize = true;
+            valueListItem21.DataValue = "0";
+            valueListItem21.DisplayText = "正在使用的物资";
+            valueListItem22.DataValue = "1";
+            valueListItem22.DisplayText = "已废除的物资";
+            this.ultraComboEditor8.Items.Add(valueListItem21);
+            this.ultraComboEditor8.Items.Add(valueListItem22);
+            this.ultraComboEditor8.Location = new System.Drawing.Point(584, 76);
+            this.ultraComboEditor8.Name = "ultraComboEditor8";
+            this.ultraComboEditor8.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor8.TabIndex = 388;
+            // 
+            // ultraLabel42
+            // 
+            this.ultraLabel42.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel42.Location = new System.Drawing.Point(482, 79);
+            this.ultraLabel42.Name = "ultraLabel42";
+            this.ultraLabel42.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel42.TabIndex = 387;
+            this.ultraLabel42.Text = "是否废除的物资";
+            // 
+            // ultraComboEditor9
+            // 
+            appearance48.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor9.Appearance = appearance48;
+            this.ultraComboEditor9.AutoSize = true;
+            valueListItem23.DataValue = "0";
+            valueListItem23.DisplayText = "不允许负数发";
+            valueListItem24.DataValue = "1";
+            valueListItem24.DisplayText = "允许负数发料";
+            this.ultraComboEditor9.Items.Add(valueListItem23);
+            this.ultraComboEditor9.Items.Add(valueListItem24);
+            this.ultraComboEditor9.Location = new System.Drawing.Point(584, 52);
+            this.ultraComboEditor9.Name = "ultraComboEditor9";
+            this.ultraComboEditor9.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor9.TabIndex = 386;
+            // 
+            // ultraLabel43
+            // 
+            this.ultraLabel43.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel43.Location = new System.Drawing.Point(482, 55);
+            this.ultraLabel43.Name = "ultraLabel43";
+            this.ultraLabel43.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel43.TabIndex = 385;
+            this.ultraLabel43.Text = "是否允许负数发料";
+            // 
+            // ultraComboEditor10
+            // 
+            appearance49.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor10.Appearance = appearance49;
+            this.ultraComboEditor10.AutoSize = true;
+            valueListItem25.DataValue = "0";
+            valueListItem25.DisplayText = "非零库存物资";
+            valueListItem26.DataValue = "1";
+            valueListItem26.DisplayText = "零库存物资";
+            this.ultraComboEditor10.Items.Add(valueListItem25);
+            this.ultraComboEditor10.Items.Add(valueListItem26);
+            this.ultraComboEditor10.Location = new System.Drawing.Point(550, 28);
+            this.ultraComboEditor10.Name = "ultraComboEditor10";
+            this.ultraComboEditor10.Size = new System.Drawing.Size(128, 21);
+            this.ultraComboEditor10.TabIndex = 384;
+            // 
+            // ultraLabel44
+            // 
+            this.ultraLabel44.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel44.Location = new System.Drawing.Point(482, 31);
+            this.ultraLabel44.Name = "ultraLabel44";
+            this.ultraLabel44.Size = new System.Drawing.Size(66, 20);
+            this.ultraLabel44.TabIndex = 383;
+            this.ultraLabel44.Text = "是否零库存";
+            // 
+            // ultraLabel45
+            // 
+            this.ultraLabel45.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel45.Location = new System.Drawing.Point(482, 8);
+            this.ultraLabel45.Name = "ultraLabel45";
+            this.ultraLabel45.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel45.TabIndex = 381;
+            this.ultraLabel45.Text = "制造周期";
+            // 
+            // ultraTextEditor21
+            // 
+            appearance50.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor21.Appearance = appearance50;
+            this.ultraTextEditor21.AutoSize = true;
+            this.ultraTextEditor21.FlatMode = true;
+            this.ultraTextEditor21.Location = new System.Drawing.Point(550, 5);
+            this.ultraTextEditor21.Name = "ultraTextEditor21";
+            this.ultraTextEditor21.Size = new System.Drawing.Size(128, 19);
+            this.ultraTextEditor21.TabIndex = 380;
+            this.ultraTextEditor21.Tag = "";
+            // 
+            // ultraLabel46
+            // 
+            this.ultraLabel46.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel46.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel46.Name = "ultraLabel46";
+            this.ultraLabel46.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel46.TabIndex = 367;
+            this.ultraLabel46.Text = "法人代表";
+            // 
+            // ultraTextEditor22
+            // 
+            appearance51.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor22.Appearance = appearance51;
+            this.ultraTextEditor22.AutoSize = true;
+            this.ultraTextEditor22.FlatMode = true;
+            this.ultraTextEditor22.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor22.Multiline = true;
+            this.ultraTextEditor22.Name = "ultraTextEditor22";
+            this.ultraTextEditor22.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor22.TabIndex = 366;
+            this.ultraTextEditor22.Tag = "";
+            // 
+            // ultraLabel47
+            // 
+            this.ultraLabel47.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel47.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel47.Name = "ultraLabel47";
+            this.ultraLabel47.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel47.TabIndex = 365;
+            this.ultraLabel47.Text = "产品标准";
+            // 
+            // ultraTextEditor23
+            // 
+            appearance52.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor23.Appearance = appearance52;
+            this.ultraTextEditor23.AutoSize = true;
+            this.ultraTextEditor23.FlatMode = true;
+            this.ultraTextEditor23.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor23.Multiline = true;
+            this.ultraTextEditor23.Name = "ultraTextEditor23";
+            this.ultraTextEditor23.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor23.TabIndex = 364;
+            this.ultraTextEditor23.Tag = "";
+            // 
+            // ultraLabel48
+            // 
+            this.ultraLabel48.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel48.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel48.Name = "ultraLabel48";
+            this.ultraLabel48.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel48.TabIndex = 363;
+            this.ultraLabel48.Text = "供方名称";
+            // 
+            // ultraTextEditor24
+            // 
+            appearance53.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor24.Appearance = appearance53;
+            this.ultraTextEditor24.AutoSize = true;
+            this.ultraTextEditor24.FlatMode = true;
+            this.ultraTextEditor24.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor24.Multiline = true;
+            this.ultraTextEditor24.Name = "ultraTextEditor24";
+            this.ultraTextEditor24.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor24.TabIndex = 362;
+            this.ultraTextEditor24.Tag = "";
+            // 
+            // ultraLabel49
+            // 
+            this.ultraLabel49.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel49.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel49.Name = "ultraLabel49";
+            this.ultraLabel49.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel49.TabIndex = 361;
+            this.ultraLabel49.Text = "供方代码";
+            // 
+            // ultraTextEditor25
+            // 
+            appearance54.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor25.Appearance = appearance54;
+            this.ultraTextEditor25.AutoSize = true;
+            this.ultraTextEditor25.Enabled = false;
+            this.ultraTextEditor25.FlatMode = true;
+            this.ultraTextEditor25.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor25.Name = "ultraTextEditor25";
+            this.ultraTextEditor25.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor25.TabIndex = 358;
+            this.ultraTextEditor25.Tag = "";
+            // 
+            // ultraLabel51
+            // 
+            this.ultraLabel51.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel51.Location = new System.Drawing.Point(261, 57);
+            this.ultraLabel51.Name = "ultraLabel51";
+            this.ultraLabel51.Size = new System.Drawing.Size(66, 16);
+            this.ultraLabel51.TabIndex = 407;
+            this.ultraLabel51.Text = "注册资金";
+            // 
+            // ultraTextEditor26
+            // 
+            appearance55.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor26.Appearance = appearance55;
+            this.ultraTextEditor26.AutoSize = true;
+            this.ultraTextEditor26.FlatMode = true;
+            this.ultraTextEditor26.Location = new System.Drawing.Point(333, 54);
+            this.ultraTextEditor26.Multiline = true;
+            this.ultraTextEditor26.Name = "ultraTextEditor26";
+            this.ultraTextEditor26.Size = new System.Drawing.Size(143, 19);
+            this.ultraTextEditor26.TabIndex = 406;
+            this.ultraTextEditor26.Tag = "";
+            // 
+            // ultraLabel52
+            // 
+            this.ultraLabel52.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel52.Location = new System.Drawing.Point(261, 33);
+            this.ultraLabel52.Name = "ultraLabel52";
+            this.ultraLabel52.Size = new System.Drawing.Size(118, 18);
+            this.ultraLabel52.TabIndex = 405;
+            this.ultraLabel52.Text = "委托代理人身份证号";
+            // 
+            // ultraTextEditor27
+            // 
+            appearance56.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor27.Appearance = appearance56;
+            this.ultraTextEditor27.AutoSize = true;
+            this.ultraTextEditor27.FlatMode = true;
+            this.ultraTextEditor27.Location = new System.Drawing.Point(385, 30);
+            this.ultraTextEditor27.Multiline = true;
+            this.ultraTextEditor27.Name = "ultraTextEditor27";
+            this.ultraTextEditor27.Size = new System.Drawing.Size(91, 19);
+            this.ultraTextEditor27.TabIndex = 404;
+            this.ultraTextEditor27.Tag = "";
+            // 
+            // ultraLabel53
+            // 
+            this.ultraLabel53.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel53.Location = new System.Drawing.Point(4, 99);
+            this.ultraLabel53.Name = "ultraLabel53";
+            this.ultraLabel53.Size = new System.Drawing.Size(109, 19);
+            this.ultraLabel53.TabIndex = 403;
+            this.ultraLabel53.Text = "法人代表身份证号";
+            // 
+            // ultraTextEditor28
+            // 
+            appearance57.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor28.Appearance = appearance57;
+            this.ultraTextEditor28.AutoSize = true;
+            this.ultraTextEditor28.FlatMode = true;
+            this.ultraTextEditor28.Location = new System.Drawing.Point(112, 96);
+            this.ultraTextEditor28.Multiline = true;
+            this.ultraTextEditor28.Name = "ultraTextEditor28";
+            this.ultraTextEditor28.Size = new System.Drawing.Size(139, 19);
+            this.ultraTextEditor28.TabIndex = 402;
+            this.ultraTextEditor28.Tag = "";
+            // 
+            // ultraLabel54
+            // 
+            this.ultraLabel54.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel54.Location = new System.Drawing.Point(261, 7);
+            this.ultraLabel54.Name = "ultraLabel54";
+            this.ultraLabel54.Size = new System.Drawing.Size(66, 16);
+            this.ultraLabel54.TabIndex = 401;
+            this.ultraLabel54.Text = "委托代理人";
+            // 
+            // ultraTextEditor29
+            // 
+            appearance58.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor29.Appearance = appearance58;
+            this.ultraTextEditor29.AutoSize = true;
+            this.ultraTextEditor29.FlatMode = true;
+            this.ultraTextEditor29.Location = new System.Drawing.Point(333, 4);
+            this.ultraTextEditor29.Multiline = true;
+            this.ultraTextEditor29.Name = "ultraTextEditor29";
+            this.ultraTextEditor29.Size = new System.Drawing.Size(143, 19);
+            this.ultraTextEditor29.TabIndex = 400;
+            this.ultraTextEditor29.Tag = "";
+            // 
+            // ultraTextEditor30
+            // 
+            appearance59.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor30.Appearance = appearance59;
+            this.ultraTextEditor30.AutoSize = true;
+            this.ultraTextEditor30.FlatMode = true;
+            this.ultraTextEditor30.Location = new System.Drawing.Point(927, 28);
+            this.ultraTextEditor30.Multiline = true;
+            this.ultraTextEditor30.Name = "ultraTextEditor30";
+            this.ultraTextEditor30.Size = new System.Drawing.Size(173, 85);
+            this.ultraTextEditor30.TabIndex = 399;
+            this.ultraTextEditor30.Tag = "";
+            // 
+            // ultraComboEditor11
+            // 
+            appearance60.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor11.Appearance = appearance60;
+            this.ultraComboEditor11.AutoSize = true;
+            valueListItem27.DataValue = "0";
+            valueListItem27.DisplayText = "非以旧换新";
+            valueListItem28.DataValue = "1";
+            valueListItem28.DisplayText = "以旧换新";
+            this.ultraComboEditor11.Items.Add(valueListItem27);
+            this.ultraComboEditor11.Items.Add(valueListItem28);
+            this.ultraComboEditor11.Location = new System.Drawing.Point(962, 2);
+            this.ultraComboEditor11.Name = "ultraComboEditor11";
+            this.ultraComboEditor11.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor11.TabIndex = 398;
+            // 
+            // ultraLabel55
+            // 
+            this.ultraLabel55.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel55.Location = new System.Drawing.Point(886, 5);
+            this.ultraLabel55.Name = "ultraLabel55";
+            this.ultraLabel55.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel55.TabIndex = 397;
+            this.ultraLabel55.Text = "是否以旧换新";
+            // 
+            // ultraComboEditor12
+            // 
+            appearance61.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor12.Appearance = appearance61;
+            this.ultraComboEditor12.AutoSize = true;
+            valueListItem29.DataValue = "0";
+            valueListItem29.DisplayText = "非招标物资";
+            valueListItem30.DataValue = "1";
+            valueListItem30.DisplayText = "招标物资";
+            this.ultraComboEditor12.Items.Add(valueListItem29);
+            this.ultraComboEditor12.Items.Add(valueListItem30);
+            this.ultraComboEditor12.Location = new System.Drawing.Point(760, 73);
+            this.ultraComboEditor12.Name = "ultraComboEditor12";
+            this.ultraComboEditor12.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor12.TabIndex = 396;
+            // 
+            // ultraLabel56
+            // 
+            this.ultraLabel56.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel56.Location = new System.Drawing.Point(684, 76);
+            this.ultraLabel56.Name = "ultraLabel56";
+            this.ultraLabel56.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel56.TabIndex = 395;
+            this.ultraLabel56.Text = "是否招标物资";
+            // 
+            // ultraComboEditor13
+            // 
+            appearance62.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor13.Appearance = appearance62;
+            this.ultraComboEditor13.AutoSize = true;
+            valueListItem31.DataValue = "0";
+            valueListItem31.DisplayText = "非修复物资";
+            valueListItem32.DataValue = "1";
+            valueListItem32.DisplayText = "修复物资";
+            this.ultraComboEditor13.Items.Add(valueListItem31);
+            this.ultraComboEditor13.Items.Add(valueListItem32);
+            this.ultraComboEditor13.Location = new System.Drawing.Point(760, 49);
+            this.ultraComboEditor13.Name = "ultraComboEditor13";
+            this.ultraComboEditor13.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor13.TabIndex = 394;
+            // 
+            // ultraLabel57
+            // 
+            this.ultraLabel57.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel57.Location = new System.Drawing.Point(684, 52);
+            this.ultraLabel57.Name = "ultraLabel57";
+            this.ultraLabel57.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel57.TabIndex = 393;
+            this.ultraLabel57.Text = "是否修复物资";
+            // 
+            // ultraComboEditor14
+            // 
+            appearance63.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor14.Appearance = appearance63;
+            this.ultraComboEditor14.AutoSize = true;
+            valueListItem33.DataValue = "0";
+            valueListItem33.DisplayText = "不包安装";
+            valueListItem34.DataValue = "1";
+            valueListItem34.DisplayText = "包安装";
+            this.ultraComboEditor14.Items.Add(valueListItem33);
+            this.ultraComboEditor14.Items.Add(valueListItem34);
+            this.ultraComboEditor14.Location = new System.Drawing.Point(760, 26);
+            this.ultraComboEditor14.Name = "ultraComboEditor14";
+            this.ultraComboEditor14.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor14.TabIndex = 392;
+            // 
+            // ultraLabel58
+            // 
+            this.ultraLabel58.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel58.Location = new System.Drawing.Point(684, 29);
+            this.ultraLabel58.Name = "ultraLabel58";
+            this.ultraLabel58.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel58.TabIndex = 391;
+            this.ultraLabel58.Text = "是否包安装";
+            // 
+            // ultraComboEditor15
+            // 
+            appearance64.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor15.Appearance = appearance64;
+            this.ultraComboEditor15.AutoSize = true;
+            valueListItem35.DataValue = "0";
+            valueListItem35.DisplayText = "非备库物资";
+            valueListItem36.DataValue = "1";
+            valueListItem36.DisplayText = "备库物资";
+            this.ultraComboEditor15.Items.Add(valueListItem35);
+            this.ultraComboEditor15.Items.Add(valueListItem36);
+            this.ultraComboEditor15.Location = new System.Drawing.Point(760, 3);
+            this.ultraComboEditor15.Name = "ultraComboEditor15";
+            this.ultraComboEditor15.Size = new System.Drawing.Size(120, 21);
+            this.ultraComboEditor15.TabIndex = 390;
+            // 
+            // ultraLabel59
+            // 
+            this.ultraLabel59.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel59.Location = new System.Drawing.Point(684, 6);
+            this.ultraLabel59.Name = "ultraLabel59";
+            this.ultraLabel59.Size = new System.Drawing.Size(89, 20);
+            this.ultraLabel59.TabIndex = 389;
+            this.ultraLabel59.Text = "是否备库物资";
+            // 
+            // ultraComboEditor16
+            // 
+            appearance65.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor16.Appearance = appearance65;
+            this.ultraComboEditor16.AutoSize = true;
+            valueListItem37.DataValue = "0";
+            valueListItem37.DisplayText = "正在使用的物资";
+            valueListItem38.DataValue = "1";
+            valueListItem38.DisplayText = "已废除的物资";
+            this.ultraComboEditor16.Items.Add(valueListItem37);
+            this.ultraComboEditor16.Items.Add(valueListItem38);
+            this.ultraComboEditor16.Location = new System.Drawing.Point(584, 76);
+            this.ultraComboEditor16.Name = "ultraComboEditor16";
+            this.ultraComboEditor16.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor16.TabIndex = 388;
+            // 
+            // ultraLabel60
+            // 
+            this.ultraLabel60.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel60.Location = new System.Drawing.Point(482, 79);
+            this.ultraLabel60.Name = "ultraLabel60";
+            this.ultraLabel60.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel60.TabIndex = 387;
+            this.ultraLabel60.Text = "是否废除的物资";
+            // 
+            // ultraComboEditor17
+            // 
+            appearance66.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor17.Appearance = appearance66;
+            this.ultraComboEditor17.AutoSize = true;
+            valueListItem39.DataValue = "0";
+            valueListItem39.DisplayText = "不允许负数发";
+            valueListItem40.DataValue = "1";
+            valueListItem40.DisplayText = "允许负数发料";
+            this.ultraComboEditor17.Items.Add(valueListItem39);
+            this.ultraComboEditor17.Items.Add(valueListItem40);
+            this.ultraComboEditor17.Location = new System.Drawing.Point(584, 52);
+            this.ultraComboEditor17.Name = "ultraComboEditor17";
+            this.ultraComboEditor17.Size = new System.Drawing.Size(94, 21);
+            this.ultraComboEditor17.TabIndex = 386;
+            // 
+            // ultraLabel61
+            // 
+            this.ultraLabel61.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel61.Location = new System.Drawing.Point(482, 55);
+            this.ultraLabel61.Name = "ultraLabel61";
+            this.ultraLabel61.Size = new System.Drawing.Size(117, 18);
+            this.ultraLabel61.TabIndex = 385;
+            this.ultraLabel61.Text = "是否允许负数发料";
+            // 
+            // ultraComboEditor18
+            // 
+            appearance67.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraComboEditor18.Appearance = appearance67;
+            this.ultraComboEditor18.AutoSize = true;
+            valueListItem41.DataValue = "0";
+            valueListItem41.DisplayText = "非零库存物资";
+            valueListItem42.DataValue = "1";
+            valueListItem42.DisplayText = "零库存物资";
+            this.ultraComboEditor18.Items.Add(valueListItem41);
+            this.ultraComboEditor18.Items.Add(valueListItem42);
+            this.ultraComboEditor18.Location = new System.Drawing.Point(550, 28);
+            this.ultraComboEditor18.Name = "ultraComboEditor18";
+            this.ultraComboEditor18.Size = new System.Drawing.Size(128, 21);
+            this.ultraComboEditor18.TabIndex = 384;
+            // 
+            // ultraLabel62
+            // 
+            this.ultraLabel62.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel62.Location = new System.Drawing.Point(482, 31);
+            this.ultraLabel62.Name = "ultraLabel62";
+            this.ultraLabel62.Size = new System.Drawing.Size(66, 20);
+            this.ultraLabel62.TabIndex = 383;
+            this.ultraLabel62.Text = "是否零库存";
+            // 
+            // ultraLabel63
+            // 
+            this.ultraLabel63.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel63.Location = new System.Drawing.Point(482, 8);
+            this.ultraLabel63.Name = "ultraLabel63";
+            this.ultraLabel63.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel63.TabIndex = 381;
+            this.ultraLabel63.Text = "制造周期";
+            // 
+            // ultraTextEditor31
+            // 
+            appearance68.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor31.Appearance = appearance68;
+            this.ultraTextEditor31.AutoSize = true;
+            this.ultraTextEditor31.FlatMode = true;
+            this.ultraTextEditor31.Location = new System.Drawing.Point(550, 5);
+            this.ultraTextEditor31.Name = "ultraTextEditor31";
+            this.ultraTextEditor31.Size = new System.Drawing.Size(128, 19);
+            this.ultraTextEditor31.TabIndex = 380;
+            this.ultraTextEditor31.Tag = "";
+            // 
+            // ultraLabel64
+            // 
+            this.ultraLabel64.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel64.Location = new System.Drawing.Point(3, 77);
+            this.ultraLabel64.Name = "ultraLabel64";
+            this.ultraLabel64.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel64.TabIndex = 367;
+            this.ultraLabel64.Text = "法人代表";
+            // 
+            // ultraTextEditor32
+            // 
+            appearance69.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor32.Appearance = appearance69;
+            this.ultraTextEditor32.AutoSize = true;
+            this.ultraTextEditor32.FlatMode = true;
+            this.ultraTextEditor32.Location = new System.Drawing.Point(60, 74);
+            this.ultraTextEditor32.Multiline = true;
+            this.ultraTextEditor32.Name = "ultraTextEditor32";
+            this.ultraTextEditor32.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor32.TabIndex = 366;
+            this.ultraTextEditor32.Tag = "";
+            // 
+            // ultraLabel65
+            // 
+            this.ultraLabel65.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel65.Location = new System.Drawing.Point(3, 55);
+            this.ultraLabel65.Name = "ultraLabel65";
+            this.ultraLabel65.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel65.TabIndex = 365;
+            this.ultraLabel65.Text = "产品标准";
+            // 
+            // ultraTextEditor33
+            // 
+            appearance70.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor33.Appearance = appearance70;
+            this.ultraTextEditor33.AutoSize = true;
+            this.ultraTextEditor33.FlatMode = true;
+            this.ultraTextEditor33.Location = new System.Drawing.Point(60, 52);
+            this.ultraTextEditor33.Multiline = true;
+            this.ultraTextEditor33.Name = "ultraTextEditor33";
+            this.ultraTextEditor33.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor33.TabIndex = 364;
+            this.ultraTextEditor33.Tag = "";
+            // 
+            // ultraLabel66
+            // 
+            this.ultraLabel66.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel66.Location = new System.Drawing.Point(3, 31);
+            this.ultraLabel66.Name = "ultraLabel66";
+            this.ultraLabel66.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel66.TabIndex = 363;
+            this.ultraLabel66.Text = "供方名称";
+            // 
+            // ultraTextEditor34
+            // 
+            appearance71.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor34.Appearance = appearance71;
+            this.ultraTextEditor34.AutoSize = true;
+            this.ultraTextEditor34.FlatMode = true;
+            this.ultraTextEditor34.Location = new System.Drawing.Point(60, 28);
+            this.ultraTextEditor34.Multiline = true;
+            this.ultraTextEditor34.Name = "ultraTextEditor34";
+            this.ultraTextEditor34.Size = new System.Drawing.Size(191, 19);
+            this.ultraTextEditor34.TabIndex = 362;
+            this.ultraTextEditor34.Tag = "";
+            // 
+            // ultraLabel67
+            // 
+            this.ultraLabel67.BackColor = System.Drawing.Color.Transparent;
+            this.ultraLabel67.Location = new System.Drawing.Point(3, 8);
+            this.ultraLabel67.Name = "ultraLabel67";
+            this.ultraLabel67.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel67.TabIndex = 361;
+            this.ultraLabel67.Text = "供方代码";
+            // 
+            // ultraTextEditor35
+            // 
+            appearance72.BackColor = System.Drawing.Color.LightCyan;
+            this.ultraTextEditor35.Appearance = appearance72;
+            this.ultraTextEditor35.AutoSize = true;
+            this.ultraTextEditor35.Enabled = false;
+            this.ultraTextEditor35.FlatMode = true;
+            this.ultraTextEditor35.Location = new System.Drawing.Point(60, 5);
+            this.ultraTextEditor35.Name = "ultraTextEditor35";
+            this.ultraTextEditor35.Size = new System.Drawing.Size(84, 19);
+            this.ultraTextEditor35.TabIndex = 358;
+            this.ultraTextEditor35.Tag = "";
+            // 
+            // cmb_StorageLB
+            // 
+            appearance7.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_StorageLB.Appearance = appearance7;
+            this.cmb_StorageLB.AutoSize = true;
+            this.cmb_StorageLB.Location = new System.Drawing.Point(265, 5);
+            this.cmb_StorageLB.Name = "cmb_StorageLB";
+            this.cmb_StorageLB.Size = new System.Drawing.Size(139, 21);
+            this.cmb_StorageLB.TabIndex = 429;
+            this.cmb_StorageLB.Enter += new System.EventHandler(this.txt_DM_Enter);
+            this.cmb_StorageLB.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_DM_KeyDown);
+            // 
+            // Cmb_CKLB
+            // 
+            appearance2.BackColor = System.Drawing.Color.LightCyan;
+            this.Cmb_CKLB.Appearance = appearance2;
+            this.Cmb_CKLB.AutoSize = true;
+            this.Cmb_CKLB.Enabled = false;
+            this.Cmb_CKLB.Location = new System.Drawing.Point(430, 6);
+            this.Cmb_CKLB.Name = "Cmb_CKLB";
+            this.Cmb_CKLB.Size = new System.Drawing.Size(250, 21);
+            this.Cmb_CKLB.TabIndex = 393;
+            // 
+            // FrmDepot
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(1028, 518);
+            this.Controls.Add(this.panel2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "FrmDepot";
+            this.Text = "仓库代码管理";
+            this.Load += new System.EventHandler(this.FrmDepot_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_gfmc)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_gfdm)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Remark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QY)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_MC)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_DM)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gd_CK)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor2)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor18)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor19)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor20)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor3)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor4)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor5)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor6)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor8)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor9)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor10)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor21)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor22)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor23)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor24)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor25)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor26)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor27)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor28)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor29)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor30)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor11)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor12)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor13)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor14)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor15)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor16)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor17)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraComboEditor18)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor31)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor32)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor33)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor34)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor35)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_StorageLB)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.Cmb_CKLB)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+       
+
+	
+
+
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			if (this.chk_AllowFilter.Checked)
+			{
+                this.gd_CK.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;			
+			}
+			else
+			{
+				this.gd_CK.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+				
+			}
+
+		}
+        public static bool FillComboEditor(ref UltraComboEditor ulComboEditor, DataSet dset)
+        {
+            if (dset == null) return false;
+            if (dset.Tables.Count < 1) return false;
+            if (dset.Tables[0].Columns.Count < 2) return false;
+
+            ulComboEditor.Items.Clear();
+            for (int i = 0; i < dset.Tables[0].Rows.Count; i++)
+                ulComboEditor.Items.Add(dset.Tables[0].Rows[i][0].ToString(), dset.Tables[0].Rows[i][1].ToString());
+            return true;
+        }
+        private void DoQuery()
+        {
+            string where = "";
+            string sql = "";
+            string err = "";
+            if (this.txt_gfdm.Enabled && this.txt_gfdm.Text.Trim().Length > 0)
+            {
+                where += " AND DEPOTID LIKE '" + this.txt_gfdm.Text.Trim().ToString() + "%'";
+            }
+            if (this.txt_gfmc.Enabled && this.txt_gfmc.Text.Trim().Length > 0)
+            {
+                where += " AND DEPOTNAME LIKE '" + this.txt_gfmc.Text.Trim().ToString() + "%'";
+            }
+            if (this.Chk_CKLB.Checked && this.Cmb_CKLB.Text.Trim().Length > 0)
+            {
+                where += " AND DEPOT_LB LIKE '" + this.Cmb_CKLB.Value.ToString().Trim().ToString() + "%'";
+            }
+
+
+            sql = "SELECT DEPOTID,DEPOTNAME,DEPOT_LB,DECODE(ISVALID,'0','','1','是')ISVALID,REMARK,RECODER,TO_CHAR(CK_TIME,'YYYY-MM-DD HH24:MI:SS')CK_TIME "
+
+                + "FROM KCJ_DEPOTMAGAGER WHERE 1=1 "
+                ;
+            DataSet ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out err);
+            if (err == "")
+            {
+                gd_CK.DataSource = ds;
+            }
+            
+        }
+        private void Export()
+        {
+            if (this.gd_CK.Rows.Count > 0)
+            {
+                Comm.ExPortExcel(this.gd_CK, this.excelExporter);
+            }
+            else
+            {
+                MessageBox.Show("无仓库代码信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+            }
+
+        }
+        private void Add(string strMode)
+        {
+            try
+            {
+                string strerr = "";
+              
+                System.Collections.ArrayList MetarilInfo = new ArrayList();
+
+
+                if (strMode == "UPDATE")
+                {
+                    if (txt_DM.Text.Trim().ToString() == "")
+                    {
+                        MessageBox.Show("仓库代码不能为空");
+                        return;
+                    }
+                }
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_MC.Text.Trim().ToString()));//1 仓库名称
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_StorageLB.Value.ToString().Trim()));//2 仓库类别
+                MetarilInfo.Add(Comm.ObjToStr(this.cmb_QY.Value.ToString().Trim()));//3 是否启用
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_Remark.Text.Trim().ToString()));//4 备注
+                MetarilInfo.Add(ClientCommon._UserInfo.UserName.ToString());//5 操作人
+                MetarilInfo.Add(strMode);//6 操作模式
+                MetarilInfo.Add(Comm.ObjToStr(this.txt_DM.Text.Trim().ToString()));//7仓库代码
+              
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWWLStuff", "Core.XgMes.Server.JGKC.MaterialManager.Metarial",
+                    "DepotAdd", new object[] { MetarilInfo }, out strerr);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    MessageBox.Show("新增成功", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+                    DoQuery();
+                }
+                else
+                {
+                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                }
+            }
+            catch (Exception ex)
+            {
+            }
+        }
+        private void FrmDepot_Load(object sender, System.EventArgs e)
+		{
+           
+            
+		}
+
+	
+
+		
+
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+            switch (e.Tool.Key)
+            {
+                case "Add":
+                    Add("ADD");
+                    break;
+                case "UPDATE":
+                    Add("UPDATE");
+                    break;
+                case "Del":
+                    Add("Del");
+                    break;
+                case "Query":
+                    DoQuery();
+                    break;
+                case "Export":
+                    Export();
+                    break;
+                case "Close":
+                    this.Close();
+                    break;
+
+            }
+
+		}
+
+      
+
+        private void txt_DM_Enter(object sender, EventArgs e)
+        {
+            if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+            {
+                ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+            }
+            if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+            {
+                ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+            }
+        }
+
+        private void txt_DM_KeyDown(object sender, KeyEventArgs e)
+        {
+           
+
+            try
+            {
+                if (e.KeyData == System.Windows.Forms.Keys.Return)
+                {
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_MC")
+                    {
+                        cmb_StorageLB.Focus();
+                        cmb_StorageLB.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "cmb_StorageLB")
+                    {
+                        cmb_QY.Focus();
+                        cmb_QY.SelectAll();
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == "cmb_QY")
+                    {
+                        txt_Remark.Focus();
+                        txt_Remark.SelectAll();
+                    }
+
+
+
+
+
+
+
+
+                    if (((System.Windows.Forms.Control)sender).Name == "txt_Remark")
+                    {
+                        System.Windows.Forms.DialogResult result = DialogResult.No;
+
+                        result = MessageBox.Show("是否新增?", "提示信息", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
+                        if (result == DialogResult.Yes)
+                        {
+
+                            this.Add("ADD");
+                        }
+                        else
+                        {
+                            this.Add("UPDATE");
+                        }
+                        this.txt_MC.Focus();
+                        this.txt_MC.SelectAll();
+                        return;
+
+                    }
+                    //System.Windows.Forms.SendKeys.Send("{TAB}");
+
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private void Chk_CKDM_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_gfdm.Enabled = Chk_CKDM.Checked;
+        }
+
+        private void Chk_CKmc_CheckedChanged(object sender, EventArgs e)
+        {
+            txt_gfmc.Enabled = Chk_CKmc.Checked;
+        }
+
+        private void Chk_CKLB_CheckedChanged(object sender, EventArgs e)
+        {
+            cmb_StorageLB.Enabled = Chk_CKLB.Checked;
+        }
+
+        private void gd_CK_AfterRowActivate(object sender, EventArgs e)
+        {
+            try
+            {
+                if (this.gd_CK.Rows.Count > 0)
+                {
+
+                    this.txt_DM.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["DEPOTID"].Value);//仓库代码
+                    txt_MC.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["DEPOTNAME"].Value);//仓库名称
+
+                    cmb_StorageLB.Value = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["DEPOT_LB"].Value);//仓库类别
+                    txt_Remark.Text = Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["REMARK"].Value);//备注
+                    if (Comm.ObjToStr(this.gd_CK.ActiveRow.Cells["ISVALID"].Value) == "是")//是否启用
+                    {
+                        cmb_QY.Value = "1";
+                    }
+                    else
+                    {
+                        cmb_QY.Value = "0";
+                    }
+
+
+
+
+
+
+
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+		
+
+	
+
+		
+
+	
+		
+
+
+
+		
+
+	
+
+
+	
+
+
+
+
+
+	
+
+	
+	
+
+
+
+
+
+	}
+}

+ 1172 - 0
Client/.svn/pristine/65/65b74125de611f7e65567b9353e46870619f8f38.svn-base

@@ -0,0 +1,1172 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+	/// <summary>
+	/// Frm_StuffMove 的摘要说明。
+	/// </summary>
+	public class Frm_StuffMove : Mes.ClientFrameWork.FrmBase
+	{
+		private System.Windows.Forms.Panel panel1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
+		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ON;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ON;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanNO;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PackNo;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_YButtress;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_Area;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Area;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+		private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox2;
+		private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Ramk;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BuressMove;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_AreaC;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Stream;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Oreder;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_B;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangpeiH;
+		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Stuff;
+		private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+		private System.ComponentModel.IContainer components;
+
+		public Frm_StuffMove()
+		{
+			//
+			// Windows 窗体设计器支持所必需的
+			//
+			InitializeComponent();
+
+			//
+			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+			//
+		}
+
+		/// <summary>
+		/// 清理所有正在使用的资源。
+		/// </summary>
+		protected override void Dispose( bool disposing )
+		{
+			if( disposing )
+			{
+				if(components != null)
+				{
+					components.Dispose();
+				}
+			}
+			base.Dispose( disposing );
+		}
+
+		#region Windows 窗体设计器生成的代码
+		/// <summary>
+		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
+		/// 此方法的内容。
+		/// </summary>
+		private void InitializeComponent()
+		{
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TZ");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TZ");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_INDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_OUTDIA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_LEN");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_THK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_WTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ACT_WGT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("AREA");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("HTDW");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG", 2);
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 9, true);
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings6 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ACT_WGT", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ACT_WGT", 10, true);
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance59 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance60 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_Area = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_Area = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_ON = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_ON = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PackNo = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_YButtress = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.txt_Ramk = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BuressMove = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_AreaC = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Stream = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Oreder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_B = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_GangpeiH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraExpandableGroupBox2 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel2 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_Stuff = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ramk)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BuressMove)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaC)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Stream)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Oreder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_B)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).BeginInit();
+            this.ultraExpandableGroupBox2.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(840, 30);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 52);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool3.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool5.SharedProps.Caption = "关闭";
+            buttonTool5.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool6.SharedProps.Caption = "查询";
+            buttonTool6.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool7.SharedProps.Caption = "调整";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "导出";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool5,
+            buttonTool6,
+            buttonTool7,
+            buttonTool8});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(840, 52);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(840, 52);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(229)))), ((int)(((byte)(229)))), ((int)(((byte)(215)))));
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 30);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(840, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraCheckEditor1
+            // 
+            this.ultraCheckEditor1.Location = new System.Drawing.Point(114, 47);
+            this.ultraCheckEditor1.Name = "ultraCheckEditor1";
+            this.ultraCheckEditor1.Size = new System.Drawing.Size(60, 16);
+            this.ultraCheckEditor1.TabIndex = 0;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.cmb_Area);
+            this.ultraGroupBox1.Controls.Add(this.chk_Area);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_ON);
+            this.ultraGroupBox1.Controls.Add(this.chk_ON);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_PackNo);
+            this.ultraGroupBox1.Controls.Add(this.chk_YButtress);
+            this.ultraGroupBox1.Controls.Add(this.cmb_Buress);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 30);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(840, 54);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 13;
+            this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // cmb_Area
+            // 
+            this.cmb_Area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Area.DisplayMember = "";
+            this.cmb_Area.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Area.Enabled = false;
+            this.cmb_Area.FlatMode = true;
+            this.cmb_Area.Location = new System.Drawing.Point(235, 27);
+            this.cmb_Area.Name = "cmb_Area";
+            this.cmb_Area.Size = new System.Drawing.Size(106, 19);
+            this.cmb_Area.TabIndex = 736;
+            this.cmb_Area.Tag = "";
+            this.cmb_Area.ValueMember = "";
+            // 
+            // chk_Area
+            // 
+            this.chk_Area.FlatMode = true;
+            this.chk_Area.Location = new System.Drawing.Point(186, 29);
+            this.chk_Area.Name = "chk_Area";
+            this.chk_Area.Size = new System.Drawing.Size(48, 16);
+            this.chk_Area.TabIndex = 735;
+            this.chk_Area.Text = "区域";
+            this.chk_Area.CheckedChanged += new System.EventHandler(this.chk_Area_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(352, 7);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(50, 20);
+            this.chk_AllowFilter.TabIndex = 734;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // txt_ON
+            // 
+            this.txt_ON.AutoSize = true;
+            this.txt_ON.Enabled = false;
+            this.txt_ON.FlatMode = true;
+            this.txt_ON.Location = new System.Drawing.Point(74, 5);
+            this.txt_ON.Name = "txt_ON";
+            this.txt_ON.Size = new System.Drawing.Size(110, 19);
+            this.txt_ON.TabIndex = 733;
+            // 
+            // chk_ON
+            // 
+            this.chk_ON.FlatMode = true;
+            this.chk_ON.Location = new System.Drawing.Point(10, 7);
+            this.chk_ON.Name = "chk_ON";
+            this.chk_ON.Size = new System.Drawing.Size(60, 16);
+            this.chk_ON.TabIndex = 732;
+            this.chk_ON.Text = "钢卷号";
+            this.chk_ON.CheckedChanged += new System.EventHandler(this.chk_ON_CheckedChanged);
+            // 
+            // txt_PlanNO
+            // 
+            this.txt_PlanNO.AutoSize = true;
+            this.txt_PlanNO.Enabled = false;
+            this.txt_PlanNO.FlatMode = true;
+            this.txt_PlanNO.Location = new System.Drawing.Point(74, 27);
+            this.txt_PlanNO.Name = "txt_PlanNO";
+            this.txt_PlanNO.Size = new System.Drawing.Size(110, 19);
+            this.txt_PlanNO.TabIndex = 731;
+            // 
+            // chk_PackNo
+            // 
+            this.chk_PackNo.FlatMode = true;
+            this.chk_PackNo.Location = new System.Drawing.Point(10, 27);
+            this.chk_PackNo.Name = "chk_PackNo";
+            this.chk_PackNo.Size = new System.Drawing.Size(60, 16);
+            this.chk_PackNo.TabIndex = 730;
+            this.chk_PackNo.Text = "合同号";
+            this.chk_PackNo.CheckedChanged += new System.EventHandler(this.chk_PackNo_CheckedChanged);
+            // 
+            // chk_YButtress
+            // 
+            this.chk_YButtress.FlatMode = true;
+            this.chk_YButtress.Location = new System.Drawing.Point(186, 7);
+            this.chk_YButtress.Name = "chk_YButtress";
+            this.chk_YButtress.Size = new System.Drawing.Size(48, 16);
+            this.chk_YButtress.TabIndex = 729;
+            this.chk_YButtress.Text = "垛位";
+            this.chk_YButtress.CheckedChanged += new System.EventHandler(this.chk_YButtress_CheckedChanged);
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_Buress.Enabled = false;
+            this.cmb_Buress.FlatMode = true;
+            this.cmb_Buress.Location = new System.Drawing.Point(235, 5);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(106, 19);
+            this.cmb_Buress.TabIndex = 728;
+            this.cmb_Buress.Tag = "";
+            this.cmb_Buress.ValueMember = "";
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(968, 76);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 380);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(840, 76);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 14;
+            this.ultraExpandableGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_Ramk);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel7);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_BuressMove);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel6);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_AreaC);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel5);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Stream);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel4);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_Oreder);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel3);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.cmb_B);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel2);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.txt_GangpeiH);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.ultraLabel1);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(2, 20);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(836, 54);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // txt_Ramk
+            // 
+            this.txt_Ramk.AutoSize = true;
+            this.txt_Ramk.FlatMode = true;
+            this.txt_Ramk.Location = new System.Drawing.Point(550, 8);
+            this.txt_Ramk.Name = "txt_Ramk";
+            this.txt_Ramk.Size = new System.Drawing.Size(254, 19);
+            this.txt_Ramk.TabIndex = 31;
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(508, 11);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(38, 14);
+            this.ultraLabel7.TabIndex = 30;
+            this.ultraLabel7.Text = "备注";
+            // 
+            // cmb_BuressMove
+            // 
+            this.cmb_BuressMove.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BuressMove.DisplayMember = "";
+            this.cmb_BuressMove.FlatMode = true;
+            this.cmb_BuressMove.Location = new System.Drawing.Point(389, 30);
+            this.cmb_BuressMove.Name = "cmb_BuressMove";
+            this.cmb_BuressMove.Size = new System.Drawing.Size(112, 19);
+            this.cmb_BuressMove.TabIndex = 29;
+            this.cmb_BuressMove.ValueMember = "";
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(346, 32);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(42, 14);
+            this.ultraLabel6.TabIndex = 28;
+            this.ultraLabel6.Text = "新垛位";
+            // 
+            // cmb_AreaC
+            // 
+            this.cmb_AreaC.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_AreaC.DisplayMember = "";
+            this.cmb_AreaC.FlatMode = true;
+            this.cmb_AreaC.Location = new System.Drawing.Point(389, 8);
+            this.cmb_AreaC.Name = "cmb_AreaC";
+            this.cmb_AreaC.Size = new System.Drawing.Size(112, 19);
+            this.cmb_AreaC.TabIndex = 27;
+            this.cmb_AreaC.ValueMember = "";
+            this.cmb_AreaC.ValueChanged += new System.EventHandler(this.cmb_AreaC_ValueChanged);
+            // 
+            // ultraLabel5
+            // 
+            this.ultraLabel5.Location = new System.Drawing.Point(346, 10);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(42, 14);
+            this.ultraLabel5.TabIndex = 26;
+            this.ultraLabel5.Text = "新区域";
+            // 
+            // cmb_Stream
+            // 
+            this.cmb_Stream.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Stream.DisplayMember = "";
+            this.cmb_Stream.FlatMode = true;
+            this.cmb_Stream.Location = new System.Drawing.Point(229, 29);
+            this.cmb_Stream.Name = "cmb_Stream";
+            this.cmb_Stream.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Stream.TabIndex = 25;
+            this.cmb_Stream.ValueMember = "";
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(197, 31);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(31, 14);
+            this.ultraLabel4.TabIndex = 24;
+            this.ultraLabel4.Text = "班组";
+            // 
+            // cmb_Oreder
+            // 
+            this.cmb_Oreder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Oreder.DisplayMember = "";
+            this.cmb_Oreder.FlatMode = true;
+            this.cmb_Oreder.Location = new System.Drawing.Point(229, 6);
+            this.cmb_Oreder.Name = "cmb_Oreder";
+            this.cmb_Oreder.Size = new System.Drawing.Size(112, 19);
+            this.cmb_Oreder.TabIndex = 23;
+            this.cmb_Oreder.ValueMember = "";
+            // 
+            // ultraLabel3
+            // 
+            this.ultraLabel3.Location = new System.Drawing.Point(197, 10);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(31, 14);
+            this.ultraLabel3.TabIndex = 22;
+            this.ultraLabel3.Text = "班次";
+            // 
+            // cmb_B
+            // 
+            appearance41.BackColor = System.Drawing.Color.LightCyan;
+            this.cmb_B.Appearance = appearance41;
+            this.cmb_B.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_B.DisplayMember = "";
+            this.cmb_B.Location = new System.Drawing.Point(46, 29);
+            this.cmb_B.Name = "cmb_B";
+            this.cmb_B.Size = new System.Drawing.Size(148, 21);
+            this.cmb_B.TabIndex = 21;
+            this.cmb_B.ValueMember = "";
+            // 
+            // ultraLabel2
+            // 
+            this.ultraLabel2.Location = new System.Drawing.Point(6, 32);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(42, 14);
+            this.ultraLabel2.TabIndex = 20;
+            this.ultraLabel2.Text = "原垛位";
+            // 
+            // txt_GangpeiH
+            // 
+            appearance42.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_GangpeiH.Appearance = appearance42;
+            this.txt_GangpeiH.AutoSize = true;
+            this.txt_GangpeiH.Location = new System.Drawing.Point(46, 6);
+            this.txt_GangpeiH.Name = "txt_GangpeiH";
+            this.txt_GangpeiH.ReadOnly = true;
+            this.txt_GangpeiH.Size = new System.Drawing.Size(148, 21);
+            this.txt_GangpeiH.TabIndex = 19;
+            // 
+            // ultraLabel1
+            // 
+            this.ultraLabel1.Location = new System.Drawing.Point(6, 10);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(42, 14);
+            this.ultraLabel1.TabIndex = 18;
+            this.ultraLabel1.Text = "钢卷号";
+            // 
+            // ultraExpandableGroupBox2
+            // 
+            this.ultraExpandableGroupBox2.Controls.Add(this.ultraExpandableGroupBoxPanel2);
+            this.ultraExpandableGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBox2.ExpandedSize = new System.Drawing.Size(968, 296);
+            this.ultraExpandableGroupBox2.Location = new System.Drawing.Point(0, 84);
+            this.ultraExpandableGroupBox2.Name = "ultraExpandableGroupBox2";
+            this.ultraExpandableGroupBox2.Size = new System.Drawing.Size(840, 296);
+            this.ultraExpandableGroupBox2.SupportThemes = false;
+            this.ultraExpandableGroupBox2.TabIndex = 15;
+            this.ultraExpandableGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
+            // 
+            // ultraExpandableGroupBoxPanel2
+            // 
+            this.ultraExpandableGroupBoxPanel2.Controls.Add(this.gb_Stuff);
+            this.ultraExpandableGroupBoxPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel2.Location = new System.Drawing.Point(2, 20);
+            this.ultraExpandableGroupBoxPanel2.Name = "ultraExpandableGroupBoxPanel2";
+            this.ultraExpandableGroupBoxPanel2.Size = new System.Drawing.Size(836, 274);
+            this.ultraExpandableGroupBoxPanel2.TabIndex = 0;
+            // 
+            // gb_Stuff
+            // 
+            appearance43.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Stuff.DisplayLayout.Appearance = appearance43;
+            ultraGridColumn41.Header.Caption = "钢卷号";
+            ultraGridColumn41.Header.VisiblePosition = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "板坯号";
+            ultraGridColumn42.Header.VisiblePosition = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(75, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "合同号";
+            ultraGridColumn43.Header.VisiblePosition = 2;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "订单号";
+            ultraGridColumn44.Header.VisiblePosition = 3;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(79, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "内径";
+            ultraGridColumn45.Header.VisiblePosition = 4;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "外径";
+            ultraGridColumn46.Header.VisiblePosition = 5;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(53, 0);
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "长度";
+            ultraGridColumn47.Header.VisiblePosition = 6;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(52, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "厚度 ";
+            ultraGridColumn48.Header.VisiblePosition = 7;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(48, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "宽度";
+            ultraGridColumn49.Header.VisiblePosition = 8;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(46, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "计算重量";
+            ultraGridColumn50.Header.VisiblePosition = 9;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(59, 0);
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "实重量";
+            ultraGridColumn51.Header.VisiblePosition = 10;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "牌号";
+            ultraGridColumn52.Header.VisiblePosition = 11;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "综合判定";
+            ultraGridColumn53.Header.VisiblePosition = 12;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn54.Header.Caption = "垛位";
+            ultraGridColumn54.Header.VisiblePosition = 13;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(68, 0);
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "区域";
+            ultraGridColumn55.Header.VisiblePosition = 14;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(63, 0);
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "备注";
+            ultraGridColumn56.Header.VisiblePosition = 15;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.Caption = "合同单位";
+            ultraGridColumn57.Header.VisiblePosition = 16;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "炉号";
+            ultraGridColumn58.Header.VisiblePosition = 17;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(100, 0);
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn59.Header.Caption = "批号";
+            ultraGridColumn59.Header.VisiblePosition = 18;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(103, 0);
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "";
+            ultraGridColumn60.Header.VisiblePosition = 19;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(37, 0);
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridBand3.Columns.AddRange(new object[] {
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60});
+            appearance44.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand3.Header.Appearance = appearance44;
+            ultraGridBand3.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings5.DisplayFormat = "{0}KG";
+            summarySettings5.GroupBySummaryValueAppearance = appearance45;
+            summarySettings6.DisplayFormat = "{0}KG";
+            summarySettings6.GroupBySummaryValueAppearance = appearance46;
+            ultraGridBand3.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings5,
+            summarySettings6});
+            ultraGridBand3.UseRowLayout = true;
+            this.gb_Stuff.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
+            this.gb_Stuff.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance47.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance47.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance47.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance47.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Appearance = appearance47;
+            appearance48.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Stuff.DisplayLayout.GroupByBox.BandLabelAppearance = appearance48;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Stuff.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance49.BackColor = System.Drawing.SystemColors.Window;
+            appearance49.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Stuff.DisplayLayout.Override.ActiveCellAppearance = appearance49;
+            appearance50.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance50.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Stuff.DisplayLayout.Override.ActiveRowAppearance = appearance50;
+            appearance51.BorderColor = System.Drawing.Color.Black;
+            appearance51.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.CellAppearance = appearance51;
+            this.gb_Stuff.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Stuff.DisplayLayout.Override.CellPadding = 0;
+            appearance52.BackColor = System.Drawing.SystemColors.Control;
+            appearance52.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance52.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance52.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance52.BorderColor = System.Drawing.SystemColors.Window;
+            appearance52.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.GroupByRowAppearance = appearance52;
+            this.gb_Stuff.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance53.BackColor = System.Drawing.Color.Silver;
+            this.gb_Stuff.DisplayLayout.Override.HeaderAppearance = appearance53;
+            this.gb_Stuff.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Stuff.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance54.BackColor = System.Drawing.SystemColors.Window;
+            appearance54.BorderColor = System.Drawing.Color.Black;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.RowAppearance = appearance54;
+            appearance55.BackColor = System.Drawing.SystemColors.Window;
+            appearance55.BorderColor = System.Drawing.Color.Black;
+            appearance55.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.RowPreviewAppearance = appearance55;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Stuff.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance56.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance56.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.SelectedRowAppearance = appearance56;
+            this.gb_Stuff.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance57.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterAppearance = appearance57;
+            appearance58.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance58.ForeColor = System.Drawing.Color.Red;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance58;
+            this.gb_Stuff.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance59.BackColor = System.Drawing.Color.MistyRose;
+            appearance59.ForeColor = System.Drawing.Color.Blue;
+            appearance59.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance59.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Stuff.DisplayLayout.Override.SummaryValueAppearance = appearance59;
+            appearance60.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Stuff.DisplayLayout.Override.TemplateAddRowAppearance = appearance60;
+            this.gb_Stuff.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Stuff.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Stuff.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Stuff.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Stuff.Location = new System.Drawing.Point(0, 0);
+            this.gb_Stuff.Name = "gb_Stuff";
+            this.gb_Stuff.Size = new System.Drawing.Size(836, 274);
+            this.gb_Stuff.TabIndex = 13;
+            this.gb_Stuff.Text = "ultraGrid2";
+            this.gb_Stuff.AfterRowActivate += new System.EventHandler(this.gb_Stuff_AfterRowActivate);
+            // 
+            // Frm_StuffMove
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(840, 456);
+            this.Controls.Add(this.ultraExpandableGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_StuffMove";
+            this.Text = "原料移垛管理";
+            this.Load += new System.EventHandler(this.Frm_StuffMove_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Area)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ON)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ramk)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BuressMove)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_AreaC)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Stream)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Oreder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_B)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox2)).EndInit();
+            this.ultraExpandableGroupBox2.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Stuff)).EndInit();
+            this.ResumeLayout(false);
+
+		}
+		#endregion
+		private string getWhere()
+		{
+			string Sql="";
+			if(this.chk_ON.Checked)
+			{
+				Sql=" AND A.OLD_SAMPL_NO='"+this.txt_ON.Text+"'";
+			}
+			if(this.chk_YButtress.Checked)
+			{
+				Sql=" AND A.BUTTRESS='"+this.cmb_Buress.Value+"'";
+			}
+			if(this.chk_PackNo.Checked)
+			{
+				Sql=" AND A.ORD_NO LIKE '%"+this.txt_PlanNO.Text+"%'";
+			}
+			if(this.chk_Area.Checked)
+			{
+				Sql=" AND B.AREA='"+this.cmb_Area.Value+"'";
+			}
+			return Sql;
+		}
+		private void StufQuer(string _Conntion)
+		{
+			try
+			{
+				string strOut="";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffMove", "StuffQuer", new object[] { this.getWhere() }, out strOut);
+                this.gb_Stuff.DataSource=ds;
+				this.gb_Stuff.UpdateData();
+				Comm.SetGridSumArea(gb_Stuff);
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+		{
+			switch(e.Tool.Key)
+			{
+				case "QUERY":
+                     this.StufQuer(this.getWhere());
+				     break;
+				case "Close":
+				      break;
+			    case "TZ":
+					this.Move_Buress();
+					break;
+				case "DUCE":
+					this.ExportButtressInfo();
+					break;
+			}
+		}
+
+		private void Move_Buress()
+		{
+			try
+			{
+				this.gb_Stuff.UpdateData();
+				string strOut="";
+				ArrayList array=new ArrayList();
+				array=Comm.GetFieldValue(this.gb_Stuff,"FLAG","OLD_SAMPL_NO");
+				if(array.Count==0)
+				{
+					MessageBox.Show("请您选择原料信息需要移库的信息","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
+					return ;
+				}
+				ArrayList Other=new ArrayList();
+				Other.Add(this.cmb_BuressMove.Value.ToString());
+				Other.Add(this.cmb_AreaC.Value.ToString());
+				Other.Add(this.cmb_Oreder.Value.ToString());
+				Other.Add(this.cmb_Stream.Value.ToString());
+				Other.Add(this.txt_Ramk.Text);
+				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.txt_GangpeiH.Value.ToString());
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffMove", "StuffBuress_Move", new object[] { array, Other }, out strOut);
+				if(obj!=null&&obj.ToString()=="1")
+				{
+					DataSet  ds=(DataSet)this.gb_Stuff.DataSource;
+					System.Data.DataRow [] row=ds.Tables["KCJ3_STUFFLIST"].Select("FLAG='TRUE'");
+					
+					for(int i=0;i<row.Length;i++)
+					{
+						ds.Tables["KCJ3_STUFFLIST"].Rows.Remove(row[i]);
+						ds.Tables["KCJ3_STUFFLIST"].AcceptChanges();
+					}
+					this.StufQuer(this.getWhere());
+					Comm.SetGridSumArea(this.gb_Stuff);
+				}
+				else
+				{
+					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
+				}
+
+			}
+			catch(Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void Frm_StuffMove_Load(object sender, System.EventArgs e)
+		{
+			Comm.SetGridSumArea(this.gb_Stuff);
+		    string strOut="";
+			string sql="";
+			DataSet ds;
+			//堆位
+            sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+			Comm.Init_ComboControl(this.cmb_Buress,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);
+
+			//堆位
+            sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='0' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_BUTTRESS";
+
+			Comm.Init_ComboControl(this.cmb_BuressMove,"KCJ_BUTTRESS","BUTTRESSCODE","BUTTRESSCODE",ref ds);		
+
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_Oreder,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//班组
+			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="SCM_BASE_INFO";
+
+			Comm.Init_ComboControl(this.cmb_Stream,"SCM_BASE_INFO","NAME_","ID_",ref ds);
+
+			//
+            sql = "select areacode from kcj_area_ZW  where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)'  ";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+			ds.Tables[0].TableName="KCJ_AREA";
+
+			Comm.Init_ComboControl(this.cmb_Area,"KCJ_AREA","AREACODE","AREACODE",ref ds);
+			Comm.Init_ComboControl(this.cmb_AreaC,"KCJ_AREA","AREACODE","AREACODE",ref ds);
+		
+		}
+
+		private void ultraGrid1_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+		{
+			try
+			{
+				if(e.Cell.Column.Key == "FLAG")
+				{
+					e.Cell.Row.Update();
+					if(e.Cell.Value.ToString().ToUpper() == "TRUE")
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+					}
+					else
+					{
+						e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+					}
+				}
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+		{
+			try 
+			{
+				if(this.chk_AllowFilter.Checked)
+				{
+					this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+					this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+				}
+				else
+				{
+					this.gb_Stuff.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+					this.gb_Stuff.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+					if(this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count>0)
+					{
+						for(int i=0;i<this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
+						{
+							this.gb_Stuff.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+						}
+					}
+				
+				}
+
+			}
+			catch(System.Exception ex)
+			{
+				System.Diagnostics.Debug.WriteLine(ex.ToString());
+			}
+		}
+
+		private void chk_ON_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_ON.Enabled=this.chk_ON.Checked;
+		}
+
+		private void chk_PackNo_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.txt_PlanNO.Enabled=this.chk_PackNo.Checked;
+		}
+
+		private void chk_YButtress_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Buress.Enabled=this.chk_YButtress.Checked;
+		}
+
+		private void chk_Area_CheckedChanged(object sender, System.EventArgs e)
+		{
+			this.cmb_Area.Enabled=this.chk_Area.Checked;
+		}
+
+		private void gb_Stuff_AfterRowActivate(object sender, System.EventArgs e)
+		{
+			this.txt_GangpeiH.Text=this.gb_Stuff.ActiveRow.Cells["OLD_SAMPL_NO"].Value.ToString();
+			this.cmb_B.Value=this.gb_Stuff.ActiveRow.Cells["BUTTRESS"].Value.ToString();
+		}
+
+		#region "导出报表"
+		private void ExportButtressInfo()
+		{
+			if(this.gb_Stuff.Rows.Count > 0)
+			{
+				Comm.ExPortExcel(this.gb_Stuff,this.excelExporter);
+			}
+			else
+			{
+				MessageBox.Show("无信息数据,不能导出!","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
+			}
+
+		}
+		#endregion 
+
+        private void cmb_AreaC_ValueChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string areaCode = "";
+                string buttressCode = "";
+                string strOut = "";
+
+
+
+                areaCode = this.cmb_AreaC.Value.ToString();
+                if (areaCode != "")
+                {
+
+
+
+
+
+                    DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
+                        "QueryFJButtress", new object[] { buttressCode, areaCode, "0" }, out strOut);
+                    if (strOut == "")
+                    {
+                        this.cmb_BuressMove.DataSource = ds;
+
+                    }
+                    else
+                    {
+                        MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                    }
+                }
+            }
+            catch (Exception et)
+            {
+                throw et;
+            }
+        }
+
+
+	}
+}

+ 9 - 0
Client/.svn/pristine/68/6853aa1f452cdeb8e6f4e3b9e97450115b37ec13.svn-base

@@ -0,0 +1,9 @@
+<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <StartAction>Program</StartAction>
+    <StartProgram>E:\code\Client\Core.Mes.ClientManager.exe</StartProgram>
+  </PropertyGroup>
+  <PropertyGroup>
+    <ReferencePath>E:\code\Client\</ReferencePath>
+  </PropertyGroup>
+</Project>

BIN
Client/.svn/pristine/69/6939881d341cb2fdf48a0f1d380960ee7e819a24.svn-base


+ 12 - 0
Client/.svn/pristine/6a/6a93d7b0fb8d6fa6b89d4a652afc9324582bf53f.svn-base

@@ -0,0 +1,12 @@
+Infragistics.Win.UltraWinGrid.UltraCombo, Infragistics.Win.UltraWinGrid.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraCheckEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinCalcManager.UltraCalcManager, Infragistics.Win.UltraWinCalcManager.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinToolbars.UltraToolbarsManager, Infragistics.Win.UltraWinToolbars.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinGrid.UltraGrid, Infragistics.Win.UltraWinGrid.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.Misc.UltraGroupBox, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter, Infragistics.Win.UltraWinGrid.ExcelExport.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraTextEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinTabControl.UltraTabControl, Infragistics.Win.UltraWinTabControl.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.Misc.UltraLabel, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.Misc.UltraButton, Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb
+Infragistics.Win.UltraWinEditors.UltraDateTimeEditor, Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb

+ 257 - 0
Client/.svn/pristine/6b/6b09ed7c33aa47b4904c98c70a2180cc86140e12.svn-base

@@ -0,0 +1,257 @@
+<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.30729</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{E6AB9A9C-C314-4122-B39E-7FD009BD4954}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>Core.XgMes.Client.JGKC.RollManager</RootNamespace>
+    <AssemblyName>Core.XgMes.Client.JGKC.RollManager</AssemblyName>
+    <FileUpgradeFlags>
+    </FileUpgradeFlags>
+    <OldToolsVersion>2.0</OldToolsVersion>
+    <UpgradeBackupLocation>
+    </UpgradeBackupLocation>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>..\..\..\Client\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="Core.Client.WinCommon, Version=1.0.3737.29783, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.Client.WinCommon.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.Mes.ClientFrameWork, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.Mes.ClientFrameWork.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.Mes.IBaseInterface, Version=1.0.2741.16142, Culture=neutral">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.Mes.IBaseInterface.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.JGKC.TurnoffManager, Version=1.0.5917.30630, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.JGKC.TurnoffManager.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.JGKC.TurnoffSendManager, Version=1.0.6089.19144, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.JGKC.TurnoffSendManager.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.Print, Version=1.0.7935.27354, Culture=neutral, processorArchitecture=MSIL" />
+    <Reference Include="Core.XgMes.Client.StorageBase, Version=1.0.6073.33080, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.StorageBase.dll</HintPath>
+    </Reference>
+    <Reference Include="Core.XgMes.Client.TurnoffReport, Version=1.0.0.1, Culture=neutral, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\..\Client\Core.XgMes.Client.TurnoffReport.dll</HintPath>
+    </Reference>
+    <Reference Include="CrystalDecisions.CrystalReports.Engine, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="CrystalDecisions.ReportSource, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="CrystalDecisions.Shared, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="CrystalDecisions.Windows.Forms, Version=10.0.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" />
+    <Reference Include="Infragistics.Excel.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>C:\Program Files\Infragistics\NetAdvantage 2005 Volume 2\Windows Forms\Bin\Infragistics.Excel.v5.2.dll</HintPath>
+    </Reference>
+    <Reference Include="Infragistics.Shared.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.Misc.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinCalcManager.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinDataSource.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinEditors.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinGrid.ExcelExport.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinGrid.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinPrintPreviewDialog.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinSchedule.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinStatusBar.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinTabbedMdi.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinTabControl.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.UltraWinToolbars.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Infragistics.Win.v5.2, Version=5.2.20052.27, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" />
+    <Reference Include="Interop.Excel, Version=1.3.0.0, Culture=neutral">
+      <HintPath>..\..\BJ\Client\Interop.Excel.dll</HintPath>
+      <Private>False</Private>
+    </Reference>
+    <Reference Include="NPOI, Version=2.1.3.0, Culture=neutral, PublicKeyToken=0df73ec7942b34e1, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\BJ\Client\NPOI.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Drawing" />
+    <Reference Include="System.Windows.Forms" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Comm.cs" />
+    <Compile Include="FrmJBCB.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="FrmJBCB.Designer.cs">
+      <DependentUpon>FrmJBCB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="原料\Frm_StuffMove.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="原料\Frm_StuffReceive.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="成品\Frm_TurnoffManage.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="成品\Frm_TurnoffMove.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="成品\Frm_TurnoSendCan.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\CPButtressQuery.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\frmJBZKZH.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\frmJBZKZH.designer.cs">
+      <DependentUpon>frmJBZKZH.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\FrmPrint.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\TurnoffSendQueryJB.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\TurnoffSendQueryJB.designer.cs">
+      <DependentUpon>TurnoffSendQueryJB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\UCSendQueryJB.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="报表\UCSendQueryJB.designer.cs">
+      <DependentUpon>UCSendQueryJB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\UCSendStatJB.cs">
+      <SubType>UserControl</SubType>
+    </Compile>
+    <Compile Include="报表\UCSendStatJB.designer.cs">
+      <DependentUpon>UCSendStatJB.cs</DependentUpon>
+    </Compile>
+    <Compile Include="报表\YLButtressQuery.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="报表\YL_Buress.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="生产实绩\Frm_ProduceManage.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="生产实绩\Frm_ProduceTurnManage.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="计划\Frm_PlanDrawUp.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="计划\Frm_PlanTurnDrawUp.cs">
+      <SubType>Form</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="FrmJBCB.resx">
+      <SubType>Designer</SubType>
+      <DependentUpon>FrmJBCB.cs</DependentUpon>
+    </EmbeddedResource>
+    <EmbeddedResource Include="Properties\licenses.licx" />
+    <EmbeddedResource Include="原料\Frm_StuffMove.resx">
+      <DependentUpon>Frm_StuffMove.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="原料\Frm_StuffReceive.resx">
+      <DependentUpon>Frm_StuffReceive.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="成品\Frm_TurnoffManage.resx">
+      <DependentUpon>Frm_TurnoffManage.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="成品\Frm_TurnoffMove.resx">
+      <DependentUpon>Frm_TurnoffMove.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="成品\Frm_TurnoSendCan.resx">
+      <DependentUpon>Frm_TurnoSendCan.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\CPButtressQuery.resx">
+      <DependentUpon>CPButtressQuery.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\frmJBZKZH.resx">
+      <DependentUpon>frmJBZKZH.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\FrmPrint.resx">
+      <DependentUpon>FrmPrint.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\TurnoffSendQueryJB.resx">
+      <DependentUpon>TurnoffSendQueryJB.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\UCSendQueryJB.resx">
+      <DependentUpon>UCSendQueryJB.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\UCSendStatJB.resx">
+      <DependentUpon>UCSendStatJB.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\YLButtressQuery.resx">
+      <DependentUpon>YLButtressQuery.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="报表\YL_Buress.resx">
+      <DependentUpon>YL_Buress.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="生产实绩\Frm_ProduceManage.resx">
+      <DependentUpon>Frm_ProduceManage.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="生产实绩\Frm_ProduceTurnManage.resx">
+      <DependentUpon>Frm_ProduceTurnManage.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="计划\Frm_PlanDrawUp.resx">
+      <DependentUpon>Frm_PlanDrawUp.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+    <EmbeddedResource Include="计划\Frm_PlanTurnDrawUp.resx">
+      <DependentUpon>Frm_PlanTurnDrawUp.cs</DependentUpon>
+      <SubType>Designer</SubType>
+    </EmbeddedResource>
+  </ItemGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

BIN
Client/.svn/pristine/6f/6f6337e3163b96a4215cfb612f87931fea4ce121.svn-base


BIN
Client/.svn/pristine/70/700733c72c15089207c40e1103b0997c41b262c5.svn-base


BIN
Client/.svn/pristine/72/727e4bbaa41c75ddf53b36bf5320dbec52e5a2a3.svn-base


+ 123 - 0
Client/.svn/pristine/72/72f3380ce1d3c445d72abcd4ffd6e569a7bfea9f.svn-base

@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+</root>

+ 2914 - 0
Client/.svn/pristine/76/764fb249dea84dc8f3a975fd9beb1506db73d7ff.svn-base

@@ -0,0 +1,2914 @@
+using System;
+using System.Drawing;
+using System.Collections;
+using System.ComponentModel;
+using System.Windows.Forms;
+using Core.Mes.ClientFrameWork;
+using Core.Mes.IBaseInterface;
+using System.Data;
+
+namespace Core.XgMes.Client.JGKC.RollManager
+{
+    /// <summary>
+    /// Frm_TurnoffManage 的摘要说明。
+    /// </summary>
+    public class Frm_TurnoffManage : Mes.ClientFrameWork.FrmBase
+    {
+        private System.Windows.Forms.Panel panel1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
+        private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBox ultraExpandableGroupBox1;
+        private Infragistics.Win.Misc.UltraExpandableGroupBoxPanel ultraExpandableGroupBoxPanel1;
+        private System.Windows.Forms.Panel panel2;
+        private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_SelectAll;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangP;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PlanID;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactID;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_OrderNO;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_OrderNO;
+        private Infragistics.Win.Misc.UltraLabel Lab_To;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CollectTime;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Press;
+        private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turan;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel11;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PaiHao;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel9;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Width;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Length;
+        private Infragistics.Win.Misc.UltraLabel lab_cd;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Ply;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel12;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel7;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel6;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel4;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel8;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_BugReaSon;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel25;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel2;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel3;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangpeiH;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel1;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_End_Y;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Begin_Y;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scid_Top_Y;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel5;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_TiShi;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_RollHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BanHao;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PiHao;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Buress;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassStream;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ClassOreder;
+        private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_Num;
+        private Infragistics.Win.Misc.UltraButton Btn_Turn;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_BNumber;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_Time;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PiHao_Begin;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Pihao_Top;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_PIhao_End;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor ultraCheckEditor1;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_QuYu;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_BeginTime;
+        private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor dte_EndTime;
+        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel13;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ReMark;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_ProcL;
+        private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ProcLine;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Plact;
+        private Infragistics.Win.UltraWinDataSource.UltraDataSource ultraDataSource1;
+        private Infragistics.Win.UltraWinGrid.UltraCombo txt_ZHPD;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_area;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
+        private Infragistics.Win.Misc.UltraLabel ultraLabel15;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Gylx;
+        private Infragistics.Win.UltraWinGrid.UltraCombo cmb_plid;
+        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Seq;
+        private System.ComponentModel.IContainer components;
+
+        public Frm_TurnoffManage()
+        {
+            //
+            // Windows 窗体设计器支持所必需的
+            //
+            InitializeComponent();
+
+            //
+            // TODO: 在 InitializeComponent 调用后添加任何构造函数代码
+            //
+        }
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing)
+            {
+                if (components != null)
+                {
+                    components.Dispose();
+                }
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要使用代码编辑器修改
+        /// 此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.components = new System.ComponentModel.Container();
+            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("工具栏");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ADD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REF");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Close");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QUERY");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("ADD");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("TO_EXCEL");
+            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("REF");
+            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOCKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
+            Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
+            Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance17 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance18 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance19 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance20 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance21 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance22 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance23 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance24 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance25 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance26 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance27 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance28 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance29 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance30 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance31 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance32 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance33 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance34 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance35 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance36 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance37 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance38 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance39 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance40 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SHIP_INVNO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DEVLMT_DTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WORKORDER_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PCTIME");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TURNOFFCOLLECT_LOG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("FLAG");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STCOKTYPE");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_USE_CD");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYLX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("DETERMINANTRESULT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GZQX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("GYQX");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn66 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn67 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO", 0);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn68 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER", 1);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn69 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN", 2);
+            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn70 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER", 3);
+            Infragistics.Win.Appearance appearance41 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 9, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 9, true);
+            Infragistics.Win.Appearance appearance42 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
+            Infragistics.Win.Appearance appearance43 = new Infragistics.Win.Appearance();
+            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, "", "XJJL_WEIGHT", 33, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, null, -1, false);
+            Infragistics.Win.Appearance appearance44 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance45 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance46 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance47 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance48 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance49 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance50 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance51 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance52 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance53 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance54 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance55 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance56 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance57 = new Infragistics.Win.Appearance();
+            Infragistics.Win.Appearance appearance58 = new Infragistics.Win.Appearance();
+            this.panel1 = new System.Windows.Forms.Panel();
+            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
+            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
+            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.cmb_ProcL = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.chk_ProcLine = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.cmb_QuYu = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraCheckEditor1 = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PIhao_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Pihao_Top = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_BNumber = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BNumber = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PiHao_Begin = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PiHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_SelectAll = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_GangP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_BanHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_RollHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_RollHao = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_PlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_PactID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.txt_OrderNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.chk_OrderNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
+            this.chk_CollectTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
+            this.ultraExpandableGroupBox1 = new Infragistics.Win.Misc.UltraExpandableGroupBox();
+            this.ultraExpandableGroupBoxPanel1 = new Infragistics.Win.Misc.UltraExpandableGroupBoxPanel();
+            this.gb_Press = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.panel2 = new System.Windows.Forms.Panel();
+            this.txt_Seq = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.cmb_plid = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.cmb_Gylx = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_area = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_ZHPD = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.txt_Plact = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_ReMark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
+            this.dte_Time = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
+            this.Btn_Turn = new Infragistics.Win.Misc.UltraButton();
+            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_PaiHao = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Num = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Width = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.txt_Length = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.lab_cd = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Ply = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
+            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassStream = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_ClassOreder = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_Buress = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
+            this.cmb_BugReaSon = new Infragistics.Win.UltraWinGrid.UltraCombo();
+            this.ultraLabel25 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
+            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_GangpeiH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_Scid_End_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Begin_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.txt_Scid_Top_Y = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
+            this.txt_TiShi = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
+            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
+            this.gb_Turan = new Infragistics.Win.UltraWinGrid.UltraGrid();
+            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
+            this.ultraDataSource1 = new Infragistics.Win.UltraWinDataSource.UltraDataSource();
+            this.panel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
+            this.ultraGroupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PIhao_End)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao_Top)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao_Begin)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).BeginInit();
+            this.ultraExpandableGroupBox1.SuspendLayout();
+            this.ultraExpandableGroupBoxPanel1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).BeginInit();
+            this.panel2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Seq)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_plid)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_area)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZHPD)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PaiHao)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStream)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOreder)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_TiShi)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
+            this.ultraGroupBox2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turan)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // panel1
+            // 
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
+            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
+            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.panel1.Location = new System.Drawing.Point(0, 0);
+            this.panel1.Name = "panel1";
+            this.panel1.Size = new System.Drawing.Size(968, 28);
+            this.panel1.TabIndex = 0;
+            // 
+            // _panel1_Toolbars_Dock_Area_Left
+            // 
+            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
+            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 24);
+            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
+            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 4);
+            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraToolbarsManager1
+            // 
+            this.ultraToolbarsManager1.DesignerFlags = 1;
+            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
+            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
+            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.Office2000;
+            ultraToolbar1.DockedColumn = 0;
+            ultraToolbar1.DockedRow = 0;
+            ultraToolbar1.Text = "工具栏";
+            buttonTool1.InstanceProps.IsFirstInGroup = true;
+            buttonTool2.InstanceProps.IsFirstInGroup = true;
+            buttonTool4.InstanceProps.IsFirstInGroup = true;
+            buttonTool5.InstanceProps.IsFirstInGroup = true;
+            buttonTool6.InstanceProps.IsFirstInGroup = true;
+            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool1,
+            buttonTool2,
+            buttonTool3,
+            buttonTool4,
+            buttonTool5,
+            buttonTool6});
+            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
+            ultraToolbar1});
+            this.ultraToolbarsManager1.ToolbarSettings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
+            buttonTool7.SharedProps.Caption = "关闭";
+            buttonTool7.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool8.SharedProps.Caption = "查询";
+            buttonTool8.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool9.SharedProps.Caption = "登记";
+            buttonTool9.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool10.SharedProps.Caption = "撤销";
+            buttonTool10.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool11.SharedProps.Caption = "导出";
+            buttonTool11.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            buttonTool12.SharedProps.Caption = "刷新成品收集槽";
+            buttonTool12.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
+            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
+            buttonTool7,
+            buttonTool8,
+            buttonTool9,
+            buttonTool10,
+            buttonTool11,
+            buttonTool12});
+            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
+            // 
+            // _panel1_Toolbars_Dock_Area_Right
+            // 
+            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
+            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(968, 24);
+            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
+            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 4);
+            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Top
+            // 
+            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
+            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
+            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
+            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(968, 24);
+            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // _panel1_Toolbars_Dock_Area_Bottom
+            // 
+            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
+            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
+            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
+            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
+            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 28);
+            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
+            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(968, 0);
+            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
+            // 
+            // ultraGroupBox1
+            // 
+            this.ultraGroupBox1.Controls.Add(this.cmb_ProcL);
+            this.ultraGroupBox1.Controls.Add(this.chk_ProcLine);
+            this.ultraGroupBox1.Controls.Add(this.dte_EndTime);
+            this.ultraGroupBox1.Controls.Add(this.dte_BeginTime);
+            this.ultraGroupBox1.Controls.Add(this.cmb_QuYu);
+            this.ultraGroupBox1.Controls.Add(this.ultraCheckEditor1);
+            this.ultraGroupBox1.Controls.Add(this.txt_PIhao_End);
+            this.ultraGroupBox1.Controls.Add(this.txt_Pihao_Top);
+            this.ultraGroupBox1.Controls.Add(this.txt_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.chk_BNumber);
+            this.ultraGroupBox1.Controls.Add(this.txt_PiHao_Begin);
+            this.ultraGroupBox1.Controls.Add(this.chk_PiHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_SelectAll);
+            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
+            this.ultraGroupBox1.Controls.Add(this.txt_GangP);
+            this.ultraGroupBox1.Controls.Add(this.chk_BanHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.chk_RollHao);
+            this.ultraGroupBox1.Controls.Add(this.txt_PlanID);
+            this.ultraGroupBox1.Controls.Add(this.chk_PactID);
+            this.ultraGroupBox1.Controls.Add(this.txt_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.chk_OrderNO);
+            this.ultraGroupBox1.Controls.Add(this.Lab_To);
+            this.ultraGroupBox1.Controls.Add(this.chk_CollectTime);
+            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 28);
+            this.ultraGroupBox1.Name = "ultraGroupBox1";
+            this.ultraGroupBox1.Size = new System.Drawing.Size(968, 56);
+            this.ultraGroupBox1.SupportThemes = false;
+            this.ultraGroupBox1.TabIndex = 1;
+            // 
+            // cmb_ProcL
+            // 
+            this.cmb_ProcL.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ProcL.DisplayMember = "";
+            this.cmb_ProcL.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
+            this.cmb_ProcL.Enabled = false;
+            this.cmb_ProcL.FlatMode = true;
+            this.cmb_ProcL.Location = new System.Drawing.Point(794, 30);
+            this.cmb_ProcL.Name = "cmb_ProcL";
+            this.cmb_ProcL.Size = new System.Drawing.Size(90, 19);
+            this.cmb_ProcL.TabIndex = 281;
+            this.cmb_ProcL.Tag = "";
+            this.cmb_ProcL.ValueMember = "";
+            // 
+            // chk_ProcLine
+            // 
+            this.chk_ProcLine.Location = new System.Drawing.Point(732, 32);
+            this.chk_ProcLine.Name = "chk_ProcLine";
+            this.chk_ProcLine.Size = new System.Drawing.Size(64, 16);
+            this.chk_ProcLine.TabIndex = 280;
+            this.chk_ProcLine.TabStop = false;
+            this.chk_ProcLine.Text = "产线";
+            this.chk_ProcLine.CheckedChanged += new System.EventHandler(this.chk_ProcLine_CheckedChanged);
+            // 
+            // dte_EndTime
+            // 
+            this.dte_EndTime.Enabled = false;
+            this.dte_EndTime.FlatMode = true;
+            this.dte_EndTime.Location = new System.Drawing.Point(70, 30);
+            this.dte_EndTime.Name = "dte_EndTime";
+            this.dte_EndTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_EndTime.TabIndex = 279;
+            // 
+            // dte_BeginTime
+            // 
+            this.dte_BeginTime.Enabled = false;
+            this.dte_BeginTime.FlatMode = true;
+            this.dte_BeginTime.Location = new System.Drawing.Point(70, 8);
+            this.dte_BeginTime.Name = "dte_BeginTime";
+            this.dte_BeginTime.Size = new System.Drawing.Size(116, 19);
+            this.dte_BeginTime.TabIndex = 278;
+            // 
+            // cmb_QuYu
+            // 
+            this.cmb_QuYu.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            appearance1.BackColor = System.Drawing.SystemColors.Window;
+            appearance1.BorderColor = System.Drawing.SystemColors.InactiveCaption;
+            this.cmb_QuYu.DisplayLayout.Appearance = appearance1;
+            this.cmb_QuYu.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            this.cmb_QuYu.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance2.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance2.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance2.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance2.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.Appearance = appearance2;
+            appearance3.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BandLabelAppearance = appearance3;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
+            appearance4.BackColor = System.Drawing.SystemColors.ControlLightLight;
+            appearance4.BackColor2 = System.Drawing.SystemColors.Control;
+            appearance4.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance4.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.cmb_QuYu.DisplayLayout.GroupByBox.PromptAppearance = appearance4;
+            this.cmb_QuYu.DisplayLayout.MaxColScrollRegions = 1;
+            this.cmb_QuYu.DisplayLayout.MaxRowScrollRegions = 1;
+            appearance5.BackColor = System.Drawing.SystemColors.Window;
+            appearance5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveCellAppearance = appearance5;
+            appearance6.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance6.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.cmb_QuYu.DisplayLayout.Override.ActiveRowAppearance = appearance6;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
+            this.cmb_QuYu.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
+            appearance7.BackColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.CardAreaAppearance = appearance7;
+            appearance8.BorderColor = System.Drawing.Color.Silver;
+            appearance8.TextTrimming = Infragistics.Win.TextTrimming.EllipsisCharacter;
+            this.cmb_QuYu.DisplayLayout.Override.CellAppearance = appearance8;
+            this.cmb_QuYu.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.cmb_QuYu.DisplayLayout.Override.CellPadding = 0;
+            appearance9.BackColor = System.Drawing.SystemColors.Control;
+            appearance9.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance9.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance9.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance9.BorderColor = System.Drawing.SystemColors.Window;
+            this.cmb_QuYu.DisplayLayout.Override.GroupByRowAppearance = appearance9;
+            appearance10.TextHAlign = Infragistics.Win.HAlign.Left;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderAppearance = appearance10;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.cmb_QuYu.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
+            appearance11.BackColor = System.Drawing.SystemColors.Window;
+            appearance11.BorderColor = System.Drawing.Color.Silver;
+            this.cmb_QuYu.DisplayLayout.Override.RowAppearance = appearance11;
+            this.cmb_QuYu.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
+            appearance12.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.cmb_QuYu.DisplayLayout.Override.TemplateAddRowAppearance = appearance12;
+            this.cmb_QuYu.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.cmb_QuYu.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.cmb_QuYu.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.cmb_QuYu.DisplayMember = "";
+            this.cmb_QuYu.Enabled = false;
+            this.cmb_QuYu.FlatMode = true;
+            this.cmb_QuYu.Location = new System.Drawing.Point(640, 30);
+            this.cmb_QuYu.Name = "cmb_QuYu";
+            this.cmb_QuYu.Size = new System.Drawing.Size(86, 19);
+            this.cmb_QuYu.TabIndex = 277;
+            this.cmb_QuYu.TabStop = false;
+            this.cmb_QuYu.ValueMember = "";
+            // 
+            // ultraCheckEditor1
+            // 
+            this.ultraCheckEditor1.Location = new System.Drawing.Point(580, 32);
+            this.ultraCheckEditor1.Name = "ultraCheckEditor1";
+            this.ultraCheckEditor1.Size = new System.Drawing.Size(52, 16);
+            this.ultraCheckEditor1.TabIndex = 276;
+            this.ultraCheckEditor1.TabStop = false;
+            this.ultraCheckEditor1.Text = "区域";
+            this.ultraCheckEditor1.CheckedChanged += new System.EventHandler(this.ultraCheckEditor1_CheckedChanged);
+            // 
+            // txt_PIhao_End
+            // 
+            this.txt_PIhao_End.AutoSize = true;
+            this.txt_PIhao_End.Enabled = false;
+            this.txt_PIhao_End.FlatMode = true;
+            this.txt_PIhao_End.Location = new System.Drawing.Point(545, 30);
+            this.txt_PIhao_End.Name = "txt_PIhao_End";
+            this.txt_PIhao_End.Size = new System.Drawing.Size(29, 19);
+            this.txt_PIhao_End.TabIndex = 275;
+            this.txt_PIhao_End.TabStop = false;
+            this.txt_PIhao_End.Tag = "";
+            // 
+            // txt_Pihao_Top
+            // 
+            this.txt_Pihao_Top.AutoSize = true;
+            this.txt_Pihao_Top.Enabled = false;
+            this.txt_Pihao_Top.FlatMode = true;
+            this.txt_Pihao_Top.Location = new System.Drawing.Point(456, 30);
+            this.txt_Pihao_Top.Name = "txt_Pihao_Top";
+            this.txt_Pihao_Top.Size = new System.Drawing.Size(90, 19);
+            this.txt_Pihao_Top.TabIndex = 274;
+            this.txt_Pihao_Top.TabStop = false;
+            this.txt_Pihao_Top.Tag = "";
+            // 
+            // txt_BNumber
+            // 
+            this.txt_BNumber.AutoSize = true;
+            this.txt_BNumber.Enabled = false;
+            this.txt_BNumber.FlatMode = true;
+            this.txt_BNumber.Location = new System.Drawing.Point(794, 6);
+            this.txt_BNumber.Name = "txt_BNumber";
+            this.txt_BNumber.Size = new System.Drawing.Size(90, 19);
+            this.txt_BNumber.TabIndex = 273;
+            this.txt_BNumber.TabStop = false;
+            this.txt_BNumber.Tag = "";
+            // 
+            // chk_BNumber
+            // 
+            this.chk_BNumber.Location = new System.Drawing.Point(732, 10);
+            this.chk_BNumber.Name = "chk_BNumber";
+            this.chk_BNumber.Size = new System.Drawing.Size(48, 16);
+            this.chk_BNumber.TabIndex = 272;
+            this.chk_BNumber.TabStop = false;
+            this.chk_BNumber.Text = "批号";
+            this.chk_BNumber.CheckedChanged += new System.EventHandler(this.chk_BNumber_CheckedChanged);
+            // 
+            // txt_PiHao_Begin
+            // 
+            this.txt_PiHao_Begin.AutoSize = true;
+            this.txt_PiHao_Begin.Enabled = false;
+            this.txt_PiHao_Begin.FlatMode = true;
+            this.txt_PiHao_Begin.Location = new System.Drawing.Point(430, 30);
+            this.txt_PiHao_Begin.Name = "txt_PiHao_Begin";
+            this.txt_PiHao_Begin.Size = new System.Drawing.Size(26, 19);
+            this.txt_PiHao_Begin.TabIndex = 269;
+            this.txt_PiHao_Begin.TabStop = false;
+            this.txt_PiHao_Begin.Tag = "";
+            // 
+            // chk_PiHao
+            // 
+            this.chk_PiHao.Location = new System.Drawing.Point(358, 32);
+            this.chk_PiHao.Name = "chk_PiHao";
+            this.chk_PiHao.Size = new System.Drawing.Size(72, 16);
+            this.chk_PiHao.TabIndex = 268;
+            this.chk_PiHao.TabStop = false;
+            this.chk_PiHao.Text = "卷板包号";
+            this.chk_PiHao.CheckedChanged += new System.EventHandler(this.chk_PiHao_CheckedChanged);
+            // 
+            // chk_SelectAll
+            // 
+            this.chk_SelectAll.FlatMode = true;
+            this.chk_SelectAll.Location = new System.Drawing.Point(892, 30);
+            this.chk_SelectAll.Name = "chk_SelectAll";
+            this.chk_SelectAll.Size = new System.Drawing.Size(50, 16);
+            this.chk_SelectAll.TabIndex = 267;
+            this.chk_SelectAll.Text = "全选";
+            this.chk_SelectAll.CheckedChanged += new System.EventHandler(this.chk_SelectAll_CheckedChanged);
+            // 
+            // chk_AllowFilter
+            // 
+            this.chk_AllowFilter.Location = new System.Drawing.Point(892, 4);
+            this.chk_AllowFilter.Name = "chk_AllowFilter";
+            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
+            this.chk_AllowFilter.TabIndex = 266;
+            this.chk_AllowFilter.TabStop = false;
+            this.chk_AllowFilter.Text = "过滤";
+            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
+            // 
+            // txt_GangP
+            // 
+            this.txt_GangP.AutoSize = true;
+            this.txt_GangP.Enabled = false;
+            this.txt_GangP.FlatMode = true;
+            this.txt_GangP.Location = new System.Drawing.Point(640, 8);
+            this.txt_GangP.Name = "txt_GangP";
+            this.txt_GangP.Size = new System.Drawing.Size(86, 19);
+            this.txt_GangP.TabIndex = 265;
+            this.txt_GangP.TabStop = false;
+            this.txt_GangP.Tag = "";
+            // 
+            // chk_BanHao
+            // 
+            this.chk_BanHao.Location = new System.Drawing.Point(580, 10);
+            this.chk_BanHao.Name = "chk_BanHao";
+            this.chk_BanHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_BanHao.TabIndex = 264;
+            this.chk_BanHao.TabStop = false;
+            this.chk_BanHao.Text = "板坯号";
+            this.chk_BanHao.CheckedChanged += new System.EventHandler(this.chk_BanHao_CheckedChanged);
+            // 
+            // txt_RollHao
+            // 
+            this.txt_RollHao.AutoSize = true;
+            this.txt_RollHao.Enabled = false;
+            this.txt_RollHao.FlatMode = true;
+            this.txt_RollHao.Location = new System.Drawing.Point(430, 8);
+            this.txt_RollHao.Name = "txt_RollHao";
+            this.txt_RollHao.Size = new System.Drawing.Size(144, 19);
+            this.txt_RollHao.TabIndex = 263;
+            this.txt_RollHao.TabStop = false;
+            this.txt_RollHao.Tag = "";
+            // 
+            // chk_RollHao
+            // 
+            this.chk_RollHao.Location = new System.Drawing.Point(358, 12);
+            this.chk_RollHao.Name = "chk_RollHao";
+            this.chk_RollHao.Size = new System.Drawing.Size(60, 16);
+            this.chk_RollHao.TabIndex = 262;
+            this.chk_RollHao.TabStop = false;
+            this.chk_RollHao.Text = "钢卷号";
+            this.chk_RollHao.CheckedChanged += new System.EventHandler(this.chk_RollHao_CheckedChanged);
+            // 
+            // txt_PlanID
+            // 
+            this.txt_PlanID.AutoSize = true;
+            this.txt_PlanID.Enabled = false;
+            this.txt_PlanID.FlatMode = true;
+            this.txt_PlanID.Location = new System.Drawing.Point(248, 30);
+            this.txt_PlanID.Name = "txt_PlanID";
+            this.txt_PlanID.Size = new System.Drawing.Size(104, 19);
+            this.txt_PlanID.TabIndex = 261;
+            this.txt_PlanID.TabStop = false;
+            this.txt_PlanID.Tag = "";
+            // 
+            // chk_PactID
+            // 
+            this.chk_PactID.Location = new System.Drawing.Point(190, 34);
+            this.chk_PactID.Name = "chk_PactID";
+            this.chk_PactID.Size = new System.Drawing.Size(60, 16);
+            this.chk_PactID.TabIndex = 260;
+            this.chk_PactID.TabStop = false;
+            this.chk_PactID.Text = "合同号";
+            this.chk_PactID.CheckedChanged += new System.EventHandler(this.chk_PactID_CheckedChanged);
+            // 
+            // txt_OrderNO
+            // 
+            this.txt_OrderNO.AutoSize = true;
+            this.txt_OrderNO.Enabled = false;
+            this.txt_OrderNO.FlatMode = true;
+            this.txt_OrderNO.Location = new System.Drawing.Point(248, 8);
+            this.txt_OrderNO.Name = "txt_OrderNO";
+            this.txt_OrderNO.Size = new System.Drawing.Size(104, 19);
+            this.txt_OrderNO.TabIndex = 259;
+            this.txt_OrderNO.TabStop = false;
+            this.txt_OrderNO.Tag = "";
+            // 
+            // chk_OrderNO
+            // 
+            this.chk_OrderNO.Location = new System.Drawing.Point(190, 12);
+            this.chk_OrderNO.Name = "chk_OrderNO";
+            this.chk_OrderNO.Size = new System.Drawing.Size(60, 16);
+            this.chk_OrderNO.TabIndex = 258;
+            this.chk_OrderNO.TabStop = false;
+            this.chk_OrderNO.Text = "订单号";
+            this.chk_OrderNO.CheckedChanged += new System.EventHandler(this.chk_OrderNO_CheckedChanged);
+            // 
+            // Lab_To
+            // 
+            this.Lab_To.FlatMode = true;
+            this.Lab_To.Location = new System.Drawing.Point(48, 32);
+            this.Lab_To.Name = "Lab_To";
+            this.Lab_To.Size = new System.Drawing.Size(17, 16);
+            this.Lab_To.TabIndex = 257;
+            this.Lab_To.Text = "到";
+            // 
+            // chk_CollectTime
+            // 
+            this.chk_CollectTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
+            this.chk_CollectTime.Location = new System.Drawing.Point(20, 10);
+            this.chk_CollectTime.Name = "chk_CollectTime";
+            this.chk_CollectTime.Size = new System.Drawing.Size(48, 16);
+            this.chk_CollectTime.TabIndex = 256;
+            this.chk_CollectTime.TabStop = false;
+            this.chk_CollectTime.Text = "时间";
+            this.chk_CollectTime.CheckedChanged += new System.EventHandler(this.chk_CollectTime_CheckedChanged);
+            // 
+            // ultraExpandableGroupBox1
+            // 
+            this.ultraExpandableGroupBox1.Controls.Add(this.ultraExpandableGroupBoxPanel1);
+            this.ultraExpandableGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+            this.ultraExpandableGroupBox1.ExpandedSize = new System.Drawing.Size(0, 0);
+            this.ultraExpandableGroupBox1.Location = new System.Drawing.Point(0, 84);
+            this.ultraExpandableGroupBox1.Name = "ultraExpandableGroupBox1";
+            this.ultraExpandableGroupBox1.Size = new System.Drawing.Size(968, 206);
+            this.ultraExpandableGroupBox1.SupportThemes = false;
+            this.ultraExpandableGroupBox1.TabIndex = 2;
+            this.ultraExpandableGroupBox1.Text = "编辑区";
+            // 
+            // ultraExpandableGroupBoxPanel1
+            // 
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.gb_Press);
+            this.ultraExpandableGroupBoxPanel1.Controls.Add(this.panel2);
+            this.ultraExpandableGroupBoxPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraExpandableGroupBoxPanel1.Location = new System.Drawing.Point(3, 19);
+            this.ultraExpandableGroupBoxPanel1.Name = "ultraExpandableGroupBoxPanel1";
+            this.ultraExpandableGroupBoxPanel1.Size = new System.Drawing.Size(962, 184);
+            this.ultraExpandableGroupBoxPanel1.TabIndex = 0;
+            // 
+            // gb_Press
+            // 
+            appearance13.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Press.DisplayLayout.Appearance = appearance13;
+            ultraGridColumn1.Header.Caption = "出库单号";
+            ultraGridColumn1.Header.VisiblePosition = 0;
+            ultraGridColumn1.Hidden = true;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn2.Header.Caption = "钢卷号";
+            ultraGridColumn2.Header.VisiblePosition = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn3.Header.Caption = "板坯号";
+            ultraGridColumn3.Header.VisiblePosition = 2;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn4.Header.Caption = "合同号";
+            ultraGridColumn4.Header.VisiblePosition = 3;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn5.Header.Caption = "订单号";
+            ultraGridColumn5.Header.VisiblePosition = 4;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn6.Header.Caption = "交货期";
+            ultraGridColumn6.Header.VisiblePosition = 5;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn7.Header.Caption = "厚度";
+            ultraGridColumn7.Header.VisiblePosition = 6;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn8.Header.Caption = "宽度";
+            ultraGridColumn8.Header.VisiblePosition = 7;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn9.Header.Caption = "长度";
+            ultraGridColumn9.Header.VisiblePosition = 8;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn10.Header.Caption = "重量";
+            ultraGridColumn10.Header.VisiblePosition = 9;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn11.Header.Caption = "数量";
+            ultraGridColumn11.Header.VisiblePosition = 10;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn12.Header.Caption = "牌号";
+            ultraGridColumn12.Header.VisiblePosition = 11;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn13.Header.Caption = "综合判定";
+            ultraGridColumn13.Header.VisiblePosition = 12;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn14.Header.Caption = "特记事项";
+            ultraGridColumn14.Header.VisiblePosition = 13;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn15.Header.Caption = "车辆号";
+            ultraGridColumn15.Header.VisiblePosition = 14;
+            ultraGridColumn15.Hidden = true;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn16.Header.Caption = "质保书编号";
+            ultraGridColumn16.Header.VisiblePosition = 15;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn17.Header.Caption = "垛位";
+            ultraGridColumn17.Header.VisiblePosition = 16;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn18.Header.Caption = "登记人";
+            ultraGridColumn18.Header.VisiblePosition = 17;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn19.Header.Caption = "登记时间";
+            ultraGridColumn19.Header.VisiblePosition = 18;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 28;
+            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn20.Header.Caption = "生产班次";
+            ultraGridColumn20.Header.VisiblePosition = 19;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(8, 0);
+            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn21.Header.Caption = "生产班组";
+            ultraGridColumn21.Header.VisiblePosition = 20;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn21.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn22.Header.Caption = "工单号";
+            ultraGridColumn22.Header.VisiblePosition = 21;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn22.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn23.Header.Caption = "卷板包号";
+            ultraGridColumn23.Header.VisiblePosition = 23;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn23.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(107, 0);
+            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn24.Header.Caption = "生产时间";
+            ultraGridColumn24.Header.VisiblePosition = 22;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn24.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn25.Header.VisiblePosition = 24;
+            ultraGridColumn25.Hidden = true;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn26.Header.Caption = "表面缺陷";
+            ultraGridColumn26.Header.VisiblePosition = 25;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn27.Header.Caption = "工艺类型";
+            ultraGridColumn27.Header.VisiblePosition = 26;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn28.Header.Caption = "产线";
+            ultraGridColumn28.Header.VisiblePosition = 28;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn29.Header.Caption = "小件计量";
+            ultraGridColumn29.Header.VisiblePosition = 29;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(112, 0);
+            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn30.Header.Caption = "炉号";
+            ultraGridColumn30.Header.VisiblePosition = 27;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn30.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
+            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn31.Header.Caption = "批号";
+            ultraGridColumn31.Header.VisiblePosition = 30;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(93, 0);
+            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn32.Header.Caption = "执行标准";
+            ultraGridColumn32.Header.VisiblePosition = 31;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand1.Columns.AddRange(new object[] {
+            ultraGridColumn1,
+            ultraGridColumn2,
+            ultraGridColumn3,
+            ultraGridColumn4,
+            ultraGridColumn5,
+            ultraGridColumn6,
+            ultraGridColumn7,
+            ultraGridColumn8,
+            ultraGridColumn9,
+            ultraGridColumn10,
+            ultraGridColumn11,
+            ultraGridColumn12,
+            ultraGridColumn13,
+            ultraGridColumn14,
+            ultraGridColumn15,
+            ultraGridColumn16,
+            ultraGridColumn17,
+            ultraGridColumn18,
+            ultraGridColumn19,
+            ultraGridColumn20,
+            ultraGridColumn21,
+            ultraGridColumn22,
+            ultraGridColumn23,
+            ultraGridColumn24,
+            ultraGridColumn25,
+            ultraGridColumn26,
+            ultraGridColumn27,
+            ultraGridColumn28,
+            ultraGridColumn29,
+            ultraGridColumn30,
+            ultraGridColumn31,
+            ultraGridColumn32});
+            appearance14.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand1.Header.Appearance = appearance14;
+            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings1.DisplayFormat = "{0}块";
+            summarySettings1.GroupBySummaryValueAppearance = appearance15;
+            summarySettings2.DisplayFormat = "{0}吨";
+            summarySettings2.GroupBySummaryValueAppearance = appearance16;
+            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings1,
+            summarySettings2});
+            ultraGridBand1.UseRowLayout = true;
+            this.gb_Press.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
+            this.gb_Press.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance17.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance17.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance17.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance17.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Press.DisplayLayout.GroupByBox.Appearance = appearance17;
+            appearance18.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Press.DisplayLayout.GroupByBox.BandLabelAppearance = appearance18;
+            this.gb_Press.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Press.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance19.BackColor = System.Drawing.SystemColors.Window;
+            appearance19.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Press.DisplayLayout.Override.ActiveCellAppearance = appearance19;
+            appearance20.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance20.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Press.DisplayLayout.Override.ActiveRowAppearance = appearance20;
+            appearance21.BorderColor = System.Drawing.Color.Black;
+            appearance21.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.CellAppearance = appearance21;
+            this.gb_Press.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Press.DisplayLayout.Override.CellPadding = 0;
+            appearance22.BackColor = System.Drawing.SystemColors.Control;
+            appearance22.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance22.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance22.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance22.BorderColor = System.Drawing.SystemColors.Window;
+            appearance22.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance22.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.GroupByRowAppearance = appearance22;
+            this.gb_Press.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance23.BackColor = System.Drawing.Color.Silver;
+            this.gb_Press.DisplayLayout.Override.HeaderAppearance = appearance23;
+            this.gb_Press.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Press.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance24.BackColor = System.Drawing.SystemColors.Window;
+            appearance24.BorderColor = System.Drawing.Color.Black;
+            appearance24.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.RowAppearance = appearance24;
+            appearance25.BackColor = System.Drawing.SystemColors.Window;
+            appearance25.BorderColor = System.Drawing.Color.Black;
+            appearance25.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.RowPreviewAppearance = appearance25;
+            this.gb_Press.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Press.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Press.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance26.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance26.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.SelectedRowAppearance = appearance26;
+            this.gb_Press.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance27.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterAppearance = appearance27;
+            appearance28.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance28.ForeColor = System.Drawing.Color.Red;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance28;
+            this.gb_Press.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance29.BackColor = System.Drawing.Color.MistyRose;
+            appearance29.ForeColor = System.Drawing.Color.Blue;
+            appearance29.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance29.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Press.DisplayLayout.Override.SummaryValueAppearance = appearance29;
+            appearance30.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Press.DisplayLayout.Override.TemplateAddRowAppearance = appearance30;
+            this.gb_Press.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Press.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Press.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Press.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Press.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gb_Press.Location = new System.Drawing.Point(629, 0);
+            this.gb_Press.Name = "gb_Press";
+            this.gb_Press.Size = new System.Drawing.Size(333, 184);
+            this.gb_Press.TabIndex = 15;
+            this.gb_Press.Text = "ultraGrid1";
+            this.gb_Press.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.gb_Press_DoubleClickRow);
+            // 
+            // panel2
+            // 
+            this.panel2.Controls.Add(this.txt_Seq);
+            this.panel2.Controls.Add(this.cmb_plid);
+            this.panel2.Controls.Add(this.cmb_Gylx);
+            this.panel2.Controls.Add(this.ultraLabel16);
+            this.panel2.Controls.Add(this.ultraLabel15);
+            this.panel2.Controls.Add(this.cmb_area);
+            this.panel2.Controls.Add(this.ultraLabel14);
+            this.panel2.Controls.Add(this.txt_ZHPD);
+            this.panel2.Controls.Add(this.txt_Plact);
+            this.panel2.Controls.Add(this.txt_ReMark);
+            this.panel2.Controls.Add(this.ultraLabel13);
+            this.panel2.Controls.Add(this.dte_Time);
+            this.panel2.Controls.Add(this.Btn_Turn);
+            this.panel2.Controls.Add(this.ultraLabel11);
+            this.panel2.Controls.Add(this.txt_PaiHao);
+            this.panel2.Controls.Add(this.txt_Num);
+            this.panel2.Controls.Add(this.ultraLabel9);
+            this.panel2.Controls.Add(this.txt_WEIGHT);
+            this.panel2.Controls.Add(this.ultraLabel10);
+            this.panel2.Controls.Add(this.txt_Width);
+            this.panel2.Controls.Add(this.txt_Length);
+            this.panel2.Controls.Add(this.lab_cd);
+            this.panel2.Controls.Add(this.ultraLabel17);
+            this.panel2.Controls.Add(this.txt_Ply);
+            this.panel2.Controls.Add(this.ultraLabel12);
+            this.panel2.Controls.Add(this.ultraLabel20);
+            this.panel2.Controls.Add(this.cmb_ClassStream);
+            this.panel2.Controls.Add(this.ultraLabel7);
+            this.panel2.Controls.Add(this.cmb_ClassOreder);
+            this.panel2.Controls.Add(this.ultraLabel6);
+            this.panel2.Controls.Add(this.cmb_Buress);
+            this.panel2.Controls.Add(this.ultraLabel4);
+            this.panel2.Controls.Add(this.ultraLabel8);
+            this.panel2.Controls.Add(this.cmb_BugReaSon);
+            this.panel2.Controls.Add(this.ultraLabel25);
+            this.panel2.Controls.Add(this.ultraLabel2);
+            this.panel2.Controls.Add(this.ultraLabel3);
+            this.panel2.Controls.Add(this.txt_GangpeiH);
+            this.panel2.Controls.Add(this.ultraLabel1);
+            this.panel2.Controls.Add(this.txt_Scid_End_Y);
+            this.panel2.Controls.Add(this.txt_Scid_Begin_Y);
+            this.panel2.Controls.Add(this.txt_Scid_Top_Y);
+            this.panel2.Controls.Add(this.ultraLabel5);
+            this.panel2.Controls.Add(this.txt_TiShi);
+            this.panel2.Dock = System.Windows.Forms.DockStyle.Left;
+            this.panel2.Location = new System.Drawing.Point(0, 0);
+            this.panel2.Name = "panel2";
+            this.panel2.Size = new System.Drawing.Size(629, 184);
+            this.panel2.TabIndex = 0;
+            this.panel2.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // txt_Seq
+            // 
+            this.txt_Seq.AutoSize = true;
+            this.txt_Seq.FlatMode = true;
+            this.txt_Seq.Location = new System.Drawing.Point(184, 107);
+            this.txt_Seq.Name = "txt_Seq";
+            this.txt_Seq.Size = new System.Drawing.Size(44, 19);
+            this.txt_Seq.TabIndex = 706;
+            // 
+            // cmb_plid
+            // 
+            this.cmb_plid.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_plid.DisplayMember = "";
+            this.cmb_plid.Location = new System.Drawing.Point(288, 151);
+            this.cmb_plid.Name = "cmb_plid";
+            this.cmb_plid.Size = new System.Drawing.Size(116, 21);
+            this.cmb_plid.TabIndex = 705;
+            this.cmb_plid.ValueMember = "";
+            // 
+            // cmb_Gylx
+            // 
+            this.cmb_Gylx.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Gylx.DisplayMember = "";
+            this.cmb_Gylx.Location = new System.Drawing.Point(78, 152);
+            this.cmb_Gylx.Name = "cmb_Gylx";
+            this.cmb_Gylx.Size = new System.Drawing.Size(150, 21);
+            this.cmb_Gylx.TabIndex = 704;
+            this.cmb_Gylx.ValueMember = "";
+            // 
+            // ultraLabel16
+            // 
+            this.ultraLabel16.Location = new System.Drawing.Point(234, 155);
+            this.ultraLabel16.Name = "ultraLabel16";
+            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel16.TabIndex = 701;
+            this.ultraLabel16.Text = "产线";
+            // 
+            // ultraLabel15
+            // 
+            this.ultraLabel15.Location = new System.Drawing.Point(22, 157);
+            this.ultraLabel15.Name = "ultraLabel15";
+            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel15.TabIndex = 699;
+            this.ultraLabel15.Text = "工艺类型";
+            // 
+            // cmb_area
+            // 
+            this.cmb_area.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_area.DisplayMember = "";
+            this.cmb_area.Location = new System.Drawing.Point(288, 54);
+            this.cmb_area.Name = "cmb_area";
+            this.cmb_area.Size = new System.Drawing.Size(116, 21);
+            this.cmb_area.TabIndex = 696;
+            this.cmb_area.ValueMember = "";
+            this.cmb_area.ValueChanged += new System.EventHandler(this.cmb_area_ValueChanged);
+            // 
+            // ultraLabel14
+            // 
+            this.ultraLabel14.Location = new System.Drawing.Point(234, 58);
+            this.ultraLabel14.Name = "ultraLabel14";
+            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel14.TabIndex = 697;
+            this.ultraLabel14.Text = "入库区域";
+            // 
+            // txt_ZHPD
+            // 
+            this.txt_ZHPD.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.txt_ZHPD.DisplayMember = "";
+            this.txt_ZHPD.Location = new System.Drawing.Point(288, 29);
+            this.txt_ZHPD.Name = "txt_ZHPD";
+            this.txt_ZHPD.ReadOnly = true;
+            this.txt_ZHPD.Size = new System.Drawing.Size(116, 21);
+            this.txt_ZHPD.TabIndex = 695;
+            this.txt_ZHPD.ValueMember = "";
+            // 
+            // txt_Plact
+            // 
+            this.txt_Plact.AutoSize = true;
+            this.txt_Plact.FlatMode = true;
+            this.txt_Plact.Location = new System.Drawing.Point(78, 107);
+            this.txt_Plact.Name = "txt_Plact";
+            this.txt_Plact.Size = new System.Drawing.Size(106, 19);
+            this.txt_Plact.TabIndex = 6;
+            this.txt_Plact.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Plact.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_ReMark
+            // 
+            this.txt_ReMark.AutoSize = true;
+            this.txt_ReMark.FlatMode = true;
+            this.txt_ReMark.Location = new System.Drawing.Point(466, 128);
+            this.txt_ReMark.Name = "txt_ReMark";
+            this.txt_ReMark.Size = new System.Drawing.Size(112, 19);
+            this.txt_ReMark.TabIndex = 18;
+            this.txt_ReMark.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_ReMark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel13
+            // 
+            this.ultraLabel13.Location = new System.Drawing.Point(436, 130);
+            this.ultraLabel13.Name = "ultraLabel13";
+            this.ultraLabel13.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel13.TabIndex = 694;
+            this.ultraLabel13.Text = "备注";
+            // 
+            // dte_Time
+            // 
+            this.dte_Time.Location = new System.Drawing.Point(465, 152);
+            this.dte_Time.Name = "dte_Time";
+            this.dte_Time.Size = new System.Drawing.Size(116, 21);
+            this.dte_Time.TabIndex = 12;
+            this.dte_Time.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.dte_Time.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // Btn_Turn
+            // 
+            this.Btn_Turn.Location = new System.Drawing.Point(582, 101);
+            this.Btn_Turn.Name = "Btn_Turn";
+            this.Btn_Turn.Size = new System.Drawing.Size(34, 46);
+            this.Btn_Turn.TabIndex = 18;
+            this.Btn_Turn.Text = "登记";
+            this.Btn_Turn.Click += new System.EventHandler(this.Btn_Turn_Click);
+            this.Btn_Turn.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel11
+            // 
+            appearance31.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance31.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel11.Appearance = appearance31;
+            this.ultraLabel11.Location = new System.Drawing.Point(22, 85);
+            this.ultraLabel11.Name = "ultraLabel11";
+            this.ultraLabel11.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel11.TabIndex = 692;
+            this.ultraLabel11.Text = "牌号";
+            // 
+            // txt_PaiHao
+            // 
+            appearance32.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_PaiHao.Appearance = appearance32;
+            this.txt_PaiHao.AutoSize = true;
+            this.txt_PaiHao.Location = new System.Drawing.Point(78, 81);
+            this.txt_PaiHao.Name = "txt_PaiHao";
+            this.txt_PaiHao.Size = new System.Drawing.Size(150, 21);
+            this.txt_PaiHao.TabIndex = 5;
+            this.txt_PaiHao.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_PaiHao.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_Num
+            // 
+            this.txt_Num.FlatMode = true;
+            this.txt_Num.Location = new System.Drawing.Point(466, 80);
+            this.txt_Num.MaskInput = "nnnnn";
+            this.txt_Num.Name = "txt_Num";
+            this.txt_Num.PromptChar = ' ';
+            this.txt_Num.Size = new System.Drawing.Size(112, 19);
+            this.txt_Num.TabIndex = 16;
+            this.txt_Num.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Num.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel9
+            // 
+            this.ultraLabel9.Location = new System.Drawing.Point(436, 82);
+            this.ultraLabel9.Name = "ultraLabel9";
+            this.ultraLabel9.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel9.TabIndex = 691;
+            this.ultraLabel9.Text = "数量";
+            // 
+            // txt_WEIGHT
+            // 
+            this.txt_WEIGHT.FlatMode = true;
+            this.txt_WEIGHT.Location = new System.Drawing.Point(466, 104);
+            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
+            this.txt_WEIGHT.Name = "txt_WEIGHT";
+            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_WEIGHT.PromptChar = ' ';
+            this.txt_WEIGHT.Size = new System.Drawing.Size(112, 19);
+            this.txt_WEIGHT.TabIndex = 17;
+            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_WEIGHT.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel10
+            // 
+            this.ultraLabel10.Location = new System.Drawing.Point(414, 106);
+            this.ultraLabel10.Name = "ultraLabel10";
+            this.ultraLabel10.Size = new System.Drawing.Size(62, 16);
+            this.ultraLabel10.TabIndex = 690;
+            this.ultraLabel10.Text = "理论重量";
+            // 
+            // txt_Width
+            // 
+            appearance33.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Width.Appearance = appearance33;
+            this.txt_Width.FlatMode = true;
+            this.txt_Width.Location = new System.Drawing.Point(466, 32);
+            this.txt_Width.MaskInput = "nnnn.nn";
+            this.txt_Width.Name = "txt_Width";
+            this.txt_Width.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Width.PromptChar = ' ';
+            this.txt_Width.Size = new System.Drawing.Size(112, 19);
+            this.txt_Width.TabIndex = 14;
+            this.txt_Width.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Width.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // txt_Length
+            // 
+            this.txt_Length.FlatMode = true;
+            this.txt_Length.Location = new System.Drawing.Point(466, 56);
+            this.txt_Length.MaskInput = "nnnnn";
+            this.txt_Length.Name = "txt_Length";
+            this.txt_Length.PromptChar = ' ';
+            this.txt_Length.Size = new System.Drawing.Size(112, 19);
+            this.txt_Length.TabIndex = 15;
+            this.txt_Length.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Length.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // lab_cd
+            // 
+            this.lab_cd.Location = new System.Drawing.Point(436, 58);
+            this.lab_cd.Name = "lab_cd";
+            this.lab_cd.Size = new System.Drawing.Size(29, 16);
+            this.lab_cd.TabIndex = 689;
+            this.lab_cd.Text = "长度";
+            // 
+            // ultraLabel17
+            // 
+            this.ultraLabel17.Location = new System.Drawing.Point(436, 34);
+            this.ultraLabel17.Name = "ultraLabel17";
+            this.ultraLabel17.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel17.TabIndex = 688;
+            this.ultraLabel17.Text = "宽度";
+            // 
+            // txt_Ply
+            // 
+            appearance34.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_Ply.Appearance = appearance34;
+            this.txt_Ply.FlatMode = true;
+            this.txt_Ply.Location = new System.Drawing.Point(466, 8);
+            this.txt_Ply.MaskInput = "nnn.nnn";
+            this.txt_Ply.Name = "txt_Ply";
+            this.txt_Ply.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
+            this.txt_Ply.PromptChar = ' ';
+            this.txt_Ply.ReadOnly = true;
+            this.txt_Ply.Size = new System.Drawing.Size(112, 19);
+            this.txt_Ply.TabIndex = 13;
+            this.txt_Ply.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.txt_Ply.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel12
+            // 
+            this.ultraLabel12.Location = new System.Drawing.Point(436, 10);
+            this.ultraLabel12.Name = "ultraLabel12";
+            this.ultraLabel12.Size = new System.Drawing.Size(29, 16);
+            this.ultraLabel12.TabIndex = 687;
+            this.ultraLabel12.Text = "厚度";
+            // 
+            // ultraLabel20
+            // 
+            this.ultraLabel20.Location = new System.Drawing.Point(411, 156);
+            this.ultraLabel20.Name = "ultraLabel20";
+            this.ultraLabel20.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel20.TabIndex = 686;
+            this.ultraLabel20.Text = "入库时间";
+            // 
+            // cmb_ClassStream
+            // 
+            this.cmb_ClassStream.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassStream.DisplayMember = "";
+            this.cmb_ClassStream.Location = new System.Drawing.Point(288, 128);
+            this.cmb_ClassStream.Name = "cmb_ClassStream";
+            this.cmb_ClassStream.Size = new System.Drawing.Size(116, 21);
+            this.cmb_ClassStream.TabIndex = 11;
+            this.cmb_ClassStream.ValueMember = "";
+            this.cmb_ClassStream.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_ClassStream.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel7
+            // 
+            this.ultraLabel7.Location = new System.Drawing.Point(234, 132);
+            this.ultraLabel7.Name = "ultraLabel7";
+            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel7.TabIndex = 685;
+            this.ultraLabel7.Text = "入库班组";
+            // 
+            // cmb_ClassOreder
+            // 
+            this.cmb_ClassOreder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_ClassOreder.DisplayMember = "";
+            this.cmb_ClassOreder.Location = new System.Drawing.Point(288, 104);
+            this.cmb_ClassOreder.Name = "cmb_ClassOreder";
+            this.cmb_ClassOreder.Size = new System.Drawing.Size(116, 21);
+            this.cmb_ClassOreder.TabIndex = 10;
+            this.cmb_ClassOreder.ValueMember = "";
+            this.cmb_ClassOreder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_ClassOreder.FontChanged += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel6
+            // 
+            this.ultraLabel6.Location = new System.Drawing.Point(234, 108);
+            this.ultraLabel6.Name = "ultraLabel6";
+            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel6.TabIndex = 684;
+            this.ultraLabel6.Text = "入库班次";
+            // 
+            // cmb_Buress
+            // 
+            this.cmb_Buress.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_Buress.DisplayMember = "";
+            this.cmb_Buress.Location = new System.Drawing.Point(288, 80);
+            this.cmb_Buress.Name = "cmb_Buress";
+            this.cmb_Buress.Size = new System.Drawing.Size(116, 21);
+            this.cmb_Buress.TabIndex = 9;
+            this.cmb_Buress.ValueMember = "";
+            this.cmb_Buress.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_Buress.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel4
+            // 
+            this.ultraLabel4.Location = new System.Drawing.Point(234, 84);
+            this.ultraLabel4.Name = "ultraLabel4";
+            this.ultraLabel4.Size = new System.Drawing.Size(54, 16);
+            this.ultraLabel4.TabIndex = 683;
+            this.ultraLabel4.Text = "入库垛位";
+            // 
+            // ultraLabel8
+            // 
+            this.ultraLabel8.Location = new System.Drawing.Point(232, 35);
+            this.ultraLabel8.Name = "ultraLabel8";
+            this.ultraLabel8.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel8.TabIndex = 682;
+            this.ultraLabel8.Text = "综合判定";
+            // 
+            // cmb_BugReaSon
+            // 
+            this.cmb_BugReaSon.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
+            this.cmb_BugReaSon.DisplayMember = "";
+            this.cmb_BugReaSon.Location = new System.Drawing.Point(78, 129);
+            this.cmb_BugReaSon.Name = "cmb_BugReaSon";
+            this.cmb_BugReaSon.Size = new System.Drawing.Size(150, 21);
+            this.cmb_BugReaSon.TabIndex = 7;
+            this.cmb_BugReaSon.ValueMember = "";
+            this.cmb_BugReaSon.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            this.cmb_BugReaSon.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            // 
+            // ultraLabel25
+            // 
+            this.ultraLabel25.Location = new System.Drawing.Point(22, 133);
+            this.ultraLabel25.Name = "ultraLabel25";
+            this.ultraLabel25.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel25.TabIndex = 681;
+            this.ultraLabel25.Text = "表面缺陷";
+            // 
+            // ultraLabel2
+            // 
+            appearance35.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance35.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel2.Appearance = appearance35;
+            this.ultraLabel2.Location = new System.Drawing.Point(22, 109);
+            this.ultraLabel2.Name = "ultraLabel2";
+            this.ultraLabel2.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel2.TabIndex = 680;
+            this.ultraLabel2.Text = "订单号";
+            // 
+            // ultraLabel3
+            // 
+            appearance36.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance36.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel3.Appearance = appearance36;
+            this.ultraLabel3.Location = new System.Drawing.Point(22, 59);
+            this.ultraLabel3.Name = "ultraLabel3";
+            this.ultraLabel3.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel3.TabIndex = 679;
+            this.ultraLabel3.Text = "钢卷号";
+            // 
+            // txt_GangpeiH
+            // 
+            appearance37.BackColor = System.Drawing.Color.LightCyan;
+            this.txt_GangpeiH.Appearance = appearance37;
+            this.txt_GangpeiH.AutoSize = true;
+            this.txt_GangpeiH.Location = new System.Drawing.Point(78, 57);
+            this.txt_GangpeiH.Name = "txt_GangpeiH";
+            this.txt_GangpeiH.ReadOnly = true;
+            this.txt_GangpeiH.Size = new System.Drawing.Size(150, 21);
+            this.txt_GangpeiH.TabIndex = 4;
+            this.txt_GangpeiH.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_GangpeiH.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel1
+            // 
+            appearance38.TextHAlign = Infragistics.Win.HAlign.Center;
+            appearance38.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel1.Appearance = appearance38;
+            this.ultraLabel1.Location = new System.Drawing.Point(22, 37);
+            this.ultraLabel1.Name = "ultraLabel1";
+            this.ultraLabel1.Size = new System.Drawing.Size(56, 16);
+            this.ultraLabel1.TabIndex = 678;
+            this.ultraLabel1.Text = "卷板包号";
+            // 
+            // txt_Scid_End_Y
+            // 
+            this.txt_Scid_End_Y.AutoSize = true;
+            this.txt_Scid_End_Y.Location = new System.Drawing.Point(184, 33);
+            this.txt_Scid_End_Y.Name = "txt_Scid_End_Y";
+            this.txt_Scid_End_Y.Size = new System.Drawing.Size(44, 21);
+            this.txt_Scid_End_Y.TabIndex = 3;
+            this.txt_Scid_End_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Scid_End_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_Scid_Begin_Y
+            // 
+            this.txt_Scid_Begin_Y.AutoSize = true;
+            this.txt_Scid_Begin_Y.Location = new System.Drawing.Point(108, 33);
+            this.txt_Scid_Begin_Y.MaxLength = 10;
+            this.txt_Scid_Begin_Y.Name = "txt_Scid_Begin_Y";
+            this.txt_Scid_Begin_Y.Size = new System.Drawing.Size(76, 21);
+            this.txt_Scid_Begin_Y.TabIndex = 2;
+            this.txt_Scid_Begin_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Scid_Begin_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // txt_Scid_Top_Y
+            // 
+            this.txt_Scid_Top_Y.AutoSize = true;
+            this.txt_Scid_Top_Y.Location = new System.Drawing.Point(78, 33);
+            this.txt_Scid_Top_Y.MaxLength = 4;
+            this.txt_Scid_Top_Y.Name = "txt_Scid_Top_Y";
+            this.txt_Scid_Top_Y.Size = new System.Drawing.Size(30, 21);
+            this.txt_Scid_Top_Y.TabIndex = 1;
+            this.txt_Scid_Top_Y.Enter += new System.EventHandler(this.txt_Scid_Top_Y_Enter);
+            this.txt_Scid_Top_Y.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txt_Scid_Top_Y_KeyDown);
+            // 
+            // ultraLabel5
+            // 
+            appearance39.FontData.BoldAsString = "True";
+            appearance39.ForeColor = System.Drawing.Color.Red;
+            appearance39.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.ultraLabel5.Appearance = appearance39;
+            this.ultraLabel5.Font = new System.Drawing.Font("宋体", 9.5F);
+            this.ultraLabel5.Location = new System.Drawing.Point(16, 9);
+            this.ultraLabel5.Name = "ultraLabel5";
+            this.ultraLabel5.Size = new System.Drawing.Size(62, 18);
+            this.ultraLabel5.TabIndex = 676;
+            this.ultraLabel5.Text = "提示信息";
+            // 
+            // txt_TiShi
+            // 
+            this.txt_TiShi.AutoSize = true;
+            this.txt_TiShi.FlatMode = true;
+            this.txt_TiShi.Location = new System.Drawing.Point(78, 7);
+            this.txt_TiShi.Name = "txt_TiShi";
+            this.txt_TiShi.Size = new System.Drawing.Size(330, 19);
+            this.txt_TiShi.TabIndex = 677;
+            this.txt_TiShi.TabStop = false;
+            // 
+            // ultraGroupBox2
+            // 
+            this.ultraGroupBox2.Controls.Add(this.gb_Turan);
+            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 290);
+            this.ultraGroupBox2.Name = "ultraGroupBox2";
+            this.ultraGroupBox2.Size = new System.Drawing.Size(968, 240);
+            this.ultraGroupBox2.SupportThemes = false;
+            this.ultraGroupBox2.TabIndex = 3;
+            this.ultraGroupBox2.Text = "成品收集信息";
+            // 
+            // gb_Turan
+            // 
+            appearance40.BackColor = System.Drawing.Color.Ivory;
+            this.gb_Turan.DisplayLayout.Appearance = appearance40;
+            ultraGridColumn33.Header.Caption = "出库单号";
+            ultraGridColumn33.Header.VisiblePosition = 0;
+            ultraGridColumn33.Hidden = true;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(77, 0);
+            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn34.Header.Caption = "钢卷号";
+            ultraGridColumn34.Header.VisiblePosition = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 3;
+            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn35.Header.Caption = "板坯号";
+            ultraGridColumn35.Header.VisiblePosition = 2;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 4;
+            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn36.Header.Caption = "合同号";
+            ultraGridColumn36.Header.VisiblePosition = 3;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 9;
+            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
+            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn37.Header.Caption = "订单号";
+            ultraGridColumn37.Header.VisiblePosition = 4;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 11;
+            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
+            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn38.Header.Caption = "交货期";
+            ultraGridColumn38.Header.VisiblePosition = 5;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 24;
+            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn39.Header.Caption = "厚度";
+            ultraGridColumn39.Header.VisiblePosition = 6;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 14;
+            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn40.Header.Caption = "宽度";
+            ultraGridColumn40.Header.VisiblePosition = 7;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 15;
+            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn41.Header.Caption = "长度";
+            ultraGridColumn41.Header.VisiblePosition = 8;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 16;
+            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
+            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn42.Header.Caption = "理论重量";
+            ultraGridColumn42.Header.VisiblePosition = 9;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 18;
+            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn42.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
+            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn43.Header.Caption = "数量";
+            ultraGridColumn43.Header.VisiblePosition = 10;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 17;
+            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
+            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn44.Header.Caption = "牌号";
+            ultraGridColumn44.Header.VisiblePosition = 11;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 13;
+            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn45.Header.Caption = "综合判定";
+            ultraGridColumn45.Header.VisiblePosition = 12;
+            ultraGridColumn45.Hidden = true;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
+            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn46.Header.Caption = "特记事项";
+            ultraGridColumn46.Header.VisiblePosition = 13;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn47.Header.Caption = "车辆号";
+            ultraGridColumn47.Header.VisiblePosition = 14;
+            ultraGridColumn47.Hidden = true;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 23;
+            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
+            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn48.Header.Caption = "质保书编号";
+            ultraGridColumn48.Header.VisiblePosition = 15;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 22;
+            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn48.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
+            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn49.Header.Caption = "垛位";
+            ultraGridColumn49.Header.VisiblePosition = 16;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 12;
+            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn49.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
+            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn50.Header.Caption = "登记人";
+            ultraGridColumn50.Header.VisiblePosition = 17;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 21;
+            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn51.Header.Caption = "登记时间";
+            ultraGridColumn51.Header.VisiblePosition = 18;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 33;
+            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn52.Header.Caption = "入库班次";
+            ultraGridColumn52.Header.VisiblePosition = 19;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 26;
+            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn52.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
+            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn53.Header.Caption = "入库班组";
+            ultraGridColumn53.Header.VisiblePosition = 20;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 27;
+            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn53.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
+            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 2;
+            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn54.Header.Caption = "工单号";
+            ultraGridColumn54.Header.VisiblePosition = 21;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 8;
+            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn54.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(83, 0);
+            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn55.Header.Caption = "卷板包号";
+            ultraGridColumn55.Header.VisiblePosition = 24;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 2;
+            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn55.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 0);
+            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn56.Header.Caption = "生产时间";
+            ultraGridColumn56.Header.VisiblePosition = 22;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 25;
+            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn56.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(94, 0);
+            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn57.Header.VisiblePosition = 25;
+            ultraGridColumn57.Hidden = true;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Header.Caption = "";
+            ultraGridColumn58.Header.VisiblePosition = 26;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn58.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(34, 0);
+            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn58.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
+            ultraGridColumn59.Header.Caption = "产线";
+            ultraGridColumn59.Header.VisiblePosition = 27;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 6;
+            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn59.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
+            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn60.Header.Caption = "订单类型";
+            ultraGridColumn60.Header.VisiblePosition = 23;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 20;
+            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn60.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn61.Header.Caption = "备注";
+            ultraGridColumn61.Header.VisiblePosition = 28;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 32;
+            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn62.Header.Caption = "工艺类型";
+            ultraGridColumn62.Header.VisiblePosition = 29;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 5;
+            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn62.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
+            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn63.Header.Caption = "综合判定结果";
+            ultraGridColumn63.Header.VisiblePosition = 30;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 29;
+            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn64.Header.Caption = "钢质缺陷";
+            ultraGridColumn64.Header.VisiblePosition = 32;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 30;
+            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn65.Header.Caption = "工艺缺陷";
+            ultraGridColumn65.Header.VisiblePosition = 35;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 31;
+            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn66.Header.Caption = "过磅重量";
+            ultraGridColumn66.Header.VisiblePosition = 33;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginX = 19;
+            ultraGridColumn66.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn66.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn67.Header.Caption = "炉号";
+            ultraGridColumn67.Header.VisiblePosition = 31;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginX = 7;
+            ultraGridColumn67.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn67.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
+            ultraGridColumn67.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn67.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn68.Header.Caption = "批号";
+            ultraGridColumn68.Header.VisiblePosition = 34;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn68.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
+            ultraGridColumn68.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn68.RowLayoutColumnInfo.SpanY = 2;
+            ultraGridColumn69.Header.Caption = "执行标准";
+            ultraGridColumn69.Header.VisiblePosition = 36;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginX = 10;
+            ultraGridColumn69.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn69.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
+            ultraGridColumn69.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn69.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridColumn70.Header.Caption = "卷板总包号";
+            ultraGridColumn70.Header.VisiblePosition = 37;
+            ultraGridColumn70.Hidden = true;
+            ultraGridColumn70.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.OriginY = 0;
+            ultraGridColumn70.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(128, 0);
+            ultraGridColumn70.RowLayoutColumnInfo.SpanX = 1;
+            ultraGridColumn70.RowLayoutColumnInfo.SpanY = 1;
+            ultraGridBand2.Columns.AddRange(new object[] {
+            ultraGridColumn33,
+            ultraGridColumn34,
+            ultraGridColumn35,
+            ultraGridColumn36,
+            ultraGridColumn37,
+            ultraGridColumn38,
+            ultraGridColumn39,
+            ultraGridColumn40,
+            ultraGridColumn41,
+            ultraGridColumn42,
+            ultraGridColumn43,
+            ultraGridColumn44,
+            ultraGridColumn45,
+            ultraGridColumn46,
+            ultraGridColumn47,
+            ultraGridColumn48,
+            ultraGridColumn49,
+            ultraGridColumn50,
+            ultraGridColumn51,
+            ultraGridColumn52,
+            ultraGridColumn53,
+            ultraGridColumn54,
+            ultraGridColumn55,
+            ultraGridColumn56,
+            ultraGridColumn57,
+            ultraGridColumn58,
+            ultraGridColumn59,
+            ultraGridColumn60,
+            ultraGridColumn61,
+            ultraGridColumn62,
+            ultraGridColumn63,
+            ultraGridColumn64,
+            ultraGridColumn65,
+            ultraGridColumn66,
+            ultraGridColumn67,
+            ultraGridColumn68,
+            ultraGridColumn69,
+            ultraGridColumn70});
+            appearance41.BackColor = System.Drawing.Color.LightSteelBlue;
+            ultraGridBand2.Header.Appearance = appearance41;
+            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            summarySettings3.DisplayFormat = "{0}吨";
+            summarySettings3.GroupBySummaryValueAppearance = appearance42;
+            summarySettings4.DisplayFormat = "{0}块";
+            summarySettings4.GroupBySummaryValueAppearance = appearance43;
+            summarySettings5.DisplayFormat = "{0}吨";
+            summarySettings5.GroupBySummaryValueAppearance = appearance44;
+            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
+            summarySettings3,
+            summarySettings4,
+            summarySettings5});
+            ultraGridBand2.UseRowLayout = true;
+            this.gb_Turan.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
+            this.gb_Turan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance45.BackColor = System.Drawing.SystemColors.ActiveBorder;
+            appearance45.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance45.BackGradientStyle = Infragistics.Win.GradientStyle.Vertical;
+            appearance45.BorderColor = System.Drawing.SystemColors.Window;
+            this.gb_Turan.DisplayLayout.GroupByBox.Appearance = appearance45;
+            appearance46.ForeColor = System.Drawing.SystemColors.GrayText;
+            this.gb_Turan.DisplayLayout.GroupByBox.BandLabelAppearance = appearance46;
+            this.gb_Turan.DisplayLayout.GroupByBox.Hidden = true;
+            this.gb_Turan.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域!";
+            appearance47.BackColor = System.Drawing.SystemColors.Window;
+            appearance47.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gb_Turan.DisplayLayout.Override.ActiveCellAppearance = appearance47;
+            appearance48.BackColor = System.Drawing.SystemColors.Highlight;
+            appearance48.ForeColor = System.Drawing.SystemColors.HighlightText;
+            this.gb_Turan.DisplayLayout.Override.ActiveRowAppearance = appearance48;
+            appearance49.BorderColor = System.Drawing.Color.Black;
+            appearance49.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.CellAppearance = appearance49;
+            this.gb_Turan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
+            this.gb_Turan.DisplayLayout.Override.CellPadding = 0;
+            appearance50.BackColor = System.Drawing.SystemColors.Control;
+            appearance50.BackColor2 = System.Drawing.SystemColors.ControlDark;
+            appearance50.BackGradientAlignment = Infragistics.Win.GradientAlignment.Element;
+            appearance50.BackGradientStyle = Infragistics.Win.GradientStyle.Horizontal;
+            appearance50.BorderColor = System.Drawing.SystemColors.Window;
+            appearance50.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance50.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.GroupByRowAppearance = appearance50;
+            this.gb_Turan.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
+            appearance51.BackColor = System.Drawing.Color.Silver;
+            this.gb_Turan.DisplayLayout.Override.HeaderAppearance = appearance51;
+            this.gb_Turan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
+            this.gb_Turan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
+            appearance52.BackColor = System.Drawing.SystemColors.Window;
+            appearance52.BorderColor = System.Drawing.Color.Black;
+            appearance52.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.RowAppearance = appearance52;
+            appearance53.BackColor = System.Drawing.SystemColors.Window;
+            appearance53.BorderColor = System.Drawing.Color.Black;
+            appearance53.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.RowPreviewAppearance = appearance53;
+            this.gb_Turan.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
+            this.gb_Turan.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
+            this.gb_Turan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
+            appearance54.TextHAlign = Infragistics.Win.HAlign.Left;
+            appearance54.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.SelectedRowAppearance = appearance54;
+            this.gb_Turan.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
+            appearance55.BackColor = System.Drawing.SystemColors.Window;
+            this.gb_Turan.DisplayLayout.Override.SummaryFooterAppearance = appearance55;
+            appearance56.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(192)))));
+            appearance56.ForeColor = System.Drawing.Color.Red;
+            this.gb_Turan.DisplayLayout.Override.SummaryFooterCaptionAppearance = appearance56;
+            this.gb_Turan.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
+            appearance57.BackColor = System.Drawing.Color.MistyRose;
+            appearance57.ForeColor = System.Drawing.Color.Blue;
+            appearance57.TextHAlign = Infragistics.Win.HAlign.Right;
+            appearance57.TextVAlign = Infragistics.Win.VAlign.Middle;
+            this.gb_Turan.DisplayLayout.Override.SummaryValueAppearance = appearance57;
+            appearance58.BackColor = System.Drawing.SystemColors.ControlLight;
+            this.gb_Turan.DisplayLayout.Override.TemplateAddRowAppearance = appearance58;
+            this.gb_Turan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
+            this.gb_Turan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
+            this.gb_Turan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
+            this.gb_Turan.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.gb_Turan.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gb_Turan.Location = new System.Drawing.Point(3, 18);
+            this.gb_Turan.Name = "gb_Turan";
+            this.gb_Turan.Size = new System.Drawing.Size(962, 219);
+            this.gb_Turan.TabIndex = 14;
+            this.gb_Turan.Text = "ultraGrid2";
+            this.gb_Turan.CellChange += new Infragistics.Win.UltraWinGrid.CellEventHandler(this.gb_Turan_CellChange);
+            // 
+            // Frm_TurnoffManage
+            // 
+            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
+            this.ClientSize = new System.Drawing.Size(968, 530);
+            this.Controls.Add(this.ultraGroupBox2);
+            this.Controls.Add(this.ultraExpandableGroupBox1);
+            this.Controls.Add(this.ultraGroupBox1);
+            this.Controls.Add(this.panel1);
+            this.Name = "Frm_TurnoffManage";
+            this.Text = "卷板成品收集入库管理";
+            this.Load += new System.EventHandler(this.Frm_TurnoffManage_Load);
+            this.panel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
+            this.ultraGroupBox1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ProcL)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_EndTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_BeginTime)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_QuYu)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PIhao_End)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Pihao_Top)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_BNumber)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PiHao_Begin)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangP)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_RollHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PlanID)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_OrderNO)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraExpandableGroupBox1)).EndInit();
+            this.ultraExpandableGroupBox1.ResumeLayout(false);
+            this.ultraExpandableGroupBoxPanel1.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Press)).EndInit();
+            this.panel2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Seq)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_plid)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Gylx)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_area)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ZHPD)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Plact)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_ReMark)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.dte_Time)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_PaiHao)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Num)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Width)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Length)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Ply)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassStream)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_ClassOreder)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_Buress)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.cmb_BugReaSon)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_GangpeiH)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_End_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Begin_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_Scid_Top_Y)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.txt_TiShi)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
+            this.ultraGroupBox2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.gb_Turan)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.ultraDataSource1)).EndInit();
+            this.ResumeLayout(false);
+
+        }
+        #endregion
+
+        #region 查询
+        private string GetWhere()
+        {
+            string strSql = "";
+            if (this.chk_CollectTime.Checked)
+            {
+                strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += "AND A.ORD_SEQ like '%" + this.txt_OrderNO.Text + "%'"; ;
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += "AND A.ORD_NO like '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.chk_RollHao.Checked)
+            {
+                strSql += "AND A.OLD_SAMPL_NO LIKE '%" + this.txt_RollHao.Text + "%'";
+            }
+            if (this.chk_BanHao.Checked)
+            {
+                strSql += "AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
+            }
+            if (this.chk_PiHao.Checked)
+            {
+                strSql += "AND A.COIL_NO_ID='" + this.txt_PiHao_Begin.Text + "-" + this.txt_Pihao_Top.Text + "-" + this.txt_PIhao_End.Text + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+            return strSql;
+        }
+        private void DetailQuery(string _Conntion)
+        {
+            try
+            {
+                string strOut = "";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
+                this.gb_Press.DataSource = ds;
+                this.gb_Press.UpdateData();
+                Comm.SetGridSumArea(this.gb_Press);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private void GetZYDetail(string _Conntion)
+        {
+            string strOut = "";
+            try
+            {
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Procdute_Query", new object[] { _Conntion }, out strOut);
+                if (ds != null && ds.Tables[0].Rows.Count > 0)
+                {
+                    System.Data.DataRow dr = ds.Tables[0].Rows[0];
+                    this.txt_GangpeiH.Text = Comm.ObjToStr(dr["OLD_SAMPL_NO"]);
+                    this.txt_PaiHao.Text = Comm.ObjToStr(dr["STL_GRD"]);
+                    this.txt_Plact.Text = Comm.ObjToStr(dr["ORD_NO"]);
+                    this.txt_Ply.Value = Comm.ObjToDouble(dr["ZSLAB_PLY"]);
+                    this.txt_Width.Value = Comm.ObjToDouble(dr["ZSLAB_WIDTH"]);
+                    this.txt_Length.Value = Comm.ObjToStr(dr["ZSLAB_LENGTH"]);
+                    this.txt_Num.Value = Comm.ObjToStr(dr["ZSLAB_NUM"]);
+                    this.txt_WEIGHT.Value = Comm.ObjToStr(dr["ZSLAB_WEIGHT"]);
+                    this.cmb_BugReaSon.Value = Comm.ObjToStr(dr["CRK_CD1"]);
+                    this.cmb_Gylx.Value = Comm.ObjToStr(dr["GYLX"]);
+                    this.cmb_plid.Value = Comm.ObjToStr(dr["STOCKTYPE"]);
+                    this.txt_ZHPD.Value = Comm.ObjToStr(dr["TOT_DEC_GRD"]);
+                    this.txt_Seq.Text = Comm.ObjToStr(dr["ORD_SEQ"]);
+                    this.cmb_Gylx.Value = Comm.ObjToStr(dr["GYLX"]);
+
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = "该钢卷无生产实绩信息,请与生产作业组联系";
+                    txt_Scid_Top_Y.Focus();
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void txt_Scid_Top_Y_Enter(object sender, System.EventArgs e)
+        {
+            try
+            {
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
+                }
+                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
+                {
+                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void txt_Scid_Top_Y_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
+        {
+            try
+            {
+                if (e.KeyData == Keys.Return)
+                {
+                    if (((System.Windows.Forms.Control)sender).Name == this.txt_Scid_End_Y.Name)
+                    {
+                        string sqlStr = " AND A.COIL_NO_ID = '" + this.txt_Scid_Top_Y.Text.Trim() + this.txt_Scid_Begin_Y.Text.Trim() + "-" + this.txt_Scid_End_Y.Text + "'";
+                        this.GetZYDetail(sqlStr);
+                    }
+                    if (((System.Windows.Forms.Control)sender).Name == this.Btn_Turn.Name)
+                    {
+                        this.TurnAdd();
+                    }
+                    System.Windows.Forms.SendKeys.Send("{TAB}");
+
+                }
+
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        private string Turn_GetWhere()
+        {
+            string strSql = "";
+            if (this.chk_CollectTime.Checked)
+            {
+                strSql += " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') >='" + Convert.ToDateTime(this.dte_BeginTime.Value).ToString("yyyy-MM-dd") + "' "
+                    + " AND TO_CHAR(A.CREATETIME,'YYYY-MM-DD') <='" + Convert.ToDateTime(this.dte_EndTime.Value).ToString("yyyy-MM-dd") + "' ";
+            }
+            if (this.chk_OrderNO.Checked)
+            {
+                strSql += "AND A.ORD_SEQ='" + this.txt_OrderNO.Text + "'"; ;
+            }
+            if (this.chk_PactID.Checked)
+            {
+                strSql += "AND A.ORD_NO LIKE '%" + this.txt_PlanID.Text + "%'";
+            }
+            if (this.chk_RollHao.Checked)
+            {
+                strSql += "AND A.OLD_SAMPL_NO='" + this.txt_RollHao.Text + "'";
+            }
+            if (this.chk_BanHao.Checked)
+            {
+                strSql += "AND A.SLAB_NO='" + this.txt_GangP.Text + "'";
+            }
+            if (this.chk_PiHao.Checked)
+            {
+                strSql += "AND COIL_NO_ID='" + this.txt_PiHao_Begin.Text + "-" + this.txt_Pihao_Top.Text + "-" + this.txt_PIhao_End.Text + "'";
+            }
+            if (this.chk_BNumber.Checked)
+            {
+                strSql += "AND A.BAHCT_NUMBER||A.SERIAL_NUMBER LIKE '" + this.txt_BNumber.Text + "'";
+            }
+            if (this.ultraCheckEditor1.Checked)
+            {
+                strSql += " AND B.AREA='" + this.cmb_QuYu.Value + "'";
+            }
+            if (this.chk_ProcLine.Checked)
+            {
+                strSql += " AND A.STOCKTYPE='" + this.cmb_ProcL.Value.ToString() + "'";
+            }
+            return strSql;
+        }
+        private void TurnQuery(string _Conntion)
+        {
+            try
+            {
+                string strOut = "";
+                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_Query", new object[] { _Conntion }, out strOut);
+                this.gb_Turan.DataSource = ds;
+                this.gb_Turan.UpdateData();
+                Comm.SetGridSumArea(this.gb_Turan);
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region 成品入库
+        private bool Check_Turn()
+        {
+            if (this.txt_Scid_End_Y.Text.Trim().Length == 0 && this.txt_Scid_Begin_Y.Text.Trim().Length == 0 && this.txt_Scid_Top_Y.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "板批号不能为空!";
+                return false;
+            }
+            if (this.cmb_Buress.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "堆位不能为空!";
+                return false;
+            }
+            if (this.cmb_ClassOreder.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "班次不能为空!";
+                return false;
+            }
+            if (this.cmb_ClassStream.Text.Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "班组不能为空!";
+                return false;
+            }
+            if (this.txt_Ply.Value.ToString().Trim().Length == 0)
+            {
+                txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                txt_TiShi.Text = "厚度不能为空!";
+                return false;
+            }
+            return true;
+        }
+        private void TurnAdd()
+        {
+            if (!Check_Turn())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您查看卷板批号是否填写正确!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.cmb_BugReaSon.Text);
+                Other.Add(this.txt_ZHPD.Value);
+                Other.Add(this.cmb_Buress.Value.ToString());
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.txt_Length.Value.ToString());
+                Other.Add(this.txt_Num.Value.ToString());
+                Other.Add(this.txt_WEIGHT.Value.ToString());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.txt_ReMark.Text);
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_ADD", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    txt_TiShi.Text = "成功入库!";
+
+                    this.txt_WEIGHT.Value = 0;
+                    this.txt_Num.Value = 0;
+                    this.txt_Length.Value = 0;
+                    this.txt_Ply.Value = 0;
+                    this.txt_Width.Value = 0;
+                    this.txt_GangpeiH.Clear();
+
+                    DataSet ds = (DataSet)this.gb_Press.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
+                    }
+                    string strSql = " AND A.COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'";
+                    this.TurnQuery(strSql);
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
+                }
+
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
+        {
+            switch (e.Tool.Key)
+            {
+                case "QUERY":
+                    TurnQuery(this.Turn_GetWhere());
+                    break;
+                case "ADD":
+                    this.TurnAdd();
+                    break;
+                case "DEL":
+                    this.Turn_Del();
+                    break;
+                case "REF":
+                    this.DetailQuery(this.GetWhere());
+                    break;
+                case "TO_EXCEL":
+                    ExportButtressInfo();
+                    break;
+                case "Close":
+                    break;
+            }
+        }
+
+
+        #region 初始化
+        private void Frm_TurnoffManage_Load(object sender, System.EventArgs e)
+        {
+            string strOut = "";
+            string sql = "", strSql="";
+            DataSet ds;
+            Comm.SetGridSumArea(this.gb_Press);
+            Comm.SetGridSumArea(this.gb_Turan);
+            //班次
+            sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+            Comm.Init_ComboControl(this.cmb_ClassOreder, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //班组
+            sql = "SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+            Comm.Init_ComboControl(this.cmb_ClassStream, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //堆位
+            sql = "SELECT BUTTRESSCODE FROM KCJ_BUTTRESS_ZW WHERE BUTTRESSTYPE='1' AND ISVALID='1' AND AREACODE='对外加工(卷板)' ORDER BY BUTTRESSCODE ASC";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BUTTRESS";
+
+            Comm.Init_ComboControl(this.cmb_Buress, "KCJ_BUTTRESS", "BUTTRESSCODE", "BUTTRESSCODE", ref ds);
+
+            //原料区域cmb_NewArea
+            sql = "select areacode from kcj_area_ZW  where areatype='0' and isvalid='1' AND AREACODE='对外加工(卷板)' ";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_AREA";
+
+            Comm.Init_ComboControl(this.cmb_QuYu, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
+            //add by lyp 成品区域
+            Comm.Init_ComboControl(this.cmb_area, "KCJ_AREA", "AREACODE", "AREACODE", ref ds);
+            //开平线
+            sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE in ('8055','8066')";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.cmb_ProcL, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+            Comm.Init_ComboControl(this.cmb_plid, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+
+            //工艺缺陷
+            strSql = "SELECT T.ID_,T.NAME_ FROM SCM_BASE_INFO T WHERE ID_ LIKE '4124ZB1G%' AND T.SORT_CODE = '4124'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+
+            Comm.Init_ComboControl(this.cmb_BugReaSon, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //判定类别
+            strSql = "SELECT T.ID_,T.NAME_ FROM SCM_BASE_INFO T WHERE T.SORT_CODE = '4127'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { strSql }, out strOut);
+            ds.Tables[0].TableName = "SCM_BASE_INFO";
+            Comm.Init_ComboControl(this.txt_ZHPD, "SCM_BASE_INFO", "NAME_", "ID_", ref ds);
+
+            //工艺类型
+            sql = "SELECT ID_,NAME_ FROM KCJ_BASEDATA WHERE SORT_CODE ='8077'";
+            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
+            ds.Tables[0].TableName = "KCJ_BASEDATA";
+
+            Comm.Init_ComboControl(this.cmb_Gylx, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
+           
+           
+           
+
+        }
+        #endregion
+
+        #region 入库
+        private void Btn_Turn_Click(object sender, System.EventArgs e)
+        {
+            if (!Check_Turn())
+            {
+                return;
+            }
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array.Add(this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text);
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您查看卷板批号是否填写正确!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                ArrayList Other = new ArrayList();
+                Other.Add(this.cmb_BugReaSon.Text);
+                Other.Add(this.txt_ZHPD.Value);
+                Other.Add(this.cmb_Buress.Text);
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.cmb_ClassOreder.Value.ToString());
+                Other.Add(this.txt_Length.Value.ToString());
+                Other.Add(this.txt_Num.Value.ToString());
+                Other.Add(this.txt_WEIGHT.Value.ToString());
+                Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
+                Other.Add(this.txt_ReMark.Text);
+                Other.Add(this.txt_Plact.Text.Trim());
+                Other.Add(this.txt_Width.Text.Trim());
+                Other.Add(this.txt_Seq.Text.Trim());
+
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_ADD", new object[] { array, Other }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    this.txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    txt_TiShi.Text = "成功入库!";
+
+                    this.txt_WEIGHT.Value = 0;
+                    this.txt_Num.Value = 0;
+                    this.txt_Length.Value = 0;
+                    this.txt_Ply.Value = 0;
+                    this.txt_Width.Value = 0;
+                    this.txt_GangpeiH.Clear();
+
+                    DataSet ds = (DataSet)this.gb_Press.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_ZY_TASKDETAIL"].Select("COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_ZY_TASKDETAIL"].AcceptChanges();
+                    }
+                    string strSql = " AND A.COIL_NO_ID='" + this.txt_Scid_Top_Y.Text + this.txt_Scid_Begin_Y.Text + "-" + this.txt_Scid_End_Y.Text + "'";
+                    this.TurnQuery(strSql);
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region 撤消成品入库
+        private void Turn_Del()
+        {
+            try
+            {
+                string strOut = "";
+                ArrayList array = new ArrayList();
+                array = Comm.GetFieldValue(this.gb_Turan, "FLAG", "COIL_NO_ID");
+                if (array.Count == 0)
+                {
+                    MessageBox.Show("请您选择你要撤消的成品信息!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
+                    return;
+                }
+                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffManage", "Turn_Del", new object[] { array }, out strOut);
+                if (obj != null && obj.ToString() == "1")
+                {
+                    DataSet ds = (DataSet)this.gb_Turan.DataSource;
+                    System.Data.DataRow[] row = ds.Tables["KCJ3_TURNOFFLIST"].Select("FLAG='TRUE'");
+                    for (int i = 0; i < row.Length; i++)
+                    {
+                        ds.Tables["KCJ3_TURNOFFLIST"].Rows.Remove(row[i]);
+                        ds.Tables["KCJ3_TURNOFFLIST"].AcceptChanges();
+                    }
+                    this.DetailQuery("");
+                }
+                else
+                {
+                    txt_TiShi.Appearance.ForeColor = System.Drawing.Color.Red;
+                    txt_TiShi.Text = Comm.ObjToStr(obj) + strOut;
+
+                }
+            }
+            catch (Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+        #endregion
+
+        #region EVENT
+        private void gb_Turan_CellChange(object sender, Infragistics.Win.UltraWinGrid.CellEventArgs e)
+        {
+            try
+            {
+                if (e.Cell.Column.Key == "FLAG")
+                {
+                    e.Cell.Row.Update();
+                    if (e.Cell.Value.ToString().ToUpper() == "TRUE")
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Blue;
+                    }
+                    else
+                    {
+                        e.Cell.Row.Appearance.ForeColor = System.Drawing.Color.Black;
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_SelectAll_CheckedChanged(object sender, System.EventArgs e)
+        {
+            try
+            {
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid = this.gb_Press;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Press.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+                Infragistics.Win.UltraWinGrid.UltraGridBase tmpGrid1 = this.gb_Turan;
+                foreach (Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Turan.Rows)
+                {
+                    if (!row.IsFilteredOut)
+                    {
+                        row.Cells["FLAG"].Value = this.chk_SelectAll.Checked.ToString().ToUpper();
+                        row.Update();
+                    }
+                }
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
+        {
+            try
+            {
+                if (this.chk_AllowFilter.Checked)
+                {
+                    this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+                    this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+                    this.gb_Turan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
+                    this.gb_Turan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;
+
+                }
+                else
+                {
+                    this.gb_Press.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+                    this.gb_Press.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                    if (this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                    {
+                        for (int i = 0; i < this.gb_Press.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                        {
+                            this.gb_Press.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                        }
+                    }
+
+                    this.gb_Turan.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
+                    this.gb_Turan.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
+                    if (this.gb_Turan.DisplayLayout.Bands[0].ColumnFilters.Count > 0)
+                    {
+                        for (int i = 0; i < this.gb_Turan.DisplayLayout.Bands[0].ColumnFilters.Count; i++)
+                        {
+                            this.gb_Turan.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
+                        }
+                    }
+
+                }
+
+            }
+            catch (System.Exception ex)
+            {
+                System.Diagnostics.Debug.WriteLine(ex.ToString());
+            }
+        }
+
+        private void chk_CollectTime_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.dte_BeginTime.Enabled = this.chk_CollectTime.Checked;
+            this.dte_EndTime.Enabled = this.chk_CollectTime.Checked;
+        }
+
+        private void chk_OrderNO_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_OrderNO.Enabled = this.chk_OrderNO.Checked;
+        }
+
+        private void chk_PactID_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_PlanID.Enabled = this.chk_PactID.Checked;
+        }
+
+        private void chk_RollHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_RollHao.Enabled = this.chk_RollHao.Checked;
+        }
+
+        private void chk_PiHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_PiHao_Begin.Enabled = this.chk_PiHao.Checked;
+            this.txt_PIhao_End.Enabled = this.chk_PiHao.Checked;
+            this.txt_Pihao_Top.Enabled = this.chk_PiHao.Checked;
+        }
+
+        private void chk_BanHao_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_GangP.Enabled = this.chk_BanHao.Checked;
+        }
+
+        #endregion
+
+        private void chk_BNumber_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.txt_BNumber.Enabled = this.chk_BNumber.Checked;
+        }
+
+        private void gb_Press_DoubleClickRow(object sender, Infragistics.Win.UltraWinGrid.DoubleClickRowEventArgs e)
+        {
+            this.txt_Scid_Top_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(0, 3);
+            this.txt_Scid_Begin_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(3, 10);
+            this.txt_Scid_End_Y.Text = e.Row.Cells["COIL_NO_ID"].Value.ToString().Substring(14);
+            txt_ReMark.Text = e.Row.Cells["REM"].Value.ToString();
+            txt_GangpeiH.Text = e.Row.Cells["OLD_SAMPL_NO"].Value.ToString();
+            txt_PaiHao.Text = e.Row.Cells["STL_GRD"].Value.ToString();
+            txt_Plact.Text = e.Row.Cells["ORD_NO"].Value.ToString();
+            txt_Seq.Text = e.Row.Cells["ORD_SEQ"].Value.ToString();
+            txt_Ply.Value = e.Row.Cells["ZSLAB_PLY"].Value.ToString();
+            txt_Width.Value = e.Row.Cells["ZSLAB_WIDTH"].Value.ToString();
+            txt_Length.Value = e.Row.Cells["ZSLAB_LENGTH"].Value.ToString();
+            txt_Num.Value = e.Row.Cells["ZSLAB_NUM"].Value.ToString();
+            txt_WEIGHT.Value = e.Row.Cells["ZSLAB_WEIGHT"].Value.ToString();
+        }
+
+        private void ultraCheckEditor1_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_QuYu.Enabled = this.ultraCheckEditor1.Checked;
+        }
+
+        #region "导出报表"
+        private void ExportButtressInfo()
+        {
+
+            if (this.gb_Turan.Rows.Count > 0)
+            {
+                Comm.ExPortExcel(this.gb_Turan, this.excelExporter);
+            }
+            else
+            {
+                MessageBox.Show("无信息数据,不能导出!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
+            }
+        }
+        #endregion
+
+        private void chk_ProcLine_CheckedChanged(object sender, System.EventArgs e)
+        {
+            this.cmb_ProcL.Enabled = this.chk_ProcLine.Checked;
+        }
+
+        private void cmb_area_ValueChanged(object sender, EventArgs e)
+        {
+            try
+            {
+                string areaCode = "";
+                string buttressCode = "";
+                string strOut = "";
+               
+
+               
+                    areaCode = this.cmb_area.Value.ToString();
+                    if (areaCode != "")
+                    {
+
+
+
+
+                        DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoReport",
+                            "QueryFJButtress", new object[] { buttressCode, areaCode, "1" }, out strOut);
+                        if (strOut == "")
+                        {
+                            this.cmb_Buress.DataSource = ds;
+
+                        }
+                        else
+                        {
+                            MessageBox.Show(strOut, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+                        }
+                    }
+            }
+            catch (Exception et)
+            {
+                throw et;
+            }
+
+        }
+       
+    }
+}

BIN
Client/.svn/pristine/76/76714edb9b60bcf50b5c288d25ae4360bb36be54.svn-base


+ 120 - 0
Client/.svn/pristine/76/76ba21e115920abbcbd61deaa666ab92b5aa18a9.svn-base

@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

BIN
Client/.svn/pristine/77/77a13a2a331d06d7362fd0ee0f1caf0cbedc46f3.svn-base


BIN
Client/.svn/pristine/78/78147369bcac902b8aefbe59e26852e0e179bfb6.svn-base


+ 129 - 0
Client/.svn/pristine/79/79cb343cb2d72eb8f308ac92eb5fc9a8a6572d0f.svn-base

@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="ds_StorageButtress.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>198, 17</value>
+  </metadata>
+  <metadata name="ultraToolbarsManager1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>17, 17</value>
+  </metadata>
+  <metadata name="excelExporter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
+    <value>361, 17</value>
+  </metadata>
+</root>

+ 35 - 0
Client/.svn/pristine/7a/7a759739fec355cb177dcd98fe9fb523ad93d065.svn-base

@@ -0,0 +1,35 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过下列属性集
+// 控制。更改这些属性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("Core.XgMes.Client.JGKC.SteelPlateManager")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("Sky123.Org")]
+[assembly: AssemblyProduct("Core.XgMes.Client.JGKC.SteelPlateManager")]
+[assembly: AssemblyCopyright("版权所有 (C) Sky123.Org 2016")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 属性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("6122830b-857a-4e51-9589-f19fe8f3e455")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+//      主版本
+//      次版本 
+//      内部版本号
+//      修订号
+//
+// 可以指定所有这些值,也可以使用“修订号”和“内部版本号”的默认值,
+// 方法是按如下所示使用“*”:
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

BIN
Client/.svn/pristine/7c/7cf170c5cea89cad49887502586f8f345801ac24.svn-base


+ 50 - 0
Client/.svn/pristine/82/8242997204504a321c4bc9f0b0cb89ae7ca235fd.svn-base

@@ -0,0 +1,50 @@
+E:\code\BJ\Client\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\BJ\Client\Core.XgMes.Client.JGKC.RollManager.pdb
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\ResolveAssemblyReference.cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmJBCB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffMove.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffReceive.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffManage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffMove.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoSendCan.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.CPButtressQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.frmJBZKZH.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmPrint.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.TurnoffSendQueryJB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendQueryJB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendStatJB.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YLButtressQuery.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YL_Buress.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceManage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceTurnManage.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanDrawUp.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanTurnDrawUp.resources
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.csproj.GenerateResource.Cache
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.pdb
+E:\code\BJ\ClientSolution\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll.licenses
+E:\code\Client\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\Client\Core.XgMes.Client.JGKC.RollManager.pdb
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\ResolveAssemblyReference.cache
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmJBCB.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffMove.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_StuffReceive.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffManage.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoffMove.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_TurnoSendCan.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.CPButtressQuery.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.frmJBZKZH.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.FrmPrint.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.TurnoffSendQueryJB.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendQueryJB.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.UCSendStatJB.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YLButtressQuery.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.YL_Buress.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceManage.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_ProduceTurnManage.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanDrawUp.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.Frm_PlanTurnDrawUp.resources
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.csproj.GenerateResource.Cache
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll.licenses
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.dll
+E:\code\BJNEW\Client\Core.XgMes.Client.JGKC.RollManager\obj\Debug\Core.XgMes.Client.JGKC.RollManager.pdb

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov