From 46f04decbfe0f8347dc1ee2574fb10b36208e01e Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期一, 07 十一月 2022 10:12:43 +0800
Subject: [PATCH] 修改了生产入库赋值API存储过程

---
 WarM/条码打印/Sc_ICMOToBarCode.designer.cs |  652 ++++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 554 insertions(+), 98 deletions(-)

diff --git "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs" "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs"
index 2ddc6c8..c05eb67 100644
--- "a/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs"
+++ "b/WarM/\346\235\241\347\240\201\346\211\223\345\215\260/Sc_ICMOToBarCode.designer.cs"
@@ -30,6 +30,7 @@
         {
             this.components = new System.ComponentModel.Container();
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Sc_ICMOToBarCode));
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
             this.Tool = new System.Windows.Forms.ToolStrip();
             this.tc = new System.Windows.Forms.ToolStripButton();
             this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
@@ -38,6 +39,7 @@
             this.toolStripSeparator7 = new System.Windows.Forms.ToolStripSeparator();
             this.bclk = new System.Windows.Forms.ToolStripButton();
             this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
+            this.cz = new System.Windows.Forms.ToolStripButton();
             this.timer1 = new System.Windows.Forms.Timer(this.components);
             this.timer2 = new System.Windows.Forms.Timer(this.components);
             this.grdMain = new System.Windows.Forms.DataGridView();
@@ -51,23 +53,58 @@
             this.cmdHEmpID = new System.Windows.Forms.Button();
             this.label4 = new System.Windows.Forms.Label();
             this.txtHMaterID = new System.Windows.Forms.TextBox();
-            this.cmdHMaterID = new System.Windows.Forms.Button();
             this.gbUp = new System.Windows.Forms.GroupBox();
-            this.label6 = new System.Windows.Forms.Label();
-            this.dtpHBeginDate = new System.Windows.Forms.DateTimePicker();
-            this.dtpHEndDate = new System.Windows.Forms.DateTimePicker();
-            this.label5 = new System.Windows.Forms.Label();
+            this.txtHSeOrderBillNo = new System.Windows.Forms.TextBox();
+            this.label9 = new System.Windows.Forms.Label();
+            this.cmbHBarCodeType = new System.Windows.Forms.ComboBox();
+            this.label8 = new System.Windows.Forms.Label();
             this.cmdHSaveBill = new System.Windows.Forms.Button();
+            this.dtpHBeginDate = new System.Windows.Forms.DateTimePicker();
+            this.label6 = new System.Windows.Forms.Label();
             this.button4 = new System.Windows.Forms.Button();
             this.button5 = new System.Windows.Forms.Button();
             this.button6 = new System.Windows.Forms.Button();
             this.txtHMiniQty = new System.Windows.Forms.TextBox();
             this.鏍囧噯瑁呯 = new System.Windows.Forms.Label();
             this.label7 = new System.Windows.Forms.Label();
-            this.textBox1 = new System.Windows.Forms.TextBox();
+            this.txtHBQty = new System.Windows.Forms.TextBox();
+            this.groupBox1 = new System.Windows.Forms.GroupBox();
+            this.cmdESOP = new System.Windows.Forms.Button();
+            this.cmdHSaveBill1 = new System.Windows.Forms.Button();
+            this.dtpHEndDate1 = new System.Windows.Forms.DateTimePicker();
+            this.label10 = new System.Windows.Forms.Label();
+            this.dtpHBeginDate1 = new System.Windows.Forms.DateTimePicker();
+            this.label11 = new System.Windows.Forms.Label();
+            this.label12 = new System.Windows.Forms.Label();
+            this.txtHICMOBillNo1 = new System.Windows.Forms.TextBox();
+            this.txtHMaterID1 = new System.Windows.Forms.TextBox();
+            this.label13 = new System.Windows.Forms.Label();
+            this.cmdHMaterID1 = new System.Windows.Forms.Button();
+            this.grdSub = new System.Windows.Forms.DataGridView();
+            this.button1 = new System.Windows.Forms.Button();
+            this.鏁寸鏁伴噺 = new System.Windows.Forms.Label();
+            this.txtHZXQty = new System.Windows.Forms.TextBox();
+            this.tabControl1 = new System.Windows.Forms.TabControl();
+            this.tabPage1 = new System.Windows.Forms.TabPage();
+            this.tabPage2 = new System.Windows.Forms.TabPage();
+            this.grdList = new System.Windows.Forms.DataGridView();
+            this.button2 = new System.Windows.Forms.Button();
+            this.button3 = new System.Windows.Forms.Button();
+            this.button7 = new System.Windows.Forms.Button();
+            this.txtHBarCode = new System.Windows.Forms.TextBox();
+            this.label5 = new System.Windows.Forms.Label();
+            this.txtHMaterModel = new System.Windows.Forms.TextBox();
+            this.label14 = new System.Windows.Forms.Label();
+            this.txtHMaterName = new System.Windows.Forms.TextBox();
             this.Tool.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.grdMain)).BeginInit();
             this.gbUp.SuspendLayout();
+            this.groupBox1.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.grdSub)).BeginInit();
+            this.tabControl1.SuspendLayout();
+            this.tabPage1.SuspendLayout();
+            this.tabPage2.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.grdList)).BeginInit();
             this.SuspendLayout();
             // 
             // Tool
@@ -83,7 +120,8 @@
             this.mrlk,
             this.toolStripSeparator7,
             this.bclk,
