konghe 1 рік тому
батько
коміт
6a36675161

+ 379 - 379
DK.Client/PMModule/F_PM_3502.Designer.cs

@@ -28,393 +28,393 @@
 		/// </summary>
 		private void InitializeComponent()
 		{
-			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PM_3502));
-			System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
-			System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
-			System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
-			this.gbxCondition = new Dongke.IBOSS.PRD.Basics.BaseControls.C_GroupBox();
-			this.cmbCARPLATENAME = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
-			this.cmbRECEIVECODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
-			this.cmbWAREHOUSINGCODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
-			this.txtOUTLABELCODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
-			this.c_Label8 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label6 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_DateTimePicker1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
-			this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.c_Label7 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.txtSENDOUTCODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
-			this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.dtpAccountDateStart = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
-			this.c_Label5 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
-			this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
-			this.dgvSendDetail = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
-			this.GOODSCODE = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.MATERIALCODE = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.MATERIALREMARK = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.BANMA = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.BINDINGCOUNT = new System.Windows.Forms.DataGridViewTextBoxColumn();
-			this.gbxCondition.SuspendLayout();
-			((System.ComponentModel.ISupportInitialize)(this.dgvSendDetail)).BeginInit();
-			this.SuspendLayout();
-			// 
-			// gbxCondition
-			// 
-			this.gbxCondition.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(F_PM_3502));
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+            this.gbxCondition = new Dongke.IBOSS.PRD.Basics.BaseControls.C_GroupBox();
+            this.cmbCARPLATENAME = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
+            this.cmbRECEIVECODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
+            this.cmbWAREHOUSINGCODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_ComboBox();
+            this.txtOUTLABELCODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+            this.c_Label8 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label6 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_DateTimePicker1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
+            this.c_Label4 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label3 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label2 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.c_Label7 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.txtSENDOUTCODE = new Dongke.IBOSS.PRD.Basics.BaseControls.C_TextBox();
+            this.c_Label1 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.dtpAccountDateStart = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DateTimePicker();
+            this.c_Label5 = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Label();
+            this.btnSave = new Dongke.IBOSS.PRD.Basics.BaseControls.C_Button();
+            this.dgvSendDetail = new Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView();
+            this.GOODSCODE = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MATERIALCODE = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MATERIALREMARK = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.BANMA = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.BINDINGCOUNT = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.gbxCondition.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvSendDetail)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // gbxCondition
+            // 
+            this.gbxCondition.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-			this.gbxCondition.BackColor = System.Drawing.Color.Transparent;
-			this.gbxCondition.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gbxCondition.BackgroundImage")));
-			this.gbxCondition.Controls.Add(this.cmbCARPLATENAME);
-			this.gbxCondition.Controls.Add(this.cmbRECEIVECODE);
-			this.gbxCondition.Controls.Add(this.cmbWAREHOUSINGCODE);
-			this.gbxCondition.Controls.Add(this.txtOUTLABELCODE);
-			this.gbxCondition.Controls.Add(this.c_Label8);
-			this.gbxCondition.Controls.Add(this.c_Label6);
-			this.gbxCondition.Controls.Add(this.c_DateTimePicker1);
-			this.gbxCondition.Controls.Add(this.c_Label4);
-			this.gbxCondition.Controls.Add(this.c_Label3);
-			this.gbxCondition.Controls.Add(this.c_Label2);
-			this.gbxCondition.Controls.Add(this.c_Label7);
-			this.gbxCondition.Controls.Add(this.txtSENDOUTCODE);
-			this.gbxCondition.Controls.Add(this.c_Label1);
-			this.gbxCondition.Controls.Add(this.dtpAccountDateStart);
-			this.gbxCondition.Controls.Add(this.c_Label5);
-			this.gbxCondition.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.gbxCondition.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.gbxCondition.IsMustInput = false;
-			this.gbxCondition.Location = new System.Drawing.Point(0, 4);
-			this.gbxCondition.Name = "gbxCondition";
-			this.gbxCondition.OriginalHeight = -1;
-			this.gbxCondition.Size = new System.Drawing.Size(982, 87);
-			this.gbxCondition.TabIndex = 1;
-			this.gbxCondition.TabStop = false;
-			this.gbxCondition.Text = "发货单 ▼";
-			// 
-			// cmbCARPLATENAME
-			// 
-			this.cmbCARPLATENAME.BackColor = System.Drawing.SystemColors.Window;
-			this.cmbCARPLATENAME.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.cmbCARPLATENAME.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.cmbCARPLATENAME.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.cmbCARPLATENAME.FormattingEnabled = true;
-			this.cmbCARPLATENAME.Location = new System.Drawing.Point(81, 61);
-			this.cmbCARPLATENAME.Name = "cmbCARPLATENAME";
-			this.cmbCARPLATENAME.Size = new System.Drawing.Size(121, 20);
-			this.cmbCARPLATENAME.TabIndex = 29;
-			// 
-			// cmbRECEIVECODE
-			// 
-			this.cmbRECEIVECODE.BackColor = System.Drawing.SystemColors.Window;
-			this.cmbRECEIVECODE.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.cmbRECEIVECODE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.cmbRECEIVECODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.cmbRECEIVECODE.FormattingEnabled = true;
-			this.cmbRECEIVECODE.Location = new System.Drawing.Point(682, 26);
-			this.cmbRECEIVECODE.Name = "cmbRECEIVECODE";
-			this.cmbRECEIVECODE.Size = new System.Drawing.Size(121, 20);
-			this.cmbRECEIVECODE.TabIndex = 28;
-			// 
-			// cmbWAREHOUSINGCODE
-			// 
-			this.cmbWAREHOUSINGCODE.BackColor = System.Drawing.SystemColors.Window;
-			this.cmbWAREHOUSINGCODE.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.cmbWAREHOUSINGCODE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
-			this.cmbWAREHOUSINGCODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.cmbWAREHOUSINGCODE.FormattingEnabled = true;
-			this.cmbWAREHOUSINGCODE.Location = new System.Drawing.Point(478, 25);
-			this.cmbWAREHOUSINGCODE.Name = "cmbWAREHOUSINGCODE";
-			this.cmbWAREHOUSINGCODE.Size = new System.Drawing.Size(121, 20);
-			this.cmbWAREHOUSINGCODE.TabIndex = 27;
-			// 
-			// txtOUTLABELCODE
-			// 
-			this.txtOUTLABELCODE.BackColor = System.Drawing.SystemColors.Window;
-			this.txtOUTLABELCODE.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.txtOUTLABELCODE.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
-			this.txtOUTLABELCODE.ErrorMessage = "";
-			this.txtOUTLABELCODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.txtOUTLABELCODE.Location = new System.Drawing.Point(278, 25);
-			this.txtOUTLABELCODE.MaxLength = 20;
-			this.txtOUTLABELCODE.Name = "txtOUTLABELCODE";
-			this.txtOUTLABELCODE.Size = new System.Drawing.Size(119, 21);
-			this.txtOUTLABELCODE.TabIndex = 25;
-			this.txtOUTLABELCODE.TextValue = "";
-			this.txtOUTLABELCODE.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtOUTLABELCODE_KeyDown);
-			// 
-			// c_Label8
-			// 
-			this.c_Label8.AutoSize = true;
-			this.c_Label8.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label8.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.c_Label8.Location = new System.Drawing.Point(219, 28);
-			this.c_Label8.Name = "c_Label8";
-			this.c_Label8.Size = new System.Drawing.Size(41, 12);
-			this.c_Label8.TabIndex = 26;
-			this.c_Label8.Text = "外箱码";
-			// 
-			// c_Label6
-			// 
-			this.c_Label6.AutoSize = true;
-			this.c_Label6.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label6.Location = new System.Drawing.Point(419, 64);
-			this.c_Label6.Name = "c_Label6";
-			this.c_Label6.Size = new System.Drawing.Size(53, 12);
-			this.c_Label6.TabIndex = 24;
-			this.c_Label6.Text = "送货日期";
-			// 
-			// c_DateTimePicker1
-			// 
-			this.c_DateTimePicker1.CustomFormat = "yyyy-MM-dd";
-			this.c_DateTimePicker1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
-			this.c_DateTimePicker1.Location = new System.Drawing.Point(478, 60);
-			this.c_DateTimePicker1.Name = "c_DateTimePicker1";
-			this.c_DateTimePicker1.Size = new System.Drawing.Size(121, 21);
-			this.c_DateTimePicker1.TabIndex = 23;
-			// 
-			// c_Label4
-			// 
-			this.c_Label4.AutoSize = true;
-			this.c_Label4.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label4.Location = new System.Drawing.Point(219, 66);
-			this.c_Label4.Name = "c_Label4";
-			this.c_Label4.Size = new System.Drawing.Size(53, 12);
-			this.c_Label4.TabIndex = 22;
-			this.c_Label4.Text = "记账日期";
-			// 
-			// c_Label3
-			// 
-			this.c_Label3.AutoSize = true;
-			this.c_Label3.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label3.Location = new System.Drawing.Point(22, 66);
-			this.c_Label3.Name = "c_Label3";
-			this.c_Label3.Size = new System.Drawing.Size(41, 12);
-			this.c_Label3.TabIndex = 21;
-			this.c_Label3.Text = "车牌号";
-			// 
-			// c_Label2
-			// 
-			this.c_Label2.AutoSize = true;
-			this.c_Label2.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label2.Location = new System.Drawing.Point(623, 29);
-			this.c_Label2.Name = "c_Label2";
-			this.c_Label2.Size = new System.Drawing.Size(53, 12);
-			this.c_Label2.TabIndex = 19;
-			this.c_Label2.Text = "接收仓库";
-			// 
-			// c_Label7
-			// 
-			this.c_Label7.AutoSize = true;
-			this.c_Label7.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label7.Location = new System.Drawing.Point(419, 28);
-			this.c_Label7.Name = "c_Label7";
-			this.c_Label7.Size = new System.Drawing.Size(53, 12);
-			this.c_Label7.TabIndex = 17;
-			this.c_Label7.Text = "发出仓库";
-			// 
-			// txtSENDOUTCODE
-			// 
-			this.txtSENDOUTCODE.BackColor = System.Drawing.SystemColors.Window;
-			this.txtSENDOUTCODE.BackgroundColor = System.Drawing.SystemColors.Window;
-			this.txtSENDOUTCODE.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
-			this.txtSENDOUTCODE.ErrorMessage = "";
-			this.txtSENDOUTCODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.txtSENDOUTCODE.Location = new System.Drawing.Point(81, 25);
-			this.txtSENDOUTCODE.MaxLength = 20;
-			this.txtSENDOUTCODE.Name = "txtSENDOUTCODE";
-			this.txtSENDOUTCODE.Size = new System.Drawing.Size(119, 21);
-			this.txtSENDOUTCODE.TabIndex = 1;
-			this.txtSENDOUTCODE.TextValue = "";
-			// 
-			// c_Label1
-			// 
-			this.c_Label1.AutoSize = true;
-			this.c_Label1.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.c_Label1.Location = new System.Drawing.Point(22, 28);
-			this.c_Label1.Name = "c_Label1";
-			this.c_Label1.Size = new System.Drawing.Size(53, 12);
-			this.c_Label1.TabIndex = 14;
-			this.c_Label1.Text = "发货单号";
-			// 
-			// dtpAccountDateStart
-			// 
-			this.dtpAccountDateStart.CustomFormat = "yyyy-MM-dd";
-			this.dtpAccountDateStart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.dtpAccountDateStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
-			this.dtpAccountDateStart.Location = new System.Drawing.Point(278, 60);
-			this.dtpAccountDateStart.Name = "dtpAccountDateStart";
-			this.dtpAccountDateStart.Size = new System.Drawing.Size(119, 21);
-			this.dtpAccountDateStart.TabIndex = 3;
-			// 
-			// c_Label5
-			// 
-			this.c_Label5.AutoSize = true;
-			this.c_Label5.BackColor = System.Drawing.Color.Transparent;
-			this.c_Label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.c_Label5.ForeColor = System.Drawing.SystemColors.ControlText;
-			this.c_Label5.Location = new System.Drawing.Point(815, 66);
-			this.c_Label5.Name = "c_Label5";
-			this.c_Label5.Size = new System.Drawing.Size(0, 12);
-			this.c_Label5.TabIndex = 4;
-			// 
-			// btnSave
-			// 
-			this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-			this.btnSave.BackColor = System.Drawing.Color.Transparent;
-			this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
-			this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.btnSave.ForeColor = System.Drawing.Color.White;
-			this.btnSave.Location = new System.Drawing.Point(897, 540);
-			this.btnSave.Name = "btnSave";
-			this.btnSave.Size = new System.Drawing.Size(85, 30);
-			this.btnSave.TabIndex = 11;
-			this.btnSave.Text = "保存(&S)";
-			this.btnSave.UseVisualStyleBackColor = true;
-			this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
-			// 
-			// dgvSendDetail
-			// 
-			this.dgvSendDetail.AllowUserToAddRows = false;
-			this.dgvSendDetail.AllowUserToDeleteRows = false;
-			this.dgvSendDetail.AllowUserToModifyRows = true;
-			this.dgvSendDetail.AllowUserToOrderColumns = true;
-			dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
-			this.dgvSendDetail.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
-			this.dgvSendDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
+            this.gbxCondition.BackColor = System.Drawing.Color.Transparent;
+            this.gbxCondition.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gbxCondition.BackgroundImage")));
+            this.gbxCondition.Controls.Add(this.cmbCARPLATENAME);
+            this.gbxCondition.Controls.Add(this.cmbRECEIVECODE);
+            this.gbxCondition.Controls.Add(this.cmbWAREHOUSINGCODE);
+            this.gbxCondition.Controls.Add(this.txtOUTLABELCODE);
+            this.gbxCondition.Controls.Add(this.c_Label8);
+            this.gbxCondition.Controls.Add(this.c_Label6);
+            this.gbxCondition.Controls.Add(this.c_DateTimePicker1);
+            this.gbxCondition.Controls.Add(this.c_Label4);
+            this.gbxCondition.Controls.Add(this.c_Label3);
+            this.gbxCondition.Controls.Add(this.c_Label2);
+            this.gbxCondition.Controls.Add(this.c_Label7);
+            this.gbxCondition.Controls.Add(this.txtSENDOUTCODE);
+            this.gbxCondition.Controls.Add(this.c_Label1);
+            this.gbxCondition.Controls.Add(this.dtpAccountDateStart);
+            this.gbxCondition.Controls.Add(this.c_Label5);
+            this.gbxCondition.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.gbxCondition.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.gbxCondition.IsMustInput = false;
+            this.gbxCondition.Location = new System.Drawing.Point(0, 4);
+            this.gbxCondition.Name = "gbxCondition";
+            this.gbxCondition.OriginalHeight = -1;
+            this.gbxCondition.Size = new System.Drawing.Size(982, 87);
+            this.gbxCondition.TabIndex = 1;
+            this.gbxCondition.TabStop = false;
+            this.gbxCondition.Text = "发货单 ▼";
+            // 
+            // cmbCARPLATENAME
+            // 
+            this.cmbCARPLATENAME.BackColor = System.Drawing.SystemColors.Window;
+            this.cmbCARPLATENAME.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.cmbCARPLATENAME.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbCARPLATENAME.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbCARPLATENAME.FormattingEnabled = true;
+            this.cmbCARPLATENAME.Location = new System.Drawing.Point(81, 61);
+            this.cmbCARPLATENAME.Name = "cmbCARPLATENAME";
+            this.cmbCARPLATENAME.Size = new System.Drawing.Size(121, 20);
+            this.cmbCARPLATENAME.TabIndex = 29;
+            // 
+            // cmbRECEIVECODE
+            // 
+            this.cmbRECEIVECODE.BackColor = System.Drawing.SystemColors.Window;
+            this.cmbRECEIVECODE.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.cmbRECEIVECODE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbRECEIVECODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbRECEIVECODE.FormattingEnabled = true;
+            this.cmbRECEIVECODE.Location = new System.Drawing.Point(682, 26);
+            this.cmbRECEIVECODE.Name = "cmbRECEIVECODE";
+            this.cmbRECEIVECODE.Size = new System.Drawing.Size(121, 20);
+            this.cmbRECEIVECODE.TabIndex = 28;
+            // 
+            // cmbWAREHOUSINGCODE
+            // 
+            this.cmbWAREHOUSINGCODE.BackColor = System.Drawing.SystemColors.Window;
+            this.cmbWAREHOUSINGCODE.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.cmbWAREHOUSINGCODE.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
+            this.cmbWAREHOUSINGCODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbWAREHOUSINGCODE.FormattingEnabled = true;
+            this.cmbWAREHOUSINGCODE.Location = new System.Drawing.Point(478, 25);
+            this.cmbWAREHOUSINGCODE.Name = "cmbWAREHOUSINGCODE";
+            this.cmbWAREHOUSINGCODE.Size = new System.Drawing.Size(121, 20);
+            this.cmbWAREHOUSINGCODE.TabIndex = 27;
+            // 
+            // txtOUTLABELCODE
+            // 
+            this.txtOUTLABELCODE.BackColor = System.Drawing.SystemColors.Window;
+            this.txtOUTLABELCODE.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtOUTLABELCODE.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+            this.txtOUTLABELCODE.ErrorMessage = "";
+            this.txtOUTLABELCODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtOUTLABELCODE.Location = new System.Drawing.Point(278, 25);
+            this.txtOUTLABELCODE.MaxLength = 50;
+            this.txtOUTLABELCODE.Name = "txtOUTLABELCODE";
+            this.txtOUTLABELCODE.Size = new System.Drawing.Size(119, 21);
+            this.txtOUTLABELCODE.TabIndex = 25;
+            this.txtOUTLABELCODE.TextValue = "";
+            this.txtOUTLABELCODE.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtOUTLABELCODE_KeyDown);
+            // 
+            // c_Label8
+            // 
+            this.c_Label8.AutoSize = true;
+            this.c_Label8.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label8.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label8.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label8.Location = new System.Drawing.Point(219, 28);
+            this.c_Label8.Name = "c_Label8";
+            this.c_Label8.Size = new System.Drawing.Size(41, 12);
+            this.c_Label8.TabIndex = 26;
+            this.c_Label8.Text = "外箱码";
+            // 
+            // c_Label6
+            // 
+            this.c_Label6.AutoSize = true;
+            this.c_Label6.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label6.Location = new System.Drawing.Point(419, 64);
+            this.c_Label6.Name = "c_Label6";
+            this.c_Label6.Size = new System.Drawing.Size(53, 12);
+            this.c_Label6.TabIndex = 24;
+            this.c_Label6.Text = "送货日期";
+            // 
+            // c_DateTimePicker1
+            // 
+            this.c_DateTimePicker1.CustomFormat = "yyyy-MM-dd";
+            this.c_DateTimePicker1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_DateTimePicker1.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+            this.c_DateTimePicker1.Location = new System.Drawing.Point(478, 60);
+            this.c_DateTimePicker1.Name = "c_DateTimePicker1";
+            this.c_DateTimePicker1.Size = new System.Drawing.Size(121, 21);
+            this.c_DateTimePicker1.TabIndex = 23;
+            // 
+            // c_Label4
+            // 
+            this.c_Label4.AutoSize = true;
+            this.c_Label4.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label4.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label4.Location = new System.Drawing.Point(219, 66);
+            this.c_Label4.Name = "c_Label4";
+            this.c_Label4.Size = new System.Drawing.Size(53, 12);
+            this.c_Label4.TabIndex = 22;
+            this.c_Label4.Text = "记账日期";
+            // 
+            // c_Label3
+            // 
+            this.c_Label3.AutoSize = true;
+            this.c_Label3.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label3.Location = new System.Drawing.Point(22, 66);
+            this.c_Label3.Name = "c_Label3";
+            this.c_Label3.Size = new System.Drawing.Size(41, 12);
+            this.c_Label3.TabIndex = 21;
+            this.c_Label3.Text = "车牌号";
+            // 
+            // c_Label2
+            // 
+            this.c_Label2.AutoSize = true;
+            this.c_Label2.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label2.Location = new System.Drawing.Point(623, 29);
+            this.c_Label2.Name = "c_Label2";
+            this.c_Label2.Size = new System.Drawing.Size(53, 12);
+            this.c_Label2.TabIndex = 19;
+            this.c_Label2.Text = "接收仓库";
+            // 
+            // c_Label7
+            // 
+            this.c_Label7.AutoSize = true;
+            this.c_Label7.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label7.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label7.Location = new System.Drawing.Point(419, 28);
+            this.c_Label7.Name = "c_Label7";
+            this.c_Label7.Size = new System.Drawing.Size(53, 12);
+            this.c_Label7.TabIndex = 17;
+            this.c_Label7.Text = "发出仓库";
+            // 
+            // txtSENDOUTCODE
+            // 
+            this.txtSENDOUTCODE.BackColor = System.Drawing.SystemColors.Window;
+            this.txtSENDOUTCODE.BackgroundColor = System.Drawing.SystemColors.Window;
+            this.txtSENDOUTCODE.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
+            this.txtSENDOUTCODE.ErrorMessage = "";
+            this.txtSENDOUTCODE.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtSENDOUTCODE.Location = new System.Drawing.Point(81, 25);
+            this.txtSENDOUTCODE.MaxLength = 20;
+            this.txtSENDOUTCODE.Name = "txtSENDOUTCODE";
+            this.txtSENDOUTCODE.Size = new System.Drawing.Size(119, 21);
+            this.txtSENDOUTCODE.TabIndex = 1;
+            this.txtSENDOUTCODE.TextValue = "";
+            // 
+            // c_Label1
+            // 
+            this.c_Label1.AutoSize = true;
+            this.c_Label1.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label1.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label1.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label1.Location = new System.Drawing.Point(22, 28);
+            this.c_Label1.Name = "c_Label1";
+            this.c_Label1.Size = new System.Drawing.Size(53, 12);
+            this.c_Label1.TabIndex = 14;
+            this.c_Label1.Text = "发货单号";
+            // 
+            // dtpAccountDateStart
+            // 
+            this.dtpAccountDateStart.CustomFormat = "yyyy-MM-dd";
+            this.dtpAccountDateStart.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtpAccountDateStart.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+            this.dtpAccountDateStart.Location = new System.Drawing.Point(278, 60);
+            this.dtpAccountDateStart.Name = "dtpAccountDateStart";
+            this.dtpAccountDateStart.Size = new System.Drawing.Size(119, 21);
+            this.dtpAccountDateStart.TabIndex = 3;
+            // 
+            // c_Label5
+            // 
+            this.c_Label5.AutoSize = true;
+            this.c_Label5.BackColor = System.Drawing.Color.Transparent;
+            this.c_Label5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.c_Label5.ForeColor = System.Drawing.SystemColors.ControlText;
+            this.c_Label5.Location = new System.Drawing.Point(815, 66);
+            this.c_Label5.Name = "c_Label5";
+            this.c_Label5.Size = new System.Drawing.Size(0, 12);
+            this.c_Label5.TabIndex = 4;
+            // 
+            // btnSave
+            // 
+            this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.btnSave.BackColor = System.Drawing.Color.Transparent;
+            this.btnSave.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnSave.BackgroundImage")));
+            this.btnSave.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.btnSave.ForeColor = System.Drawing.Color.White;
+            this.btnSave.Location = new System.Drawing.Point(897, 540);
+            this.btnSave.Name = "btnSave";
+            this.btnSave.Size = new System.Drawing.Size(85, 30);
+            this.btnSave.TabIndex = 11;
+            this.btnSave.Text = "保存(&S)";
+            this.btnSave.UseVisualStyleBackColor = true;
+            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+            // 
+            // dgvSendDetail
+            // 
+            this.dgvSendDetail.AllowUserToAddRows = false;
+            this.dgvSendDetail.AllowUserToDeleteRows = false;
+            this.dgvSendDetail.AllowUserToModifyRows = true;
+            this.dgvSendDetail.AllowUserToOrderColumns = true;
+            dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
+            this.dgvSendDetail.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+            this.dgvSendDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
             | System.Windows.Forms.AnchorStyles.Left) 
             | System.Windows.Forms.AnchorStyles.Right)));
