From 5a01014dc116813fd4ea05b61e1eb6eec669f95d Mon Sep 17 00:00:00 2001
From: wangbin <lan@DESKTOP-MG88OFJ>
Date: 星期一, 08 七月 2024 09:25:48 +0800
Subject: [PATCH] 1

---
 WarM/条码打印/Kf_WeighToBarCode.designer.cs |  556 +++++++++++++++++++++++++++++++++++++++----------------
 1 files changed, 394 insertions(+), 162 deletions(-)

diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs"
index 8a4dd02..bc1c5cf 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Kf_WeighToBarCode.designer.cs"
@@ -30,8 +30,8 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Kf_WeighToBarCode));
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
             this.Tool = new System.Windows.Forms.ToolStrip();
             this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
             this.mrlk = new System.Windows.Forms.ToolStripButton();
@@ -55,6 +55,8 @@
             this.label4 = new System.Windows.Forms.Label();
             this.txtHMaterNumber = new System.Windows.Forms.TextBox();
             this.gbUp = new System.Windows.Forms.GroupBox();
+            this.label17 = new System.Windows.Forms.Label();
+            this.txtHOrderPickRemark = new System.Windows.Forms.TextBox();
             this.label15 = new System.Windows.Forms.Label();
             this.txtHCusModel = new System.Windows.Forms.TextBox();
             this.label16 = new System.Windows.Forms.Label();
@@ -98,8 +100,20 @@
             this.涓棿 = new System.Windows.Forms.Panel();
             this.搴曢儴 = new System.Windows.Forms.Panel();
             this.鍙充晶 = new System.Windows.Forms.Panel();
-            this.label17 = new System.Windows.Forms.Label();
-            this.txtHOrderPickRemark = new System.Windows.Forms.TextBox();
+            this.button4 = new System.Windows.Forms.Button();
+            this.Button3 = new System.Windows.Forms.Button();
+            this.label21 = new System.Windows.Forms.Label();
+            this.txtPortName = new System.Windows.Forms.TextBox();
+            this.label22 = new System.Windows.Forms.Label();
+            this.txtBaudRate = new System.Windows.Forms.TextBox();
+            this.label25 = new System.Windows.Forms.Label();
+            this.cmbStopBits = new System.Windows.Forms.ComboBox();
+            this.cmbParity = new System.Windows.Forms.ComboBox();
+            this.label23 = new System.Windows.Forms.Label();
+            this.label24 = new System.Windows.Forms.Label();
+            this.txtDataBits = new System.Windows.Forms.TextBox();
+            this.timer3 = new System.Windows.Forms.Timer(this.components);
+            this.timer2 = new System.Windows.Forms.Timer(this.components);
             this.Tool.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
             this.gbUp.SuspendLayout();
@@ -134,7 +148,7 @@
             this.Tool.Location = new System.Drawing.Point(0, 0);
             this.Tool.Name = "Tool";
             this.Tool.Padding = new System.Windows.Forms.Padding(0);
-            this.Tool.Size = new System.Drawing.Size(1396, 50);
+            this.Tool.Size = new System.Drawing.Size(1861, 62);
             this.Tool.Stretch = true;
             this.Tool.TabIndex = 16;
             this.Tool.Text = "toolStrip1";
@@ -143,7 +157,7 @@
             // 
             this.toolStripSeparator9.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
             this.toolStripSeparator9.Name = "toolStripSeparator9";
-            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator9.Size = new System.Drawing.Size(6, 62);
             // 
             // mrlk
             // 
@@ -153,7 +167,7 @@
             this.mrlk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
             this.mrlk.ImageTransparentColor = System.Drawing.Color.White;
             this.mrlk.Name = "mrlk";
-            this.mrlk.Size = new System.Drawing.Size(60, 47);
+            this.mrlk.Size = new System.Drawing.Size(73, 59);
             this.mrlk.Text = "榛樿鍒楀";
             this.mrlk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
             this.mrlk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
@@ -163,7 +177,7 @@
             // 
             this.toolStripSeparator7.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
             this.toolStripSeparator7.Name = "toolStripSeparator7";
-            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator7.Size = new System.Drawing.Size(6, 62);
             // 
             // bclk
             // 
@@ -173,7 +187,7 @@
             this.bclk.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
             this.bclk.ImageTransparentColor = System.Drawing.Color.White;
             this.bclk.Name = "bclk";
-            this.bclk.Size = new System.Drawing.Size(60, 47);
+            this.bclk.Size = new System.Drawing.Size(73, 59);
             this.bclk.Text = "淇濆瓨鍒楀";
             this.bclk.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
             this.bclk.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
@@ -183,7 +197,7 @@
             // 
             this.toolStripSeparator8.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right;
             this.toolStripSeparator8.Name = "toolStripSeparator8";
-            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator8.Size = new System.Drawing.Size(6, 62);
             // 
             // sx
             // 
@@ -202,7 +216,7 @@
             // toolStripSeparator1
             // 
             this.toolStripSeparator1.Name = "toolStripSeparator1";
-            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator1.Size = new System.Drawing.Size(6, 62);
             // 
             // dy
             // 
@@ -221,7 +235,7 @@
             // toolStripSeparator2
             // 
             this.toolStripSeparator2.Name = "toolStripSeparator2";
-            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator2.Size = new System.Drawing.Size(6, 62);
             // 
             // hb
             // 
@@ -240,7 +254,7 @@
             // toolStripSeparator3
             // 
             this.toolStripSeparator3.Name = "toolStripSeparator3";
-            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator3.Size = new System.Drawing.Size(6, 62);
             // 
             // tc
             // 
@@ -259,7 +273,7 @@
             // toolStripSeparator4
             // 
             this.toolStripSeparator4.Name = "toolStripSeparator4";
-            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 50);
+            this.toolStripSeparator4.Size = new System.Drawing.Size(6, 62);
             // 
             // timer1
             // 
@@ -272,22 +286,22 @@
             this.grdMain.AllowUserToDeleteRows = false;
             this.grdMain.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
             this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle5.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.grdMain.DefaultCellStyle = dataGridViewCellStyle5;
+            dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle15.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.grdMain.DefaultCellStyle = dataGridViewCellStyle15;
             this.grdMain.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.grdMain.Location = new System.Drawing.Point(3, 3);
