using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Core.Mes.ClientFrameWork;
using Core.Mes.IBaseInterface;
using System.Data;
using Infragistics.Win.UltraWinGrid;
using Core.XgMes.Client.StorageBase;

namespace Core.XgMes.Client.JGKC.RollManager
{
	/// <summary>
	/// Frm_TurnoSendCan 的摘要说明。
	/// </summary>
	public class Frm_TurnoSendCan : Mes.ClientFrameWork.FrmBase
	{
		private System.Windows.Forms.Panel panel1;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ultraToolbarsManager1;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Left;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Right;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Top;
		private Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea _panel1_Toolbars_Dock_Area_Bottom;
		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox1;
		private Infragistics.Win.Misc.UltraLabel ultraLabel11;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_AskPlanID;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AskPlanID;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ListCode;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_ListCode;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_CoilID;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_CoilID;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_PactNO;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_PactNO;
		private Infragistics.Win.Misc.UltraLabel Lab_To;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_DeliveryTime;
		private System.Windows.Forms.Panel panel2;
		private Infragistics.Win.UltraWinGrid.UltraGrid ultraGrid1;
		private System.Windows.Forms.Panel panel3;
		private Infragistics.Win.Misc.UltraGroupBox ultraGroupBox2;
        private Infragistics.Win.Misc.UltraLabel ultraLabel10;
		private Infragistics.Win.Misc.UltraButton btn_NSendID;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_SendPactNO;
		private Infragistics.Win.Misc.UltraLabel ultraLabel18;
        private Infragistics.Win.Misc.UltraLabel ultraLabel14;
		private Infragistics.Win.UltraWinEditors.UltraOptionSet Ops_SendType;
		private Infragistics.Win.Misc.UltraButton Btn_GetListCoding;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coil_ID;
		private Infragistics.Win.Misc.UltraLabel ultraLabel9;
		private Infragistics.Win.Misc.UltraLabel ultraLabel8;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_Remark;
		private Infragistics.Win.Misc.UltraLabel ultraLabel7;
		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassTeam;
		private Infragistics.Win.Misc.UltraLabel ultraLabel6;
		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_ClassOrder;
		private Infragistics.Win.Misc.UltraLabel ultraLabel5;
		private Infragistics.Win.UltraWinGrid.UltraCombo Cmb_SendMan;
		private Infragistics.Win.Misc.UltraLabel ultraLabel4;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_ListCoding;
		private Infragistics.Win.Misc.UltraLabel ultraLabel3;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_VecihleNO;
		private Infragistics.Win.Misc.UltraLabel ultraLabel2;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor Txt_AskPlan;
		private Infragistics.Win.Misc.UltraLabel ultraLabel1;
		private Infragistics.Win.Misc.UltraLabel ultraLabel12;
		private Infragistics.Win.Misc.UltraButton Btn_SendBillet;
		private Infragistics.Win.UltraWinTabControl.UltraTabControl ultraTabControl1;
		private Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage ultraTabSharedControlsPage1;
		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl1;
		private Infragistics.Win.UltraWinTabControl.UltraTabPageControl ultraTabPageControl2;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Scouid;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_SendTime;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coid_TOP;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_Coid_End;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Send;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_QX;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_IncpName;
		private Infragistics.Win.UltraWinGrid.UltraCombo cmb_Station;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_UserBM;
		private Infragistics.Win.Misc.UltraLabel ultraLabel13;
		private Infragistics.Win.Misc.UltraLabel ultraLabel15;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_UserName;
		private Infragistics.Win.UltraWinGrid.UltraGrid gb_Turn;
		private Infragistics.Win.Misc.UltraLabel ultraLabel19;
		private Infragistics.Win.UltraWinEditors.UltraNumericEditor txt_WEIGHT;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_BeginTime;
		private Infragistics.Win.UltraWinEditors.UltraDateTimeEditor Dte_EndTime;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_GangJuan;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor1;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor ultraTextEditor2;
		private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_GangJuan;
		private Infragistics.Win.Misc.UltraButton ultraButton1;
		private Infragistics.Win.UltraWinEditors.UltraCheckEditor chk_AllowFilter;
        private Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter excelExporter;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor ultBJPactno;
        private Infragistics.Win.Misc.UltraLabel ultraLabel16;
        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_PLD;
        private UltraGrid ultraGrid2;
        private Infragistics.Win.UltraWinEditors.UltraComboEditor Cmb_ZL;
        private Infragistics.Win.Misc.UltraLabel ultraLabel17;
        private UltraCombo Cmb_Txt_ListCodingTop;
        private Infragistics.Win.Misc.UltraButton btn_zlupdate;
        private Infragistics.Win.UltraWinEditors.UltraTextEditor txt_ZYCH;
        private Infragistics.Win.Misc.UltraLabel ultraLabel20;
		private System.ComponentModel.IContainer components;

		public Frm_TurnoSendCan()
		{
			//
			// Windows 窗体设计器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 调用后添加任何构造函数代码
			//
		}