-			this.dgvSendDetail.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
-			this.dgvSendDetail.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
-			this.dgvSendDetail.CellHeight = 23;
-			this.dgvSendDetail.ChildNodeColumnName = null;
-			this.dgvSendDetail.ChildNodeColumnText = null;
-			this.dgvSendDetail.ColumnDeep = 1;
-			this.dgvSendDetail.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
-			dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
-			dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
-			dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
-			dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-			dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-			dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
-			this.dgvSendDetail.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
-			this.dgvSendDetail.ColumnHeadersHeight = 34;
-			this.dgvSendDetail.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-			this.dgvSendDetail.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.dgvSendDetail.CellBackColorNochanged = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
+            this.dgvSendDetail.CellBackColorReadOnly = System.Drawing.SystemColors.Control;
+            this.dgvSendDetail.CellHeight = 23;
+            this.dgvSendDetail.ChildNodeColumnName = null;
+            this.dgvSendDetail.ChildNodeColumnText = null;
+            this.dgvSendDetail.ColumnDeep = 1;
+            this.dgvSendDetail.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
+            dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+            dataGridViewCellStyle2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(48)))), ((int)(((byte)(58)))), ((int)(((byte)(70)))));
+            dataGridViewCellStyle2.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle2.ForeColor = System.Drawing.Color.White;
+            dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvSendDetail.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+            this.dgvSendDetail.ColumnHeadersHeight = 34;
+            this.dgvSendDetail.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvSendDetail.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
             this.GOODSCODE,
             this.MATERIALCODE,
             this.MATERIALREMARK,
             this.BANMA,
             this.BINDINGCOUNT});