+            this.grdMain.Location = new System.Drawing.Point(4, 4);
             this.grdMain.Margin = new System.Windows.Forms.Padding(0);
             this.grdMain.Name = "grdMain";
             this.grdMain.ReadOnly = true;
             this.grdMain.RowHeadersWidth = 51;
             this.grdMain.RowTemplate.Height = 23;
-            this.grdMain.Size = new System.Drawing.Size(1091, 334);
+            this.grdMain.Size = new System.Drawing.Size(1456, 422);
             this.grdMain.TabIndex = 19;
             this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
             // 
@@ -296,9 +310,10 @@
             this.label2.AutoSize = true;
             this.label2.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label2.ForeColor = System.Drawing.Color.Black;
-            this.label2.Location = new System.Drawing.Point(442, 60);
+            this.label2.Location = new System.Drawing.Point(589, 75);
+            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label2.Name = "label2";
-            this.label2.Size = new System.Drawing.Size(53, 12);
+            this.label2.Size = new System.Drawing.Size(67, 15);
             this.label2.TabIndex = 49;
             this.label2.Text = "瑙勬牸鍨嬪彿";
             // 
@@ -306,10 +321,11 @@
             // 
             this.txtHMaterModel.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHMaterModel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHMaterModel.Location = new System.Drawing.Point(498, 56);
+            this.txtHMaterModel.Location = new System.Drawing.Point(664, 70);
+            this.txtHMaterModel.Margin = new System.Windows.Forms.Padding(4);
             this.txtHMaterModel.Name = "txtHMaterModel";
             this.txtHMaterModel.ReadOnly = true;
-            this.txtHMaterModel.Size = new System.Drawing.Size(128, 21);
+            this.txtHMaterModel.Size = new System.Drawing.Size(169, 25);
             this.txtHMaterModel.TabIndex = 50;
             // 
             // label3
@@ -317,9 +333,10 @@
             this.label3.AutoSize = true;
             this.label3.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label3.ForeColor = System.Drawing.Color.Black;
-            this.label3.Location = new System.Drawing.Point(63, 148);
+            this.label3.Location = new System.Drawing.Point(84, 185);
+            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label3.Name = "label3";
-            this.label3.Size = new System.Drawing.Size(29, 12);
+            this.label3.Size = new System.Drawing.Size(37, 15);
             this.label3.TabIndex = 52;
             this.label3.Text = "澶囨敞";
             // 
@@ -327,9 +344,10 @@
             // 
             this.txtHRemark.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHRemark.Location = new System.Drawing.Point(95, 144);
+            this.txtHRemark.Location = new System.Drawing.Point(127, 180);
+            this.txtHRemark.Margin = new System.Windows.Forms.Padding(4);
             this.txtHRemark.Name = "txtHRemark";
-            this.txtHRemark.Size = new System.Drawing.Size(705, 21);
+            this.txtHRemark.Size = new System.Drawing.Size(939, 25);
             this.txtHRemark.TabIndex = 53;
             // 
             // label4
@@ -337,9 +355,10 @@
             this.label4.AutoSize = true;
             this.label4.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label4.ForeColor = System.Drawing.Color.Black;
-            this.label4.Location = new System.Drawing.Point(39, 60);
+            this.label4.Location = new System.Drawing.Point(52, 75);
+            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label4.Name = "label4";
-            this.label4.Size = new System.Drawing.Size(53, 12);
+            this.label4.Size = new System.Drawing.Size(67, 15);
             this.label4.TabIndex = 55;
             this.label4.Text = "鐗╂枡浠g爜";
             // 
@@ -347,15 +366,28 @@
             // 
             this.txtHMaterNumber.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHMaterNumber.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHMaterNumber.Location = new System.Drawing.Point(95, 56);
+            this.txtHMaterNumber.Location = new System.Drawing.Point(127, 70);
+            this.txtHMaterNumber.Margin = new System.Windows.Forms.Padding(4);
             this.txtHMaterNumber.Name = "txtHMaterNumber";
             this.txtHMaterNumber.ReadOnly = true;
-            this.txtHMaterNumber.Size = new System.Drawing.Size(128, 21);
+            this.txtHMaterNumber.Size = new System.Drawing.Size(169, 25);
             this.txtHMaterNumber.TabIndex = 56;
             // 
             // gbUp
             // 
             this.gbUp.BackColor = System.Drawing.Color.Transparent;
+            this.gbUp.Controls.Add(this.txtDataBits);
+            this.gbUp.Controls.Add(this.label24);
+            this.gbUp.Controls.Add(this.label23);
+            this.gbUp.Controls.Add(this.cmbParity);
+            this.gbUp.Controls.Add(this.cmbStopBits);
+            this.gbUp.Controls.Add(this.label25);
+            this.gbUp.Controls.Add(this.txtBaudRate);
+            this.gbUp.Controls.Add(this.label22);
+            this.gbUp.Controls.Add(this.txtPortName);
+            this.gbUp.Controls.Add(this.label21);
+            this.gbUp.Controls.Add(this.Button3);
+            this.gbUp.Controls.Add(this.button4);
             this.gbUp.Controls.Add(this.label17);
             this.gbUp.Controls.Add(this.txtHOrderPickRemark);
             this.gbUp.Controls.Add(this.label15);
@@ -396,19 +428,49 @@
             this.gbUp.Controls.Add(this.label2);
             this.gbUp.Dock = System.Windows.Forms.DockStyle.Top;
             this.gbUp.Location = new System.Drawing.Point(0, 0);
+            this.gbUp.Margin = new System.Windows.Forms.Padding(4);
             this.gbUp.Name = "gbUp";
-            this.gbUp.Size = new System.Drawing.Size(1105, 261);
+            this.gbUp.Padding = new System.Windows.Forms.Padding(4);
+            this.gbUp.Size = new System.Drawing.Size(1472, 326);
             this.gbUp.TabIndex = 58;
             this.gbUp.TabStop = false;