-            this.toolStripSeparator8});
+            this.toolStripSeparator8,
+            this.cz});
             this.Tool.Location = new System.Drawing.Point(0, 0);
             this.Tool.Name = "Tool";
             this.Tool.Padding = new System.Windows.Forms.Padding(0);
@@ -157,6 +195,20 @@
             this.toolStripSeparator8.Name = "toolStripSeparator8";
             this.toolStripSeparator8.Size = new System.Drawing.Size(6, 50);
             // 
+            // cz
+            // 
+            this.cz.AutoSize = false;
+            this.cz.Image = ((System.Drawing.Image)(resources.GetObject("cz.Image")));
+            this.cz.ImageAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.cz.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
+            this.cz.ImageTransparentColor = System.Drawing.Color.Magenta;
+            this.cz.Name = "cz";
+            this.cz.Size = new System.Drawing.Size(35, 47);
+            this.cz.Text = "閲嶇疆";
+            this.cz.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+            this.cz.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+            this.cz.Click += new System.EventHandler(this.cz_Click);
+            // 
             // timer1
             // 
             this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
@@ -172,11 +224,21 @@
             this.grdMain.AllowUserToDeleteRows = false;
             this.grdMain.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
             this.grdMain.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
-            this.grdMain.Location = new System.Drawing.Point(12, 201);
+            dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+            dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;
+            dataGridViewCellStyle1.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;
+            dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+            dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+            dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+            this.grdMain.DefaultCellStyle = dataGridViewCellStyle1;
+            this.grdMain.Location = new System.Drawing.Point(4, 6);
+            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(866, 231);
+            this.grdMain.Size = new System.Drawing.Size(867, 263);
             this.grdMain.TabIndex = 19;
             this.grdMain.Paint += new System.Windows.Forms.PaintEventHandler(this.grdMain_Paint);
             this.grdMain.DoubleClick += new System.EventHandler(this.grdMain_DblClick);
@@ -186,7 +248,7 @@
             this.label1.AutoSize = true;
             this.label1.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label1.ForeColor = System.Drawing.Color.Black;
-            this.label1.Location = new System.Drawing.Point(19, 35);
+            this.label1.Location = new System.Drawing.Point(783, 34);
             this.label1.Name = "label1";
             this.label1.Size = new System.Drawing.Size(88, 16);
             this.label1.TabIndex = 46;
@@ -196,10 +258,10 @@
             // 
             this.txtHICMOBillNo.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHICMOBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHICMOBillNo.Location = new System.Drawing.Point(112, 29);
+            this.txtHICMOBillNo.Location = new System.Drawing.Point(877, 26);
             this.txtHICMOBillNo.Name = "txtHICMOBillNo";
             this.txtHICMOBillNo.ReadOnly = true;
-            this.txtHICMOBillNo.Size = new System.Drawing.Size(166, 30);
+            this.txtHICMOBillNo.Size = new System.Drawing.Size(99, 30);
             this.txtHICMOBillNo.TabIndex = 47;
             // 
             // label2
@@ -231,14 +293,14 @@
             this.cmdHSourceID.Size = new System.Drawing.Size(32, 32);
             this.cmdHSourceID.TabIndex = 51;
             this.cmdHSourceID.UseVisualStyleBackColor = true;
-            this.cmdHSourceID.Visible = false;
+            this.cmdHSourceID.Click += new System.EventHandler(this.cmdHSourceID_Click);
             // 
             // label3
             // 
             this.label3.AutoSize = true;
             this.label3.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label3.ForeColor = System.Drawing.Color.Black;
-            this.label3.Location = new System.Drawing.Point(599, 34);
+            this.label3.Location = new System.Drawing.Point(585, 34);
             this.label3.Name = "label3";
             this.label3.Size = new System.Drawing.Size(40, 16);
             this.label3.TabIndex = 52;
@@ -248,28 +310,28 @@
             // 
             this.txtHEmpID.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHEmpID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHEmpID.Location = new System.Drawing.Point(651, 28);
+            this.txtHEmpID.Location = new System.Drawing.Point(631, 29);
             this.txtHEmpID.Name = "txtHEmpID";
             this.txtHEmpID.ReadOnly = true;
-            this.txtHEmpID.Size = new System.Drawing.Size(166, 30);
+            this.txtHEmpID.Size = new System.Drawing.Size(98, 30);
             this.txtHEmpID.TabIndex = 53;
             // 
             // cmdHEmpID
             // 
             this.cmdHEmpID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHEmpID.Image")));
-            this.cmdHEmpID.Location = new System.Drawing.Point(814, 27);
+            this.cmdHEmpID.Location = new System.Drawing.Point(735, 27);
             this.cmdHEmpID.Name = "cmdHEmpID";
             this.cmdHEmpID.Size = new System.Drawing.Size(32, 32);
             this.cmdHEmpID.TabIndex = 54;
             this.cmdHEmpID.UseVisualStyleBackColor = true;
-            this.cmdHEmpID.Visible = false;
+            this.cmdHEmpID.Click += new System.EventHandler(this.cmdHEmpID_Click);
             // 
             // label4
             // 
             this.label4.AutoSize = true;
             this.label4.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label4.ForeColor = System.Drawing.Color.Black;
-            this.label4.Location = new System.Drawing.Point(875, 34);
+            this.label4.Location = new System.Drawing.Point(355, 118);
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(40, 16);
             this.label4.TabIndex = 55;
@@ -279,97 +341,92 @@
             // 
             this.txtHMaterID.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.txtHMaterID.ImeMode = System.Windows.Forms.ImeMode.NoControl;