-			this.dgvSendDetail.ColumnTreeView = null;
-			this.dgvSendDetail.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
-			this.dgvSendDetail.DynamicColumnName = "";
-			this.dgvSendDetail.EnableHeadersVisualStyles = false;
-			this.dgvSendDetail.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-			this.dgvSendDetail.FormatQuantityColumns = null;
-			this.dgvSendDetail.HasNode = false;
-			this.dgvSendDetail.HorizontalMergeColumn = null;
-			this.dgvSendDetail.IsAutoCountSum = true;
-			this.dgvSendDetail.IsAutoResizeColumns = false;
-			this.dgvSendDetail.IsClickF12 = false;
-			this.dgvSendDetail.IsOpenMergeCellFlag = false;
-			this.dgvSendDetail.IsSubTotalFlag = false;
-			this.dgvSendDetail.IsTopDeep = false;
-			this.dgvSendDetail.Location = new System.Drawing.Point(0, 97);
-			this.dgvSendDetail.MergeColumnNames = null;
-			this.dgvSendDetail.MergeDetailColumnNames = null;
-			this.dgvSendDetail.MergeDetailOnlyColumn = null;
-			this.dgvSendDetail.MergeOnlyColumn = null;
-			this.dgvSendDetail.MultiSelect = false;
-			this.dgvSendDetail.Name = "dgvSendDetail";
-			this.dgvSendDetail.ReadOnly = true;
-			this.dgvSendDetail.RefreshAtHscroll = false;
-			this.dgvSendDetail.RowHeadersWidth = 50;
-			this.dgvSendDetail.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
-			dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
-			this.dgvSendDetail.RowsDefaultCellStyle = dataGridViewCellStyle3;
-			this.dgvSendDetail.RowTemplate.Height = 21;
-			this.dgvSendDetail.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
-			this.dgvSendDetail.Size = new System.Drawing.Size(982, 437);
-			this.dgvSendDetail.SortOrderColumnName = null;
-			this.dgvSendDetail.TabIndex = 38;
-			this.dgvSendDetail.Tag = true;
-			this.dgvSendDetail.TotalSumColumns = null;
-			this.dgvSendDetail.ViewRowFilter = "";
-			this.dgvSendDetail.VirtualNodes = false;
-			// 
-			// GOODSCODE
-			// 
-			this.GOODSCODE.DataPropertyName = "GOODSCODE";
-			this.GOODSCODE.HeaderText = "产品型号";
-			this.GOODSCODE.MinimumWidth = 8;
-			this.GOODSCODE.Name = "GOODSCODE";
-			this.GOODSCODE.ReadOnly = true;
-			this.GOODSCODE.Width = 150;
-			// 
-			// MATERIALCODE
-			// 
-			this.MATERIALCODE.DataPropertyName = "MATERIALCODE";
-			this.MATERIALCODE.HeaderText = "物料编码";
-			this.MATERIALCODE.MinimumWidth = 8;
-			this.MATERIALCODE.Name = "MATERIALCODE";
-			this.MATERIALCODE.ReadOnly = true;
-			this.MATERIALCODE.Width = 150;
-			// 
-			// MATERIALREMARK
-			// 
-			this.MATERIALREMARK.DataPropertyName = "MATERIALREMARK";
-			this.MATERIALREMARK.HeaderText = "物料名称";
-			this.MATERIALREMARK.MinimumWidth = 8;
-			this.MATERIALREMARK.Name = "MATERIALREMARK";
-			this.MATERIALREMARK.ReadOnly = true;
-			this.MATERIALREMARK.Width = 150;
-			// 
-			// BANMA
-			// 
-			this.BANMA.DataPropertyName = "BANMA";
-			this.BANMA.HeaderText = "板码";
-			this.BANMA.MinimumWidth = 8;
-			this.BANMA.Name = "BANMA";
-			this.BANMA.ReadOnly = true;
-			this.BANMA.Width = 150;
-			// 
-			// BINDINGCOUNT
-			// 
-			this.BINDINGCOUNT.DataPropertyName = "BINDINGCOUNT";
-			this.BINDINGCOUNT.HeaderText = "绑板数量";
-			this.BINDINGCOUNT.MinimumWidth = 8;
-			this.BINDINGCOUNT.Name = "BINDINGCOUNT";
-			this.BINDINGCOUNT.ReadOnly = true;
-			this.BINDINGCOUNT.Width = 150;
-			// 
-			// F_PM_3502
-			// 
-			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
-			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
-			this.ClientSize = new System.Drawing.Size(985, 571);
-			this.Controls.Add(this.dgvSendDetail);
-			this.Controls.Add(this.btnSave);
-			this.Controls.Add(this.gbxCondition);
-			this.Margin = new System.Windows.Forms.Padding(4, 4, 4, 4);
-			this.Name = "F_PM_3502";
-			this.RightToLeftLayout = true;
-			this.Text = "发货单编辑";
-			this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.F_PM_3502_FormClosed);
-			this.Load += new System.EventHandler(this.F_PM_3502_Load);
-			this.gbxCondition.ResumeLayout(false);
-			this.gbxCondition.PerformLayout();
-			((System.ComponentModel.ISupportInitialize)(this.dgvSendDetail)).EndInit();
-			this.ResumeLayout(false);
+            this.dgvSendDetail.ColumnTreeView = null;
+            this.dgvSendDetail.ContextMenuVisible = ((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags)((Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.Refine | Dongke.IBOSS.PRD.Basics.BaseControls.C_DataGridView.ContextMenuVisibleFlags.FileOut)));
+            this.dgvSendDetail.DynamicColumnName = "";
+            this.dgvSendDetail.EnableHeadersVisualStyles = false;
+            this.dgvSendDetail.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dgvSendDetail.FormatQuantityColumns = null;
+            this.dgvSendDetail.HasNode = false;
+            this.dgvSendDetail.HorizontalMergeColumn = null;
+            this.dgvSendDetail.IsAutoCountSum = true;
+            this.dgvSendDetail.IsAutoResizeColumns = false;
+            this.dgvSendDetail.IsClickF12 = false;
+            this.dgvSendDetail.IsOpenMergeCellFlag = false;
+            this.dgvSendDetail.IsSubTotalFlag = false;
+            this.dgvSendDetail.IsTopDeep = false;
+            this.dgvSendDetail.Location = new System.Drawing.Point(0, 97);
+            this.dgvSendDetail.MergeColumnNames = null;
+            this.dgvSendDetail.MergeDetailColumnNames = null;
+            this.dgvSendDetail.MergeDetailOnlyColumn = null;
+            this.dgvSendDetail.MergeOnlyColumn = null;
+            this.dgvSendDetail.MultiSelect = false;
+            this.dgvSendDetail.Name = "dgvSendDetail";
+            this.dgvSendDetail.ReadOnly = true;
+            this.dgvSendDetail.RefreshAtHscroll = false;
+            this.dgvSendDetail.RowHeadersWidth = 50;
+            this.dgvSendDetail.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
+            dataGridViewCellStyle3.SelectionBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(159)))), ((int)(((byte)(39)))), ((int)(((byte)(39)))));
+            this.dgvSendDetail.RowsDefaultCellStyle = dataGridViewCellStyle3;
+            this.dgvSendDetail.RowTemplate.Height = 21;
+            this.dgvSendDetail.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
+            this.dgvSendDetail.Size = new System.Drawing.Size(982, 437);
+            this.dgvSendDetail.SortOrderColumnName = null;
+            this.dgvSendDetail.TabIndex = 38;
+            this.dgvSendDetail.Tag = true;
+            this.dgvSendDetail.TotalSumColumns = null;
+            this.dgvSendDetail.ViewRowFilter = "";
+            this.dgvSendDetail.VirtualNodes = false;
+            // 
+            // GOODSCODE
+            // 
+            this.GOODSCODE.DataPropertyName = "GOODSCODE";
+            this.GOODSCODE.HeaderText = "产品型号";
+            this.GOODSCODE.MinimumWidth = 8;
+            this.GOODSCODE.Name = "GOODSCODE";
+            this.GOODSCODE.ReadOnly = true;
+            this.GOODSCODE.Width = 150;
+            // 
+            // MATERIALCODE
+            // 
+            this.MATERIALCODE.DataPropertyName = "MATERIALCODE";
+            this.MATERIALCODE.HeaderText = "物料编码";
+            this.MATERIALCODE.MinimumWidth = 8;
+            this.MATERIALCODE.Name = "MATERIALCODE";
+            this.MATERIALCODE.ReadOnly = true;
+            this.MATERIALCODE.Width = 150;
+            // 
+            // MATERIALREMARK
+            // 
+            this.MATERIALREMARK.DataPropertyName = "MATERIALREMARK";
+            this.MATERIALREMARK.HeaderText = "物料名称";
+            this.MATERIALREMARK.MinimumWidth = 8;
+            this.MATERIALREMARK.Name = "MATERIALREMARK";
+            this.MATERIALREMARK.ReadOnly = true;
+            this.MATERIALREMARK.Width = 150;
+            // 
+            // BANMA
+            // 
+            this.BANMA.DataPropertyName = "BANMA";
+            this.BANMA.HeaderText = "板码";
+            this.BANMA.MinimumWidth = 8;
+            this.BANMA.Name = "BANMA";
+            this.BANMA.ReadOnly = true;
+            this.BANMA.Width = 150;
+            // 
+            // BINDINGCOUNT
+            // 
+            this.BINDINGCOUNT.DataPropertyName = "BINDINGCOUNT";
+            this.BINDINGCOUNT.HeaderText = "绑板数量";
+            this.BINDINGCOUNT.MinimumWidth = 8;
+            this.BINDINGCOUNT.Name = "BINDINGCOUNT";
+            this.BINDINGCOUNT.ReadOnly = true;
+            this.BINDINGCOUNT.Width = 150;
+            // 
+            // F_PM_3502
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(985, 571);
+            this.Controls.Add(this.dgvSendDetail);
+            this.Controls.Add(this.btnSave);
+            this.Controls.Add(this.gbxCondition);
+            this.Margin = new System.Windows.Forms.Padding(4);
+            this.Name = "F_PM_3502";
+            this.RightToLeftLayout = true;
+            this.Text = "发货单编辑";
+            this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.F_PM_3502_FormClosed);
+            this.Load += new System.EventHandler(this.F_PM_3502_Load);
+            this.gbxCondition.ResumeLayout(false);
+            this.gbxCondition.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.dgvSendDetail)).EndInit();
+            this.ResumeLayout(false);
 
 		}
 