+            // 
+            // label17
+            // 
+            this.label17.AutoSize = true;
+            this.label17.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label17.ForeColor = System.Drawing.Color.Black;
+            this.label17.Location = new System.Drawing.Point(20, 221);
+            this.label17.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label17.Name = "label17";
+            this.label17.Size = new System.Drawing.Size(97, 15);
+            this.label17.TabIndex = 324;
+            this.label17.Text = "璁㈠崟鍖呰澶囨敞";
+            // 
+            // txtHOrderPickRemark
+            // 
+            this.txtHOrderPickRemark.BackColor = System.Drawing.SystemColors.Window;
+            this.txtHOrderPickRemark.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtHOrderPickRemark.ForeColor = System.Drawing.Color.Red;
+            this.txtHOrderPickRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHOrderPickRemark.Location = new System.Drawing.Point(127, 216);
+            this.txtHOrderPickRemark.Margin = new System.Windows.Forms.Padding(4);
+            this.txtHOrderPickRemark.Multiline = true;
+            this.txtHOrderPickRemark.Name = "txtHOrderPickRemark";
+            this.txtHOrderPickRemark.ReadOnly = true;
+            this.txtHOrderPickRemark.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
+            this.txtHOrderPickRemark.Size = new System.Drawing.Size(967, 54);
+            this.txtHOrderPickRemark.TabIndex = 325;
             // 
             // label15
             // 
             this.label15.AutoSize = true;
             this.label15.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label15.ForeColor = System.Drawing.Color.Black;
-            this.label15.Location = new System.Drawing.Point(224, 116);
+            this.label15.Location = new System.Drawing.Point(299, 145);
+            this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label15.Name = "label15";
-            this.label15.Size = new System.Drawing.Size(77, 12);
+            this.label15.Size = new System.Drawing.Size(97, 15);
             this.label15.TabIndex = 322;
             this.label15.Text = "瀹㈡埛瑙勬牸鍨嬪彿";
             // 
@@ -416,10 +478,11 @@
             // 
             this.txtHCusModel.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHCusModel.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHCusModel.Location = new System.Drawing.Point(303, 112);
+            this.txtHCusModel.Location = new System.Drawing.Point(404, 140);
+            this.txtHCusModel.Margin = new System.Windows.Forms.Padding(4);
             this.txtHCusModel.Name = "txtHCusModel";
             this.txtHCusModel.ReadOnly = true;
-            this.txtHCusModel.Size = new System.Drawing.Size(128, 21);
+            this.txtHCusModel.Size = new System.Drawing.Size(169, 25);
             this.txtHCusModel.TabIndex = 323;
             // 
             // label16
@@ -427,9 +490,10 @@
             this.label16.AutoSize = true;
             this.label16.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label16.ForeColor = System.Drawing.Color.Black;
-            this.label16.Location = new System.Drawing.Point(15, 116);
+            this.label16.Location = new System.Drawing.Point(20, 145);
+            this.label16.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label16.Name = "label16";
-            this.label16.Size = new System.Drawing.Size(77, 12);
+            this.label16.Size = new System.Drawing.Size(97, 15);
             this.label16.TabIndex = 320;
             this.label16.Text = "瀹㈡埛鐗╂枡鍚嶇О";
             // 
@@ -437,10 +501,11 @@
             // 
             this.txtHCusMaterName.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHCusMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHCusMaterName.Location = new System.Drawing.Point(95, 112);
+            this.txtHCusMaterName.Location = new System.Drawing.Point(127, 140);
+            this.txtHCusMaterName.Margin = new System.Windows.Forms.Padding(4);
             this.txtHCusMaterName.Name = "txtHCusMaterName";
             this.txtHCusMaterName.ReadOnly = true;
-            this.txtHCusMaterName.Size = new System.Drawing.Size(128, 21);
+            this.txtHCusMaterName.Size = new System.Drawing.Size(169, 25);
             this.txtHCusMaterName.TabIndex = 321;
             // 
             // label13
@@ -448,9 +513,10 @@
             this.label13.AutoSize = true;
             this.label13.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label13.ForeColor = System.Drawing.Color.Black;
-            this.label13.Location = new System.Drawing.Point(662, 88);
+            this.label13.Location = new System.Drawing.Point(883, 110);
+            this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label13.Name = "label13";
-            this.label13.Size = new System.Drawing.Size(29, 12);
+            this.label13.Size = new System.Drawing.Size(37, 15);
             this.label13.TabIndex = 318;
             this.label13.Text = "鍖呭彿";
             // 
@@ -458,9 +524,10 @@
             // 
             this.txtHBarcodeNo.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHBarcodeNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHBarcodeNo.Location = new System.Drawing.Point(693, 84);
+            this.txtHBarcodeNo.Location = new System.Drawing.Point(924, 105);
+            this.txtHBarcodeNo.Margin = new System.Windows.Forms.Padding(4);
             this.txtHBarcodeNo.Name = "txtHBarcodeNo";
-            this.txtHBarcodeNo.Size = new System.Drawing.Size(128, 21);
+            this.txtHBarcodeNo.Size = new System.Drawing.Size(169, 25);
             this.txtHBarcodeNo.TabIndex = 319;
             // 
             // cmdHBadReasonID
@@ -468,9 +535,10 @@
             this.cmdHBadReasonID.BackColor = System.Drawing.Color.Transparent;
             this.cmdHBadReasonID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHBadReasonID.Image")));
             this.cmdHBadReasonID.ImageAlign = System.Drawing.ContentAlignment.TopRight;
-            this.cmdHBadReasonID.Location = new System.Drawing.Point(799, 143);
+            this.cmdHBadReasonID.Location = new System.Drawing.Point(1065, 179);
+            this.cmdHBadReasonID.Margin = new System.Windows.Forms.Padding(4);
             this.cmdHBadReasonID.Name = "cmdHBadReasonID";
-            this.cmdHBadReasonID.Size = new System.Drawing.Size(22, 22);
+            this.cmdHBadReasonID.Size = new System.Drawing.Size(29, 28);
             this.cmdHBadReasonID.TabIndex = 317;
             this.cmdHBadReasonID.UseVisualStyleBackColor = false;
             this.cmdHBadReasonID.Click += new System.EventHandler(this.cmdHBadReasonID_Click);
@@ -478,10 +546,10 @@
             // chkHDYFlag
             // 
             this.chkHDYFlag.AutoSize = true;
-            this.chkHDYFlag.Location = new System.Drawing.Point(558, 236);
-            this.chkHDYFlag.Margin = new System.Windows.Forms.Padding(2);
+            this.chkHDYFlag.Location = new System.Drawing.Point(744, 295);
+            this.chkHDYFlag.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.chkHDYFlag.Name = "chkHDYFlag";
-            this.chkHDYFlag.Size = new System.Drawing.Size(72, 16);
+            this.chkHDYFlag.Size = new System.Drawing.Size(89, 19);
             this.chkHDYFlag.TabIndex = 316;
             this.chkHDYFlag.Text = "鑷姩鎵撳嵃";
             this.chkHDYFlag.UseVisualStyleBackColor = true;