-            this.txtHMaterID.Location = new System.Drawing.Point(927, 28);
+            this.txtHMaterID.Location = new System.Drawing.Point(401, 112);
             this.txtHMaterID.Name = "txtHMaterID";
             this.txtHMaterID.ReadOnly = true;
-            this.txtHMaterID.Size = new System.Drawing.Size(166, 30);
+            this.txtHMaterID.Size = new System.Drawing.Size(254, 30);
             this.txtHMaterID.TabIndex = 56;
-            // 
-            // cmdHMaterID
-            // 
-            this.cmdHMaterID.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID.Image")));
-            this.cmdHMaterID.Location = new System.Drawing.Point(1090, 27);
-            this.cmdHMaterID.Name = "cmdHMaterID";
-            this.cmdHMaterID.Size = new System.Drawing.Size(32, 32);
-            this.cmdHMaterID.TabIndex = 57;
-            this.cmdHMaterID.UseVisualStyleBackColor = true;
-            this.cmdHMaterID.Visible = false;
             // 
             // gbUp
             // 
             this.gbUp.BackColor = System.Drawing.Color.Transparent;
-            this.gbUp.Controls.Add(this.cmdHSaveBill);
-            this.gbUp.Controls.Add(this.dtpHEndDate);
+            this.gbUp.Controls.Add(this.label14);
+            this.gbUp.Controls.Add(this.txtHMaterName);
             this.gbUp.Controls.Add(this.label5);
+            this.gbUp.Controls.Add(this.txtHMaterModel);
+            this.gbUp.Controls.Add(this.txtHSeOrderBillNo);
+            this.gbUp.Controls.Add(this.label9);
+            this.gbUp.Controls.Add(this.cmbHBarCodeType);
+            this.gbUp.Controls.Add(this.label8);
+            this.gbUp.Controls.Add(this.cmdHSaveBill);
             this.gbUp.Controls.Add(this.dtpHBeginDate);
             this.gbUp.Controls.Add(this.label6);
             this.gbUp.Controls.Add(this.label4);
             this.gbUp.Controls.Add(this.txtHICMOBillNo);
             this.gbUp.Controls.Add(this.txtHMaterID);
             this.gbUp.Controls.Add(this.label1);
-            this.gbUp.Controls.Add(this.cmdHMaterID);
             this.gbUp.Controls.Add(this.cmdHSourceID);
             this.gbUp.Controls.Add(this.label3);
             this.gbUp.Controls.Add(this.txtHSourceID);
             this.gbUp.Controls.Add(this.txtHEmpID);
             this.gbUp.Controls.Add(this.label2);
             this.gbUp.Controls.Add(this.cmdHEmpID);
-            this.gbUp.Location = new System.Drawing.Point(12, 69);
+            this.gbUp.Location = new System.Drawing.Point(11, 55);
             this.gbUp.Name = "gbUp";
-            this.gbUp.Size = new System.Drawing.Size(1148, 126);
+            this.gbUp.Size = new System.Drawing.Size(1149, 150);
             this.gbUp.TabIndex = 58;
             this.gbUp.TabStop = false;
             // 
-            // label6
+            // txtHSeOrderBillNo
             // 
-            this.label6.AutoSize = true;
-            this.label6.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label6.ForeColor = System.Drawing.Color.Black;
-            this.label6.Location = new System.Drawing.Point(33, 85);
-            this.label6.Name = "label6";
-            this.label6.Size = new System.Drawing.Size(72, 16);
-            this.label6.TabIndex = 99;
-            this.label6.Text = "寮�濮嬫棩鏈�";
+            this.txtHSeOrderBillNo.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtHSeOrderBillNo.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHSeOrderBillNo.Location = new System.Drawing.Point(967, 72);
+            this.txtHSeOrderBillNo.Name = "txtHSeOrderBillNo";
+            this.txtHSeOrderBillNo.ReadOnly = true;
+            this.txtHSeOrderBillNo.Size = new System.Drawing.Size(166, 30);
+            this.txtHSeOrderBillNo.TabIndex = 141;
             // 
-            // dtpHBeginDate
+            // label9
             // 
-            this.dtpHBeginDate.Enabled = false;
-            this.dtpHBeginDate.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.dtpHBeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
-            this.dtpHBeginDate.Location = new System.Drawing.Point(112, 77);
-            this.dtpHBeginDate.Margin = new System.Windows.Forms.Padding(2);
-            this.dtpHBeginDate.Name = "dtpHBeginDate";
-            this.dtpHBeginDate.Size = new System.Drawing.Size(213, 30);
-            this.dtpHBeginDate.TabIndex = 100;
+            this.label9.AutoSize = true;
+            this.label9.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label9.ForeColor = System.Drawing.Color.Black;
+            this.label9.Location = new System.Drawing.Point(874, 78);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(88, 16);
+            this.label9.TabIndex = 140;
+            this.label9.Text = "閿�鍞鍗曞彿";
             // 
-            // dtpHEndDate
+            // cmbHBarCodeType
             // 