+ 54 - 2
DK.Client/PMModule/F_PM_3502.cs

@@ -261,7 +261,7 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 					   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
 					return;
 				}
-				else if(sre.Status == Constant.ServiceResultStatus.DataChanged)//"库存不足"
+				else if (sre.Status == Constant.ServiceResultStatus.DataChanged)//"库存不足"
 				{
 					MessageBox.Show("sap库存不足",
 					   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
@@ -273,6 +273,24 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 						   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
 					return;
 				}
+				else if (sre.Status == Constant.ServiceResultStatus.DataDuplicated) // "存在已发货产品";
+				{
+					MessageBox.Show("发货单信息不能为空",
+						   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					return;
+				}
+				else if (sre.Status == Constant.ServiceResultStatus.NoModifyData) // "存在已发货产品";
+				{
+					MessageBox.Show("同步返回空值",
+						   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					return;
+				}
+				else
+				{
+					MessageBox.Show("保存失败",
+						   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					return;
+				}
 			}
 			catch (Exception ex)
 			{
@@ -292,8 +310,42 @@ namespace Dongke.IBOSS.PRD.Client.PMModule
 		{
 			if (e.KeyCode == Keys.Enter && !string.IsNullOrEmpty(this.txtOUTLABELCODE.Text.Trim()))
 			{
-				 //调用查询 
+				//调用查询 
+				//调用查询 
+				string code = this.txtOUTLABELCODE.Text.Trim();
+				ClientRequestEntity cre = new ClientRequestEntity();
+				cre.NameSpace = "F_PM_3502";
+				cre.Name = "CheckSendInfo";
+				cre.Properties["code"] = code;
 
+				ServiceResultEntity sre = DoAsync<ServiceResultEntity>(() =>
+				{
+					return PMModuleProxyNew.Service.HandleRequest(cre);
+				});
+
+				if (string.IsNullOrEmpty(sre.Message))
+				{
+					if (sre.Data.Tables != null && sre.Data.Tables[0].Rows.Count > 0)
+					{
+						DataRow data = sre.Data.Tables[0].Rows[0];
+						var dt = (DataTable)this.dgvSendDetail.DataSource;
+						DataRow dr = dt.NewRow();
+						dr["BANMA"] = data["BANMA"];
+						dr["GOODSCODE"] = data["GOODSCODE"];
+						dr["MATERIALCODE"] = data["MATERIALCODE"];
+						dr["MATERIALREMARK"] = data["MATERIALREMARK"];
+						dr["BINDINGCOUNT"] = data["COUNT"];
+						//FINISHEDLOADBATCHNO
+						dt.Rows.Add(dr);
+						this.dgvSendDetail.DataSource = dt;
+					}
+				}
+				else
+				{
+					MessageBox.Show(sre.Message,
+						   this.Text, MessageBoxButtons.OK, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button1);
+					return;
+				}
 
 			}
 		}

+ 2 - 2
DK.Service/PMModuleLogic/PMModuleLogic.cs

@@ -4967,8 +4967,8 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
 	                                                GOODSCODE,
 	                                                MATERIALCODE,
 	                                                MATERIALREMARK,
-	                                                BINDINGCOUNT
-                                                    --BANMA
+	                                                BINDINGCOUNT,
+                                                    BANMA
                                                 FROM
 	                                                TP_PM_SENDOUTGOODSLOGDETAIL 
                                                 WHERE  VALUEFLAG = 1

+ 12 - 0
WCF.Service/WCF.Services/PMModuleServiceNew.cs

@@ -682,6 +682,18 @@ namespace Dongke.IBOSS.PRD.WCF.Services
                         var detail = JsonHelper.FromJson<List<SendOutGoodsDetailEntity>>(JsonHelper.ToJson(cre.Data.Tables[0]));
                         return ServiceInvoker.Invoke(this, () => Service.PMModuleLogic.PMModuleLogicDAL.SaveSendOutGoodsLogs(sendOut, detail, SUserInfo));
                     }
+                    else if ("CheckSendInfo" == cre.Name)
+                    {
+                        string code = cre.Properties["code"].ToString();
+                        var sendOut = ServiceInvoker.Invoke(this, () => Service.PMModuleLogic.PMModuleLogic.CHeckFinishOutlabelCode(code, SUserInfo));
+                        ServiceResultEntity result = new ServiceResultEntity();
+                        result.Status = Basics.BaseResources.Constant.ServiceResultStatus.Success;
+                        result.Message = sendOut.Message;
+                        var dt = new DataSet();
+                        dt.Tables.Add(((DataTable)sendOut.Result).Copy());
+                        result.Data = dt;
+                        return result;
+                    }
 
                     return null;
                 }