@@ -490,10 +558,10 @@
             // 
             this.cmdFZF.BackColor = System.Drawing.Color.White;
             this.cmdFZF.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdFZF.Location = new System.Drawing.Point(729, 222);
-            this.cmdFZF.Margin = new System.Windows.Forms.Padding(2);
+            this.cmdFZF.Location = new System.Drawing.Point(972, 278);
+            this.cmdFZF.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.cmdFZF.Name = "cmdFZF";
-            this.cmdFZF.Size = new System.Drawing.Size(86, 32);
+            this.cmdFZF.Size = new System.Drawing.Size(115, 40);
             this.cmdFZF.TabIndex = 157;
             this.cmdFZF.Text = "鍙嶄綔搴�";
             this.cmdFZF.UseVisualStyleBackColor = false;
@@ -503,10 +571,10 @@
             // 
             this.cmdZF.BackColor = System.Drawing.Color.White;
             this.cmdZF.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdZF.Location = new System.Drawing.Point(635, 222);
-            this.cmdZF.Margin = new System.Windows.Forms.Padding(2);
+            this.cmdZF.Location = new System.Drawing.Point(847, 278);
+            this.cmdZF.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.cmdZF.Name = "cmdZF";
-            this.cmdZF.Size = new System.Drawing.Size(86, 32);
+            this.cmdZF.Size = new System.Drawing.Size(115, 40);
             this.cmdZF.TabIndex = 156;
             this.cmdZF.Text = "浣滃簾";
             this.cmdZF.UseVisualStyleBackColor = false;
@@ -516,10 +584,11 @@
             // 
             this.txtHDeptName.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHDeptName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHDeptName.Location = new System.Drawing.Point(498, 28);
+            this.txtHDeptName.Location = new System.Drawing.Point(664, 35);
+            this.txtHDeptName.Margin = new System.Windows.Forms.Padding(4);
             this.txtHDeptName.Name = "txtHDeptName";
             this.txtHDeptName.ReadOnly = true;
-            this.txtHDeptName.Size = new System.Drawing.Size(128, 21);
+            this.txtHDeptName.Size = new System.Drawing.Size(169, 25);
             this.txtHDeptName.TabIndex = 155;
             // 
             // label12
@@ -527,9 +596,10 @@
             this.label12.AutoSize = true;
             this.label12.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label12.ForeColor = System.Drawing.Color.Black;
-            this.label12.Location = new System.Drawing.Point(466, 32);
+            this.label12.Location = new System.Drawing.Point(621, 40);
+            this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label12.Name = "label12";
-            this.label12.Size = new System.Drawing.Size(29, 12);
+            this.label12.Size = new System.Drawing.Size(37, 15);
             this.label12.TabIndex = 154;
             this.label12.Text = "杞﹂棿";
             // 
@@ -537,10 +607,11 @@
             // 
             this.txtHBatchNo.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHBatchNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHBatchNo.Location = new System.Drawing.Point(693, 56);
+            this.txtHBatchNo.Location = new System.Drawing.Point(924, 70);
+            this.txtHBatchNo.Margin = new System.Windows.Forms.Padding(4);
             this.txtHBatchNo.Name = "txtHBatchNo";
             this.txtHBatchNo.ReadOnly = true;
-            this.txtHBatchNo.Size = new System.Drawing.Size(128, 21);
+            this.txtHBatchNo.Size = new System.Drawing.Size(169, 25);
             this.txtHBatchNo.TabIndex = 153;
             // 
             // label11
@@ -548,9 +619,10 @@
             this.label11.AutoSize = true;
             this.label11.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label11.ForeColor = System.Drawing.Color.Black;
-            this.label11.Location = new System.Drawing.Point(662, 60);
+            this.label11.Location = new System.Drawing.Point(883, 75);
+            this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label11.Name = "label11";
-            this.label11.Size = new System.Drawing.Size(29, 12);
+            this.label11.Size = new System.Drawing.Size(37, 15);
             this.label11.TabIndex = 152;
             this.label11.Text = "鎵瑰彿";
             // 
@@ -559,9 +631,10 @@
             this.label10.AutoSize = true;
             this.label10.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label10.ForeColor = System.Drawing.Color.Black;
-            this.label10.Location = new System.Drawing.Point(454, 88);
+            this.label10.Location = new System.Drawing.Point(605, 110);
+            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label10.Name = "label10";
-            this.label10.Size = new System.Drawing.Size(41, 12);
+            this.label10.Size = new System.Drawing.Size(52, 15);
             this.label10.TabIndex = 150;
             this.label10.Text = "鎵g偣鏁�";
             // 
@@ -569,9 +642,10 @@
             // 
             this.txtHKDQty.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHKDQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHKDQty.Location = new System.Drawing.Point(498, 84);
+            this.txtHKDQty.Location = new System.Drawing.Point(664, 105);
+            this.txtHKDQty.Margin = new System.Windows.Forms.Padding(4);
             this.txtHKDQty.Name = "txtHKDQty";
-            this.txtHKDQty.Size = new System.Drawing.Size(128, 21);
+            this.txtHKDQty.Size = new System.Drawing.Size(169, 25);
             this.txtHKDQty.TabIndex = 151;
             // 
             // label9
@@ -579,9 +653,10 @@
             this.label9.AutoSize = true;
             this.label9.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label9.ForeColor = System.Drawing.Color.Black;
-            this.label9.Location = new System.Drawing.Point(272, 88);
+            this.label9.Location = new System.Drawing.Point(363, 110);
+            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label9.Name = "label9";
-            this.label9.Size = new System.Drawing.Size(29, 12);
+            this.label9.Size = new System.Drawing.Size(37, 15);
             this.label9.TabIndex = 148;
             this.label9.Text = "閲嶉噺";
             // 
@@ -589,19 +664,22 @@
             // 
             this.txtHWeightQyt.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHWeightQyt.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHWeightQyt.Location = new System.Drawing.Point(303, 84);
+            this.txtHWeightQyt.Location = new System.Drawing.Point(404, 105);
+            this.txtHWeightQyt.Margin = new System.Windows.Forms.Padding(4);
             this.txtHWeightQyt.Name = "txtHWeightQyt";