-            this.dtpHEndDate.Enabled = false;
-            this.dtpHEndDate.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.dtpHEndDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
-            this.dtpHEndDate.Location = new System.Drawing.Point(478, 75);
-            this.dtpHEndDate.Margin = new System.Windows.Forms.Padding(2);
-            this.dtpHEndDate.Name = "dtpHEndDate";
-            this.dtpHEndDate.Size = new System.Drawing.Size(213, 30);
-            this.dtpHEndDate.TabIndex = 102;
+            this.cmbHBarCodeType.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmbHBarCodeType.FormattingEnabled = true;
+            this.cmbHBarCodeType.Items.AddRange(new object[] {
+            "鍞竴鏉$爜"});
+            this.cmbHBarCodeType.Location = new System.Drawing.Point(651, 79);
+            this.cmbHBarCodeType.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.cmbHBarCodeType.Name = "cmbHBarCodeType";
+            this.cmbHBarCodeType.Size = new System.Drawing.Size(199, 28);
+            this.cmbHBarCodeType.TabIndex = 139;
             // 
-            // label5
+            // label8
             // 
-            this.label5.AutoSize = true;
-            this.label5.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label5.ForeColor = System.Drawing.Color.Black;
-            this.label5.Location = new System.Drawing.Point(399, 83);
-            this.label5.Name = "label5";
-            this.label5.Size = new System.Drawing.Size(72, 16);
-            this.label5.TabIndex = 101;
-            this.label5.Text = "缁撴潫鏃ユ湡";
+            this.label8.AutoSize = true;
+            this.label8.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label8.ForeColor = System.Drawing.Color.Black;
+            this.label8.Location = new System.Drawing.Point(569, 85);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(72, 16);
+            this.label8.TabIndex = 138;
+            this.label8.Text = "鏉$爜绫诲瀷";
             // 
             // cmdHSaveBill
             // 
             this.cmdHSaveBill.BackColor = System.Drawing.Color.White;
             this.cmdHSaveBill.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.cmdHSaveBill.Location = new System.Drawing.Point(776, 66);
-            this.cmdHSaveBill.Margin = new System.Windows.Forms.Padding(2);
+            this.cmdHSaveBill.Location = new System.Drawing.Point(1009, 15);
+            this.cmdHSaveBill.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.cmdHSaveBill.Name = "cmdHSaveBill";
             this.cmdHSaveBill.Size = new System.Drawing.Size(112, 50);
             this.cmdHSaveBill.TabIndex = 137;
@@ -377,55 +434,81 @@
             this.cmdHSaveBill.UseVisualStyleBackColor = false;
             this.cmdHSaveBill.Click += new System.EventHandler(this.cmdHSaveBill_Click);
             // 
+            // dtpHBeginDate
+            // 
+            this.dtpHBeginDate.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtpHBeginDate.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+            this.dtpHBeginDate.Location = new System.Drawing.Point(364, 75);
+            this.dtpHBeginDate.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.dtpHBeginDate.Name = "dtpHBeginDate";
+            this.dtpHBeginDate.Size = new System.Drawing.Size(197, 30);
+            this.dtpHBeginDate.TabIndex = 100;
+            // 
+            // label6
+            // 
+            this.label6.AutoSize = true;
+            this.label6.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label6.ForeColor = System.Drawing.Color.Black;
+            this.label6.Location = new System.Drawing.Point(312, 85);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(40, 16);
+            this.label6.TabIndex = 99;
+            this.label6.Text = "鏃ユ湡";
+            // 
             // button4
             // 
             this.button4.BackColor = System.Drawing.Color.White;
             this.button4.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button4.Location = new System.Drawing.Point(899, 214);
-            this.button4.Margin = new System.Windows.Forms.Padding(2);
+            this.button4.Location = new System.Drawing.Point(933, 211);
+            this.button4.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.button4.Name = "button4";
             this.button4.Size = new System.Drawing.Size(112, 50);
             this.button4.TabIndex = 138;
             this.button4.Text = "鐢熸垚鏉$爜";
             this.button4.UseVisualStyleBackColor = false;
+            this.button4.Click += new System.EventHandler(this.button4_Click);
             // 
             // button5
             // 
             this.button5.BackColor = System.Drawing.Color.White;
             this.button5.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button5.Location = new System.Drawing.Point(1037, 214);
-            this.button5.Margin = new System.Windows.Forms.Padding(2);
+            this.button5.Location = new System.Drawing.Point(933, 270);
+            this.button5.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.button5.Name = "button5";
-            this.button5.Size = new System.Drawing.Size(112, 50);
+            this.button5.Size = new System.Drawing.Size(112, 42);
             this.button5.TabIndex = 139;
             this.button5.Text = "棰勮";
             this.button5.UseVisualStyleBackColor = false;
+            this.button5.Click += new System.EventHandler(this.button5_Click);
             // 
             // button6
             // 
             this.button6.BackColor = System.Drawing.Color.White;
             this.button6.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button6.Location = new System.Drawing.Point(1037, 292);
-            this.button6.Margin = new System.Windows.Forms.Padding(2);
+            this.button6.Location = new System.Drawing.Point(933, 316);
+            this.button6.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
             this.button6.Name = "button6";
-            this.button6.Size = new System.Drawing.Size(112, 50);
+            this.button6.Size = new System.Drawing.Size(112, 44);
             this.button6.TabIndex = 140;
             this.button6.Text = "鎵撳嵃";
             this.button6.UseVisualStyleBackColor = false;
+            this.button6.Click += new System.EventHandler(this.button6_Click);
             // 
             // txtHMiniQty
             // 
-            this.txtHMiniQty.Location = new System.Drawing.Point(899, 297);
+            this.txtHMiniQty.Location = new System.Drawing.Point(794, 316);
             this.txtHMiniQty.Multiline = true;
             this.txtHMiniQty.Name = "txtHMiniQty";
+            this.txtHMiniQty.ReadOnly = true;
             this.txtHMiniQty.Size = new System.Drawing.Size(112, 42);
             this.txtHMiniQty.TabIndex = 141;