		/// <summary>
		/// 清理所有正在使用的资源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗体设计器生成的代码
		/// <summary>
		/// 设计器支持所需的方法 - 不要使用代码编辑器修改
		/// 此方法的内容。
		/// </summary>
		private void InitializeComponent()
		{
            this.components = new System.ComponentModel.Container();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand1 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn1 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn2 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn3 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SLAB_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn4 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn5 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn6 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_SEQ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn7 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn8 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn9 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn10 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn11 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn12 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn13 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BAHCT_NUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn14 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn15 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TOT_DEC_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn16 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SX_BIAOZHUN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn17 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("SERIAL_NUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn18 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CRK_CD1");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn19 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZLZS_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn20 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn21 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSORDER", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn22 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCLASSTEAM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn23 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn24 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATOR");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn25 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn26 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn27 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CHK", 0);
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings1 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 13, true);
            Infragistics.Win.Appearance appearance1 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings2 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 10, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 10, true);
            Infragistics.Win.Appearance appearance2 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings3 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CREATOR", 23, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "XJJL_WEIGHT", 24, true);
            Infragistics.Win.Appearance appearance3 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings4 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "MJ", 25, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "MJ", 25, true);
            Infragistics.Win.Appearance appearance4 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand2 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn28 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ISVALID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn29 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INSTR_ROUTE", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Ascending, false);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn30 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ROUTE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn31 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PLANVEHICLEID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn32 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANS_CAR_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn33 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("LISTNUMBER");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn34 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("COIL_NO_ID");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn35 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("OLD_SAMPL_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn36 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STL_GRD");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn37 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_PLY");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn38 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WIDTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn39 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_LENGTH");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn40 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_NUM");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn41 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ZSLAB_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn42 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PICKSTORAGETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn43 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STOVENO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn44 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUTTRESS");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn45 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ORD_NO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn46 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CLEARFLAG");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn47 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CAL_WGT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn48 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn49 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BJ_PACTNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn50 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PICKSTORAGEMAN");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn51 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("CREATETIME");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn52 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("XJJL_WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn53 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("MJ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn54 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRAINWAGON_NZ");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn55 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSTYPE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn56 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSFERLINE");
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings5 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_WEIGHT", 13, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_WEIGHT", 13, true);
            Infragistics.Win.Appearance appearance5 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings6 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "ZSLAB_NUM", 12, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "ZSLAB_NUM", 12, true);
            Infragistics.Win.Appearance appearance6 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings7 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "CAL_WGT", 19, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "CAL_WGT", 19, true);
            Infragistics.Win.Appearance appearance7 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings8 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Count, null, "COIL_NO_ID", 6, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "COIL_NO_ID", 6, true);
            Infragistics.Win.Appearance appearance8 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings9 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "XJJL_WEIGHT", 24, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "XJJL_WEIGHT", 24, true);
            Infragistics.Win.Appearance appearance9 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinGrid.SummarySettings summarySettings10 = new Infragistics.Win.UltraWinGrid.SummarySettings("", Infragistics.Win.UltraWinGrid.SummaryType.Sum, null, "MJ", 25, true, "Band 0", 0, Infragistics.Win.UltraWinGrid.SummaryPosition.UseSummaryPositionColumn, "MJ", 25, true);
            Infragistics.Win.Appearance appearance10 = new Infragistics.Win.Appearance();
            Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PC");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("AFFIRMJL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QXZL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("JLQR");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("COLSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PC");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("FY");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DEL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("PRINT");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("COLSE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("DUCE");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("AFFIRMJL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("QXZL");
            Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("JLQR");
            Infragistics.Win.UltraWinGrid.UltraGridBand ultraGridBand3 = new Infragistics.Win.UltraWinGrid.UltraGridBand("Band 0", -1);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn57 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("ASKPLAN_ID", -1, null, 0, Infragistics.Win.UltraWinGrid.SortIndicator.Descending, false);
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn58 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("PACTNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn59 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("BUYERCODE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn60 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCEPTCORPCODE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn61 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("INCEPTDATE");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn62 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("WEIGHT");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn63 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("TRANSNO");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn64 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("REMARK");
            Infragistics.Win.UltraWinGrid.UltraGridColumn ultraGridColumn65 = new Infragistics.Win.UltraWinGrid.UltraGridColumn("STATIONNAME");
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab1 = new Infragistics.Win.UltraWinTabControl.UltraTab();
            Infragistics.Win.UltraWinTabControl.UltraTab ultraTab2 = new Infragistics.Win.UltraWinTabControl.UltraTab();
            Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem6 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem7 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem8 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem9 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
            Infragistics.Win.ValueListItem valueListItem10 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem11 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem12 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem13 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem14 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem15 = new Infragistics.Win.ValueListItem();
            Infragistics.Win.ValueListItem valueListItem16 = new Infragistics.Win.ValueListItem();
            this.ultraTabPageControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.gb_Turn = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ultraTabPageControl2 = new Infragistics.Win.UltraWinTabControl.UltraTabPageControl();
            this.gb_Send = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.panel1 = new System.Windows.Forms.Panel();
            this._panel1_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
            this._panel1_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this._panel1_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this._panel1_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
            this.ultraGroupBox1 = new Infragistics.Win.Misc.UltraGroupBox();
            this.chk_AllowFilter = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_GangJuan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraTextEditor2 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraTextEditor1 = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_GangJuan = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.Dte_EndTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.Dte_BeginTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.txt_UserName = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel15 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel13 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_UserBM = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel11 = new Infragistics.Win.Misc.UltraLabel();
            this.txt_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_AskPlanID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_ListCode = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_ListCode = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.txt_CoilID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_CoilID = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.Txt_PactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.chk_PactNO = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.Lab_To = new Infragistics.Win.Misc.UltraLabel();
            this.chk_DeliveryTime = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.panel2 = new System.Windows.Forms.Panel();
            this.ultraGrid2 = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.ultraGrid1 = new Infragistics.Win.UltraWinGrid.UltraGrid();
            this.panel3 = new System.Windows.Forms.Panel();
            this.ultraTabControl1 = new Infragistics.Win.UltraWinTabControl.UltraTabControl();
            this.ultraTabSharedControlsPage1 = new Infragistics.Win.UltraWinTabControl.UltraTabSharedControlsPage();
            this.ultraGroupBox2 = new Infragistics.Win.Misc.UltraGroupBox();
            this.txt_ZYCH = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel20 = new Infragistics.Win.Misc.UltraLabel();
            this.btn_zlupdate = new Infragistics.Win.Misc.UltraButton();
            this.Cmb_Txt_ListCodingTop = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.Cmb_ZL = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.ultraLabel17 = new Infragistics.Win.Misc.UltraLabel();
            this.Cmb_PLD = new Infragistics.Win.UltraWinEditors.UltraComboEditor();
            this.ultBJPactno = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel16 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraButton1 = new Infragistics.Win.Misc.UltraButton();
            this.txt_WEIGHT = new Infragistics.Win.UltraWinEditors.UltraNumericEditor();
            this.ultraLabel19 = new Infragistics.Win.Misc.UltraLabel();
            this.cmb_Station = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.cmb_IncpName = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.txt_Coid_End = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.txt_Coid_TOP = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.Dte_SendTime = new Infragistics.Win.UltraWinEditors.UltraDateTimeEditor();
            this.txt_Scouid = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.Btn_SendBillet = new Infragistics.Win.Misc.UltraButton();
            this.ultraLabel12 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel10 = new Infragistics.Win.Misc.UltraLabel();
            this.chk_QX = new Infragistics.Win.UltraWinEditors.UltraCheckEditor();
            this.btn_NSendID = new Infragistics.Win.Misc.UltraButton();
            this.Txt_SendPactNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel18 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel14 = new Infragistics.Win.Misc.UltraLabel();
            this.Ops_SendType = new Infragistics.Win.UltraWinEditors.UltraOptionSet();
            this.Btn_GetListCoding = new Infragistics.Win.Misc.UltraButton();
            this.txt_Coil_ID = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel9 = new Infragistics.Win.Misc.UltraLabel();
            this.ultraLabel8 = new Infragistics.Win.Misc.UltraLabel();
            this.Txt_Remark = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel7 = new Infragistics.Win.Misc.UltraLabel();
            this.Cmb_ClassTeam = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel6 = new Infragistics.Win.Misc.UltraLabel();
            this.Cmb_ClassOrder = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel5 = new Infragistics.Win.Misc.UltraLabel();
            this.Cmb_SendMan = new Infragistics.Win.UltraWinGrid.UltraCombo();
            this.ultraLabel4 = new Infragistics.Win.Misc.UltraLabel();
            this.Txt_ListCoding = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel3 = new Infragistics.Win.Misc.UltraLabel();
            this.Txt_VecihleNO = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel2 = new Infragistics.Win.Misc.UltraLabel();
            this.Txt_AskPlan = new Infragistics.Win.UltraWinEditors.UltraTextEditor();
            this.ultraLabel1 = new Infragistics.Win.Misc.UltraLabel();
            this.excelExporter = new Infragistics.Win.UltraWinGrid.ExcelExport.UltraGridExcelExporter();
            this.ultraTabPageControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).BeginInit();
            this.ultraTabPageControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gb_Send)).BeginInit();
            this.panel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).BeginInit();
            this.ultraGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_UserName)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_UserBM)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_CoilID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).BeginInit();
            this.panel2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).BeginInit();
            this.panel3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).BeginInit();
            this.ultraTabControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).BeginInit();
            this.ultraGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ZYCH)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ZL)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_PLD)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultBJPactno)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Station)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_IncpName)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_End)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_TOP)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scouid)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Ops_SendType)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Coil_ID)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).BeginInit();
            this.SuspendLayout();
            // 
            // ultraTabPageControl1
            // 
            this.ultraTabPageControl1.Controls.Add(this.gb_Turn);
            this.ultraTabPageControl1.Location = new System.Drawing.Point(2, 21);
            this.ultraTabPageControl1.Name = "ultraTabPageControl1";
            this.ultraTabPageControl1.Size = new System.Drawing.Size(1016, 159);
            // 
            // gb_Turn
            // 
            ultraGridColumn1.Header.Caption = "卷板包号";
            ultraGridColumn1.Header.VisiblePosition = 15;
            ultraGridColumn1.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn1.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn1.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(129, 0);
            ultraGridColumn1.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn1.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn2.Header.Caption = "钢卷号";
            ultraGridColumn2.Header.VisiblePosition = 0;
            ultraGridColumn2.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn2.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn2.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn2.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn2.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn3.Header.Caption = "板坯号";
            ultraGridColumn3.Header.VisiblePosition = 1;
            ultraGridColumn3.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn3.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn3.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
            ultraGridColumn3.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn3.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn4.Header.Caption = "合同号";
            ultraGridColumn4.Header.VisiblePosition = 2;
            ultraGridColumn4.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn4.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn4.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(99, 0);
            ultraGridColumn4.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn4.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn5.Header.Caption = "垛位";
            ultraGridColumn5.Header.VisiblePosition = 14;
            ultraGridColumn5.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn5.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn5.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(90, 0);
            ultraGridColumn5.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn5.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn6.Header.Caption = "订单号";
            ultraGridColumn6.Header.VisiblePosition = 3;
            ultraGridColumn6.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn6.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn6.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
            ultraGridColumn6.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn6.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn7.Header.Caption = "牌号";
            ultraGridColumn7.Header.VisiblePosition = 9;
            ultraGridColumn7.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn7.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn7.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn7.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn7.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn8.Header.Caption = "厚度";
            ultraGridColumn8.Header.VisiblePosition = 4;
            ultraGridColumn8.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn8.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn8.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn8.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn8.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn9.Header.Caption = "宽度";
            ultraGridColumn9.Header.VisiblePosition = 5;
            ultraGridColumn9.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn9.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn9.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(60, 0);
            ultraGridColumn9.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn9.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn10.Header.Caption = "长度";
            ultraGridColumn10.Header.VisiblePosition = 6;
            ultraGridColumn10.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn10.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn10.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
            ultraGridColumn10.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn10.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn11.Header.Caption = "数量";
            ultraGridColumn11.Header.VisiblePosition = 8;
            ultraGridColumn11.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn11.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn11.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(67, 0);
            ultraGridColumn11.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn11.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn12.Header.Caption = "炉号";
            ultraGridColumn12.Header.VisiblePosition = 16;
            ultraGridColumn12.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn12.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn12.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(95, 0);
            ultraGridColumn12.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn12.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn13.Header.Caption = "批号";
            ultraGridColumn13.Header.VisiblePosition = 17;
            ultraGridColumn13.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn13.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn13.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(92, 0);
            ultraGridColumn13.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn13.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn14.Header.Caption = "理论重量";
            ultraGridColumn14.Header.VisiblePosition = 7;
            ultraGridColumn14.RowLayoutColumnInfo.OriginX = 22;
            ultraGridColumn14.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn14.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(70, 0);
            ultraGridColumn14.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn14.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn15.Header.Caption = "综合判定";
            ultraGridColumn15.Header.VisiblePosition = 10;
            ultraGridColumn15.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn15.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn15.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(64, 0);
            ultraGridColumn15.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn15.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn16.Header.Caption = "执行标准";
            ultraGridColumn16.Header.VisiblePosition = 18;
            ultraGridColumn16.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn16.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn16.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(96, 0);
            ultraGridColumn16.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn16.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn17.Header.Caption = "卷板总包号";
            ultraGridColumn17.Header.VisiblePosition = 19;
            ultraGridColumn17.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
            ultraGridColumn17.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn17.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn17.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(128, 0);
            ultraGridColumn17.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn17.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn18.Header.Caption = "缺陷1";
            ultraGridColumn18.Header.VisiblePosition = 11;
            ultraGridColumn18.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn18.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn18.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
            ultraGridColumn18.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn18.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn19.Header.Caption = "质保书编号";
            ultraGridColumn19.Header.VisiblePosition = 13;
            ultraGridColumn19.RowLayoutColumnInfo.OriginX = 28;
            ultraGridColumn19.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn19.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(69, 0);
            ultraGridColumn19.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn19.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn20.Header.Caption = "车辆号";
            ultraGridColumn20.Header.VisiblePosition = 12;
            ultraGridColumn20.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn20.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn20.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(78, 0);
            ultraGridColumn20.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn20.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn21.Header.Caption = "班次";
            ultraGridColumn21.Header.VisiblePosition = 20;
            ultraGridColumn21.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn21.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn21.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn21.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn22.Header.Caption = "班组";
            ultraGridColumn22.Header.VisiblePosition = 21;
            ultraGridColumn22.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn22.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn22.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn22.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn23.Header.Caption = "登记时间";
            ultraGridColumn23.Header.VisiblePosition = 22;
            ultraGridColumn23.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn23.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn23.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn23.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn24.Header.Caption = "登记人";
            ultraGridColumn24.Header.VisiblePosition = 23;
            ultraGridColumn24.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn24.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn24.RowLayoutColumnInfo.SpanX = 2;
            ultraGridColumn24.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn25.Header.Caption = "过磅重量";
            ultraGridColumn25.Header.VisiblePosition = 24;
            ultraGridColumn25.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn25.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn25.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn25.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn26.Header.Caption = "面积";
            ultraGridColumn26.Header.VisiblePosition = 25;
            ultraGridColumn26.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn26.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn26.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn26.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn27.Header.Caption = "";
            ultraGridColumn27.Header.VisiblePosition = 26;
            ultraGridColumn27.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn27.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn27.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(45, 0);
            ultraGridColumn27.RowLayoutColumnInfo.SpanX = 2;
            ultraGridColumn27.RowLayoutColumnInfo.SpanY = 2;
            ultraGridColumn27.Style = Infragistics.Win.UltraWinGrid.ColumnStyle.CheckBox;
            ultraGridBand1.Columns.AddRange(new object[] {
            ultraGridColumn1,
            ultraGridColumn2,
            ultraGridColumn3,
            ultraGridColumn4,
            ultraGridColumn5,
            ultraGridColumn6,
            ultraGridColumn7,
            ultraGridColumn8,
            ultraGridColumn9,
            ultraGridColumn10,
            ultraGridColumn11,
            ultraGridColumn12,
            ultraGridColumn13,
            ultraGridColumn14,
            ultraGridColumn15,
            ultraGridColumn16,
            ultraGridColumn17,
            ultraGridColumn18,
            ultraGridColumn19,
            ultraGridColumn20,
            ultraGridColumn21,
            ultraGridColumn22,
            ultraGridColumn23,
            ultraGridColumn24,
            ultraGridColumn25,
            ultraGridColumn26,
            ultraGridColumn27});
            ultraGridBand1.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            summarySettings1.DisplayFormat = "{0}吨";
            summarySettings1.GroupBySummaryValueAppearance = appearance1;
            summarySettings2.DisplayFormat = "{0}块";
            summarySettings2.GroupBySummaryValueAppearance = appearance2;
            summarySettings3.DisplayFormat = "{0}吨";
            summarySettings3.GroupBySummaryValueAppearance = appearance3;
            summarySettings4.GroupBySummaryValueAppearance = appearance4;
            ultraGridBand1.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings1,
            summarySettings2,
            summarySettings3,
            summarySettings4});
            ultraGridBand1.UseRowLayout = true;
            this.gb_Turn.DisplayLayout.BandsSerializer.Add(ultraGridBand1);
            this.gb_Turn.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Turn.DisplayLayout.GroupByBox.Hidden = true;
            this.gb_Turn.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.gb_Turn.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Turn.DisplayLayout.Override.CellPadding = 0;
            this.gb_Turn.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.gb_Turn.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Turn.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.gb_Turn.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Turn.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Turn.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.gb_Turn.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.gb_Turn.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Turn.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Turn.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Turn.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Turn.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Turn.Location = new System.Drawing.Point(0, 0);
            this.gb_Turn.Name = "gb_Turn";
            this.gb_Turn.Size = new System.Drawing.Size(1016, 159);
            this.gb_Turn.TabIndex = 0;
            // 
            // ultraTabPageControl2
            // 
            this.ultraTabPageControl2.Controls.Add(this.gb_Send);
            this.ultraTabPageControl2.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabPageControl2.Name = "ultraTabPageControl2";
            this.ultraTabPageControl2.Size = new System.Drawing.Size(1016, 159);
            // 
            // gb_Send
            // 
            ultraGridColumn28.Header.Caption = "确认";
            ultraGridColumn28.Header.VisiblePosition = 0;
            ultraGridColumn28.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn28.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn28.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(65, 0);
            ultraGridColumn28.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn28.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn29.Header.Caption = "收货单位";
            ultraGridColumn29.Header.VisiblePosition = 2;
            ultraGridColumn29.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn29.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn29.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(146, 0);
            ultraGridColumn29.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn29.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn30.Header.Caption = "到站";
            ultraGridColumn30.Header.VisiblePosition = 3;
            ultraGridColumn30.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn30.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn30.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn30.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn31.Header.Caption = "发运号";
            ultraGridColumn31.Header.VisiblePosition = 5;
            ultraGridColumn31.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn31.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn31.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(116, 0);
            ultraGridColumn31.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn31.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn32.Header.Caption = "车号";
            ultraGridColumn32.Header.VisiblePosition = 7;
            ultraGridColumn32.RowLayoutColumnInfo.OriginX = 13;
            ultraGridColumn32.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn32.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
            ultraGridColumn32.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn32.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn33.Header.Caption = "明细号";
            ultraGridColumn33.Header.VisiblePosition = 9;
            ultraGridColumn33.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn33.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn33.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(88, 0);
            ultraGridColumn33.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn33.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn34.Header.Caption = "卷板包号";
            ultraGridColumn34.Header.VisiblePosition = 13;
            ultraGridColumn34.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn34.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn34.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(136, 0);
            ultraGridColumn34.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn34.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn35.Header.Caption = "钢卷号";
            ultraGridColumn35.Header.VisiblePosition = 1;
            ultraGridColumn35.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn35.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn35.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(101, 0);
            ultraGridColumn35.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn35.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn36.Header.Caption = "牌号";
            ultraGridColumn36.Header.VisiblePosition = 11;
            ultraGridColumn36.RowLayoutColumnInfo.OriginX = 16;
            ultraGridColumn36.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn36.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(71, 0);
            ultraGridColumn36.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn36.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn37.Header.Caption = "厚度";
            ultraGridColumn37.Header.VisiblePosition = 14;
            ultraGridColumn37.RowLayoutColumnInfo.OriginX = 21;
            ultraGridColumn37.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn37.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(66, 0);
            ultraGridColumn37.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn37.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn38.Header.Caption = "宽度";
            ultraGridColumn38.Header.VisiblePosition = 4;
            ultraGridColumn38.RowLayoutColumnInfo.OriginX = 22;
            ultraGridColumn38.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn38.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(61, 0);
            ultraGridColumn38.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn38.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn39.Header.Caption = "长度";
            ultraGridColumn39.Header.VisiblePosition = 6;
            ultraGridColumn39.RowLayoutColumnInfo.OriginX = 23;
            ultraGridColumn39.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn39.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(55, 0);
            ultraGridColumn39.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn39.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn40.Header.Caption = "数量";
            ultraGridColumn40.Header.VisiblePosition = 8;
            ultraGridColumn40.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn40.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn40.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(84, 0);
            ultraGridColumn40.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn40.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn41.Header.Caption = "理论重量";
            ultraGridColumn41.Header.VisiblePosition = 10;
            ultraGridColumn41.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn41.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn41.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(97, 0);
            ultraGridColumn41.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn41.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn42.Header.Caption = "发运时间";
            ultraGridColumn42.Header.VisiblePosition = 15;
            ultraGridColumn42.RowLayoutColumnInfo.OriginX = 26;
            ultraGridColumn42.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn42.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn42.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn43.Header.Caption = "炉号";
            ultraGridColumn43.Header.VisiblePosition = 16;
            ultraGridColumn43.RowLayoutColumnInfo.OriginX = 10;
            ultraGridColumn43.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn43.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(85, 0);
            ultraGridColumn43.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn43.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn44.Header.Caption = "垛位";
            ultraGridColumn44.Header.VisiblePosition = 12;
            ultraGridColumn44.RowLayoutColumnInfo.OriginX = 15;
            ultraGridColumn44.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn44.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(82, 0);
            ultraGridColumn44.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn44.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn45.Header.Caption = "合同号";
            ultraGridColumn45.Header.VisiblePosition = 17;
            ultraGridColumn45.RowLayoutColumnInfo.OriginX = 11;
            ultraGridColumn45.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn45.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(130, 0);
            ultraGridColumn45.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn45.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn46.Header.VisiblePosition = 18;
            ultraGridColumn46.Hidden = true;
            ultraGridColumn46.RowLayoutColumnInfo.OriginX = 9;
            ultraGridColumn46.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn46.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn46.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn47.Header.Caption = "过磅总量";
            ultraGridColumn47.Header.VisiblePosition = 19;
            ultraGridColumn47.MergedCellStyle = Infragistics.Win.UltraWinGrid.MergedCellStyle.Always;
            ultraGridColumn47.RowLayoutColumnInfo.OriginX = 17;
            ultraGridColumn47.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn47.RowLayoutColumnInfo.PreferredCellSize = new System.Drawing.Size(76, 0);
            ultraGridColumn47.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn47.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn48.Header.Caption = "备注";
            ultraGridColumn48.Header.VisiblePosition = 20;
            ultraGridColumn48.RowLayoutColumnInfo.OriginX = 27;
            ultraGridColumn48.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn48.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn48.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn49.Header.Caption = "销售合同号";
            ultraGridColumn49.Header.VisiblePosition = 21;
            ultraGridColumn49.RowLayoutColumnInfo.OriginX = 12;
            ultraGridColumn49.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn49.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn49.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn50.Header.Caption = "发运人";
            ultraGridColumn50.Header.VisiblePosition = 22;
            ultraGridColumn50.RowLayoutColumnInfo.OriginX = 24;
            ultraGridColumn50.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn50.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn50.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn51.Header.Caption = "登记人";
            ultraGridColumn51.Header.VisiblePosition = 23;
            ultraGridColumn51.RowLayoutColumnInfo.OriginX = 25;
            ultraGridColumn51.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn51.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn51.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn52.Header.Caption = "过磅重量";
            ultraGridColumn52.Header.VisiblePosition = 24;
            ultraGridColumn52.RowLayoutColumnInfo.OriginX = 18;
            ultraGridColumn52.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn52.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn52.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn53.Header.Caption = "面积";
            ultraGridColumn53.Header.VisiblePosition = 25;
            ultraGridColumn53.Hidden = true;
            ultraGridColumn53.RowLayoutColumnInfo.OriginX = 20;
            ultraGridColumn53.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn53.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn53.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn54.Header.Caption = "转运车号";
            ultraGridColumn54.Header.VisiblePosition = 26;
            ultraGridColumn54.RowLayoutColumnInfo.OriginX = 14;
            ultraGridColumn54.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn54.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn54.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn55.Header.Caption = "运输方式";
            ultraGridColumn55.Header.VisiblePosition = 27;
            ultraGridColumn55.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn55.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn55.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn55.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn56.Header.Caption = "转运单位";
            ultraGridColumn56.Header.VisiblePosition = 28;
            ultraGridColumn56.RowLayoutColumnInfo.OriginX = 19;
            ultraGridColumn56.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn56.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn56.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand2.Columns.AddRange(new object[] {
            ultraGridColumn28,
            ultraGridColumn29,
            ultraGridColumn30,
            ultraGridColumn31,
            ultraGridColumn32,
            ultraGridColumn33,
            ultraGridColumn34,
            ultraGridColumn35,
            ultraGridColumn36,
            ultraGridColumn37,
            ultraGridColumn38,
            ultraGridColumn39,
            ultraGridColumn40,
            ultraGridColumn41,
            ultraGridColumn42,
            ultraGridColumn43,
            ultraGridColumn44,
            ultraGridColumn45,
            ultraGridColumn46,
            ultraGridColumn47,
            ultraGridColumn48,
            ultraGridColumn49,
            ultraGridColumn50,
            ultraGridColumn51,
            ultraGridColumn52,
            ultraGridColumn53,
            ultraGridColumn54,
            ultraGridColumn55,
            ultraGridColumn56});
            ultraGridBand2.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            summarySettings5.DisplayFormat = "{0}吨";
            summarySettings5.GroupBySummaryValueAppearance = appearance5;
            summarySettings6.DisplayFormat = "{0}块";
            summarySettings6.GroupBySummaryValueAppearance = appearance6;
            summarySettings7.DisplayFormat = "{0}吨";
            summarySettings7.GroupBySummaryValueAppearance = appearance7;
            summarySettings8.DisplayFormat = "{0}包";
            summarySettings8.GroupBySummaryValueAppearance = appearance8;
            summarySettings9.DisplayFormat = "{0}吨";
            summarySettings9.GroupBySummaryValueAppearance = appearance9;
            summarySettings10.GroupBySummaryValueAppearance = appearance10;
            ultraGridBand2.Summaries.AddRange(new Infragistics.Win.UltraWinGrid.SummarySettings[] {
            summarySettings5,
            summarySettings6,
            summarySettings7,
            summarySettings8,
            summarySettings9,
            summarySettings10});
            ultraGridBand2.UseRowLayout = true;
            this.gb_Send.DisplayLayout.BandsSerializer.Add(ultraGridBand2);
            this.gb_Send.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Send.DisplayLayout.GroupByBox.Prompt = "将要分组的列拖至该区域！";
            this.gb_Send.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.gb_Send.DisplayLayout.Override.CellPadding = 0;
            this.gb_Send.DisplayLayout.Override.GroupBySummaryDisplayStyle = Infragistics.Win.UltraWinGrid.GroupBySummaryDisplayStyle.SummaryCells;
            this.gb_Send.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.gb_Send.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.Standard;
            this.gb_Send.DisplayLayout.Override.RowSelectorHeaderStyle = Infragistics.Win.UltraWinGrid.RowSelectorHeaderStyle.SeparateElement;
            this.gb_Send.DisplayLayout.Override.RowSelectorNumberStyle = Infragistics.Win.UltraWinGrid.RowSelectorNumberStyle.RowIndex;
            this.gb_Send.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.True;
            this.gb_Send.DisplayLayout.Override.SummaryDisplayArea = Infragistics.Win.UltraWinGrid.SummaryDisplayAreas.BottomFixed;
            this.gb_Send.DisplayLayout.Override.SummaryFooterCaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.gb_Send.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.gb_Send.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.gb_Send.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.gb_Send.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gb_Send.Location = new System.Drawing.Point(0, 0);
            this.gb_Send.Name = "gb_Send";
            this.gb_Send.Size = new System.Drawing.Size(1016, 159);
            this.gb_Send.TabIndex = 0;
            this.gb_Send.InitializeRow += new Infragistics.Win.UltraWinGrid.InitializeRowEventHandler(this.gb_Send_InitializeRow);
            // 
            // panel1
            // 
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Left);
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Right);
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Top);
            this.panel1.Controls.Add(this._panel1_Toolbars_Dock_Area_Bottom);
            this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel1.Location = new System.Drawing.Point(0, 0);
            this.panel1.Name = "panel1";
            this.panel1.Size = new System.Drawing.Size(1020, 24);
            this.panel1.TabIndex = 0;
            // 
            // _panel1_Toolbars_Dock_Area_Left
            // 
            this._panel1_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
            this._panel1_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
            this._panel1_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 27);
            this._panel1_Toolbars_Dock_Area_Left.Name = "_panel1_Toolbars_Dock_Area_Left";
            this._panel1_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 0);
            this._panel1_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraToolbarsManager1
            // 
            this.ultraToolbarsManager1.DesignerFlags = 1;
            this.ultraToolbarsManager1.DockWithinContainer = this.panel1;
            this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
            this.ultraToolbarsManager1.Style = Infragistics.Win.UltraWinToolbars.ToolbarStyle.VisualStudio2005;
            ultraToolbar1.DockedColumn = 0;
            ultraToolbar1.DockedRow = 0;
            ultraToolbar1.Text = "UltraToolbar1";
            buttonTool2.InstanceProps.IsFirstInGroup = true;
            buttonTool3.InstanceProps.IsFirstInGroup = true;
            buttonTool4.InstanceProps.IsFirstInGroup = true;
            buttonTool5.InstanceProps.IsFirstInGroup = true;
            buttonTool9.InstanceProps.IsFirstInGroup = true;
            ultraToolbar1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3,
            buttonTool4,
            buttonTool5,
            buttonTool6,
            buttonTool7,
            buttonTool8,
            buttonTool9});
            this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
            ultraToolbar1});
            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;
            buttonTool17.SharedProps.Caption = "预报取消";
            buttonTool17.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool18.SharedProps.Caption = "计量确认";
            buttonTool18.SharedProps.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
            buttonTool18.SharedProps.Visible = false;
            this.ultraToolbarsManager1.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
            buttonTool10,
            buttonTool11,
            buttonTool12,
            buttonTool13,
            buttonTool14,
            buttonTool15,
            buttonTool16,
            buttonTool17,
            buttonTool18});
            this.ultraToolbarsManager1.ToolClick += new Infragistics.Win.UltraWinToolbars.ToolClickEventHandler(this.ultraToolbarsManager1_ToolClick);
            // 
            // _panel1_Toolbars_Dock_Area_Right
            // 
            this._panel1_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
            this._panel1_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
            this._panel1_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(1020, 27);
            this._panel1_Toolbars_Dock_Area_Right.Name = "_panel1_Toolbars_Dock_Area_Right";
            this._panel1_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 0);
            this._panel1_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // _panel1_Toolbars_Dock_Area_Top
            // 
            this._panel1_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
            this._panel1_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
            this._panel1_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
            this._panel1_Toolbars_Dock_Area_Top.Name = "_panel1_Toolbars_Dock_Area_Top";
            this._panel1_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(1020, 27);
            this._panel1_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // _panel1_Toolbars_Dock_Area_Bottom
            // 
            this._panel1_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this._panel1_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
            this._panel1_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
            this._panel1_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
            this._panel1_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 24);
            this._panel1_Toolbars_Dock_Area_Bottom.Name = "_panel1_Toolbars_Dock_Area_Bottom";
            this._panel1_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(1020, 0);
            this._panel1_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
            // 
            // ultraGroupBox1
            // 
            this.ultraGroupBox1.Controls.Add(this.chk_AllowFilter);
            this.ultraGroupBox1.Controls.Add(this.txt_GangJuan);
            this.ultraGroupBox1.Controls.Add(this.ultraTextEditor2);
            this.ultraGroupBox1.Controls.Add(this.ultraTextEditor1);
            this.ultraGroupBox1.Controls.Add(this.chk_GangJuan);
            this.ultraGroupBox1.Controls.Add(this.Dte_EndTime);
            this.ultraGroupBox1.Controls.Add(this.Dte_BeginTime);
            this.ultraGroupBox1.Controls.Add(this.txt_UserName);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel15);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel13);
            this.ultraGroupBox1.Controls.Add(this.txt_UserBM);
            this.ultraGroupBox1.Controls.Add(this.ultraLabel11);
            this.ultraGroupBox1.Controls.Add(this.txt_AskPlanID);
            this.ultraGroupBox1.Controls.Add(this.chk_AskPlanID);
            this.ultraGroupBox1.Controls.Add(this.txt_ListCode);
            this.ultraGroupBox1.Controls.Add(this.chk_ListCode);
            this.ultraGroupBox1.Controls.Add(this.txt_CoilID);
            this.ultraGroupBox1.Controls.Add(this.chk_CoilID);
            this.ultraGroupBox1.Controls.Add(this.Txt_PactNO);
            this.ultraGroupBox1.Controls.Add(this.chk_PactNO);
            this.ultraGroupBox1.Controls.Add(this.Lab_To);
            this.ultraGroupBox1.Controls.Add(this.chk_DeliveryTime);
            this.ultraGroupBox1.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraGroupBox1.Location = new System.Drawing.Point(0, 24);
            this.ultraGroupBox1.Name = "ultraGroupBox1";
            this.ultraGroupBox1.Size = new System.Drawing.Size(1020, 56);
            this.ultraGroupBox1.SupportThemes = false;
            this.ultraGroupBox1.TabIndex = 1;
            this.ultraGroupBox1.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.VisualStudio2005;
            // 
            // chk_AllowFilter
            // 
            this.chk_AllowFilter.BackColor = System.Drawing.Color.White;
            this.chk_AllowFilter.Location = new System.Drawing.Point(904, 27);
            this.chk_AllowFilter.Name = "chk_AllowFilter";
            this.chk_AllowFilter.Size = new System.Drawing.Size(48, 20);
            this.chk_AllowFilter.TabIndex = 146;
            this.chk_AllowFilter.Text = "过滤";
            this.chk_AllowFilter.CheckedChanged += new System.EventHandler(this.chk_AllowFilter_CheckedChanged);
            // 
            // txt_GangJuan
            // 
            this.txt_GangJuan.AutoSize = true;
            this.txt_GangJuan.Enabled = false;
            this.txt_GangJuan.FlatMode = true;
            this.txt_GangJuan.Location = new System.Drawing.Point(616, 6);
            this.txt_GangJuan.Name = "txt_GangJuan";
            this.txt_GangJuan.Size = new System.Drawing.Size(96, 19);
            this.txt_GangJuan.TabIndex = 145;
            this.txt_GangJuan.Tag = "";
            // 
            // ultraTextEditor2
            // 
            this.ultraTextEditor2.AutoSize = true;
            this.ultraTextEditor2.Enabled = false;
            this.ultraTextEditor2.FlatMode = true;
            this.ultraTextEditor2.Location = new System.Drawing.Point(360, 6);
            this.ultraTextEditor2.Name = "ultraTextEditor2";
            this.ultraTextEditor2.Size = new System.Drawing.Size(32, 19);
            this.ultraTextEditor2.TabIndex = 144;
            this.ultraTextEditor2.Tag = "";
            // 
            // ultraTextEditor1
            // 
            this.ultraTextEditor1.AutoSize = true;
            this.ultraTextEditor1.Enabled = false;
            this.ultraTextEditor1.FlatMode = true;
            this.ultraTextEditor1.Location = new System.Drawing.Point(272, 6);
            this.ultraTextEditor1.Name = "ultraTextEditor1";
            this.ultraTextEditor1.Size = new System.Drawing.Size(88, 19);
            this.ultraTextEditor1.TabIndex = 143;
            this.ultraTextEditor1.Tag = "";
            // 
            // chk_GangJuan
            // 
            this.chk_GangJuan.BackColor = System.Drawing.Color.White;
            this.chk_GangJuan.FlatMode = true;
            this.chk_GangJuan.Location = new System.Drawing.Point(560, 10);
            this.chk_GangJuan.Name = "chk_GangJuan";
            this.chk_GangJuan.Size = new System.Drawing.Size(60, 14);
            this.chk_GangJuan.TabIndex = 142;
            this.chk_GangJuan.Text = "钢卷号";
            this.chk_GangJuan.CheckedChanged += new System.EventHandler(this.chk_GangJuan_CheckedChanged);
            // 
            // Dte_EndTime
            // 
            this.Dte_EndTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
            this.Dte_EndTime.Enabled = false;
            this.Dte_EndTime.FlatMode = true;
            this.Dte_EndTime.Location = new System.Drawing.Point(56, 26);
            this.Dte_EndTime.Name = "Dte_EndTime";
            this.Dte_EndTime.Size = new System.Drawing.Size(112, 19);
            this.Dte_EndTime.TabIndex = 141;
            this.Dte_EndTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
            // 
            // Dte_BeginTime
            // 
            this.Dte_BeginTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
            this.Dte_BeginTime.Enabled = false;
            this.Dte_BeginTime.FlatMode = true;
            this.Dte_BeginTime.Location = new System.Drawing.Point(56, 4);
            this.Dte_BeginTime.Name = "Dte_BeginTime";
            this.Dte_BeginTime.Size = new System.Drawing.Size(112, 19);
            this.Dte_BeginTime.TabIndex = 140;
            this.Dte_BeginTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
            // 
            // txt_UserName
            // 
            this.txt_UserName.AutoSize = true;
            this.txt_UserName.FlatMode = true;
            this.txt_UserName.Location = new System.Drawing.Point(776, 28);
            this.txt_UserName.Name = "txt_UserName";
            this.txt_UserName.Size = new System.Drawing.Size(120, 19);
            this.txt_UserName.TabIndex = 137;
            // 
            // ultraLabel15
            // 
            this.ultraLabel15.BackColor = System.Drawing.Color.White;
            this.ultraLabel15.Location = new System.Drawing.Point(720, 30);
            this.ultraLabel15.Name = "ultraLabel15";
            this.ultraLabel15.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel15.TabIndex = 136;
            this.ultraLabel15.Text = "用户名称";
            // 
            // ultraLabel13
            // 
            this.ultraLabel13.BackColor = System.Drawing.Color.White;
            this.ultraLabel13.Location = new System.Drawing.Point(720, 8);
            this.ultraLabel13.Name = "ultraLabel13";
            this.ultraLabel13.Size = new System.Drawing.Size(56, 16);
            this.ultraLabel13.TabIndex = 135;
            this.ultraLabel13.Text = "用户编码";
            // 
            // txt_UserBM
            // 
            this.txt_UserBM.AutoSize = true;
            this.txt_UserBM.FlatMode = true;
            this.txt_UserBM.Location = new System.Drawing.Point(776, 4);
            this.txt_UserBM.Name = "txt_UserBM";
            this.txt_UserBM.Size = new System.Drawing.Size(120, 19);
            this.txt_UserBM.TabIndex = 134;
            // 
            // ultraLabel11
            // 
            this.ultraLabel11.BackColor = System.Drawing.Color.Red;
            this.ultraLabel11.Font = new System.Drawing.Font("宋体", 9.4F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.ultraLabel11.Location = new System.Drawing.Point(560, 27);
            this.ultraLabel11.Name = "ultraLabel11";
            this.ultraLabel11.Size = new System.Drawing.Size(152, 20);
            this.ultraLabel11.TabIndex = 133;
            this.ultraLabel11.Text = "颜色表示不满足交货需求";
            // 
            // txt_AskPlanID
            // 
            this.txt_AskPlanID.AutoSize = true;
            this.txt_AskPlanID.Enabled = false;
            this.txt_AskPlanID.FlatMode = true;
            this.txt_AskPlanID.Location = new System.Drawing.Point(456, 6);
            this.txt_AskPlanID.Name = "txt_AskPlanID";
            this.txt_AskPlanID.Size = new System.Drawing.Size(98, 19);
            this.txt_AskPlanID.TabIndex = 132;
            this.txt_AskPlanID.Tag = "";
            // 
            // chk_AskPlanID
            // 
            this.chk_AskPlanID.BackColor = System.Drawing.Color.White;
            this.chk_AskPlanID.FlatMode = true;
            this.chk_AskPlanID.Location = new System.Drawing.Point(400, 10);
            this.chk_AskPlanID.Name = "chk_AskPlanID";
            this.chk_AskPlanID.Size = new System.Drawing.Size(60, 14);
            this.chk_AskPlanID.TabIndex = 131;
            this.chk_AskPlanID.Text = "发运号";
            this.chk_AskPlanID.CheckedChanged += new System.EventHandler(this.chk_AskPlanID_CheckedChanged);
            // 
            // txt_ListCode
            // 
            this.txt_ListCode.AutoSize = true;
            this.txt_ListCode.Enabled = false;
            this.txt_ListCode.FlatMode = true;
            this.txt_ListCode.Location = new System.Drawing.Point(456, 28);
            this.txt_ListCode.Name = "txt_ListCode";
            this.txt_ListCode.Size = new System.Drawing.Size(98, 19);
            this.txt_ListCode.TabIndex = 130;
            this.txt_ListCode.Tag = "";
            // 
            // chk_ListCode
            // 
            this.chk_ListCode.BackColor = System.Drawing.Color.White;
            this.chk_ListCode.FlatMode = true;
            this.chk_ListCode.Location = new System.Drawing.Point(400, 32);
            this.chk_ListCode.Name = "chk_ListCode";
            this.chk_ListCode.Size = new System.Drawing.Size(60, 14);
            this.chk_ListCode.TabIndex = 129;
            this.chk_ListCode.Text = "明细号";
            this.chk_ListCode.CheckedChanged += new System.EventHandler(this.chk_ListCode_CheckedChanged);
            // 
            // txt_CoilID
            // 
            this.txt_CoilID.AutoSize = true;
            this.txt_CoilID.Enabled = false;
            this.txt_CoilID.FlatMode = true;
            this.txt_CoilID.Location = new System.Drawing.Point(248, 6);
            this.txt_CoilID.Name = "txt_CoilID";
            this.txt_CoilID.Size = new System.Drawing.Size(24, 19);
            this.txt_CoilID.TabIndex = 128;
            this.txt_CoilID.Tag = "";
            // 
            // chk_CoilID
            // 
            this.chk_CoilID.BackColor = System.Drawing.Color.White;
            this.chk_CoilID.FlatMode = true;
            this.chk_CoilID.Location = new System.Drawing.Point(176, 8);
            this.chk_CoilID.Name = "chk_CoilID";
            this.chk_CoilID.Size = new System.Drawing.Size(72, 14);
            this.chk_CoilID.TabIndex = 127;
            this.chk_CoilID.Text = "卷板包号";
            this.chk_CoilID.CheckedChanged += new System.EventHandler(this.chk_CoilID_CheckedChanged);
            // 
            // Txt_PactNO
            // 
            this.Txt_PactNO.AutoSize = true;
            this.Txt_PactNO.Enabled = false;
            this.Txt_PactNO.FlatMode = true;
            this.Txt_PactNO.Location = new System.Drawing.Point(248, 28);
            this.Txt_PactNO.Name = "Txt_PactNO";
            this.Txt_PactNO.Size = new System.Drawing.Size(144, 19);
            this.Txt_PactNO.TabIndex = 126;
            this.Txt_PactNO.Tag = "";
            // 
            // chk_PactNO
            // 
            this.chk_PactNO.BackColor = System.Drawing.Color.White;
            this.chk_PactNO.FlatMode = true;
            this.chk_PactNO.Location = new System.Drawing.Point(176, 30);
            this.chk_PactNO.Name = "chk_PactNO";
            this.chk_PactNO.Size = new System.Drawing.Size(60, 14);
            this.chk_PactNO.TabIndex = 125;
            this.chk_PactNO.Text = "合同号";
            this.chk_PactNO.CheckedChanged += new System.EventHandler(this.chk_PactNO_CheckedChanged);
            // 
            // Lab_To
            // 
            this.Lab_To.BackColor = System.Drawing.Color.White;
            this.Lab_To.FlatMode = true;
            this.Lab_To.Location = new System.Drawing.Point(33, 27);
            this.Lab_To.Name = "Lab_To";
            this.Lab_To.Size = new System.Drawing.Size(17, 16);
            this.Lab_To.TabIndex = 123;
            this.Lab_To.Text = "到";
            // 
            // chk_DeliveryTime
            // 
            this.chk_DeliveryTime.BackColor = System.Drawing.Color.White;
            this.chk_DeliveryTime.ButtonStyle = Infragistics.Win.UIElementButtonStyle.Office2003ToolbarButton;
            this.chk_DeliveryTime.FlatMode = true;
            this.chk_DeliveryTime.Location = new System.Drawing.Point(8, 8);
            this.chk_DeliveryTime.Name = "chk_DeliveryTime";
            this.chk_DeliveryTime.Size = new System.Drawing.Size(48, 14);
            this.chk_DeliveryTime.TabIndex = 121;
            this.chk_DeliveryTime.Text = "时间";
            this.chk_DeliveryTime.CheckedChanged += new System.EventHandler(this.chk_DeliveryTime_CheckedChanged);
            // 
            // panel2
            // 
            this.panel2.Controls.Add(this.ultraGrid2);
            this.panel2.Controls.Add(this.ultraGrid1);
            this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
            this.panel2.Location = new System.Drawing.Point(0, 80);
            this.panel2.Name = "panel2";
            this.panel2.Size = new System.Drawing.Size(1020, 144);
            this.panel2.TabIndex = 2;
            // 
            // ultraGrid2
            // 
            ultraGridColumn57.Header.Caption = "发运号";
            ultraGridColumn57.Header.VisiblePosition = 0;
            ultraGridColumn57.RowLayoutColumnInfo.OriginX = 0;
            ultraGridColumn57.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn57.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn57.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn58.Header.Caption = "合同号";
            ultraGridColumn58.Header.VisiblePosition = 1;
            ultraGridColumn58.RowLayoutColumnInfo.OriginX = 1;
            ultraGridColumn58.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn58.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn58.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn59.Header.Caption = "客户名称";
            ultraGridColumn59.Header.VisiblePosition = 2;
            ultraGridColumn59.RowLayoutColumnInfo.OriginX = 2;
            ultraGridColumn59.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn59.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn59.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn60.Header.Caption = "收货单位";
            ultraGridColumn60.Header.VisiblePosition = 3;
            ultraGridColumn60.RowLayoutColumnInfo.OriginX = 3;
            ultraGridColumn60.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn60.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn60.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn61.Header.Caption = "下车时间";
            ultraGridColumn61.Header.VisiblePosition = 4;
            ultraGridColumn61.RowLayoutColumnInfo.OriginX = 7;
            ultraGridColumn61.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn61.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn61.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn62.Header.Caption = "排车量";
            ultraGridColumn62.Header.VisiblePosition = 6;
            ultraGridColumn62.RowLayoutColumnInfo.OriginX = 6;
            ultraGridColumn62.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn62.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn62.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn63.Header.Caption = "车号";
            ultraGridColumn63.Header.VisiblePosition = 5;
            ultraGridColumn63.RowLayoutColumnInfo.OriginX = 5;
            ultraGridColumn63.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn63.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn63.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn64.Header.Caption = "备注";
            ultraGridColumn64.Header.VisiblePosition = 7;
            ultraGridColumn64.RowLayoutColumnInfo.OriginX = 8;
            ultraGridColumn64.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn64.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn64.RowLayoutColumnInfo.SpanY = 1;
            ultraGridColumn65.Header.Caption = "到站";
            ultraGridColumn65.Header.VisiblePosition = 8;
            ultraGridColumn65.RowLayoutColumnInfo.OriginX = 4;
            ultraGridColumn65.RowLayoutColumnInfo.OriginY = 0;
            ultraGridColumn65.RowLayoutColumnInfo.SpanX = 1;
            ultraGridColumn65.RowLayoutColumnInfo.SpanY = 1;
            ultraGridBand3.Columns.AddRange(new object[] {
            ultraGridColumn57,
            ultraGridColumn58,
            ultraGridColumn59,
            ultraGridColumn60,
            ultraGridColumn61,
            ultraGridColumn62,
            ultraGridColumn63,
            ultraGridColumn64,
            ultraGridColumn65});
            ultraGridBand3.UseRowLayout = true;
            this.ultraGrid2.DisplayLayout.BandsSerializer.Add(ultraGridBand3);
            this.ultraGrid2.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.ultraGrid2.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid2.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.ultraGrid2.DisplayLayout.GroupByBox.Hidden = true;
            this.ultraGrid2.DisplayLayout.MaxColScrollRegions = 1;
            this.ultraGrid2.DisplayLayout.MaxRowScrollRegions = 1;
            this.ultraGrid2.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.ultraGrid2.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.ultraGrid2.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.ultraGrid2.DisplayLayout.Override.CellPadding = 0;
            this.ultraGrid2.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.ultraGrid2.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            this.ultraGrid2.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            this.ultraGrid2.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.ultraGrid2.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.ultraGrid2.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.ultraGrid2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGrid2.Location = new System.Drawing.Point(0, 0);
            this.ultraGrid2.Name = "ultraGrid2";
            this.ultraGrid2.Size = new System.Drawing.Size(1020, 144);
            this.ultraGrid2.TabIndex = 2;
            this.ultraGrid2.Text = "ultraGrid2";
            this.ultraGrid2.DoubleClickRow += new Infragistics.Win.UltraWinGrid.DoubleClickRowEventHandler(this.ultraGrid2_DoubleClickRow);
            // 
            // ultraGrid1
            // 
            this.ultraGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraGrid1.Location = new System.Drawing.Point(0, 0);
            this.ultraGrid1.Name = "ultraGrid1";
            this.ultraGrid1.Size = new System.Drawing.Size(1020, 144);
            this.ultraGrid1.TabIndex = 1;
            // 
            // panel3
            // 
            this.panel3.Controls.Add(this.ultraTabControl1);
            this.panel3.Controls.Add(this.ultraGroupBox2);
            this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panel3.Location = new System.Drawing.Point(0, 224);
            this.panel3.Name = "panel3";
            this.panel3.Size = new System.Drawing.Size(1020, 278);
            this.panel3.TabIndex = 3;
            // 
            // ultraTabControl1
            // 
            this.ultraTabControl1.Controls.Add(this.ultraTabSharedControlsPage1);
            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl1);
            this.ultraTabControl1.Controls.Add(this.ultraTabPageControl2);
            this.ultraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.ultraTabControl1.Location = new System.Drawing.Point(0, 96);
            this.ultraTabControl1.Name = "ultraTabControl1";
            this.ultraTabControl1.SharedControlsPage = this.ultraTabSharedControlsPage1;
            this.ultraTabControl1.Size = new System.Drawing.Size(1020, 182);
            this.ultraTabControl1.TabIndex = 1;
            ultraTab1.Key = "TAB_KF";
            ultraTab1.TabPage = this.ultraTabPageControl1;
            ultraTab1.Text = "可发信息";
            ultraTab2.Key = "TAB_YF";
            ultraTab2.TabPage = this.ultraTabPageControl2;
            ultraTab2.Text = "已发信息";
            this.ultraTabControl1.Tabs.AddRange(new Infragistics.Win.UltraWinTabControl.UltraTab[] {
            ultraTab1,
            ultraTab2});
            this.ultraTabControl1.ViewStyle = Infragistics.Win.UltraWinTabControl.ViewStyle.VisualStudio2005;
            // 
            // ultraTabSharedControlsPage1
            // 
            this.ultraTabSharedControlsPage1.Location = new System.Drawing.Point(-10000, -10000);
            this.ultraTabSharedControlsPage1.Name = "ultraTabSharedControlsPage1";
            this.ultraTabSharedControlsPage1.Size = new System.Drawing.Size(1016, 159);
            // 
            // ultraGroupBox2
            // 
            this.ultraGroupBox2.Controls.Add(this.txt_ZYCH);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel20);
            this.ultraGroupBox2.Controls.Add(this.btn_zlupdate);
            this.ultraGroupBox2.Controls.Add(this.Cmb_Txt_ListCodingTop);
            this.ultraGroupBox2.Controls.Add(this.Cmb_ZL);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel17);
            this.ultraGroupBox2.Controls.Add(this.Cmb_PLD);
            this.ultraGroupBox2.Controls.Add(this.ultBJPactno);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel16);
            this.ultraGroupBox2.Controls.Add(this.ultraButton1);
            this.ultraGroupBox2.Controls.Add(this.txt_WEIGHT);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel19);
            this.ultraGroupBox2.Controls.Add(this.cmb_Station);
            this.ultraGroupBox2.Controls.Add(this.cmb_IncpName);
            this.ultraGroupBox2.Controls.Add(this.txt_Coid_End);
            this.ultraGroupBox2.Controls.Add(this.txt_Coid_TOP);
            this.ultraGroupBox2.Controls.Add(this.Dte_SendTime);
            this.ultraGroupBox2.Controls.Add(this.txt_Scouid);
            this.ultraGroupBox2.Controls.Add(this.Btn_SendBillet);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel12);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel10);
            this.ultraGroupBox2.Controls.Add(this.chk_QX);
            this.ultraGroupBox2.Controls.Add(this.btn_NSendID);
            this.ultraGroupBox2.Controls.Add(this.Txt_SendPactNO);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel18);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel14);
            this.ultraGroupBox2.Controls.Add(this.Ops_SendType);
            this.ultraGroupBox2.Controls.Add(this.Btn_GetListCoding);
            this.ultraGroupBox2.Controls.Add(this.txt_Coil_ID);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel9);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel8);
            this.ultraGroupBox2.Controls.Add(this.Txt_Remark);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel7);
            this.ultraGroupBox2.Controls.Add(this.Cmb_ClassTeam);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel6);
            this.ultraGroupBox2.Controls.Add(this.Cmb_ClassOrder);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel5);
            this.ultraGroupBox2.Controls.Add(this.Cmb_SendMan);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel4);
            this.ultraGroupBox2.Controls.Add(this.Txt_ListCoding);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel3);
            this.ultraGroupBox2.Controls.Add(this.Txt_VecihleNO);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel2);
            this.ultraGroupBox2.Controls.Add(this.Txt_AskPlan);
            this.ultraGroupBox2.Controls.Add(this.ultraLabel1);
            this.ultraGroupBox2.Dock = System.Windows.Forms.DockStyle.Top;
            this.ultraGroupBox2.Location = new System.Drawing.Point(0, 0);
            this.ultraGroupBox2.Name = "ultraGroupBox2";
            this.ultraGroupBox2.Size = new System.Drawing.Size(1020, 96);
            this.ultraGroupBox2.SupportThemes = false;
            this.ultraGroupBox2.TabIndex = 0;
            this.ultraGroupBox2.ViewStyle = Infragistics.Win.Misc.GroupBoxViewStyle.Office2003;
            this.ultraGroupBox2.Click += new System.EventHandler(this.ultraGroupBox2_Click);
            // 
            // txt_ZYCH
            // 
            this.txt_ZYCH.AutoSize = true;
            this.txt_ZYCH.FlatMode = true;
            this.txt_ZYCH.Location = new System.Drawing.Point(264, 72);
            this.txt_ZYCH.Name = "txt_ZYCH";
            this.txt_ZYCH.Size = new System.Drawing.Size(144, 19);
            this.txt_ZYCH.TabIndex = 679;
            // 
            // ultraLabel20
            // 
            this.ultraLabel20.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel20.Location = new System.Drawing.Point(212, 72);
            this.ultraLabel20.Name = "ultraLabel20";
            this.ultraLabel20.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel20.TabIndex = 680;
            this.ultraLabel20.Text = "转运车号";
            // 
            // btn_zlupdate
            // 
            this.btn_zlupdate.Location = new System.Drawing.Point(870, 68);
            this.btn_zlupdate.Name = "btn_zlupdate";
            this.btn_zlupdate.Size = new System.Drawing.Size(98, 24);
            this.btn_zlupdate.TabIndex = 678;
            this.btn_zlupdate.Text = "过磅重量修改";
            this.btn_zlupdate.Visible = false;
            this.btn_zlupdate.Click += new System.EventHandler(this.btn_zlupdate_Click);
            // 
            // Cmb_Txt_ListCodingTop
            // 
            this.Cmb_Txt_ListCodingTop.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxColScrollRegions = 1;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.MaxRowScrollRegions = 1;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.CellPadding = 0;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.Cmb_Txt_ListCodingTop.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.Cmb_Txt_ListCodingTop.DisplayMember = "";
            this.Cmb_Txt_ListCodingTop.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.Cmb_Txt_ListCodingTop.FlatMode = true;
            this.Cmb_Txt_ListCodingTop.Location = new System.Drawing.Point(62, 48);
            this.Cmb_Txt_ListCodingTop.Name = "Cmb_Txt_ListCodingTop";
            this.Cmb_Txt_ListCodingTop.Size = new System.Drawing.Size(74, 19);
            this.Cmb_Txt_ListCodingTop.TabIndex = 677;
            this.Cmb_Txt_ListCodingTop.ValueMember = "";
            // 
            // Cmb_ZL
            // 
            this.Cmb_ZL.AutoSize = true;
            valueListItem3.DataValue = "0";
            valueListItem3.DisplayText = "小件计重";
            valueListItem2.DataValue = valueListItem3;
            valueListItem2.DisplayText = "小件计重";
            valueListItem1.DataValue = valueListItem2;
            valueListItem1.DisplayText = "小件计重";
            valueListItem6.DataValue = "1";
            valueListItem6.DisplayText = "过磅总重";
            valueListItem5.DataValue = valueListItem6;
            valueListItem5.DisplayText = "过磅总重";
            valueListItem4.DataValue = valueListItem5;
            valueListItem4.DisplayText = "过磅总重";
            valueListItem9.DataValue = "2";
            valueListItem9.DisplayText = "理论重量";
            valueListItem8.DataValue = valueListItem9;
            valueListItem8.DisplayText = "理论重量";
            valueListItem7.DataValue = valueListItem8;
            valueListItem7.DisplayText = "理论重量";
            this.Cmb_ZL.Items.Add(valueListItem1);
            this.Cmb_ZL.Items.Add(valueListItem4);
            this.Cmb_ZL.Items.Add(valueListItem7);
            this.Cmb_ZL.Location = new System.Drawing.Point(690, 71);
            this.Cmb_ZL.Name = "Cmb_ZL";
            this.Cmb_ZL.Size = new System.Drawing.Size(84, 21);
            this.Cmb_ZL.TabIndex = 210;
            this.Cmb_ZL.Text = "过磅总重";
            // 
            // ultraLabel17
            // 
            this.ultraLabel17.Location = new System.Drawing.Point(632, 75);
            this.ultraLabel17.Name = "ultraLabel17";
            this.ultraLabel17.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel17.TabIndex = 209;
            this.ultraLabel17.Text = "打印方式";
            // 
            // Cmb_PLD
            // 
            this.Cmb_PLD.AutoSize = true;
            this.Cmb_PLD.Location = new System.Drawing.Point(850, 27);
            this.Cmb_PLD.Name = "Cmb_PLD";
            this.Cmb_PLD.Size = new System.Drawing.Size(84, 21);
            this.Cmb_PLD.TabIndex = 208;
            // 
            // ultBJPactno
            // 
            this.ultBJPactno.AutoSize = true;
            this.ultBJPactno.FlatMode = true;
            this.ultBJPactno.Location = new System.Drawing.Point(264, 27);
            this.ultBJPactno.Name = "ultBJPactno";
            this.ultBJPactno.Size = new System.Drawing.Size(144, 19);
            this.ultBJPactno.TabIndex = 206;
            // 
            // ultraLabel16
            // 
            this.ultraLabel16.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel16.Location = new System.Drawing.Point(212, 28);
            this.ultraLabel16.Name = "ultraLabel16";
            this.ultraLabel16.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel16.TabIndex = 207;
            this.ultraLabel16.Text = "销售合同号";
            // 
            // ultraButton1
            // 
            this.ultraButton1.FlatMode = true;
            this.ultraButton1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.ultraButton1.Location = new System.Drawing.Point(175, 27);
            this.ultraButton1.Name = "ultraButton1";
            this.ultraButton1.Size = new System.Drawing.Size(37, 20);
            this.ultraButton1.TabIndex = 205;
            this.ultraButton1.Text = "修改";
            this.ultraButton1.Visible = false;
            this.ultraButton1.Click += new System.EventHandler(this.ultraButton1_Click);
            // 
            // txt_WEIGHT
            // 
            this.txt_WEIGHT.FlatMode = true;
            this.txt_WEIGHT.Location = new System.Drawing.Point(632, 28);
            this.txt_WEIGHT.MaskInput = "nnnnn.nnn";
            this.txt_WEIGHT.Name = "txt_WEIGHT";
            this.txt_WEIGHT.NumericType = Infragistics.Win.UltraWinEditors.NumericType.Double;
            this.txt_WEIGHT.PromptChar = ' ';
            this.txt_WEIGHT.Size = new System.Drawing.Size(144, 19);
            this.txt_WEIGHT.TabIndex = 12;
            this.txt_WEIGHT.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.txt_WEIGHT.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel19
            // 
            this.ultraLabel19.Location = new System.Drawing.Point(575, 31);
            this.ultraLabel19.Name = "ultraLabel19";
            this.ultraLabel19.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel19.TabIndex = 100;
            this.ultraLabel19.Text = "过磅重量";
            // 
            // cmb_Station
            // 
            this.cmb_Station.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_Station.DisplayMember = "";
            this.cmb_Station.Location = new System.Drawing.Point(264, 47);
            this.cmb_Station.Name = "cmb_Station";
            this.cmb_Station.Size = new System.Drawing.Size(144, 21);
            this.cmb_Station.TabIndex = 7;
            this.cmb_Station.ValueMember = "";
            this.cmb_Station.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            this.cmb_Station.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            // 
            // cmb_IncpName
            // 
            this.cmb_IncpName.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.cmb_IncpName.DisplayMember = "";
            this.cmb_IncpName.Location = new System.Drawing.Point(62, 70);
            this.cmb_IncpName.Name = "cmb_IncpName";
            this.cmb_IncpName.Size = new System.Drawing.Size(134, 21);
            this.cmb_IncpName.TabIndex = 6;
            this.cmb_IncpName.ValueMember = "";
            this.cmb_IncpName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            this.cmb_IncpName.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            // 
            // txt_Coid_End
            // 
            this.txt_Coid_End.AutoSize = true;
            this.txt_Coid_End.FlatMode = true;
            this.txt_Coid_End.Location = new System.Drawing.Point(743, 49);
            this.txt_Coid_End.Name = "txt_Coid_End";
            this.txt_Coid_End.Size = new System.Drawing.Size(32, 19);
            this.txt_Coid_End.TabIndex = 16;
            this.txt_Coid_End.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.txt_Coid_End.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // txt_Coid_TOP
            // 
            this.txt_Coid_TOP.AutoSize = true;
            this.txt_Coid_TOP.FlatMode = true;
            this.txt_Coid_TOP.Location = new System.Drawing.Point(663, 49);
            this.txt_Coid_TOP.MaxLength = 10;
            this.txt_Coid_TOP.Name = "txt_Coid_TOP";
            this.txt_Coid_TOP.Size = new System.Drawing.Size(81, 19);
            this.txt_Coid_TOP.TabIndex = 15;
            this.txt_Coid_TOP.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.txt_Coid_TOP.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // Dte_SendTime
            // 
            this.Dte_SendTime.DateTime = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
            this.Dte_SendTime.Location = new System.Drawing.Point(632, 4);
            this.Dte_SendTime.Name = "Dte_SendTime";
            this.Dte_SendTime.Size = new System.Drawing.Size(144, 21);
            this.Dte_SendTime.TabIndex = 11;
            this.Dte_SendTime.Value = new System.DateTime(2015, 7, 7, 0, 0, 0, 0);
            this.Dte_SendTime.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Dte_SendTime.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // txt_Scouid
            // 
            this.txt_Scouid.AutoSize = true;
            this.txt_Scouid.FlatMode = true;
            this.txt_Scouid.Location = new System.Drawing.Point(138, 49);
            this.txt_Scouid.Name = "txt_Scouid";
            this.txt_Scouid.Size = new System.Drawing.Size(75, 19);
            this.txt_Scouid.TabIndex = 4;
            this.txt_Scouid.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.txt_Scouid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // Btn_SendBillet
            // 
            this.Btn_SendBillet.Location = new System.Drawing.Point(792, 68);
            this.Btn_SendBillet.Name = "Btn_SendBillet";
            this.Btn_SendBillet.Size = new System.Drawing.Size(72, 24);
            this.Btn_SendBillet.TabIndex = 17;
            this.Btn_SendBillet.Text = "发运登记";
            this.Btn_SendBillet.Click += new System.EventHandler(this.Btn_SendBillet_Click);
            this.Btn_SendBillet.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Btn_SendBillet.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel12
            // 
            this.ultraLabel12.Location = new System.Drawing.Point(792, 31);
            this.ultraLabel12.Name = "ultraLabel12";
            this.ultraLabel12.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel12.TabIndex = 97;
            this.ultraLabel12.Text = "转运单位";
            // 
            // ultraLabel10
            // 
            this.ultraLabel10.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel10.Location = new System.Drawing.Point(240, 52);
            this.ultraLabel10.Name = "ultraLabel10";
            this.ultraLabel10.Size = new System.Drawing.Size(29, 16);
            this.ultraLabel10.TabIndex = 96;
            this.ultraLabel10.Text = "到站";
            // 
            // chk_QX
            // 
            this.chk_QX.FlatMode = true;
            this.chk_QX.Location = new System.Drawing.Point(792, 50);
            this.chk_QX.Name = "chk_QX";
            this.chk_QX.Size = new System.Drawing.Size(76, 16);
            this.chk_QX.TabIndex = 203;
            this.chk_QX.Text = "强行发运";
            // 
            // btn_NSendID
            // 
            this.btn_NSendID.FlatMode = true;
            this.btn_NSendID.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btn_NSendID.Location = new System.Drawing.Point(174, 6);
            this.btn_NSendID.Name = "btn_NSendID";
            this.btn_NSendID.Size = new System.Drawing.Size(22, 20);
            this.btn_NSendID.TabIndex = 92;
            this.btn_NSendID.Text = "……";
            this.btn_NSendID.Visible = false;
            this.btn_NSendID.Click += new System.EventHandler(this.btn_NSendID_Click);
            // 
            // Txt_SendPactNO
            // 
            this.Txt_SendPactNO.AutoSize = true;
            this.Txt_SendPactNO.FlatMode = true;
            this.Txt_SendPactNO.Location = new System.Drawing.Point(264, 6);
            this.Txt_SendPactNO.Name = "Txt_SendPactNO";
            this.Txt_SendPactNO.ReadOnly = true;
            this.Txt_SendPactNO.Size = new System.Drawing.Size(144, 19);
            this.Txt_SendPactNO.TabIndex = 5;
            this.Txt_SendPactNO.ValueChanged += new System.EventHandler(this.Txt_SendPactNO_ValueChanged);
            this.Txt_SendPactNO.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Txt_SendPactNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel18
            // 
            this.ultraLabel18.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel18.Location = new System.Drawing.Point(224, 8);
            this.ultraLabel18.Name = "ultraLabel18";
            this.ultraLabel18.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel18.TabIndex = 91;
            this.ultraLabel18.Text = "合同号";
            // 
            // ultraLabel14
            // 
            this.ultraLabel14.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel14.Location = new System.Drawing.Point(4, 72);
            this.ultraLabel14.Name = "ultraLabel14";
            this.ultraLabel14.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel14.TabIndex = 90;
            this.ultraLabel14.Text = "客户名称";
            // 
            // Ops_SendType
            // 
            this.Ops_SendType.BackColor = System.Drawing.Color.Transparent;
            this.Ops_SendType.FlatMode = true;
            this.Ops_SendType.ItemAppearance = appearance11;
            valueListItem16.DataValue = "0";
            valueListItem16.DisplayText = "正常发运";
            valueListItem15.DataValue = valueListItem16;
            valueListItem15.DisplayText = "正常发运";
            valueListItem14.DataValue = valueListItem15;
            valueListItem14.DisplayText = "正常发运";
            valueListItem13.DataValue = valueListItem14;
            valueListItem13.DisplayText = "正常发运";
            valueListItem12.DataValue = valueListItem13;
            valueListItem12.DisplayText = "正常发运";
            valueListItem11.DataValue = valueListItem12;
            valueListItem11.DisplayText = "正常发运";
            valueListItem10.DataValue = valueListItem11;
            valueListItem10.DisplayText = "正常发运";
            this.Ops_SendType.Items.Add(valueListItem10);
            this.Ops_SendType.Location = new System.Drawing.Point(792, 6);
            this.Ops_SendType.Name = "Ops_SendType";
            this.Ops_SendType.Size = new System.Drawing.Size(72, 18);
            this.Ops_SendType.TabIndex = 201;
            this.Ops_SendType.ValueChanged += new System.EventHandler(this.Ops_SendType_ValueChanged);
            // 
            // Btn_GetListCoding
            // 
            this.Btn_GetListCoding.FlatMode = true;
            this.Btn_GetListCoding.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Btn_GetListCoding.Location = new System.Drawing.Point(215, 48);
            this.Btn_GetListCoding.Name = "Btn_GetListCoding";
            this.Btn_GetListCoding.Size = new System.Drawing.Size(22, 20);
            this.Btn_GetListCoding.TabIndex = 87;
            this.Btn_GetListCoding.Text = "……";
            this.Btn_GetListCoding.Click += new System.EventHandler(this.Btn_GetListCoding_Click);
            // 
            // txt_Coil_ID
            // 
            this.txt_Coil_ID.AutoSize = true;
            this.txt_Coil_ID.FlatMode = true;
            this.txt_Coil_ID.Location = new System.Drawing.Point(632, 49);
            this.txt_Coil_ID.MaxLength = 4;
            this.txt_Coil_ID.Name = "txt_Coil_ID";
            this.txt_Coil_ID.Size = new System.Drawing.Size(32, 19);
            this.txt_Coil_ID.TabIndex = 14;
            this.txt_Coil_ID.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.txt_Coil_ID.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel9
            // 
            this.ultraLabel9.Location = new System.Drawing.Point(575, 52);
            this.ultraLabel9.Name = "ultraLabel9";
            this.ultraLabel9.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel9.TabIndex = 86;
            this.ultraLabel9.Text = "卷板包号";
            // 
            // ultraLabel8
            // 
            this.ultraLabel8.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel8.Location = new System.Drawing.Point(575, 8);
            this.ultraLabel8.Name = "ultraLabel8";
            this.ultraLabel8.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel8.TabIndex = 83;
            this.ultraLabel8.Text = "发运时间";
            // 
            // Txt_Remark
            // 
            this.Txt_Remark.AutoSize = true;
            this.Txt_Remark.FlatMode = true;
            this.Txt_Remark.Location = new System.Drawing.Point(468, 72);
            this.Txt_Remark.Multiline = true;
            this.Txt_Remark.Name = "Txt_Remark";
            this.Txt_Remark.Size = new System.Drawing.Size(161, 19);
            this.Txt_Remark.TabIndex = 13;
            this.Txt_Remark.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Txt_Remark.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel7
            // 
            this.ultraLabel7.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel7.Location = new System.Drawing.Point(410, 74);
            this.ultraLabel7.Name = "ultraLabel7";
            this.ultraLabel7.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel7.TabIndex = 81;
            this.ultraLabel7.Text = "发运备注";
            // 
            // Cmb_ClassTeam
            // 
            this.Cmb_ClassTeam.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.Cmb_ClassTeam.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_ClassTeam.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_ClassTeam.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_ClassTeam.DisplayLayout.MaxColScrollRegions = 1;
            this.Cmb_ClassTeam.DisplayLayout.MaxRowScrollRegions = 1;
            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_ClassTeam.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_ClassTeam.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.Cmb_ClassTeam.DisplayLayout.Override.CellPadding = 0;
            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.Cmb_ClassTeam.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            this.Cmb_ClassTeam.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_ClassTeam.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.Cmb_ClassTeam.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.Cmb_ClassTeam.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.Cmb_ClassTeam.DisplayMember = "";
            this.Cmb_ClassTeam.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.Cmb_ClassTeam.FlatMode = true;
            this.Cmb_ClassTeam.Location = new System.Drawing.Point(466, 49);
            this.Cmb_ClassTeam.Name = "Cmb_ClassTeam";
            this.Cmb_ClassTeam.Size = new System.Drawing.Size(108, 19);
            this.Cmb_ClassTeam.TabIndex = 10;
            this.Cmb_ClassTeam.ValueMember = "";
            this.Cmb_ClassTeam.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            this.Cmb_ClassTeam.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            // 
            // ultraLabel6
            // 
            this.ultraLabel6.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel6.Location = new System.Drawing.Point(410, 52);
            this.ultraLabel6.Name = "ultraLabel6";
            this.ultraLabel6.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel6.TabIndex = 77;
            this.ultraLabel6.Text = "发运班组";
            // 
            // Cmb_ClassOrder
            // 
            this.Cmb_ClassOrder.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.Cmb_ClassOrder.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_ClassOrder.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_ClassOrder.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_ClassOrder.DisplayLayout.MaxColScrollRegions = 1;
            this.Cmb_ClassOrder.DisplayLayout.MaxRowScrollRegions = 1;
            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_ClassOrder.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_ClassOrder.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.Cmb_ClassOrder.DisplayLayout.Override.CellPadding = 0;
            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.Cmb_ClassOrder.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            this.Cmb_ClassOrder.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_ClassOrder.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.Cmb_ClassOrder.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.Cmb_ClassOrder.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.Cmb_ClassOrder.DisplayMember = "";
            this.Cmb_ClassOrder.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.Cmb_ClassOrder.FlatMode = true;
            this.Cmb_ClassOrder.Location = new System.Drawing.Point(466, 28);
            this.Cmb_ClassOrder.Name = "Cmb_ClassOrder";
            this.Cmb_ClassOrder.Size = new System.Drawing.Size(108, 19);
            this.Cmb_ClassOrder.TabIndex = 9;
            this.Cmb_ClassOrder.ValueMember = "";
            this.Cmb_ClassOrder.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            this.Cmb_ClassOrder.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            // 
            // ultraLabel5
            // 
            this.ultraLabel5.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel5.Location = new System.Drawing.Point(410, 31);
            this.ultraLabel5.Name = "ultraLabel5";
            this.ultraLabel5.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel5.TabIndex = 75;
            this.ultraLabel5.Text = "发运班次";
            // 
            // Cmb_SendMan
            // 
            this.Cmb_SendMan.CharacterCasing = System.Windows.Forms.CharacterCasing.Normal;
            this.Cmb_SendMan.DisplayLayout.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_SendMan.DisplayLayout.CaptionVisible = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_SendMan.DisplayLayout.GroupByBox.BorderStyle = Infragistics.Win.UIElementBorderStyle.Solid;
            this.Cmb_SendMan.DisplayLayout.MaxColScrollRegions = 1;
            this.Cmb_SendMan.DisplayLayout.MaxRowScrollRegions = 1;
            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleCell = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_SendMan.DisplayLayout.Override.BorderStyleRow = Infragistics.Win.UIElementBorderStyle.Dotted;
            this.Cmb_SendMan.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.EditAndSelectText;
            this.Cmb_SendMan.DisplayLayout.Override.CellPadding = 0;
            this.Cmb_SendMan.DisplayLayout.Override.HeaderClickAction = Infragistics.Win.UltraWinGrid.HeaderClickAction.SortMulti;
            this.Cmb_SendMan.DisplayLayout.Override.HeaderStyle = Infragistics.Win.HeaderStyle.WindowsXPCommand;
            this.Cmb_SendMan.DisplayLayout.Override.RowSelectors = Infragistics.Win.DefaultableBoolean.False;
            this.Cmb_SendMan.DisplayLayout.ScrollBounds = Infragistics.Win.UltraWinGrid.ScrollBounds.ScrollToFill;
            this.Cmb_SendMan.DisplayLayout.ScrollStyle = Infragistics.Win.UltraWinGrid.ScrollStyle.Immediate;
            this.Cmb_SendMan.DisplayLayout.ViewStyleBand = Infragistics.Win.UltraWinGrid.ViewStyleBand.OutlookGroupBy;
            this.Cmb_SendMan.DisplayMember = "";
            this.Cmb_SendMan.DropDownStyle = Infragistics.Win.UltraWinGrid.UltraComboStyle.DropDownList;
            this.Cmb_SendMan.FlatMode = true;
            this.Cmb_SendMan.Location = new System.Drawing.Point(466, 6);
            this.Cmb_SendMan.Name = "Cmb_SendMan";
            this.Cmb_SendMan.Size = new System.Drawing.Size(108, 19);
            this.Cmb_SendMan.TabIndex = 8;
            this.Cmb_SendMan.ValueMember = "";
            this.Cmb_SendMan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            this.Cmb_SendMan.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            // 
            // ultraLabel4
            // 
            this.ultraLabel4.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel4.Location = new System.Drawing.Point(418, 8);
            this.ultraLabel4.Name = "ultraLabel4";
            this.ultraLabel4.Size = new System.Drawing.Size(42, 16);
            this.ultraLabel4.TabIndex = 73;
            this.ultraLabel4.Text = "发运人";
            // 
            // Txt_ListCoding
            // 
            this.Txt_ListCoding.AutoSize = true;
            this.Txt_ListCoding.FlatMode = true;
            this.Txt_ListCoding.Location = new System.Drawing.Point(954, 29);
            this.Txt_ListCoding.Name = "Txt_ListCoding";
            this.Txt_ListCoding.Size = new System.Drawing.Size(30, 19);
            this.Txt_ListCoding.TabIndex = 3;
            this.Txt_ListCoding.Text = "KP9";
            this.Txt_ListCoding.Visible = false;
            this.Txt_ListCoding.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Txt_ListCoding.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel3
            // 
            this.ultraLabel3.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel3.Location = new System.Drawing.Point(4, 52);
            this.ultraLabel3.Name = "ultraLabel3";
            this.ultraLabel3.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel3.TabIndex = 72;
            this.ultraLabel3.Text = "明细编码";
            // 
            // Txt_VecihleNO
            // 
            this.Txt_VecihleNO.AutoSize = true;
            this.Txt_VecihleNO.FlatMode = true;
            this.Txt_VecihleNO.Location = new System.Drawing.Point(62, 28);
            this.Txt_VecihleNO.Name = "Txt_VecihleNO";
            this.Txt_VecihleNO.Size = new System.Drawing.Size(112, 19);
            this.Txt_VecihleNO.TabIndex = 2;
            this.Txt_VecihleNO.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Txt_VecihleNO.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel2
            // 
            this.ultraLabel2.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel2.Location = new System.Drawing.Point(4, 31);
            this.ultraLabel2.Name = "ultraLabel2";
            this.ultraLabel2.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel2.TabIndex = 70;
            this.ultraLabel2.Text = "发运车号";
            // 
            // Txt_AskPlan
            // 
            this.Txt_AskPlan.AutoSize = true;
            this.Txt_AskPlan.FlatMode = true;
            this.Txt_AskPlan.Location = new System.Drawing.Point(62, 6);
            this.Txt_AskPlan.Name = "Txt_AskPlan";
            this.Txt_AskPlan.ReadOnly = true;
            this.Txt_AskPlan.Size = new System.Drawing.Size(112, 19);
            this.Txt_AskPlan.TabIndex = 1;
            this.Txt_AskPlan.Enter += new System.EventHandler(this.Txt_AskPlan_Enter);
            this.Txt_AskPlan.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Txt_AskPlan_KeyDown);
            // 
            // ultraLabel1
            // 
            this.ultraLabel1.BackColor = System.Drawing.Color.Transparent;
            this.ultraLabel1.Location = new System.Drawing.Point(4, 8);
            this.ultraLabel1.Name = "ultraLabel1";
            this.ultraLabel1.Size = new System.Drawing.Size(54, 16);
            this.ultraLabel1.TabIndex = 67;
            this.ultraLabel1.Text = "发运号码";
            // 
            // Frm_TurnoSendCan
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
            this.ClientSize = new System.Drawing.Size(1020, 502);
            this.Controls.Add(this.panel3);
            this.Controls.Add(this.panel2);
            this.Controls.Add(this.ultraGroupBox1);
            this.Controls.Add(this.panel1);
            this.Name = "Frm_TurnoSendCan";
            this.Text = "卷板开平转运信息登记";
            this.Load += new System.EventHandler(this.Frm_TurnoSendCan_Load);
            this.ultraTabPageControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Turn)).EndInit();
            this.ultraTabPageControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gb_Send)).EndInit();
            this.panel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox1)).EndInit();
            this.ultraGroupBox1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.txt_GangJuan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraTextEditor1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_EndTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_BeginTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_UserName)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_UserBM)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_AskPlanID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_ListCode)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_CoilID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_PactNO)).EndInit();
            this.panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultraGrid1)).EndInit();
            this.panel3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraTabControl1)).EndInit();
            this.ultraTabControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.ultraGroupBox2)).EndInit();
            this.ultraGroupBox2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.txt_ZYCH)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_Txt_ListCodingTop)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ZL)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_PLD)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ultBJPactno)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_WEIGHT)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_Station)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmb_IncpName)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_End)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Coid_TOP)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Dte_SendTime)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Scouid)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_SendPactNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Ops_SendType)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txt_Coil_ID)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_Remark)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassTeam)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_ClassOrder)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Cmb_SendMan)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_ListCoding)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_VecihleNO)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_AskPlan)).EndInit();
            this.ResumeLayout(false);

		}
		#endregion
		private string getWhere()
		{
			string strSql="";
			if(chk_DeliveryTime.Checked)
			{
				strSql += " AND TO_CHAR(A.PICKSTORAGETIME,'YYYY-MM-DD') >='"+Convert.ToDateTime(this.Dte_BeginTime.Value).ToString("yyyy-MM-dd")+"' "
					+ " AND TO_CHAR(A.PICKSTORAGETIME,'YYYY-MM-DD') <='"+Convert.ToDateTime(this.Dte_EndTime.Value).ToString("yyyy-MM-dd")+"' ";
			}
			if(this.chk_CoilID.Checked)
			{
				strSql+=" AND A.COIL_NO_ID  like '"+txt_CoilID.Text+"%'";
			}
			if(this.chk_PactNO.Checked)
			{
				strSql+=" AND A.ORD_NO like'%"+this.Txt_PactNO.Text+"%'";
			}
			if(this.chk_AskPlanID.Checked)
			{
				strSql+=" AND A.PLANVEHICLEID LIKE '%"+this.txt_AskPlanID.Text+"%'";
			}
			if(this.chk_ListCode.Checked)
			{
				strSql+=" AND LISTNUMBER LIKE '%"+this.txt_ListCode.Text+"%'";
			}
			if(this.chk_GangJuan.Checked)
			{
				strSql+=" AND A.OLD_SAMPL_NO LIKE '%"+this.txt_GangJuan.Text+"%'";
			}
			return strSql;
		}
		private void SendQuery(string _Conntion)
		{
           
			try
			{
				string strOut="";

                DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_ZH", new object[] { _Conntion }, out strOut);
				this.gb_Send.DataSource=ds;
             
				this.gb_Send.UpdateData();
				Comm.SetGridSumArea(this.gb_Send);

                //if (Convert.ToDecimal(this.gb_Send.Rows.SummaryValues[0].Value) > 0)
                //{
                //    System.Decimal Weight = Math.Round(Convert.ToDecimal(this.gb_Send.Rows.SummaryValues[3].Value), 3);
                //    this.gb_Send.DisplayLayout.Bands[0].Summaries[7].DisplayFormat = Convert.ToString(Weight);
                //}

			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		private bool CheckAdd()
		{
			if(this.txt_Scouid.Text.Trim().Length==0)
			{
				MessageBox.Show("明细号不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
//			if(this.Txt_AskPlan.Text.Trim().Length==0)
//			{
//				MessageBox.Show("发运号码不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
//				return false;
//			}
			if(Txt_VecihleNO.Text.Trim().Length==0)
			{
				MessageBox.Show("发运车号不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(this.Txt_SendPactNO.Text.Trim().Length==0)
			{
				MessageBox.Show("合同号不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(cmb_IncpName.Text.Trim().Length==0&&cmb_Station.Text.Trim().Length==0)
			{
				MessageBox.Show("订货单位，到站不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(this.Cmb_ClassOrder.Text.Trim().Length==0&&this.Cmb_ClassTeam.Text.Trim().Length==0)
			{
				MessageBox.Show("班次，班组不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			if(this.txt_Coil_ID.Text.Trim().Length==0&&this.txt_Coid_TOP.Text.Trim().Length==0&&this.txt_Coid_End.Text.Trim().Length==0)
			{
				MessageBox.Show("卷板包号不能为空！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
				return false;
			}
			return true;
		}
		private void Btn_SendBillet_Click(object sender, System.EventArgs e)
		{
			try
			{
				if(!CheckAdd())
				{
					return;
				}
                foreach (UltraGridRow ugrs in this.gb_Turn.Rows)
                {
                    if (ugrs.Cells["CHK"].Text.ToString() == "True")
                    {
                        string strOut = "";
                        ArrayList Other = new ArrayList();
                        Other.Add(this.Txt_AskPlan.Text);
                        Other.Add(this.Txt_VecihleNO.Text);
                        Other.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
                        Other.Add(this.Txt_SendPactNO.Text);
                        Other.Add(this.cmb_IncpName.Text);
                        Other.Add(cmb_Station.Text);
                        Other.Add(Cmb_SendMan.Text);
                        Other.Add(Cmb_ClassOrder.Value.ToString());
                        Other.Add(Cmb_ClassTeam.Value.ToString());
                        Other.Add(Dte_SendTime.Value.ToString());
                        //Other.Add(this.txt_Coil_ID.Text + this.txt_Coid_TOP.Text + "-" + this.txt_Coid_End.Text);
                        Other.Add(ugrs.Cells["COIL_NO_ID"].Text.ToString().Trim());//钢包号为多选的
                        Other.Add(this.Ops_SendType.Value);

                        if (Cmb_PLD.Value == null)
                        {
                            Other.Add("");
                        }
                        else
                        {
                            Other.Add(Cmb_PLD.Value.ToString());
                        }
                        Other.Add(this.Txt_Remark.Text);
                        if (this.chk_QX.Checked)
                        {
                            Other.Add("0");
                        }
                        else
                        {
                            Other.Add("");
                        }

                        Other.Add("");

                        //Other.Add(this.txt_WEIGHT.Value.ToString());XJJL_WEIGHT
                        //因为多选，修改上面的过磅重量为下面表格的重量
                        Other.Add(ugrs.Cells["XJJL_WEIGHT"].Text.ToString().Trim());
                        Other.Add(this.ultBJPactno.Text.ToString());
                        Other.Add(ClientCommon._UserInfo.UserName.ToString());
                        //Other.Add(this.Cmb_PLD.Value.ToString());
                        Other.Add(txt_ZYCH.Text.Trim().ToString());
                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "TranSend", new object[] { Other }, out strOut);
                    }
                }
				/*string strOut="";
				ArrayList Other=new ArrayList();
				Other.Add(this.Txt_AskPlan.Text);
				Other.Add(this.Txt_VecihleNO.Text);
                Other.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
				Other.Add(this.Txt_SendPactNO.Text);
				Other.Add(this.cmb_IncpName.Text);
				Other.Add(cmb_Station.Text);
				Other.Add(Cmb_SendMan.Text);
				Other.Add(Cmb_ClassOrder.Value.ToString());
				Other.Add(Cmb_ClassTeam.Value.ToString());
				Other.Add(Dte_SendTime.Value.ToString());
				Other.Add(this.txt_Coil_ID.Text+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text);
				Other.Add(this.Ops_SendType.Value);
                
                if (Cmb_PLD.Value ==null)
                {
                    Other.Add("");
                }
                else
                {
                    Other.Add(Cmb_PLD.Value.ToString());
                }
				Other.Add(this.Txt_Remark.Text);
				if(this.chk_QX.Checked)
				{
					Other.Add("0");
				}
				else
				{
					Other.Add("");
				}
				
					Other.Add("");
				
				Other.Add(this.txt_WEIGHT.Value.ToString());
                Other.Add(this.ultBJPactno.Text.ToString());
                Other.Add(ClientCommon._UserInfo.UserName.ToString());
                //Other.Add(this.Cmb_PLD.Value.ToString());
                Other.Add(txt_ZYCH.Text.Trim().ToString());
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "TranSend", new object[] { Other }, out strOut);*/
				/*if(obj!=null&&obj.ToString()=="1")
				{
                    string Sql = " AND LISTNUMBER='" + this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text + "'";
					this.SendQuery(Sql);
					Comm.SetGridSumArea(gb_Send);
					MessageBox.Show("输入成功！","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					this.txt_Coid_TOP.Focus();
				}
				else
				{
					MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
				}*/
                string Sql = " AND LISTNUMBER='" + this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text + "'";
                this.SendQuery(Sql);
                Comm.SetGridSumArea(gb_Send);
                MessageBox.Show("输入成功！", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void Txt_IncpName_ValueChanged(object sender, System.EventArgs e)
		{
		
		}

		private void ultraToolbarsManager1_ToolClick(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e)
		{
			switch(e.Tool.Key)
			{
				case "PC":
                    AskQuery();
					break;
				case "FY":
					this.SendQuery(this.getWhere());
					this.ultraTabControl1.Tabs["TAB_YF"].Selected=true;
					break;
				case "DEL":
					 SendCan_Del();
					break;
				case "PRINT":
					Print();
					break;
				case "DUCE":
					ExportButtressInfo();
					break;
                case "AFFIRMJL":
                    AFFIRMJL();
                    break;
                case "JLQR":
                    AFFIRMJLQR();
                    break;
                case "QXZL":
                    QXZL();
                    break;
                case "COLSE":
					this.Close();
					break;
			}
		}

		private void Frm_TurnoSendCan_Load(object sender, System.EventArgs e)
		{
			
			string sql="";
			DataSet ds;
			string strOut="";
            Cmb_ZL.Value = "1";
            Ops_SendType.Value = "0";
            Dte_BeginTime.Value = DateTime.Today;
            Dte_EndTime.Value = DateTime.Today;
            Dte_SendTime.Value = DateTime.Today;
            Comm.SetGridSumArea(this.gb_Send);
			Comm.SetGridSumArea(this.gb_Turn);
            
			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3002'" ;
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
			ds.Tables[0].TableName="SCM_BASE_INFO";

			Comm.Init_ComboControl(this.Cmb_ClassOrder,"SCM_BASE_INFO","NAME_","ID_",ref ds);

			//班组
			sql ="SELECT ID_,NAME_ FROM SCM_BASE_INFO WHERE SORT_CODE = '3003'" ;
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
			ds.Tables[0].TableName="SCM_BASE_INFO";

			Comm.Init_ComboControl(this.Cmb_ClassTeam,"SCM_BASE_INFO","NAME_","ID_",ref ds);

			//负责人
			sql ="SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE = '514004'" ;
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
			ds.Tables[0].TableName="KCJ_BASEDATA";

			Comm.Init_ComboControl(this.Cmb_SendMan,"KCJ_BASEDATA","NAME_","ID_",ref ds);


            //明细编码
            sql = "SELECT ID_,NAME_  FROM KCJ_BASEDATA WHERE SORT_CODE='8094' AND (NAME_  LIKE 'DWJB%' )";
            ds = (DataSet)ClientCommon._RemotingHelp.ExecuteMethod("BJZWStuff", "Core.XgMes.Server.JGKC.SteelPlateManager.Common", "GetDataSet", new object[] { sql }, out strOut);
            ds.Tables[0].TableName = "KCJ_BASEDATA";

            Comm.Init_ComboControl(this.Cmb_Txt_ListCodingTop, "KCJ_BASEDATA", "NAME_", "ID_", ref ds);
            this.Cmb_Txt_ListCodingTop.Value = "809403";

           
		}

		private void Txt_SendPactNO_ValueChanged(object sender, System.EventArgs e)
		{
		
		}

		private void Txt_AskPlan_Enter(object sender, System.EventArgs e)
		{
			try
			{
				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraTextEditor")
				{
					((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
				}
				if(sender.GetType().ToString()=="Infragistics.Win.UltraWinEditors.UltraNumericEditor")
				{
					((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
				}
                if(((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name=="Txt_VecihleNO")
                {
                txt_ZYCH.Text = Txt_VecihleNO.Text;
                }
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void Txt_AskPlan_KeyDown(object sender, System.Windows.Forms.KeyEventArgs e)
		{
			try
			{
				if(e.KeyData == Keys.Return)
				{
					  if(((System.Windows.Forms.Control)sender).Name =="txt_Coid_End")
					{
						try
						{
							string err="";
							//string ID="	AND A.COIL_NO_ID='"+this.txt_Coil_ID.Text+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text+"'";
                            string ID = "	AND A.COIL_NO_ID like'" + this.txt_Coil_ID.Text + this.txt_Coid_TOP.Text+"%'" ;
                            DataSet ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_Query", new object[] { ID }, out err);
							 this.gb_Turn.DataSource=ds1;
                            Txt_SendPactNO.Text = ds1.Tables[0].Rows[0]["ORD_NO"].ToString();
							this.gb_Turn.UpdateData();
							Comm.SetGridSumArea(this.gb_Turn);
						}
						catch(Exception ex)
						{
							System.Diagnostics.Debug.WriteLine(ex.ToString());
						}
						Comm.SetGridSumArea(gb_Send);
					}
					
					if(((System.Windows.Forms.Control)sender).Name=="txt_Scouid")
					{
						try
						{
							string err="";
							string ID=this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text;
							DataSet ds2=(DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage","Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan","GetData",new object[]{ID},out err);
							this.Txt_AskPlan.Text=ds2.Tables[0].Rows[0]["PLANVEHICLEID"].ToString();
							this.Txt_VecihleNO.Text=ds2.Tables[0].Rows[0]["TRANS_CAR_NO"].ToString();
							this.Txt_SendPactNO.Text=ds2.Tables[0].Rows[0]["ORD_NO"].ToString();
							this.cmb_IncpName.Text=ds2.Tables[0].Rows[0]["INSTR_ROUTE"].ToString();
							this.cmb_Station.Text=ds2.Tables[0].Rows[0]["ROUTE"].ToString();
							this.Cmb_SendMan.Text=ds2.Tables[0].Rows[0]["PICKSTORAGEMAN"].ToString();
							this.Cmb_ClassOrder.Text=ds2.Tables[0].Rows[0]["CLASSORDER"].ToString();
							this.Cmb_ClassTeam.Text=ds2.Tables[0].Rows[0]["CLASSTEAM"].ToString();
							this.txt_WEIGHT.Value=Comm.ObjToDecimal(ds2.Tables[0].Rows[0]["CAL_WGT"]);
						}
						catch(Exception ex)
						{
							System.Diagnostics.Debug.WriteLine(ex.ToString());
						}
					}
					if(((System.Windows.Forms.Control)sender).Name =="Btn_SendBillet")
					{
						if(!CheckAdd())
						{
							return;
						}
						string strOut="";
						ArrayList Other=new ArrayList();
						Other.Add(this.Txt_AskPlan.Text);
						Other.Add(this.Txt_VecihleNO.Text);
						Other.Add(this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text);
						Other.Add(this.Txt_SendPactNO.Text);
						Other.Add(this.cmb_IncpName.Text);
						Other.Add(cmb_Station.Text);
						Other.Add(Cmb_SendMan.Text);
						Other.Add(Cmb_ClassOrder.Value.ToString());
						Other.Add(Cmb_ClassTeam.Value.ToString());
						Other.Add(Dte_SendTime.Value.ToString());
						Other.Add(this.txt_Coil_ID.Text+this.txt_Coid_TOP.Text+"-"+this.txt_Coid_End.Text);
						Other.Add(this.Ops_SendType.Value);
						Other.Add(Cmb_PLD.Text);
						Other.Add(this.Txt_Remark.Text);
						if(this.chk_QX.Checked)
						{
							Other.Add("0");
						}
						else
						{
							Other.Add("");
						}
						
							Other.Add("");
						
						Other.Add(this.txt_WEIGHT.Value.ToString());
                        object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "TranSend", new object[] { Other }, out strOut);
						if(obj!=null&&obj.ToString()=="1")
						{
							string Sql=" AND LISTNUMBER='"+this.Cmb_Txt_ListCodingTop.Text+"-"+this.txt_Scouid.Text+"'";
							this.SendQuery(Sql);
							Comm.SetGridSumArea(gb_Send);
							MessageBox.Show("输入成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
						}
						else
						{
							MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
						}
					}
                    if (((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name == "Txt_VecihleNO")
                    {
                        txt_ZYCH.Text = Txt_VecihleNO.Text;
                    }
				System.Windows.Forms.SendKeys.Send("{TAB}");
				}
				
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		private void gb_Send_InitializeRow(object sender, Infragistics.Win.UltraWinGrid.InitializeRowEventArgs e)
		{
			try
			{
				string SendFlag=Comm.ObjToStr(e.Row.Cells["CLEARFLAG"].Value);
				
				if(SendFlag=="0")
				{
					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
				}
				if(SendFlag=="1")
				{
					e.Row.Appearance.ForeColor = System.Drawing.Color.Red;
				}
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
		private void Print()
		{
			try
			{
				string strOut = "";
				if(!this.txt_ListCode.Enabled | this.txt_ListCode.Text.Trim()=="")
				{
					MessageBox.Show("请您输写要打印的发运明细编号!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return;
				}
				string Sql=" AND A.LISTNUMBER='"+this.txt_ListCode.Text+"' ";
                string listnumber = this.txt_ListCode.Text.Trim();
                DataSet ds = null;
                DataSet ds1 = null;
                if (Cmb_ZL.Text.Trim() == "过磅总重")
                {
                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_DY", new object[] { Sql }, out strOut);
                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "DistsctListnumber1", new object[] { listnumber }, out strOut);
                    Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
                    rtp._rtpFileName = @"SendCanGZB.rpt";
                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
                    //rtp._rtpDataSet.Merge(ds.Copy());
                    rtp._rtpDataSet = ds;
                    if (ds1.Tables[0].Rows.Count <= 0)
                    {
                        //if (ds1.Tables[0].Rows[0]["cal_wgt"] == null)
                        //{
                            rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
                        //}
                        //if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
                        //{
                            rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
                        //}
                    }
                    else
                    {
                        rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["cal_wgt"].ToString();
                        rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
                    }
                    rtp._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;

                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 

                    //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
                    //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();


                    rtp.ShowDialog();
                }
                else if (Cmb_ZL.Text.Trim() == "小件计重")
                {
                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_DY1", new object[] { Sql }, out strOut);
                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "DistsctListnumber", new object[] { listnumber }, out strOut);
                    Core.XgMes.Client.Print.FrmPrintBase rtp1 = new Core.XgMes.Client.Print.FrmPrintBase();
                    rtp1._rtpFileName = @"SendCanZlDW.rpt";
                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
                    //rtp._rtpDataSet.Merge(ds.Copy());
                    rtp1._rtpDataSet = ds;
                    if (ds1.Tables[0].Rows.Count <= 0)
                    {
                        if (ds1.Tables[0].Rows[0]["LNZL"] == null)
                        {
                            rtp1._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
                        }
                        if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
                        {
                            rtp1._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
                        }
                    }
                    else
                    {
                        rtp1._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["LNZL"].ToString();
                        rtp1._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
                    }
                    
                 
                    rtp1._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;

                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 

                    //rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
                    //rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();


                    rtp1.ShowDialog();
                }
                else if (Cmb_ZL.Text.Trim() == "理论重量")
                {
                    ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_DY2", new object[] { Sql }, out strOut);
                    ds1 = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "DistsctListnumber2", new object[] { listnumber }, out strOut);
                    Core.XgMes.Client.Print.FrmPrintBase rtp2 = new Core.XgMes.Client.Print.FrmPrintBase();
                    rtp2._rtpFileName = @"SendCanLLZL.rpt";
                    //(obj as System.Data.DataSet).Tables["DATA"].Clear();
                    //rtp._rtpDataSet.Merge(ds.Copy());
                    rtp2._rtpDataSet = ds;
                    if (ds1.Tables[0].Rows.Count <= 0)
                    {
                        if (ds1.Tables[0].Rows[0]["LNZL"] == null)
                        {
                            rtp2._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = "0";
                        }
                        if (ds1.Tables[0].Rows[0]["BJ_PACTNO"] == null)
                        {
                            rtp2._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = "";
                        }
                    }
                    else
                    {
                        rtp2._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["LNZL"].ToString();
                        rtp2._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
                    }


                    rtp2._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName;

                    //Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 

                    //rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();
                    //rtp1._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"] = ds1.Tables[0].Rows[0]["USERBM"].ToString();


                    rtp2.ShowDialog();
                }

				if(ds==null)
				{
					MessageBox.Show("请您确认输写的发运明细编号是否正确!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return;
				}
                //Core.XgMes.Client.Print.FrmPrintBase rtp = new Core.XgMes.Client.Print.FrmPrintBase();
                //rtp._rtpFileName=@"SendCan.rpt";
                ////(obj as System.Data.DataSet).Tables["DATA"].Clear();
                ////rtp._rtpDataSet.Merge(ds.Copy());
                //rtp._rtpDataSet = ds;
                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["LNZL"] = ds1.Tables[0].Rows[0]["cal_wgt"].ToString();
                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["BJ_PACTNO"] = ds1.Tables[0].Rows[0]["BJ_PACTNO"].ToString();
                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["OLD_SAMPL_NO"] = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 

                ////Topic.Text = Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName; 
              
                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERBM"]=this.txt_UserBM.Text;
                //rtp._rtpDataSet.Tables["DATA"].Rows[0]["USERNAME"]=this.txt_UserName.Text;
                
              
                //rtp.ShowDialog();
			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void SendCan_Del()
		{
			try
			{
				string strOut="";
				ArrayList array=new ArrayList();
				string ID="";
				string ASK_ID="";
				foreach(Infragistics.Win.UltraWinGrid.UltraGridRow row in this.gb_Send.Selected.Rows)
				{
					array.Add(row.Cells["LISTNUMBER"].Value.ToString());
                    ID=Comm.ObjToStr(row.Cells["COIL_NO_ID"].Value);
					ASK_ID=Comm.ObjToStr(row.Cells["PLANVEHICLEID"].Value);
				}
				if(array.Count==0)
				{
                    MessageBox.Show("请选中你要删除的行!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
					return;
				}
				ArrayList Other=new ArrayList();
				Other.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                Other.Add(ID);
				Other.Add(ASK_ID);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "SendCan_DEL", new object[] { array, Other }, out strOut);
				if(obj!=null&&obj.ToString()=="1")
				{
					DataSet ds=(DataSet)this.gb_Send.DataSource;
					System.Data.DataRow[] row=ds.Tables["KCJ3_TURNOFFSENDLIST"].Select("COIL_NO_ID='"+ID+"'");
					for(int i=0;i<row.Length;i++)
					{
                        ds.Tables["KCJ3_TURNOFFSENDLIST"].Rows.Remove(row[i]);
						ds.Tables["KCJ3_TURNOFFSENDLIST"].AcceptChanges();
					}
					Comm.SetGridSumArea(gb_Send);
				}
				else
				{
                    MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
				}
					
			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}
        //排车信息查询 add by lyp 20101123
        public void AskQuery()
        {
            string err = "";
            try
            {
                
                string where = GetWhereAsk("PLAN");
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan",
                    "GetAskPlanData", new object[] { where }, out err);
                if (obj != null)
                {
                    this.ultraGrid2.DataSource = (DataSet)obj;
                }
               
                //StorageBaseClass.SetGridSumArea(this.Grd_HCSendPlan);
            }
            catch (System.Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
        private string GetWhereAsk(string type)
        {
            string rtnStr = "";
            if (this.chk_DeliveryTime.Checked)
            {
                if (type == "PLAN")
                {
                    rtnStr = " AND TO_CHAR(T1.INCEPTDATE,'YYYYMMDD')  >='" + Convert.ToDateTime(this.Dte_BeginTime.Value).ToString("yyyyMMdd") + "'  " +
                                                  " AND TO_CHAR(T1.INCEPTDATE,'YYYYMMDD')<='" + Convert.ToDateTime(this.Dte_EndTime.Value).ToString("yyyyMMdd") + "'";
                                    
                }
               
            }
            //if (this.chk_PactNO.Enabled)
    
            if (this.Txt_PactNO.Enabled && this.Txt_PactNO.Text.Length > 0)
            {
                if (type == "PLAN")
                {
                    rtnStr = rtnStr + " AND substr(t1.PACTNO,1,12) LIKE '%" + this.Txt_PactNO.Text + "%' ";
                }
                
            }
            
            if (this.txt_AskPlanID.Enabled && this.txt_AskPlanID.Text.Length > 0)
            {
                rtnStr = rtnStr + " AND t1.ASKPLAN_ID LIKE '%" + this.txt_AskPlanID.Text + "%' ";
            }        
            return rtnStr;
        }
		private void ultraGroupBox2_Click(object sender, System.EventArgs e)
		{
			
		}

		private void chk_CoilID_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_CoilID.Enabled=this.chk_CoilID.Checked;
			this.ultraTextEditor1.Enabled=this.chk_CoilID.Checked;
			this.ultraTextEditor2.Enabled=this.chk_CoilID.Checked;
		}

		private void chk_PactNO_CheckedChanged(object sender, System.EventArgs e)
		{
			this.Txt_PactNO.Enabled=this.chk_PactNO.Checked;
		}

		private void chk_AskPlanID_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_AskPlanID.Enabled=this.chk_AskPlanID.Checked;
		}

		private void chk_ListCode_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_ListCode.Enabled=this.chk_ListCode.Checked;
		}

		private void chk_DeliveryTime_CheckedChanged(object sender, System.EventArgs e)
		{
			this.Dte_BeginTime.Enabled=this.chk_DeliveryTime.Checked;
			this.Dte_EndTime.Enabled=this.chk_DeliveryTime.Checked;
		}

		private void Ops_SendType_ValueChanged(object sender, System.EventArgs e)
		{
			try
			{
				switch(this.Ops_SendType.Value.ToString())
				{
					case "0":
						this.Txt_AskPlan.Text = "";
						break;
					case "1":
						this.Txt_AskPlan.Text = System.DateTime.Now.ToString("yyyyMMddHHmmss");
						this.Txt_AskPlan.Enabled = true;
						this.btn_NSendID.Visible=true;
						break;
					case "4":
						this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
						this.Txt_AskPlan.Enabled = true;
						this.btn_NSendID.Visible=true;
						break;
				
					case "7":
						this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
						this.Txt_AskPlan.Enabled = true;
						this.btn_NSendID.Visible=true;
						break;
				  

				}

			}
			catch(Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		private void btn_NSendID_Click(object sender, System.EventArgs e)
		{
			switch(this.Ops_SendType.Value.ToString())
			{
				case "1":
					this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
					break;
				case "7":
					this.Txt_AskPlan.Text =System.DateTime.Now.ToString("yyyyMMddHHmmss");
					break;

			}
		}

		private void chk_GangJuan_CheckedChanged(object sender, System.EventArgs e)
		{
			this.txt_GangJuan.Enabled=this.chk_GangJuan.Checked;
		}

		private void ultraButton1_Click(object sender, System.EventArgs e)
		{
			string strOut="";
			ArrayList array=new ArrayList();
			array.Add(Txt_AskPlan.Text);
			array.Add(this.Txt_VecihleNO.Text);
            object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "CanUpdate", new object[] { array }, out strOut);
			if(obj!=null&&obj.ToString()=="1")
			{
				MessageBox.Show("修改成功!","提示",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Information);
			}
			else
			{
                MessageBox.Show(strOut,"警告",System.Windows.Forms.MessageBoxButtons.OK,System.Windows.Forms.MessageBoxIcon.Warning);
			}
		}

		private void chk_AllowFilter_CheckedChanged(object sender, System.EventArgs e)
		{
			try 
			{
				if(this.chk_AllowFilter.Checked)
				{
					this.gb_Send.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.True;
					this.gb_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.FilterRow;

				}
				else
				{
					this.gb_Send.DisplayLayout.Override.AllowRowFiltering = Infragistics.Win.DefaultableBoolean.False;
					this.gb_Send.DisplayLayout.Override.FilterUIType = Infragistics.Win.UltraWinGrid.FilterUIType.Default;
					if(this.gb_Send.DisplayLayout.Bands[0].ColumnFilters.Count>0)
					{
						for(int i=0;i<this.gb_Send.DisplayLayout.Bands[0].ColumnFilters.Count;i++)
						{
							this.gb_Send.DisplayLayout.Bands[0].ColumnFilters[i].FilterConditions.Clear();
						}
					}

				}

			}
			catch(System.Exception ex)
			{
				System.Diagnostics.Debug.WriteLine(ex.ToString());
			}
		}

		#region "导出报表"
		private void ExportButtressInfo()
		{
			if(this.gb_Send.Rows.Count > 0)
			{
				Comm.ExPortExcel(this.gb_Send,this.excelExporter);
			}
			else
			{
				MessageBox.Show("无信息数据，不能导出！","提示",MessageBoxButtons.OK,MessageBoxIcon.Information);
			}

		}
		#endregion 

        private void ultraGrid2_DoubleClickRow(object sender, DoubleClickRowEventArgs e)
        {
            try
            {
                if (e.Row != null)
                {
                    if (e.Row.ChildBands == null)
                    {
                        string where = " AND A.PLANVEHICLEID='" + e.Row.Cells["ASKPLAN_ID"].Value.ToString() + "' ";
                 

                        string strOut = "";

                        DataSet ds = (DataSet)Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan", "Turn_ZH", new object[] { where }, out strOut);
                        if (ds != null && ds.Tables[0].Rows.Count>0)
                        {
                            this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
                            this.cmb_Station.Text = e.Row.Cells["STATIONNAME"].Text;
                            this.cmb_IncpName.Text = e.Row.Cells["BUYERCODE"].Text;
                            Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Text;
                            this.Txt_VecihleNO.Text = ds.Tables[0].Rows[0]["TRANS_CAR_NO"].ToString();
                            this.txt_ZYCH.Text = ds.Tables[0].Rows[0]["TRAINWAGON_NZ"].ToString();
                            txt_Scouid.Text = ds.Tables[0].Rows[0]["LISTNUMBER"].ToString().Substring(5);
                            this.Txt_ListCoding.Text = "";
                            this.Txt_Remark.Text = "";
                            this.Cmb_SendMan.Text = "";
                            this.Cmb_ClassOrder.Value = "";
                            this.Cmb_ClassTeam.Value = "";
                            this.Dte_SendTime.Value = System.DateTime.Now;
                            this.gb_Send.DataSource = ds;

                            this.gb_Send.UpdateData();
                            Comm.SetGridSumArea(this.gb_Send);
                        }
                        else
                        {
                            this.Txt_AskPlan.Text = e.Row.Cells["ASKPLAN_ID"].Value.ToString();
                            this.cmb_Station.Text = e.Row.Cells["STATIONNAME"].Text;
                            this.cmb_IncpName.Text = e.Row.Cells["BUYERCODE"].Text;
                            Txt_SendPactNO.Text = e.Row.Cells["PACTNO"].Text;
                            txt_Scouid.Text = "";
                            Txt_VecihleNO.Text = "";
                            this.Txt_ListCoding.Text = "";
                            this.Txt_Remark.Text = "";
                            this.Cmb_SendMan.Text = "";
                            this.Cmb_ClassOrder.Value = "";
                            this.Cmb_ClassTeam.Value = "";
                            this.txt_ZYCH.Text = "";
                            this.Dte_SendTime.Value = System.DateTime.Now;
                            this.gb_Send.DataSource = ds;

                            this.gb_Send.UpdateData();
                            Comm.SetGridSumArea(this.gb_Send);
                        }
                        //}
                       
                    }
                }
            }
            catch (System.Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }

        private void btn_zlupdate_Click(object sender, EventArgs e)
        {
            string strOut = "";
            ArrayList array = new ArrayList();
            array.Add(Txt_AskPlan.Text);
            array.Add(this.txt_WEIGHT.Text);
            array.Add(this.Cmb_Txt_ListCodingTop.Text + "-" + this.txt_Scouid.Text);
            object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("CoilMachiningManage", "Core.XgMes.Server.CoilMachiningManage.TurnoffSendCan", "ZLUpdate", new object[] { array }, out strOut);
            if (obj != null && obj.ToString() == "1")
            {
                MessageBox.Show("修改成功!", "提示", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Information);
            }
            else
            {
                MessageBox.Show(strOut, "警告", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Warning);
            }
        }

        private void Txt_VecihleNO_Enter(object sender, EventArgs e)
        {
            try
            {
                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraTextEditor")
                {
                    ((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).SelectAll();
                }
                if (sender.GetType().ToString() == "Infragistics.Win.UltraWinEditors.UltraNumericEditor")
                {
                    ((Infragistics.Win.UltraWinEditors.UltraNumericEditor)sender).SelectAll();
                }
                if (((Infragistics.Win.UltraWinEditors.UltraTextEditor)sender).Name == "Txt_VecihleNO")
                {
                    txt_ZYCH.Text = Txt_VecihleNO.Text;
                }
            }
            catch (Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }

        private void Btn_GetListCoding_Click(object sender, EventArgs e)
        {
            try
            {
                //string year = this.Txt_ListCodingTop.Text.Substring(2,this.Txt_ListCodingTop.Text.Length-2);
                string year = this.Cmb_Txt_ListCodingTop.Text.Substring(5, 1);
                string strerr = "";
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.TurnoffSendCan",
                    "GetListCoding", new object[] { "SEND", year }, out strerr);
                if (StorageBaseClass.CheckNullStr(obj).Length == 0)
                {
                    MessageBox.Show("获取申报编号失败", StorageBaseClass.MsgCaption);
                }
                else
                {
                    this.txt_Scouid.Text = StorageBaseClass.CheckNullStr(obj);
                }

            }
            catch (System.Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }


        #region "预报发送"
        private void AFFIRMJL()
        {
            try
            {
                if (this.Txt_VecihleNO.Text.Length == 0)
                {
                    MessageBox.Show("请您确认车牌号！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                if (this.Txt_AskPlan.Text.Length == 0)
                {
                    MessageBox.Show("请您确认发运号！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                System.Collections.ArrayList LoadInfo = new ArrayList();
                string strerr = "";
                string Type = "AFFIRMJL";
                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
                if (obj != null && obj.ToString() == "1")
                {
                    MessageBox.Show("预报发送成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }
                else
                {
                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }

            }
            catch (System.Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }

        private void AFFIRMJLQR()
        {
            try
            {
                if (this.Txt_VecihleNO.Text.Length == 0)
                {
                    MessageBox.Show("请您确认车牌号！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                if (this.Txt_AskPlan.Text.Length == 0)
                {
                    MessageBox.Show("请您确认发运号！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                System.Collections.ArrayList LoadInfo = new ArrayList();
                string strerr = "";
                string Type = "AFFIRMJL";
                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
                if (obj != null && obj.ToString() == "1")
                {
                    MessageBox.Show("预报发送成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }
                else
                {
                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }

            }
            catch (System.Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }

        #endregion

        #region "撤销发送"
        private void QXZL()
        {
            try
            {
                if (this.Txt_VecihleNO.Text.Length == 0)
                {
                    MessageBox.Show("请您确认车牌号！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                if (this.Txt_AskPlan.Text.Length == 0)
                {
                    MessageBox.Show("请您确认发运号！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    return;
                }
                System.Collections.ArrayList LoadInfo = new ArrayList();
                string strerr = "";
                string Type = "QXZL";
                LoadInfo.Add(Comm.ObjToStr(this.Txt_VecihleNO.Text.Trim()));
                LoadInfo.Add(Comm.ObjToStr(this.Txt_AskPlan.Text.Trim()));
                LoadInfo.Add(Core.Mes.ClientFrameWork.ClientCommon._UserInfo.UserName);
                object obj = Core.Mes.ClientFrameWork.ClientCommon._RemotingHelp.ExecuteMethod("BJZWJBStuff", "Core.XgMes.Server.JGKC.RollManager.StuffReceiveManage",
                    "CommitLoadVecihle", new object[] { LoadInfo, Type }, out strerr);
                if (obj != null && obj.ToString() == "1")
                {
                    MessageBox.Show("撤销发送成功！", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }
                else
                {
                    MessageBox.Show(strerr, "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                }

            }
            catch (System.Exception ex)
            {
                System.Diagnostics.Debug.WriteLine(ex.ToString());
            }
        }
        #endregion


	}
}