-            this.txtHWeightQyt.Size = new System.Drawing.Size(128, 21);
+            this.txtHWeightQyt.Size = new System.Drawing.Size(169, 25);
             this.txtHWeightQyt.TabIndex = 149;
+            this.txtHWeightQyt.TextChanged += new System.EventHandler(this.txtHWeightQyt_TextChanged);
             // 
             // label7
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label7.ForeColor = System.Drawing.Color.Black;
-            this.label7.Location = new System.Drawing.Point(63, 88);
+            this.label7.Location = new System.Drawing.Point(84, 110);
+            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label7.Name = "label7";
-            this.label7.Size = new System.Drawing.Size(29, 12);
+            this.label7.Size = new System.Drawing.Size(37, 15);
             this.label7.TabIndex = 146;
             this.label7.Text = "绫虫暟";
             // 
@@ -609,9 +687,10 @@
             // 
             this.txtHQty.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHQty.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHQty.Location = new System.Drawing.Point(95, 84);
+            this.txtHQty.Location = new System.Drawing.Point(127, 105);
+            this.txtHQty.Margin = new System.Windows.Forms.Padding(4);
             this.txtHQty.Name = "txtHQty";
-            this.txtHQty.Size = new System.Drawing.Size(128, 21);
+            this.txtHQty.Size = new System.Drawing.Size(169, 25);
             this.txtHQty.TabIndex = 147;
             // 
             // label14
@@ -619,9 +698,10 @@
             this.label14.AutoSize = true;
             this.label14.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label14.ForeColor = System.Drawing.Color.Black;
-            this.label14.Location = new System.Drawing.Point(248, 60);
+            this.label14.Location = new System.Drawing.Point(331, 75);
+            this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label14.Name = "label14";
-            this.label14.Size = new System.Drawing.Size(53, 12);
+            this.label14.Size = new System.Drawing.Size(67, 15);
             this.label14.TabIndex = 144;
             this.label14.Text = "鐗╂枡鍚嶇О";
             // 
@@ -629,20 +709,21 @@
             // 
             this.txtHMaterName.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHMaterName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHMaterName.Location = new System.Drawing.Point(303, 56);
+            this.txtHMaterName.Location = new System.Drawing.Point(404, 70);
+            this.txtHMaterName.Margin = new System.Windows.Forms.Padding(4);
             this.txtHMaterName.Name = "txtHMaterName";
             this.txtHMaterName.ReadOnly = true;
-            this.txtHMaterName.Size = new System.Drawing.Size(128, 21);
+            this.txtHMaterName.Size = new System.Drawing.Size(169, 25);
             this.txtHMaterName.TabIndex = 145;
             // 
             // cmdSave
             // 
             this.cmdSave.BackColor = System.Drawing.Color.White;
             this.cmdSave.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdSave.Location = new System.Drawing.Point(209, 222);
-            this.cmdSave.Margin = new System.Windows.Forms.Padding(2);
+            this.cmdSave.Location = new System.Drawing.Point(279, 278);
+            this.cmdSave.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.cmdSave.Name = "cmdSave";
-            this.cmdSave.Size = new System.Drawing.Size(86, 32);
+            this.cmdSave.Size = new System.Drawing.Size(115, 40);
             this.cmdSave.TabIndex = 139;
             this.cmdSave.Text = "淇濆瓨";
             this.cmdSave.UseVisualStyleBackColor = false;
@@ -653,9 +734,10 @@
             this.label5.AutoSize = true;
             this.label5.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(51, 32);
+            this.label5.Location = new System.Drawing.Point(68, 40);
+            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(41, 12);
+            this.label5.Size = new System.Drawing.Size(52, 15);
             this.label5.TabIndex = 142;
             this.label5.Text = "鍗曟嵁鍙�";
             // 
@@ -663,10 +745,10 @@
             // 
             this.cmdSourceBillNo.BackColor = System.Drawing.Color.White;
             this.cmdSourceBillNo.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdSourceBillNo.Location = new System.Drawing.Point(102, 222);
-            this.cmdSourceBillNo.Margin = new System.Windows.Forms.Padding(2);
+            this.cmdSourceBillNo.Location = new System.Drawing.Point(136, 278);
+            this.cmdSourceBillNo.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.cmdSourceBillNo.Name = "cmdSourceBillNo";
-            this.cmdSourceBillNo.Size = new System.Drawing.Size(86, 32);
+            this.cmdSourceBillNo.Size = new System.Drawing.Size(115, 40);
             this.cmdSourceBillNo.TabIndex = 138;
             this.cmdSourceBillNo.Text = "閫夊崟";
             this.cmdSourceBillNo.UseVisualStyleBackColor = false;
@@ -676,10 +758,11 @@
             // 
             this.txtHBillNo.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHBillNo.Location = new System.Drawing.Point(95, 28);
+            this.txtHBillNo.Location = new System.Drawing.Point(127, 35);
+            this.txtHBillNo.Margin = new System.Windows.Forms.Padding(4);
             this.txtHBillNo.Name = "txtHBillNo";
             this.txtHBillNo.ReadOnly = true;
-            this.txtHBillNo.Size = new System.Drawing.Size(128, 21);
+            this.txtHBillNo.Size = new System.Drawing.Size(169, 25);
             this.txtHBillNo.TabIndex = 143;
             // 
             // cmbHBarCodeType
@@ -688,10 +771,10 @@
             this.cmbHBarCodeType.FormattingEnabled = true;
             this.cmbHBarCodeType.Items.AddRange(new object[] {
             "鍞竴鏉$爜"});
-            this.cmbHBarCodeType.Location = new System.Drawing.Point(693, 28);
-            this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(2);
+            this.cmbHBarCodeType.Location = new System.Drawing.Point(924, 35);
+            this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.cmbHBarCodeType.Name = "cmbHBarCodeType";
-            this.cmbHBarCodeType.Size = new System.Drawing.Size(128, 20);
+            this.cmbHBarCodeType.Size = new System.Drawing.Size(169, 23);
             this.cmbHBarCodeType.TabIndex = 139;
             // 
             // label8
@@ -699,9 +782,10 @@
             this.label8.AutoSize = true;
             this.label8.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label8.ForeColor = System.Drawing.Color.Black;