+            this.txtHMiniQty.TextChanged += new System.EventHandler(this.txtHMiniQty_TextChanged);
             // 
             // 鏍囧噯瑁呯
             // 
             this.鏍囧噯瑁呯.AutoSize = true;
             this.鏍囧噯瑁呯.Font = new System.Drawing.Font("瀹嬩綋", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.鏍囧噯瑁呯.Location = new System.Drawing.Point(895, 266);
+            this.鏍囧噯瑁呯.Location = new System.Drawing.Point(791, 277);
             this.鏍囧噯瑁呯.Name = "鏍囧噯瑁呯";
             this.鏍囧噯瑁呯.Size = new System.Drawing.Size(120, 27);
             this.鏍囧噯瑁呯.TabIndex = 142;
@@ -435,35 +518,371 @@
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("瀹嬩綋", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label7.Location = new System.Drawing.Point(878, 350);
+            this.label7.Location = new System.Drawing.Point(774, 362);
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(174, 27);
             this.label7.TabIndex = 144;
             this.label7.Text = "鏈鐢熸垚鏁伴噺";
+            this.label7.Visible = false;
             // 
-            // textBox1
+            // txtHBQty
             // 
-            this.textBox1.Location = new System.Drawing.Point(902, 381);
-            this.textBox1.Multiline = true;
-            this.textBox1.Name = "textBox1";
-            this.textBox1.Size = new System.Drawing.Size(112, 42);
-            this.textBox1.TabIndex = 143;
+            this.txtHBQty.Location = new System.Drawing.Point(798, 393);
+            this.txtHBQty.Multiline = true;
+            this.txtHBQty.Name = "txtHBQty";
+            this.txtHBQty.Size = new System.Drawing.Size(112, 42);
+            this.txtHBQty.TabIndex = 143;
+            this.txtHBQty.Visible = false;
+            this.txtHBQty.TextChanged += new System.EventHandler(this.txtHBQty_TextChanged);
+            // 
+            // groupBox1
+            // 
+            this.groupBox1.BackColor = System.Drawing.Color.Transparent;
+            this.groupBox1.Controls.Add(this.cmdESOP);
+            this.groupBox1.Controls.Add(this.cmdHSaveBill1);
+            this.groupBox1.Controls.Add(this.dtpHEndDate1);
+            this.groupBox1.Controls.Add(this.label10);
+            this.groupBox1.Controls.Add(this.dtpHBeginDate1);
+            this.groupBox1.Controls.Add(this.label11);
+            this.groupBox1.Controls.Add(this.label12);
+            this.groupBox1.Controls.Add(this.txtHICMOBillNo1);
+            this.groupBox1.Controls.Add(this.txtHMaterID1);
+            this.groupBox1.Controls.Add(this.label13);
+            this.groupBox1.Controls.Add(this.cmdHMaterID1);
+            this.groupBox1.Location = new System.Drawing.Point(10, 485);
+            this.groupBox1.Name = "groupBox1";
+            this.groupBox1.Size = new System.Drawing.Size(1054, 126);
+            this.groupBox1.TabIndex = 140;
+            this.groupBox1.TabStop = false;
+            // 
+            // cmdESOP
+            // 
+            this.cmdESOP.BackColor = System.Drawing.Color.White;
+            this.cmdESOP.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmdESOP.Location = new System.Drawing.Point(922, 35);
+            this.cmdESOP.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.cmdESOP.Name = "cmdESOP";
+            this.cmdESOP.Size = new System.Drawing.Size(112, 50);
+            this.cmdESOP.TabIndex = 138;
+            this.cmdESOP.Text = "E-SOP";
+            this.cmdESOP.UseVisualStyleBackColor = false;
+            this.cmdESOP.Click += new System.EventHandler(this.cmdESOP_Click);
+            // 
+            // cmdHSaveBill1
+            // 
+            this.cmdHSaveBill1.BackColor = System.Drawing.Color.White;
+            this.cmdHSaveBill1.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.cmdHSaveBill1.Location = new System.Drawing.Point(784, 35);
+            this.cmdHSaveBill1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.cmdHSaveBill1.Name = "cmdHSaveBill1";
+            this.cmdHSaveBill1.Size = new System.Drawing.Size(112, 50);
+            this.cmdHSaveBill1.TabIndex = 137;
+            this.cmdHSaveBill1.Text = "鏌ヨ";
+            this.cmdHSaveBill1.UseVisualStyleBackColor = false;
+            this.cmdHSaveBill1.Click += new System.EventHandler(this.cmdHSaveBill1_Click);
+            // 
+            // dtpHEndDate1
+            // 
+            this.dtpHEndDate1.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtpHEndDate1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+            this.dtpHEndDate1.Location = new System.Drawing.Point(478, 75);
+            this.dtpHEndDate1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.dtpHEndDate1.Name = "dtpHEndDate1";
+            this.dtpHEndDate1.Size = new System.Drawing.Size(213, 30);
+            this.dtpHEndDate1.TabIndex = 102;
+            // 
+            // label10
+            // 
+            this.label10.AutoSize = true;
+            this.label10.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label10.ForeColor = System.Drawing.Color.Black;
+            this.label10.Location = new System.Drawing.Point(399, 83);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(72, 16);
+            this.label10.TabIndex = 101;
+            this.label10.Text = "缁撴潫鏃ユ湡";
+            // 
+            // dtpHBeginDate1
+            // 
+            this.dtpHBeginDate1.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.dtpHBeginDate1.Format = System.Windows.Forms.DateTimePickerFormat.Short;
+            this.dtpHBeginDate1.Location = new System.Drawing.Point(112, 77);
+            this.dtpHBeginDate1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.dtpHBeginDate1.Name = "dtpHBeginDate1";
+            this.dtpHBeginDate1.Size = new System.Drawing.Size(213, 30);
+            this.dtpHBeginDate1.TabIndex = 100;
+            // 
+            // label11
+            // 
+            this.label11.AutoSize = true;
+            this.label11.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label11.ForeColor = System.Drawing.Color.Black;
+            this.label11.Location = new System.Drawing.Point(33, 85);
+            this.label11.Name = "label11";
+            this.label11.Size = new System.Drawing.Size(72, 16);
+            this.label11.TabIndex = 99;
+            this.label11.Text = "寮�濮嬫棩鏈�";
+            // 
+            // label12
+            // 
+            this.label12.AutoSize = true;
+            this.label12.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label12.ForeColor = System.Drawing.Color.Black;
+            this.label12.Location = new System.Drawing.Point(427, 35);
+            this.label12.Name = "label12";
+            this.label12.Size = new System.Drawing.Size(40, 16);
+            this.label12.TabIndex = 55;
+            this.label12.Text = "鐗╂枡";
+            // 
+            // txtHICMOBillNo1
+            // 
+            this.txtHICMOBillNo1.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtHICMOBillNo1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHICMOBillNo1.Location = new System.Drawing.Point(112, 29);
+            this.txtHICMOBillNo1.Name = "txtHICMOBillNo1";
+            this.txtHICMOBillNo1.ReadOnly = true;
+            this.txtHICMOBillNo1.Size = new System.Drawing.Size(214, 30);
+            this.txtHICMOBillNo1.TabIndex = 47;
+            // 
+            // txtHMaterID1
+            // 
+            this.txtHMaterID1.Font = new System.Drawing.Font("瀹嬩綋", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.txtHMaterID1.ImeMode = System.Windows.Forms.ImeMode.NoControl;
+            this.txtHMaterID1.Location = new System.Drawing.Point(477, 29);
+            this.txtHMaterID1.Name = "txtHMaterID1";
+            this.txtHMaterID1.ReadOnly = true;
+            this.txtHMaterID1.Size = new System.Drawing.Size(184, 30);
+            this.txtHMaterID1.TabIndex = 56;
+            // 
+            // label13
+            // 
+            this.label13.AutoSize = true;
+            this.label13.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label13.ForeColor = System.Drawing.Color.Black;
+            this.label13.Location = new System.Drawing.Point(19, 35);
+            this.label13.Name = "label13";
+            this.label13.Size = new System.Drawing.Size(88, 16);
+            this.label13.TabIndex = 46;
+            this.label13.Text = "鐢熶骇璁㈠崟鍙�";
+            // 
+            // cmdHMaterID1
+            // 
+            this.cmdHMaterID1.Image = ((System.Drawing.Image)(resources.GetObject("cmdHMaterID1.Image")));
+            this.cmdHMaterID1.Location = new System.Drawing.Point(660, 27);
+            this.cmdHMaterID1.Name = "cmdHMaterID1";
+            this.cmdHMaterID1.Size = new System.Drawing.Size(32, 32);
+            this.cmdHMaterID1.TabIndex = 57;
+            this.cmdHMaterID1.UseVisualStyleBackColor = true;
+            this.cmdHMaterID1.Click += new System.EventHandler(this.cmdHMaterID1_Click);
+            // 
+            // grdSub
+            // 
+            this.grdSub.AllowUserToAddRows = false;
+            this.grdSub.AllowUserToDeleteRows = false;
+            this.grdSub.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
+            this.grdSub.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.grdSub.Location = new System.Drawing.Point(9, 618);
+            this.grdSub.Name = "grdSub";
+            this.grdSub.ReadOnly = true;
+            this.grdSub.RowHeadersWidth = 51;
+            this.grdSub.RowTemplate.Height = 23;
+            this.grdSub.Size = new System.Drawing.Size(866, 228);
+            this.grdSub.TabIndex = 145;
+            // 
+            // button1
+            // 
+            this.button1.BackColor = System.Drawing.Color.White;
+            this.button1.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.button1.Location = new System.Drawing.Point(933, 618);
+            this.button1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(112, 50);
+            this.button1.TabIndex = 146;
+            this.button1.Text = "琛ユ墦鏉$爜";
+            this.button1.UseVisualStyleBackColor = false;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // 鏁寸鏁伴噺
+            // 
+            this.鏁寸鏁伴噺.AutoSize = true;
+            this.鏁寸鏁伴噺.Font = new System.Drawing.Font("瀹嬩綋", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.鏁寸鏁伴噺.Location = new System.Drawing.Point(793, 194);
+            this.鏁寸鏁伴噺.Name = "鏁寸鏁伴噺";
+            this.鏁寸鏁伴噺.Size = new System.Drawing.Size(120, 27);
+            this.鏁寸鏁伴噺.TabIndex = 148;
+            this.鏁寸鏁伴噺.Text = "鏈鏁伴噺";
+            // 
+            // txtHZXQty
+            // 
+            this.txtHZXQty.Location = new System.Drawing.Point(797, 232);
+            this.txtHZXQty.Multiline = true;
+            this.txtHZXQty.Name = "txtHZXQty";
+            this.txtHZXQty.Size = new System.Drawing.Size(112, 42);
+            this.txtHZXQty.TabIndex = 147;
+            // 
+            // tabControl1
+            // 
+            this.tabControl1.Controls.Add(this.tabPage1);
+            this.tabControl1.Controls.Add(this.tabPage2);
+            this.tabControl1.Location = new System.Drawing.Point(9, 211);
+            this.tabControl1.Name = "tabControl1";
+            this.tabControl1.SelectedIndex = 0;
+            this.tabControl1.Size = new System.Drawing.Size(759, 268);
+            this.tabControl1.TabIndex = 149;
+            // 
+            // tabPage1
+            // 
+            this.tabPage1.Controls.Add(this.grdMain);
+            this.tabPage1.Location = new System.Drawing.Point(4, 22);
+            this.tabPage1.Name = "tabPage1";
+            this.tabPage1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
+            this.tabPage1.Size = new System.Drawing.Size(751, 242);
+            this.tabPage1.TabIndex = 0;
+            this.tabPage1.Text = "鐗╂枡淇℃伅";
+            this.tabPage1.UseVisualStyleBackColor = true;
+            // 
+            // tabPage2
+            // 
+            this.tabPage2.Controls.Add(this.grdList);
+            this.tabPage2.Location = new System.Drawing.Point(4, 22);
+            this.tabPage2.Name = "tabPage2";
+            this.tabPage2.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
+            this.tabPage2.Size = new System.Drawing.Size(751, 272);
+            this.tabPage2.TabIndex = 1;
+            this.tabPage2.Text = "鏉$爜淇℃伅";
+            this.tabPage2.UseVisualStyleBackColor = true;
+            // 
+            // grdList
+            // 
+            this.grdList.AllowUserToAddRows = false;
+            this.grdList.AllowUserToDeleteRows = false;
+            this.grdList.BackgroundColor = System.Drawing.SystemColors.ControlLightLight;
+            this.grdList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.grdList.Location = new System.Drawing.Point(3, 3);
+            this.grdList.Margin = new System.Windows.Forms.Padding(0);
+            this.grdList.Name = "grdList";
+            this.grdList.ReadOnly = true;
+            this.grdList.RowHeadersWidth = 51;
+            this.grdList.RowTemplate.Height = 23;
+            this.grdList.Size = new System.Drawing.Size(866, 269);
+            this.grdList.TabIndex = 20;
+            // 
+            // button2
+            // 
+            this.button2.BackColor = System.Drawing.Color.White;
+            this.button2.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.button2.Location = new System.Drawing.Point(796, 444);
+            this.button2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button2.Name = "button2";
+            this.button2.Size = new System.Drawing.Size(112, 36);
+            this.button2.TabIndex = 150;
+            this.button2.Text = "涓婁竴涓墿鏂�";
+            this.button2.UseVisualStyleBackColor = false;
+            this.button2.Click += new System.EventHandler(this.button2_Click);
+            // 
+            // button3
+            // 
+            this.button3.BackColor = System.Drawing.Color.White;
+            this.button3.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.button3.Location = new System.Drawing.Point(933, 391);
+            this.button3.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button3.Name = "button3";
+            this.button3.Size = new System.Drawing.Size(112, 44);
+            this.button3.TabIndex = 151;
+            this.button3.Text = "涓嬩竴涓墿鏂�";
+            this.button3.UseVisualStyleBackColor = false;
+            this.button3.Click += new System.EventHandler(this.button3_Click);
+            // 
+            // button7
+            // 
+            this.button7.BackColor = System.Drawing.Color.White;
+            this.button7.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.button7.Location = new System.Drawing.Point(932, 444);
+            this.button7.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.button7.Name = "button7";
+            this.button7.Size = new System.Drawing.Size(112, 36);
+            this.button7.TabIndex = 152;
+            this.button7.Text = "瓒呴鐢熶骇";
+            this.button7.UseVisualStyleBackColor = false;
+            this.button7.Click += new System.EventHandler(this.button7_Click);
+            // 
+            // txtHBarCode
+            // 
+            this.txtHBarCode.Location = new System.Drawing.Point(932, 682);
+            this.txtHBarCode.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
+            this.txtHBarCode.Name = "txtHBarCode";
+            this.txtHBarCode.Size = new System.Drawing.Size(132, 21);
+            this.txtHBarCode.TabIndex = 153;
+            this.txtHBarCode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtHBarCode_KeyDown);
+            // 
+            // label5
+            // 
+            this.label5.AutoSize = true;
+            this.label5.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label5.ForeColor = System.Drawing.Color.Black;
+            this.label5.Location = new System.Drawing.Point(32, 40);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(72, 16);
+            this.label5.TabIndex = 142;
+            this.label5.Text = "瑙勬牸鍨嬪彿";
+            // 
+            // txtHMaterModel
+            // 
+            this.txtHMaterModel.Font = new System.Drawing.Font("瀹嬩綋", 15F, 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(111, 34);
+            this.txtHMaterModel.Name = "txtHMaterModel";
+            this.txtHMaterModel.ReadOnly = true;
+            this.txtHMaterModel.Size = new System.Drawing.Size(166, 30);
+            this.txtHMaterModel.TabIndex = 143;
+            // 
+            // label14
+            // 
+            this.label14.AutoSize = true;
+            this.label14.Font = new System.Drawing.Font("瀹嬩綋", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label14.ForeColor = System.Drawing.Color.Black;
+            this.label14.Location = new System.Drawing.Point(6, 114);
+            this.label14.Name = "label14";
+            this.label14.Size = new System.Drawing.Size(72, 16);
+            this.label14.TabIndex = 144;
+            this.label14.Text = "鐗╂枡鍚嶇О";
+            this.label14.Click += new System.EventHandler(this.label14_Click);
+            // 
+            // txtHMaterName
+            // 
+            this.txtHMaterName.Font = new System.Drawing.Font("瀹嬩綋", 15F, 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(84, 108);
+            this.txtHMaterName.Name = "txtHMaterName";
+            this.txtHMaterName.ReadOnly = true;
+            this.txtHMaterName.Size = new System.Drawing.Size(254, 30);
+            this.txtHMaterName.TabIndex = 145;
             // 
             // Sc_ICMOToBarCode
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.AutoSize = true;
             this.BackColor = System.Drawing.SystemColors.ActiveCaption;
-            this.ClientSize = new System.Drawing.Size(1172, 599);
+            this.ClientSize = new System.Drawing.Size(1172, 844);
+            this.Controls.Add(this.txtHBarCode);
+            this.Controls.Add(this.button7);
+            this.Controls.Add(this.button3);
+            this.Controls.Add(this.button2);
+            this.Controls.Add(this.tabControl1);
+            this.Controls.Add(this.鏁寸鏁伴噺);
+            this.Controls.Add(this.txtHZXQty);
+            this.Controls.Add(this.button1);
+            this.Controls.Add(this.grdSub);
+            this.Controls.Add(this.groupBox1);
             this.Controls.Add(this.label7);
-            this.Controls.Add(this.textBox1);
+            this.Controls.Add(this.txtHBQty);
             this.Controls.Add(this.鏍囧噯瑁呯);
             this.Controls.Add(this.txtHMiniQty);
             this.Controls.Add(this.button6);
             this.Controls.Add(this.button5);
             this.Controls.Add(this.button4);
             this.Controls.Add(this.gbUp);
-            this.Controls.Add(this.grdMain);
             this.Controls.Add(this.Tool);
             this.Name = "Sc_ICMOToBarCode";
             this.Text = "蹇�熺敓鎴愭潯鐮�";
@@ -474,6 +893,13 @@
             ((System.ComponentModel.ISupportInitialize)(this.grdMain)).EndInit();
             this.gbUp.ResumeLayout(false);
             this.gbUp.PerformLayout();
+            this.groupBox1.ResumeLayout(false);
+            this.groupBox1.PerformLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.grdSub)).EndInit();
+            this.tabControl1.ResumeLayout(false);
+            this.tabPage1.ResumeLayout(false);
+            this.tabPage2.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.grdList)).EndInit();
             this.ResumeLayout(false);
             this.PerformLayout();
 
@@ -501,11 +927,8 @@
         private System.Windows.Forms.Button cmdHEmpID;
         private System.Windows.Forms.Label label4;
         private System.Windows.Forms.TextBox txtHMaterID;
-        private System.Windows.Forms.Button cmdHMaterID;
         private System.Windows.Forms.GroupBox gbUp;
         private System.Windows.Forms.Button cmdHSaveBill;
-        private System.Windows.Forms.DateTimePicker dtpHEndDate;
-        private System.Windows.Forms.Label label5;
         private System.Windows.Forms.DateTimePicker dtpHBeginDate;
         private System.Windows.Forms.Label label6;
         private System.Windows.Forms.Button button4;
@@ -514,6 +937,39 @@
         private System.Windows.Forms.TextBox txtHMiniQty;
         private System.Windows.Forms.Label 鏍囧噯瑁呯;
         private System.Windows.Forms.Label label7;
-        private System.Windows.Forms.TextBox textBox1;
+        private System.Windows.Forms.TextBox txtHBQty;
+        private System.Windows.Forms.Label label8;
+        private System.Windows.Forms.ComboBox cmbHBarCodeType;
+        private System.Windows.Forms.GroupBox groupBox1;
+        private System.Windows.Forms.Button cmdHSaveBill1;
+        private System.Windows.Forms.DateTimePicker dtpHEndDate1;
+        private System.Windows.Forms.Label label10;
+        private System.Windows.Forms.DateTimePicker dtpHBeginDate1;
+        private System.Windows.Forms.Label label11;
+        private System.Windows.Forms.Label label12;
+        private System.Windows.Forms.TextBox txtHICMOBillNo1;
+        private System.Windows.Forms.TextBox txtHMaterID1;
+        private System.Windows.Forms.Label label13;
+        private System.Windows.Forms.Button cmdHMaterID1;
+        private System.Windows.Forms.DataGridView grdSub;
+        private System.Windows.Forms.Button button1;
+        private System.Windows.Forms.Label 鏁寸鏁伴噺;
+        private System.Windows.Forms.TextBox txtHZXQty;
+        private System.Windows.Forms.TabControl tabControl1;
+        private System.Windows.Forms.TabPage tabPage1;
+        private System.Windows.Forms.TabPage tabPage2;
+        private System.Windows.Forms.DataGridView grdList;
+        private System.Windows.Forms.ToolStripButton cz;
+        private System.Windows.Forms.TextBox txtHSeOrderBillNo;
+        private System.Windows.Forms.Label label9;
+        private System.Windows.Forms.Button button2;
+        private System.Windows.Forms.Button button3;
+        private System.Windows.Forms.Button button7;
+        private System.Windows.Forms.Button cmdESOP;
+        private System.Windows.Forms.TextBox txtHBarCode;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.TextBox txtHMaterModel;
+        private System.Windows.Forms.Label label14;
+        private System.Windows.Forms.TextBox txtHMaterName;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.1