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("格式错误", "错误提示");
            }
        }

	}
}