-            this.label8.Location = new System.Drawing.Point(638, 32);
+            this.label8.Location = new System.Drawing.Point(851, 40);
+            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label8.Name = "label8";
-            this.label8.Size = new System.Drawing.Size(53, 12);
+            this.label8.Size = new System.Drawing.Size(67, 15);
             this.label8.TabIndex = 138;
             this.label8.Text = "鏉$爜绫诲瀷";
             // 
@@ -709,10 +793,10 @@
             // 
             this.dtpHDate.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.dtpHDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
-            this.dtpHDate.Location = new System.Drawing.Point(303, 28);
-            this.dtpHDate.Margin = new System.Windows.Forms.Padding(2);
+            this.dtpHDate.Location = new System.Drawing.Point(404, 35);
+            this.dtpHDate.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.dtpHDate.Name = "dtpHDate";
-            this.dtpHDate.Size = new System.Drawing.Size(128, 21);
+            this.dtpHDate.Size = new System.Drawing.Size(169, 25);
             this.dtpHDate.TabIndex = 100;
             // 
             // label6
@@ -720,9 +804,10 @@
             this.label6.AutoSize = true;
             this.label6.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label6.ForeColor = System.Drawing.Color.Black;
-            this.label6.Location = new System.Drawing.Point(272, 32);
+            this.label6.Location = new System.Drawing.Point(363, 40);
+            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(29, 12);
+            this.label6.Size = new System.Drawing.Size(37, 15);
             this.label6.TabIndex = 99;
             this.label6.Text = "鏃ユ湡";
             // 
@@ -732,22 +817,22 @@
             this.grdSub.AllowUserToDeleteRows = false;
             this.grdSub.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
             this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
-            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
-            dataGridViewCellStyle6.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
-            dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
-            dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
-            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
-            this.grdSub.DefaultCellStyle = dataGridViewCellStyle6;
+            dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle16.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.grdSub.DefaultCellStyle = dataGridViewCellStyle16;
             this.grdSub.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.grdSub.Location = new System.Drawing.Point(0, 73);
+            this.grdSub.Location = new System.Drawing.Point(0, 91);
             this.grdSub.Margin = new System.Windows.Forms.Padding(0);
             this.grdSub.Name = "grdSub";
             this.grdSub.ReadOnly = true;
             this.grdSub.RowHeadersWidth = 51;
             this.grdSub.RowTemplate.Height = 23;
-            this.grdSub.Size = new System.Drawing.Size(257, 554);
+            this.grdSub.Size = new System.Drawing.Size(343, 694);
             this.grdSub.TabIndex = 18;
             this.grdSub.Paint += new System.Windows.Forms.PaintEventHandler(this.grdSub_Paint);
             // 
@@ -755,19 +840,21 @@
             // 
             this.tabControl1.Controls.Add(this.tabPage1);
             this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.tabControl1.Location = new System.Drawing.Point(0, 261);
+            this.tabControl1.Location = new System.Drawing.Point(0, 326);
+            this.tabControl1.Margin = new System.Windows.Forms.Padding(4);
             this.tabControl1.Name = "tabControl1";
             this.tabControl1.SelectedIndex = 0;
-            this.tabControl1.Size = new System.Drawing.Size(1105, 366);
+            this.tabControl1.Size = new System.Drawing.Size(1472, 459);
             this.tabControl1.TabIndex = 149;
             // 
             // tabPage1
             // 
             this.tabPage1.Controls.Add(this.grdMain);
-            this.tabPage1.Location = new System.Drawing.Point(4, 22);
+            this.tabPage1.Location = new System.Drawing.Point(4, 25);
+            this.tabPage1.Margin = new System.Windows.Forms.Padding(4);
             this.tabPage1.Name = "tabPage1";
-            this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
-            this.tabPage1.Size = new System.Drawing.Size(1097, 340);
+            this.tabPage1.Padding = new System.Windows.Forms.Padding(4);
+            this.tabPage1.Size = new System.Drawing.Size(1464, 430);
             this.tabPage1.TabIndex = 0;
             this.tabPage1.Text = "绉伴噸璁板綍";
             this.tabPage1.UseVisualStyleBackColor = true;
@@ -777,9 +864,10 @@
             this.panel1.Controls.Add(this.grdSub);
             this.panel1.Controls.Add(this.groupBox1);
             this.panel1.Dock = System.Windows.Forms.DockStyle.Left;
-            this.panel1.Location = new System.Drawing.Point(11, 50);
+            this.panel1.Location = new System.Drawing.Point(15, 62);
+            this.panel1.Margin = new System.Windows.Forms.Padding(4);
             this.panel1.Name = "panel1";
-            this.panel1.Size = new System.Drawing.Size(257, 627);
+            this.panel1.Size = new System.Drawing.Size(343, 785);
             this.panel1.TabIndex = 59;
             // 
             // groupBox1
@@ -789,8 +877,10 @@
             this.groupBox1.Controls.Add(this.cmdOK);
             this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
             this.groupBox1.Location = new System.Drawing.Point(0, 0);
+            this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
             this.groupBox1.Name = "groupBox1";
-            this.groupBox1.Size = new System.Drawing.Size(257, 73);
+            this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
+            this.groupBox1.Size = new System.Drawing.Size(343, 91);
             this.groupBox1.TabIndex = 146;
             this.groupBox1.TabStop = false;
             // 
@@ -799,9 +889,10 @@
             this.label1.AutoSize = true;
             this.label1.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label1.ForeColor = System.Drawing.Color.Black;
-            this.label1.Location = new System.Drawing.Point(11, 40);
+            this.label1.Location = new System.Drawing.Point(15, 50);
+            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(41, 12);
+            this.label1.Size = new System.Drawing.Size(52, 15);
             this.label1.TabIndex = 151;
             this.label1.Text = "鏉″舰鐮�";
             // 
@@ -809,9 +900,10 @@
             // 
             this.txtHBarCode.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHBarCode.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHBarCode.Location = new System.Drawing.Point(57, 36);
+            this.txtHBarCode.Location = new System.Drawing.Point(76, 45);
+            this.txtHBarCode.Margin = new System.Windows.Forms.Padding(4);
             this.txtHBarCode.Name = "txtHBarCode";
-            this.txtHBarCode.Size = new System.Drawing.Size(127, 21);
+            this.txtHBarCode.Size = new System.Drawing.Size(168, 25);
             this.txtHBarCode.TabIndex = 152;
             this.txtHBarCode.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtHBarCode_KeyPress);
             // 
@@ -820,10 +912,10 @@
             this.cmdOK.BackColor = System.Drawing.Color.White;
             this.cmdOK.Cursor = System.Windows.Forms.Cursors.Default;
             this.cmdOK.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdOK.Location = new System.Drawing.Point(189, 33);
-            this.cmdOK.Margin = new System.Windows.Forms.Padding(2);
+            this.cmdOK.Location = new System.Drawing.Point(252, 41);
+            this.cmdOK.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
             this.cmdOK.Name = "cmdOK";
-            this.cmdOK.Size = new System.Drawing.Size(55, 27);
+            this.cmdOK.Size = new System.Drawing.Size(73, 34);
             this.cmdOK.TabIndex = 150;
             this.cmdOK.Text = "纭";
             this.cmdOK.UseVisualStyleBackColor = false;
@@ -834,75 +926,200 @@
             this.panel2.Controls.Add(this.tabControl1);
             this.panel2.Controls.Add(this.gbUp);
             this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.panel2.Location = new System.Drawing.Point(279, 50);
+            this.panel2.Location = new System.Drawing.Point(373, 62);
+            this.panel2.Margin = new System.Windows.Forms.Padding(4);
             this.panel2.Name = "panel2";
-            this.panel2.Size = new System.Drawing.Size(1105, 627);
+            this.panel2.Size = new System.Drawing.Size(1472, 785);
             this.panel2.TabIndex = 60;
             // 
             // 宸︿晶
             // 
             this.宸︿晶.Dock = System.Windows.Forms.DockStyle.Left;
-            this.宸︿晶.Location = new System.Drawing.Point(0, 50);
+            this.宸︿晶.Location = new System.Drawing.Point(0, 62);
+            this.宸︿晶.Margin = new System.Windows.Forms.Padding(4);
             this.宸︿晶.Name = "宸︿晶";
-            this.宸︿晶.Size = new System.Drawing.Size(11, 627);
+            this.宸︿晶.Size = new System.Drawing.Size(15, 785);
             this.宸︿晶.TabIndex = 61;
             // 
             // 涓棿
             // 
             this.涓棿.Dock = System.Windows.Forms.DockStyle.Left;
-            this.涓棿.Location = new System.Drawing.Point(268, 50);
+            this.涓棿.Location = new System.Drawing.Point(358, 62);
+            this.涓棿.Margin = new System.Windows.Forms.Padding(4);
             this.涓棿.Name = "涓棿";
-            this.涓棿.Size = new System.Drawing.Size(11, 627);
+            this.涓棿.Size = new System.Drawing.Size(15, 785);
             this.涓棿.TabIndex = 62;
             // 
             // 搴曢儴
             // 
             this.搴曢儴.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.搴曢儴.Location = new System.Drawing.Point(0, 677);
+            this.搴曢儴.Location = new System.Drawing.Point(0, 847);
+            this.搴曢儴.Margin = new System.Windows.Forms.Padding(4);
             this.搴曢儴.Name = "搴曢儴";
-            this.搴曢儴.Size = new System.Drawing.Size(1396, 10);
+            this.搴曢儴.Size = new System.Drawing.Size(1861, 12);
             this.搴曢儴.TabIndex = 63;
             // 
             // 鍙充晶
             // 
             this.鍙充晶.Dock = System.Windows.Forms.DockStyle.Right;
-            this.鍙充晶.Location = new System.Drawing.Point(1384, 50);
+            this.鍙充晶.Location = new System.Drawing.Point(1845, 62);
+            this.鍙充晶.Margin = new System.Windows.Forms.Padding(4);
             this.鍙充晶.Name = "鍙充晶";
-            this.鍙充晶.Size = new System.Drawing.Size(12, 627);
+            this.鍙充晶.Size = new System.Drawing.Size(16, 785);
             this.鍙充晶.TabIndex = 64;
             // 
-            // label17
+            // button4
             // 
-            this.label17.AutoSize = true;
-            this.label17.Font = new System.Drawing.Font("瀹嬩綋", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label17.ForeColor = System.Drawing.Color.Black;
-            this.label17.Location = new System.Drawing.Point(15, 177);
-            this.label17.Name = "label17";
-            this.label17.Size = new System.Drawing.Size(77, 12);
-            this.label17.TabIndex = 324;
-            this.label17.Text = "璁㈠崟鍖呰澶囨敞";
+            this.button4.BackColor = System.Drawing.Color.Snow;
+            this.button4.Location = new System.Drawing.Point(404, 278);
+            this.button4.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+            this.button4.Name = "button4";
+            this.button4.Size = new System.Drawing.Size(100, 40);
+            this.button4.TabIndex = 326;
+            this.button4.Text = "鐐瑰嚮鑾峰彇纾呴噸";
+            this.button4.UseVisualStyleBackColor = false;
+            this.button4.Click += new System.EventHandler(this.button4_Click_1);
             // 
-            // txtHOrderPickRemark
+            // Button3
             // 
-            this.txtHOrderPickRemark.BackColor = System.Drawing.SystemColors.Window;
-            this.txtHOrderPickRemark.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.txtHOrderPickRemark.ForeColor = System.Drawing.Color.Red;
-            this.txtHOrderPickRemark.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHOrderPickRemark.Location = new System.Drawing.Point(95, 173);
-            this.txtHOrderPickRemark.Multiline = true;
-            this.txtHOrderPickRemark.Name = "txtHOrderPickRemark";
-            this.txtHOrderPickRemark.ReadOnly = true;
-            this.txtHOrderPickRemark.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
-            this.txtHOrderPickRemark.Size = new System.Drawing.Size(726, 44);
-            this.txtHOrderPickRemark.TabIndex = 325;
+            this.Button3.Location = new System.Drawing.Point(551, 276);
+            this.Button3.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+            this.Button3.Name = "Button3";
+            this.Button3.Size = new System.Drawing.Size(105, 42);
+            this.Button3.TabIndex = 327;
+            this.Button3.Text = "鎵撳紑涓插彛";
+            this.Button3.UseVisualStyleBackColor = true;
+            // 
+            // label21
+            // 
+            this.label21.AutoSize = true;
+            this.label21.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label21.ForeColor = System.Drawing.Color.Black;
+            this.label21.Location = new System.Drawing.Point(1142, 34);
+            this.label21.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label21.Name = "label21";
+            this.label21.Size = new System.Drawing.Size(39, 20);
+            this.label21.TabIndex = 145;
+            this.label21.Text = "COM";
+            // 
+            // txtPortName
+            // 
+            this.txtPortName.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtPortName.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtPortName.Location = new System.Drawing.Point(1189, 24);
+            this.txtPortName.Margin = new System.Windows.Forms.Padding(4);
+            this.txtPortName.Name = "txtPortName";
+            this.txtPortName.Size = new System.Drawing.Size(71, 36);
+            this.txtPortName.TabIndex = 329;
+            this.txtPortName.Text = "COM5";
+            // 
+            // label22
+            // 
+            this.label22.AutoSize = true;
+            this.label22.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label22.ForeColor = System.Drawing.Color.Black;
+            this.label22.Location = new System.Drawing.Point(1112, 75);
+            this.label22.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label22.Name = "label22";
+            this.label22.Size = new System.Drawing.Size(69, 20);
+            this.label22.TabIndex = 330;
+            this.label22.Text = "娉㈢壒鐜�";
+            // 
+            // txtBaudRate
+            // 
+            this.txtBaudRate.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtBaudRate.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtBaudRate.Location = new System.Drawing.Point(1189, 70);
+            this.txtBaudRate.Margin = new System.Windows.Forms.Padding(4);
+            this.txtBaudRate.Name = "txtBaudRate";
+            this.txtBaudRate.Size = new System.Drawing.Size(71, 36);
+            this.txtBaudRate.TabIndex = 331;
+            this.txtBaudRate.Text = "9600";
+            // 
+            // label25
+            // 
+            this.label25.AutoSize = true;
+            this.label25.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label25.Location = new System.Drawing.Point(1112, 110);
+            this.label25.Name = "label25";
+            this.label25.Size = new System.Drawing.Size(69, 20);
+            this.label25.TabIndex = 332;
+            this.label25.Text = "鍋滄浣�";
+            // 
+            // cmbStopBits
+            // 
+            this.cmbStopBits.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbStopBits.FormattingEnabled = true;
+            this.cmbStopBits.Items.AddRange(new object[] {
+            "0",
+            "1",
+            "1.5",
+            "2"});
+            this.cmbStopBits.Location = new System.Drawing.Point(1187, 112);
+            this.cmbStopBits.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+            this.cmbStopBits.Name = "cmbStopBits";
+            this.cmbStopBits.Size = new System.Drawing.Size(73, 33);
+            this.cmbStopBits.TabIndex = 333;
+            this.cmbStopBits.Text = "1";
+            // 
+            // cmbParity
+            // 
+            this.cmbParity.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbParity.FormattingEnabled = true;
+            this.cmbParity.Items.AddRange(new object[] {
+            "0",
+            "1",
+            "2",
+            "3",
+            "4"});
+            this.cmbParity.Location = new System.Drawing.Point(1344, 25);
+            this.cmbParity.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
+            this.cmbParity.Name = "cmbParity";
+            this.cmbParity.Size = new System.Drawing.Size(72, 33);
+            this.cmbParity.TabIndex = 334;
+            this.cmbParity.Text = "0";
+            // 
+            // label23
+            // 
+            this.label23.AutoSize = true;
+            this.label23.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label23.ForeColor = System.Drawing.Color.Black;
+            this.label23.Location = new System.Drawing.Point(1268, 31);
+            this.label23.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label23.Name = "label23";
+            this.label23.Size = new System.Drawing.Size(69, 20);
+            this.label23.TabIndex = 335;
+            this.label23.Text = "鏍¢獙浣�";
+            // 
+            // label24
+            // 
+            this.label24.AutoSize = true;
+            this.label24.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label24.Location = new System.Drawing.Point(1277, 77);
+            this.label24.Name = "label24";
+            this.label24.Size = new System.Drawing.Size(69, 20);
+            this.label24.TabIndex = 336;
+            this.label24.Text = "鏁版嵁浣�";
+            this.label24.Click += new System.EventHandler(this.label24_Click);
+            // 
+            // txtDataBits
+            // 
+            this.txtDataBits.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtDataBits.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtDataBits.Location = new System.Drawing.Point(1344, 68);
+            this.txtDataBits.Margin = new System.Windows.Forms.Padding(4);
+            this.txtDataBits.Name = "txtDataBits";
+            this.txtDataBits.Size = new System.Drawing.Size(72, 36);
+            this.txtDataBits.TabIndex = 337;
+            this.txtDataBits.Text = "8";
             // 
             // Kf_WeighToBarCode
             // 
-            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+            this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 15F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.AutoSize = true;
             this.BackColor = System.Drawing.SystemColors.ActiveCaption;
-            this.ClientSize = new System.Drawing.Size(1396, 687);
+            this.ClientSize = new System.Drawing.Size(1861, 859);
             this.Controls.Add(this.panel2);
             this.Controls.Add(this.涓棿);
             this.Controls.Add(this.panel1);
@@ -910,6 +1127,7 @@
             this.Controls.Add(this.鍙充晶);
             this.Controls.Add(this.搴曢儴);
             this.Controls.Add(this.Tool);
+            this.Margin = new System.Windows.Forms.Padding(4);
             this.Name = "Kf_WeighToBarCode";
             this.Text = "绉伴噸鍏ュ簱";
             this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
@@ -999,5 +1217,19 @@
         private System.Windows.Forms.TextBox txtHCusMaterName;
         private System.Windows.Forms.Label label17;
         private System.Windows.Forms.TextBox txtHOrderPickRemark;
+        private System.Windows.Forms.TextBox txtDataBits;
+        private System.Windows.Forms.Label label24;
+        private System.Windows.Forms.Label label23;
+        private System.Windows.Forms.ComboBox cmbParity;
+        private System.Windows.Forms.ComboBox cmbStopBits;
+        private System.Windows.Forms.Label label25;
+        private System.Windows.Forms.TextBox txtBaudRate;
+        private System.Windows.Forms.Label label22;
+        private System.Windows.Forms.TextBox txtPortName;
+        private System.Windows.Forms.Label label21;
+        private System.Windows.Forms.Button Button3;
+        private System.Windows.Forms.Button button4;
+        private System.Windows.Forms.Timer timer3;
+        private System.Windows.Forms.Timer timer2;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1