Browse Source

新增库存条码打印

callm 1 year ago
parent
commit
8d5e0a2910

+ 9 - 0
UAS_BARCODEIO/UAS_BARCODEIO.csproj

@@ -170,6 +170,12 @@
     </Compile>
     <Compile Include="Settings.cs" />
     <Compile Include="SystemInf.cs" />
+    <Compile Include="库存条码打印.cs">
+      <SubType>Form</SubType>
+    </Compile>
+    <Compile Include="库存条码打印.Designer.cs">
+      <DependentUpon>库存条码打印.cs</DependentUpon>
+    </Compile>
     <Compile Include="入库条码规则解析.cs">
       <SubType>Form</SubType>
     </Compile>
@@ -222,6 +228,9 @@
     <EmbeddedResource Include="SearchTextBox.resx">
       <DependentUpon>SearchTextBox.cs</DependentUpon>
     </EmbeddedResource>
+    <EmbeddedResource Include="库存条码打印.resx">
+      <DependentUpon>库存条码打印.cs</DependentUpon>
+    </EmbeddedResource>
     <EmbeddedResource Include="入库条码规则解析.resx">
       <DependentUpon>入库条码规则解析.cs</DependentUpon>
     </EmbeddedResource>

+ 145 - 105
UAS_BARCODEIO/入库条码规则解析.Designer.cs

@@ -53,15 +53,6 @@
             this.label8 = new System.Windows.Forms.Label();
             this.GenBarCode = new System.Windows.Forms.Button();
             this.BarcodeIO = new System.Windows.Forms.DataGridView();
-            this.PrintBarCode = new System.Windows.Forms.Button();
-            this.PrinterList = new System.Windows.Forms.ComboBox();
-            this.label9 = new System.Windows.Forms.Label();
-            this.ChooseAll = new System.Windows.Forms.Button();
-            this.pr_orispeccode2 = new System.Windows.Forms.TextBox();
-            this.原厂型号 = new System.Windows.Forms.Label();
-            this.GenBoxCode = new System.Windows.Forms.CheckBox();
-            this.es_custcode = new UAS_BARCODEIO.SearchTextBox();
-            this.PrintBox = new System.Windows.Forms.Button();
             this.CheckBox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
             this.pr_orispeccode = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.bi_prodcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -72,6 +63,18 @@
             this.bi_madedate = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.pr_spec1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.pr_detail1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.PrintBarCode = new System.Windows.Forms.Button();
+            this.PrinterList = new System.Windows.Forms.ComboBox();
+            this.label9 = new System.Windows.Forms.Label();
+            this.ChooseAll = new System.Windows.Forms.Button();
+            this.pr_orispeccode2 = new System.Windows.Forms.TextBox();
+            this.原厂型号 = new System.Windows.Forms.Label();
+            this.GenBoxCode = new System.Windows.Forms.CheckBox();
+            this.PrintBox = new System.Windows.Forms.Button();
+            this.pr_orispeccode3 = new System.Windows.Forms.TextBox();
+            this.label10 = new System.Windows.Forms.Label();
+            this.es_custcode = new UAS_BARCODEIO.SearchTextBox();
+            this.PrintStockBarCode = new System.Windows.Forms.Button();
             ((System.ComponentModel.ISupportInitialize)(this.Prodiodetail)).BeginInit();
             ((System.ComponentModel.ISupportInitialize)(this.BarcodeIO)).BeginInit();
             this.SuspendLayout();
@@ -193,6 +196,7 @@
             // 
             // PR_CODE
             // 
+            this.PR_CODE.Enabled = false;
             this.PR_CODE.Location = new System.Drawing.Point(1445, 192);
             this.PR_CODE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.PR_CODE.Name = "PR_CODE";
@@ -212,7 +216,7 @@
             // 
             // INQTY
             // 
-            this.INQTY.Location = new System.Drawing.Point(1445, 324);
+            this.INQTY.Location = new System.Drawing.Point(1445, 403);
             this.INQTY.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.INQTY.Name = "INQTY";
             this.INQTY.Size = new System.Drawing.Size(436, 35);
@@ -222,7 +226,7 @@
             // 
             this.label4.AutoSize = true;
             this.label4.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label4.Location = new System.Drawing.Point(1276, 324);
+            this.label4.Location = new System.Drawing.Point(1276, 403);
             this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(133, 38);
@@ -231,7 +235,7 @@
             // 
             // DC
             // 
-            this.DC.Location = new System.Drawing.Point(1445, 402);
+            this.DC.Location = new System.Drawing.Point(1445, 470);
             this.DC.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.DC.Name = "DC";
             this.DC.Size = new System.Drawing.Size(436, 35);
@@ -241,7 +245,7 @@
             // 
             this.label5.AutoSize = true;
             this.label5.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label5.Location = new System.Drawing.Point(1276, 402);
+            this.label5.Location = new System.Drawing.Point(1276, 470);
             this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label5.Name = "label5";
             this.label5.Size = new System.Drawing.Size(58, 38);
@@ -250,7 +254,7 @@
             // 
             // LOTNO
             // 
-            this.LOTNO.Location = new System.Drawing.Point(1445, 486);
+            this.LOTNO.Location = new System.Drawing.Point(1445, 533);
             this.LOTNO.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.LOTNO.Name = "LOTNO";
             this.LOTNO.Size = new System.Drawing.Size(436, 35);
@@ -260,7 +264,7 @@
             // 
             this.label6.AutoSize = true;
             this.label6.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label6.Location = new System.Drawing.Point(1276, 486);
+            this.label6.Location = new System.Drawing.Point(1276, 533);
             this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(103, 38);
@@ -269,7 +273,7 @@
             // 
             // ZXBZ
             // 
-            this.ZXBZ.Location = new System.Drawing.Point(1445, 570);
+            this.ZXBZ.Location = new System.Drawing.Point(1445, 593);
             this.ZXBZ.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.ZXBZ.Name = "ZXBZ";
             this.ZXBZ.Size = new System.Drawing.Size(436, 35);
@@ -279,7 +283,7 @@
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label7.Location = new System.Drawing.Point(1276, 570);
+            this.label7.Location = new System.Drawing.Point(1276, 593);
             this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(133, 38);
@@ -340,6 +344,86 @@
             this.BarcodeIO.Size = new System.Drawing.Size(2097, 595);
             this.BarcodeIO.TabIndex = 35;
             // 
+            // CheckBox
+            // 
+            this.CheckBox.DataPropertyName = "CheckBox";
+            this.CheckBox.HeaderText = "勾选";
+            this.CheckBox.MinimumWidth = 10;
+            this.CheckBox.Name = "CheckBox";
+            this.CheckBox.Width = 200;
+            // 
+            // pr_orispeccode
+            // 
+            this.pr_orispeccode.DataPropertyName = "pr_orispeccode";
+            this.pr_orispeccode.HeaderText = "型号";
+            this.pr_orispeccode.MinimumWidth = 10;
+            this.pr_orispeccode.Name = "pr_orispeccode";
+            this.pr_orispeccode.Width = 200;
+            // 
+            // bi_prodcode
+            // 
+            this.bi_prodcode.DataPropertyName = "bi_prodcode";
+            this.bi_prodcode.HeaderText = "料号";
+            this.bi_prodcode.MinimumWidth = 10;
+            this.bi_prodcode.Name = "bi_prodcode";
+            this.bi_prodcode.Width = 200;
+            // 
+            // bi_barcode
+            // 
+            this.bi_barcode.DataPropertyName = "bi_barcode";
+            this.bi_barcode.HeaderText = "条码号";
+            this.bi_barcode.MinimumWidth = 10;
+            this.bi_barcode.Name = "bi_barcode";
+            this.bi_barcode.Width = 200;
+            // 
+            // bi_outboxcode
+            // 
+            this.bi_outboxcode.DataPropertyName = "bi_outboxcode";
+            this.bi_outboxcode.HeaderText = "外箱条码";
+            this.bi_outboxcode.MinimumWidth = 10;
+            this.bi_outboxcode.Name = "bi_outboxcode";
+            this.bi_outboxcode.Width = 200;
+            // 
+            // bi_inqty1
+            // 
+            this.bi_inqty1.DataPropertyName = "bi_inqty";
+            this.bi_inqty1.HeaderText = "入库数量";
+            this.bi_inqty1.MinimumWidth = 10;
+            this.bi_inqty1.Name = "bi_inqty1";
+            this.bi_inqty1.Width = 200;
+            // 
+            // bi_vendbarcode
+            // 
+            this.bi_vendbarcode.DataPropertyName = "bi_vendbarcode";
+            this.bi_vendbarcode.HeaderText = "LOTNO";
+            this.bi_vendbarcode.MinimumWidth = 10;
+            this.bi_vendbarcode.Name = "bi_vendbarcode";
+            this.bi_vendbarcode.Width = 200;
+            // 
+            // bi_madedate
+            // 
+            this.bi_madedate.DataPropertyName = "bi_madedate";
+            this.bi_madedate.HeaderText = "DC";
+            this.bi_madedate.MinimumWidth = 10;
+            this.bi_madedate.Name = "bi_madedate";
+            this.bi_madedate.Width = 200;
+            // 
+            // pr_spec1
+            // 
+            this.pr_spec1.DataPropertyName = "pr_spec";
+            this.pr_spec1.HeaderText = "规格";
+            this.pr_spec1.MinimumWidth = 10;
+            this.pr_spec1.Name = "pr_spec1";
+            this.pr_spec1.Width = 200;
+            // 
+            // pr_detail1
+            // 
+            this.pr_detail1.DataPropertyName = "pr_detail";
+            this.pr_detail1.HeaderText = "物料名称";
+            this.pr_detail1.MinimumWidth = 10;
+            this.pr_detail1.Name = "pr_detail1";
+            this.pr_detail1.Width = 200;
+            // 
             // PrintBarCode
             // 
             this.PrintBarCode.Location = new System.Drawing.Point(1922, 273);
@@ -381,6 +465,7 @@
             // 
             // pr_orispeccode2
             // 
+            this.pr_orispeccode2.Enabled = false;
             this.pr_orispeccode2.Location = new System.Drawing.Point(1445, 258);
             this.pr_orispeccode2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
             this.pr_orispeccode2.Name = "pr_orispeccode2";
@@ -408,6 +493,35 @@
             this.GenBoxCode.Text = "生成箱号";
             this.GenBoxCode.UseVisualStyleBackColor = true;
             // 
+            // PrintBox
+            // 
+            this.PrintBox.Location = new System.Drawing.Point(1922, 352);
+            this.PrintBox.Name = "PrintBox";
+            this.PrintBox.Size = new System.Drawing.Size(169, 45);
+            this.PrintBox.TabIndex = 43;
+            this.PrintBox.Text = "打印箱号";
+            this.PrintBox.UseVisualStyleBackColor = true;
+            this.PrintBox.Click += new System.EventHandler(this.PrintBox_Click);
+            // 
+            // pr_orispeccode3
+            // 
+            this.pr_orispeccode3.Location = new System.Drawing.Point(1445, 334);
+            this.pr_orispeccode3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.pr_orispeccode3.Name = "pr_orispeccode3";
+            this.pr_orispeccode3.Size = new System.Drawing.Size(436, 35);
+            this.pr_orispeccode3.TabIndex = 45;
+            // 
+            // label10
+            // 
+            this.label10.AutoSize = true;
+            this.label10.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label10.Location = new System.Drawing.Point(1276, 334);
+            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(133, 38);
+            this.label10.TabIndex = 44;
+            this.label10.Text = "解析型号";
+            // 
             // es_custcode
             // 
             this.es_custcode.AllPower = null;
@@ -426,101 +540,24 @@
             this.es_custcode.TableName = null;
             this.es_custcode.TextBoxEnable = false;
             // 
-            // PrintBox
-            // 
-            this.PrintBox.Location = new System.Drawing.Point(1922, 352);
-            this.PrintBox.Name = "PrintBox";
-            this.PrintBox.Size = new System.Drawing.Size(169, 45);
-            this.PrintBox.TabIndex = 43;
-            this.PrintBox.Text = "打印箱号";
-            this.PrintBox.UseVisualStyleBackColor = true;
-            this.PrintBox.Click += new System.EventHandler(this.PrintBox_Click);
-            // 
-            // CheckBox
-            // 
-            this.CheckBox.DataPropertyName = "CheckBox";
-            this.CheckBox.HeaderText = "勾选";
-            this.CheckBox.MinimumWidth = 10;
-            this.CheckBox.Name = "CheckBox";
-            this.CheckBox.Width = 200;
-            // 
-            // pr_orispeccode
-            // 
-            this.pr_orispeccode.DataPropertyName = "pr_orispeccode";
-            this.pr_orispeccode.HeaderText = "型号";
-            this.pr_orispeccode.MinimumWidth = 10;
-            this.pr_orispeccode.Name = "pr_orispeccode";
-            this.pr_orispeccode.Width = 200;
-            // 
-            // bi_prodcode
-            // 
-            this.bi_prodcode.DataPropertyName = "bi_prodcode";
-            this.bi_prodcode.HeaderText = "料号";
-            this.bi_prodcode.MinimumWidth = 10;
-            this.bi_prodcode.Name = "bi_prodcode";
-            this.bi_prodcode.Width = 200;
-            // 
-            // bi_barcode
-            // 
-            this.bi_barcode.DataPropertyName = "bi_barcode";
-            this.bi_barcode.HeaderText = "条码号";
-            this.bi_barcode.MinimumWidth = 10;
-            this.bi_barcode.Name = "bi_barcode";
-            this.bi_barcode.Width = 200;
-            // 
-            // bi_outboxcode
-            // 
-            this.bi_outboxcode.DataPropertyName = "bi_outboxcode";
-            this.bi_outboxcode.HeaderText = "外箱条码";
-            this.bi_outboxcode.MinimumWidth = 10;
-            this.bi_outboxcode.Name = "bi_outboxcode";
-            this.bi_outboxcode.Width = 200;
-            // 
-            // bi_inqty1
-            // 
-            this.bi_inqty1.DataPropertyName = "bi_inqty";
-            this.bi_inqty1.HeaderText = "入库数量";
-            this.bi_inqty1.MinimumWidth = 10;
-            this.bi_inqty1.Name = "bi_inqty1";
-            this.bi_inqty1.Width = 200;
-            // 
-            // bi_vendbarcode
-            // 
-            this.bi_vendbarcode.DataPropertyName = "bi_vendbarcode";
-            this.bi_vendbarcode.HeaderText = "LOTNO";
-            this.bi_vendbarcode.MinimumWidth = 10;
-            this.bi_vendbarcode.Name = "bi_vendbarcode";
-            this.bi_vendbarcode.Width = 200;
-            // 
-            // bi_madedate
+            // PrintStockBarCode
             // 
-            this.bi_madedate.DataPropertyName = "bi_madedate";
-            this.bi_madedate.HeaderText = "DC";
-            this.bi_madedate.MinimumWidth = 10;
-            this.bi_madedate.Name = "bi_madedate";
-            this.bi_madedate.Width = 200;
-            // 
-            // pr_spec1
-            // 
-            this.pr_spec1.DataPropertyName = "pr_spec";
-            this.pr_spec1.HeaderText = "规格";
-            this.pr_spec1.MinimumWidth = 10;
-            this.pr_spec1.Name = "pr_spec1";
-            this.pr_spec1.Width = 200;
-            // 
-            // pr_detail1
-            // 
-            this.pr_detail1.DataPropertyName = "pr_detail";
-            this.pr_detail1.HeaderText = "物料名称";
-            this.pr_detail1.MinimumWidth = 10;
-            this.pr_detail1.Name = "pr_detail1";
-            this.pr_detail1.Width = 200;
+            this.PrintStockBarCode.Location = new System.Drawing.Point(1922, 426);
+            this.PrintStockBarCode.Name = "PrintStockBarCode";
+            this.PrintStockBarCode.Size = new System.Drawing.Size(169, 45);
+            this.PrintStockBarCode.TabIndex = 46;
+            this.PrintStockBarCode.Text = "库存条码打印";
+            this.PrintStockBarCode.UseVisualStyleBackColor = true;
+            this.PrintStockBarCode.Click += new System.EventHandler(this.PrintStockBarCode_Click);
             // 
             // 入库条码规则解析
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.ClientSize = new System.Drawing.Size(2136, 1338);
+            this.Controls.Add(this.PrintStockBarCode);
+            this.Controls.Add(this.pr_orispeccode3);
+            this.Controls.Add(this.label10);
             this.Controls.Add(this.PrintBox);
             this.Controls.Add(this.GenBoxCode);
             this.Controls.Add(this.pr_orispeccode2);
@@ -607,6 +644,9 @@
         private System.Windows.Forms.DataGridViewTextBoxColumn bi_madedate;
         private System.Windows.Forms.DataGridViewTextBoxColumn pr_spec1;
         private System.Windows.Forms.DataGridViewTextBoxColumn pr_detail1;
+        private System.Windows.Forms.TextBox pr_orispeccode3;
+        private System.Windows.Forms.Label label10;
+        private System.Windows.Forms.Button PrintStockBarCode;
     }
 }
 

+ 13 - 1
UAS_BARCODEIO/入库条码规则解析.cs

@@ -144,7 +144,7 @@ namespace UAS_BARCODEIO
                             DC.Text = str[int.Parse(index) - 1];
                             break;
                         case "PROD":
-                            pr_orispeccode2.Text = str[int.Parse(index) - 1];
+                            pr_orispeccode3.Text = str[int.Parse(index) - 1];
                             break;
                         case "QTY":
                             INQTY.Text = str[int.Parse(index) - 1];
@@ -217,6 +217,11 @@ namespace UAS_BARCODEIO
                 MessageBox.Show("物料不在对应入库单中" + pi_inoutno.Text);
                 return;
             }
+            if (pr_orispeccode2.Text != pr_orispeccode3.Text)
+            {
+                MessageBox.Show("解析型号和单据型号不对应");
+                return;
+            }
             ZXBZ.Text = dt.Rows[0]["pr_zxbzs"].ToString();
             int pdinqty = int.Parse(dt.Rows[0]["pd_inqty"].ToString());
             int barqty = int.Parse(dt.Rows[0]["bi_inqty"].ToString());
@@ -364,6 +369,7 @@ namespace UAS_BARCODEIO
                 Console.WriteLine(Prodiodetail.Rows[e.RowIndex].Cells["pr_brand"].Value.ToString());
                 es_custcode.Text = Prodiodetail.Rows[e.RowIndex].Cells["pr_brand"].Value.ToString();
                 PR_CODE.Text = Prodiodetail.Rows[e.RowIndex].Cells["pd_prodcode"].Value.ToString();
+                pr_orispeccode2.Text = Prodiodetail.Rows[e.RowIndex].Cells["pr_orispeccode1"].Value.ToString();
                 LoadBarcodeioData(Prodiodetail.Rows[e.RowIndex].Cells["pd_prodcode"].Value.ToString());
             }
         }
@@ -442,5 +448,11 @@ namespace UAS_BARCODEIO
                 OutDoc.PrintDocument();
             }
         }
+
+        private void PrintStockBarCode_Click(object sender, EventArgs e)
+        {
+            库存条码打印 form=new 库存条码打印();
+            form.ShowDialog();
+        }
     }
 }

+ 30 - 0
UAS_BARCODEIO/入库条码规则解析.resx

@@ -189,4 +189,34 @@
   <metadata name="pr_detail1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
     <value>True</value>
   </metadata>
+  <metadata name="CheckBox.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_orispeccode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bi_prodcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bi_barcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bi_outboxcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bi_inqty1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bi_vendbarcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bi_madedate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_spec1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_detail1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
 </root>

+ 534 - 0
UAS_BARCODEIO/库存条码打印.Designer.cs

@@ -0,0 +1,534 @@
+namespace UAS_BARCODEIO
+{
+    partial class 库存条码打印
+    {
+        /// <summary>
+        /// 必需的设计器变量。
+        /// </summary>
+        private System.ComponentModel.IContainer components = null;
+
+        /// <summary>
+        /// 清理所有正在使用的资源。
+        /// </summary>
+        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
+        protected override void Dispose(bool disposing)
+        {
+            if (disposing && (components != null))
+            {
+                components.Dispose();
+            }
+            base.Dispose(disposing);
+        }
+
+        #region Windows 窗体设计器生成的代码
+
+        /// <summary>
+        /// 设计器支持所需的方法 - 不要修改
+        /// 使用代码编辑器修改此方法的内容。
+        /// </summary>
+        private void InitializeComponent()
+        {
+            this.label1 = new System.Windows.Forms.Label();
+            this.label3 = new System.Windows.Forms.Label();
+            this.INQTY = new System.Windows.Forms.TextBox();
+            this.label4 = new System.Windows.Forms.Label();
+            this.DC = new System.Windows.Forms.TextBox();
+            this.label5 = new System.Windows.Forms.Label();
+            this.LOTNO = new System.Windows.Forms.TextBox();
+            this.label6 = new System.Windows.Forms.Label();
+            this.pr_zxbz = new System.Windows.Forms.TextBox();
+            this.label7 = new System.Windows.Forms.Label();
+            this.Barcode = new System.Windows.Forms.TextBox();
+            this.label8 = new System.Windows.Forms.Label();
+            this.GenBarCode = new System.Windows.Forms.Button();
+            this.BarcodeIO = new System.Windows.Forms.DataGridView();
+            this.PrintBarCode = new System.Windows.Forms.Button();
+            this.PrinterList = new System.Windows.Forms.ComboBox();
+            this.label9 = new System.Windows.Forms.Label();
+            this.ChooseAll = new System.Windows.Forms.Button();
+            this.pr_orispeccode2 = new System.Windows.Forms.TextBox();
+            this.原厂型号 = new System.Windows.Forms.Label();
+            this.GenBoxCode = new System.Windows.Forms.CheckBox();
+            this.pr_brand = new System.Windows.Forms.TextBox();
+            this.PrintBox = new System.Windows.Forms.Button();
+            this.pr_orispeccode3 = new System.Windows.Forms.TextBox();
+            this.label10 = new System.Windows.Forms.Label();
+            this.bar_indate = new System.Windows.Forms.DateTimePicker();
+            this.label2 = new System.Windows.Forms.Label();
+            this.PR_CODE = new UAS_BARCODEIO.SearchTextBox();
+            this.CheckBox = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+            this.pr_orispeccode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.bar_prodcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.bar_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.bar_outboxcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.bar_remain = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.bar_vendbarcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.bar_madedate = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.pr_spec1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.pr_detail1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            ((System.ComponentModel.ISupportInitialize)(this.BarcodeIO)).BeginInit();
+            this.SuspendLayout();
+            // 
+            // label1
+            // 
+            this.label1.AutoSize = true;
+            this.label1.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label1.Location = new System.Drawing.Point(58, 108);
+            this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label1.Name = "label1";
+            this.label1.Size = new System.Drawing.Size(133, 38);
+            this.label1.TabIndex = 17;
+            this.label1.Text = "解析规则";
+            // 
+            // label3
+            // 
+            this.label3.AutoSize = true;
+            this.label3.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label3.Location = new System.Drawing.Point(30, 43);
+            this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label3.Name = "label3";
+            this.label3.Size = new System.Drawing.Size(133, 38);
+            this.label3.TabIndex = 20;
+            this.label3.Text = "物料编号";
+            // 
+            // INQTY
+            // 
+            this.INQTY.Location = new System.Drawing.Point(199, 394);
+            this.INQTY.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.INQTY.Name = "INQTY";
+            this.INQTY.Size = new System.Drawing.Size(436, 35);
+            this.INQTY.TabIndex = 23;
+            // 
+            // label4
+            // 
+            this.label4.AutoSize = true;
+            this.label4.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label4.Location = new System.Drawing.Point(30, 394);
+            this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label4.Name = "label4";
+            this.label4.Size = new System.Drawing.Size(133, 38);
+            this.label4.TabIndex = 22;
+            this.label4.Text = "入库数量";
+            // 
+            // DC
+            // 
+            this.DC.Location = new System.Drawing.Point(199, 461);
+            this.DC.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.DC.Name = "DC";
+            this.DC.Size = new System.Drawing.Size(436, 35);
+            this.DC.TabIndex = 25;
+            // 
+            // label5
+            // 
+            this.label5.AutoSize = true;
+            this.label5.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label5.Location = new System.Drawing.Point(30, 461);
+            this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label5.Name = "label5";
+            this.label5.Size = new System.Drawing.Size(58, 38);
+            this.label5.TabIndex = 24;
+            this.label5.Text = "DC";
+            // 
+            // LOTNO
+            // 
+            this.LOTNO.Location = new System.Drawing.Point(199, 524);
+            this.LOTNO.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.LOTNO.Name = "LOTNO";
+            this.LOTNO.Size = new System.Drawing.Size(436, 35);
+            this.LOTNO.TabIndex = 27;
+            // 
+            // label6
+            // 
+            this.label6.AutoSize = true;
+            this.label6.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label6.Location = new System.Drawing.Point(30, 524);
+            this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label6.Name = "label6";
+            this.label6.Size = new System.Drawing.Size(103, 38);
+            this.label6.TabIndex = 26;
+            this.label6.Text = "LotNo";
+            // 
+            // pr_zxbz
+            // 
+            this.pr_zxbz.Location = new System.Drawing.Point(199, 584);
+            this.pr_zxbz.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.pr_zxbz.Name = "pr_zxbz";
+            this.pr_zxbz.Size = new System.Drawing.Size(436, 35);
+            this.pr_zxbz.TabIndex = 30;
+            // 
+            // label7
+            // 
+            this.label7.AutoSize = true;
+            this.label7.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label7.Location = new System.Drawing.Point(30, 584);
+            this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label7.Name = "label7";
+            this.label7.Size = new System.Drawing.Size(133, 38);
+            this.label7.TabIndex = 29;
+            this.label7.Text = "最小包数";
+            // 
+            // Barcode
+            // 
+            this.Barcode.Location = new System.Drawing.Point(825, 49);
+            this.Barcode.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.Barcode.Name = "Barcode";
+            this.Barcode.Size = new System.Drawing.Size(436, 35);
+            this.Barcode.TabIndex = 32;
+            this.Barcode.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Barcode_KeyDown);
+            // 
+            // label8
+            // 
+            this.label8.AutoSize = true;
+            this.label8.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label8.Location = new System.Drawing.Point(693, 46);
+            this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label8.Name = "label8";
+            this.label8.Size = new System.Drawing.Size(104, 38);
+            this.label8.TabIndex = 33;
+            this.label8.Text = "扫码框";
+            // 
+            // GenBarCode
+            // 
+            this.GenBarCode.Location = new System.Drawing.Point(700, 249);
+            this.GenBarCode.Name = "GenBarCode";
+            this.GenBarCode.Size = new System.Drawing.Size(169, 45);
+            this.GenBarCode.TabIndex = 34;
+            this.GenBarCode.Text = "生成条码";
+            this.GenBarCode.UseVisualStyleBackColor = true;
+            this.GenBarCode.Click += new System.EventHandler(this.GenBarCode_Click);
+            // 
+            // BarcodeIO
+            // 
+            this.BarcodeIO.AllowUserToAddRows = false;
+            this.BarcodeIO.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
+            | System.Windows.Forms.AnchorStyles.Right)));
+            this.BarcodeIO.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.BarcodeIO.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.CheckBox,
+            this.pr_orispeccode,
+            this.bar_prodcode,
+            this.bar_code,
+            this.bar_outboxcode,
+            this.bar_remain,
+            this.bar_vendbarcode,
+            this.bar_madedate,
+            this.pr_spec1,
+            this.pr_detail1});
+            this.BarcodeIO.Location = new System.Drawing.Point(27, 731);
+            this.BarcodeIO.Name = "BarcodeIO";
+            this.BarcodeIO.RowHeadersWidth = 82;
+            this.BarcodeIO.RowTemplate.Height = 23;
+            this.BarcodeIO.Size = new System.Drawing.Size(2097, 595);
+            this.BarcodeIO.TabIndex = 35;
+            // 
+            // PrintBarCode
+            // 
+            this.PrintBarCode.Location = new System.Drawing.Point(700, 322);
+            this.PrintBarCode.Name = "PrintBarCode";
+            this.PrintBarCode.Size = new System.Drawing.Size(169, 45);
+            this.PrintBarCode.TabIndex = 36;
+            this.PrintBarCode.Text = "打印条码";
+            this.PrintBarCode.UseVisualStyleBackColor = true;
+            this.PrintBarCode.Click += new System.EventHandler(this.PrintBarCode_Click);
+            // 
+            // PrinterList
+            // 
+            this.PrinterList.FormattingEnabled = true;
+            this.PrinterList.Location = new System.Drawing.Point(199, 658);
+            this.PrinterList.Name = "PrinterList";
+            this.PrinterList.Size = new System.Drawing.Size(312, 32);
+            this.PrinterList.TabIndex = 37;
+            // 
+            // label9
+            // 
+            this.label9.AutoSize = true;
+            this.label9.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label9.Location = new System.Drawing.Point(30, 652);
+            this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label9.Name = "label9";
+            this.label9.Size = new System.Drawing.Size(162, 38);
+            this.label9.TabIndex = 38;
+            this.label9.Text = "打印机列表";
+            // 
+            // ChooseAll
+            // 
+            this.ChooseAll.Location = new System.Drawing.Point(27, 731);
+            this.ChooseAll.Name = "ChooseAll";
+            this.ChooseAll.Size = new System.Drawing.Size(86, 45);
+            this.ChooseAll.TabIndex = 39;
+            this.ChooseAll.Text = "全选";
+            this.ChooseAll.UseVisualStyleBackColor = true;
+            this.ChooseAll.Click += new System.EventHandler(this.ChooseAll_Click);
+            // 
+            // pr_orispeccode2
+            // 
+            this.pr_orispeccode2.Enabled = false;
+            this.pr_orispeccode2.Location = new System.Drawing.Point(199, 249);
+            this.pr_orispeccode2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.pr_orispeccode2.Name = "pr_orispeccode2";
+            this.pr_orispeccode2.Size = new System.Drawing.Size(436, 35);
+            this.pr_orispeccode2.TabIndex = 41;
+            // 
+            // 原厂型号
+            // 
+            this.原厂型号.AutoSize = true;
+            this.原厂型号.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.原厂型号.Location = new System.Drawing.Point(30, 249);
+            this.原厂型号.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.原厂型号.Name = "原厂型号";
+            this.原厂型号.Size = new System.Drawing.Size(133, 38);
+            this.原厂型号.TabIndex = 40;
+            this.原厂型号.Text = "原厂型号";
+            // 
+            // GenBoxCode
+            // 
+            this.GenBoxCode.AutoSize = true;
+            this.GenBoxCode.Location = new System.Drawing.Point(1297, 56);
+            this.GenBoxCode.Name = "GenBoxCode";
+            this.GenBoxCode.Size = new System.Drawing.Size(138, 28);
+            this.GenBoxCode.TabIndex = 42;
+            this.GenBoxCode.Text = "生成箱号";
+            this.GenBoxCode.UseVisualStyleBackColor = true;
+            // 
+            // pr_brand
+            // 
+            this.pr_brand.Location = new System.Drawing.Point(198, 111);
+            this.pr_brand.Name = "pr_brand";
+            this.pr_brand.Size = new System.Drawing.Size(437, 35);
+            this.pr_brand.TabIndex = 31;
+            // 
+            // PrintBox
+            // 
+            this.PrintBox.Location = new System.Drawing.Point(700, 401);
+            this.PrintBox.Name = "PrintBox";
+            this.PrintBox.Size = new System.Drawing.Size(169, 45);
+            this.PrintBox.TabIndex = 43;
+            this.PrintBox.Text = "打印箱号";
+            this.PrintBox.UseVisualStyleBackColor = true;
+            this.PrintBox.Click += new System.EventHandler(this.PrintBox_Click);
+            // 
+            // pr_orispeccode3
+            // 
+            this.pr_orispeccode3.Location = new System.Drawing.Point(199, 325);
+            this.pr_orispeccode3.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.pr_orispeccode3.Name = "pr_orispeccode3";
+            this.pr_orispeccode3.Size = new System.Drawing.Size(436, 35);
+            this.pr_orispeccode3.TabIndex = 45;
+            // 
+            // label10
+            // 
+            this.label10.AutoSize = true;
+            this.label10.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label10.Location = new System.Drawing.Point(30, 325);
+            this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label10.Name = "label10";
+            this.label10.Size = new System.Drawing.Size(133, 38);
+            this.label10.TabIndex = 44;
+            this.label10.Text = "解析型号";
+            // 
+            // bar_indate
+            // 
+            this.bar_indate.Location = new System.Drawing.Point(199, 185);
+            this.bar_indate.Name = "bar_indate";
+            this.bar_indate.Size = new System.Drawing.Size(305, 35);
+            this.bar_indate.TabIndex = 46;
+            // 
+            // label2
+            // 
+            this.label2.AutoSize = true;
+            this.label2.Font = new System.Drawing.Font("微软雅黑", 10.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.label2.Location = new System.Drawing.Point(30, 182);
+            this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
+            this.label2.Name = "label2";
+            this.label2.Size = new System.Drawing.Size(133, 38);
+            this.label2.TabIndex = 47;
+            this.label2.Text = "入库日期";
+            // 
+            // PR_CODE
+            // 
+            this.PR_CODE.AllPower = null;
+            this.PR_CODE.Caller = null;
+            this.PR_CODE.Condition = null;
+            this.PR_CODE.DBTitle = null;
+            this.PR_CODE.Enabled = false;
+            this.PR_CODE.FormName = null;
+            this.PR_CODE.Location = new System.Drawing.Point(199, 43);
+            this.PR_CODE.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
+            this.PR_CODE.Name = "PR_CODE";
+            this.PR_CODE.Power = null;
+            this.PR_CODE.ReturnData = null;
+            this.PR_CODE.SelectField = null;
+            this.PR_CODE.SetValueField = null;
+            this.PR_CODE.Size = new System.Drawing.Size(436, 35);
+            this.PR_CODE.TabIndex = 21;
+            this.PR_CODE.TableName = null;
+            this.PR_CODE.TextBoxEnable = false;
+            // 
+            // CheckBox
+            // 
+            this.CheckBox.DataPropertyName = "CheckBox";
+            this.CheckBox.HeaderText = "勾选";
+            this.CheckBox.MinimumWidth = 10;
+            this.CheckBox.Name = "CheckBox";
+            this.CheckBox.Width = 200;
+            // 
+            // pr_orispeccode
+            // 
+            this.pr_orispeccode.DataPropertyName = "pr_orispeccode";
+            this.pr_orispeccode.HeaderText = "型号";
+            this.pr_orispeccode.MinimumWidth = 10;
+            this.pr_orispeccode.Name = "pr_orispeccode";
+            this.pr_orispeccode.Width = 200;
+            // 
+            // bar_prodcode
+            // 
+            this.bar_prodcode.DataPropertyName = "bar_prodcode";
+            this.bar_prodcode.HeaderText = "料号";
+            this.bar_prodcode.MinimumWidth = 10;
+            this.bar_prodcode.Name = "bar_prodcode";
+            this.bar_prodcode.Width = 200;
+            // 
+            // bar_code
+            // 
+            this.bar_code.DataPropertyName = "bar_code";
+            this.bar_code.HeaderText = "条码号";
+            this.bar_code.MinimumWidth = 10;
+            this.bar_code.Name = "bar_code";
+            this.bar_code.Width = 200;
+            // 
+            // bar_outboxcode
+            // 
+            this.bar_outboxcode.DataPropertyName = "bar_outboxcode";
+            this.bar_outboxcode.HeaderText = "外箱条码";
+            this.bar_outboxcode.MinimumWidth = 10;
+            this.bar_outboxcode.Name = "bar_outboxcode";
+            this.bar_outboxcode.Width = 200;
+            // 
+            // bar_remain
+            // 
+            this.bar_remain.DataPropertyName = "bar_remain";
+            this.bar_remain.HeaderText = "入库数量";
+            this.bar_remain.MinimumWidth = 10;
+            this.bar_remain.Name = "bar_remain";
+            this.bar_remain.Width = 200;
+            // 
+            // bar_vendbarcode
+            // 
+            this.bar_vendbarcode.DataPropertyName = "bar_vendbarcode";
+            this.bar_vendbarcode.HeaderText = "LOTNO";
+            this.bar_vendbarcode.MinimumWidth = 10;
+            this.bar_vendbarcode.Name = "bar_vendbarcode";
+            this.bar_vendbarcode.Width = 200;
+            // 
+            // bar_madedate
+            // 
+            this.bar_madedate.DataPropertyName = "bar_madedate";
+            this.bar_madedate.HeaderText = "DC";
+            this.bar_madedate.MinimumWidth = 10;
+            this.bar_madedate.Name = "bar_madedate";
+            this.bar_madedate.Width = 200;
+            // 
+            // pr_spec1
+            // 
+            this.pr_spec1.DataPropertyName = "pr_spec";
+            this.pr_spec1.HeaderText = "规格";
+            this.pr_spec1.MinimumWidth = 10;
+            this.pr_spec1.Name = "pr_spec1";
+            this.pr_spec1.Width = 200;
+            // 
+            // pr_detail1
+            // 
+            this.pr_detail1.DataPropertyName = "pr_detail";
+            this.pr_detail1.HeaderText = "物料名称";
+            this.pr_detail1.MinimumWidth = 10;
+            this.pr_detail1.Name = "pr_detail1";
+            this.pr_detail1.Width = 200;
+            // 
+            // 库存条码打印
+            // 
+            this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
+            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+            this.ClientSize = new System.Drawing.Size(2136, 1338);
+            this.Controls.Add(this.label2);
+            this.Controls.Add(this.bar_indate);
+            this.Controls.Add(this.pr_orispeccode3);
+            this.Controls.Add(this.label10);
+            this.Controls.Add(this.PrintBox);
+            this.Controls.Add(this.GenBoxCode);
+            this.Controls.Add(this.pr_orispeccode2);
+            this.Controls.Add(this.原厂型号);
+            this.Controls.Add(this.ChooseAll);
+            this.Controls.Add(this.label9);
+            this.Controls.Add(this.PrinterList);
+            this.Controls.Add(this.PrintBarCode);
+            this.Controls.Add(this.BarcodeIO);
+            this.Controls.Add(this.GenBarCode);
+            this.Controls.Add(this.label8);
+            this.Controls.Add(this.Barcode);
+            this.Controls.Add(this.pr_brand);
+            this.Controls.Add(this.pr_zxbz);
+            this.Controls.Add(this.label7);
+            this.Controls.Add(this.LOTNO);
+            this.Controls.Add(this.label6);
+            this.Controls.Add(this.DC);
+            this.Controls.Add(this.label5);
+            this.Controls.Add(this.INQTY);
+            this.Controls.Add(this.label4);
+            this.Controls.Add(this.PR_CODE);
+            this.Controls.Add(this.label3);
+            this.Controls.Add(this.label1);
+            this.Margin = new System.Windows.Forms.Padding(6);
+            this.Name = "库存条码打印";
+            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+            this.Text = "入库条码打印";
+            this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
+            this.AutoSizeChanged += new System.EventHandler(this.入库条码规则解析_AutoSizeChanged);
+            this.Load += new System.EventHandler(this.Form1_Load);
+            ((System.ComponentModel.ISupportInitialize)(this.BarcodeIO)).EndInit();
+            this.ResumeLayout(false);
+            this.PerformLayout();
+
+        }
+
+        #endregion
+        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Label label3;
+        private System.Windows.Forms.TextBox INQTY;
+        private System.Windows.Forms.Label label4;
+        private System.Windows.Forms.TextBox DC;
+        private System.Windows.Forms.Label label5;
+        private System.Windows.Forms.TextBox LOTNO;
+        private System.Windows.Forms.Label label6;
+        private System.Windows.Forms.TextBox pr_zxbz;
+        private System.Windows.Forms.Label label7;
+        private System.Windows.Forms.TextBox pr_brand;
+        private System.Windows.Forms.TextBox Barcode;
+        private System.Windows.Forms.Label label8;
+        private System.Windows.Forms.Button GenBarCode;
+        private System.Windows.Forms.DataGridView BarcodeIO;
+        private System.Windows.Forms.Button PrintBarCode;
+        private System.Windows.Forms.ComboBox PrinterList;
+        private System.Windows.Forms.Label label9;
+        private System.Windows.Forms.Button ChooseAll;
+        private System.Windows.Forms.TextBox pr_orispeccode2;
+        private System.Windows.Forms.Label 原厂型号;
+        private System.Windows.Forms.CheckBox GenBoxCode;
+        private System.Windows.Forms.Button PrintBox;
+        private System.Windows.Forms.TextBox pr_orispeccode3;
+        private System.Windows.Forms.Label label10;
+        private System.Windows.Forms.DateTimePicker bar_indate;
+        private System.Windows.Forms.Label label2;
+        private UAS_BARCODEIO.SearchTextBox PR_CODE;
+        private System.Windows.Forms.DataGridViewCheckBoxColumn CheckBox;
+        private System.Windows.Forms.DataGridViewTextBoxColumn pr_orispeccode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn bar_prodcode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn bar_code;
+        private System.Windows.Forms.DataGridViewTextBoxColumn bar_outboxcode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn bar_remain;
+        private System.Windows.Forms.DataGridViewTextBoxColumn bar_vendbarcode;
+        private System.Windows.Forms.DataGridViewTextBoxColumn bar_madedate;
+        private System.Windows.Forms.DataGridViewTextBoxColumn pr_spec1;
+        private System.Windows.Forms.DataGridViewTextBoxColumn pr_detail1;
+    }
+}
+

+ 366 - 0
UAS_BARCODEIO/库存条码打印.cs

@@ -0,0 +1,366 @@
+using LabelManager2;
+using Seagull.BarTender.Print;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Drawing;
+using System.Drawing.Printing;
+using System.Linq;
+using System.Windows.Forms;
+using static System.Runtime.CompilerServices.RuntimeHelpers;
+
+namespace UAS_BARCODEIO
+{
+    public partial class 库存条码打印 : Form
+    {
+
+        ApplicationClass lbl;
+
+        DataHelper dh = new DataHelper();
+
+        Document SingleDoc;
+
+        Document OutDoc;
+
+        DataTable Dbfind;
+
+        //自适应屏幕
+        AutoSizeFormClass asc = new AutoSizeFormClass();
+
+
+        public 库存条码打印()
+        {
+            InitializeComponent();
+        }
+
+        delegate void BindDataSource(DataGridView dgv, DataTable dt);//定义委托
+
+        void bindingsource(DataGridView dgv, DataTable dt)
+        {
+            //dgv.AutoGenerateColumns = false;
+            //dgv.DataSource = null;
+            //dgv.DataSource = dt;
+            if (dgv.InvokeRequired)
+            {
+                dgv.Invoke(new BindDataSource(bindingsource), new object[] { dgv, dt });
+            }
+            else
+            {
+                dgv.AutoGenerateColumns = false;
+                dgv.DataSource = dt;
+            }
+        }
+
+
+        private void Form1_Load(object sender, EventArgs e)
+        {
+            PR_CODE.TableName = "product ";
+            PR_CODE.SelectField = "pr_code # 物料编号 ,pr_orispeccode3 # 原厂型号 ,pr_brand # 品牌,pr_zxbz # 最小包装";
+            PR_CODE.FormName = Name;
+            PR_CODE.DBTitle = "解析规则查询";
+            PR_CODE.SetValueField = new string[] { "pr_brand", "pr_zxbz" };
+            PR_CODE.Condition = "";
+            PR_CODE.DbChange += nr_rule_DBChange;
+
+            SystemInf.dh = dh;
+            try
+            {
+                lbl = new ApplicationClass();
+            }
+            catch (Exception ex)
+            {
+                Console.WriteLine(ex.Message);
+                throw;
+            }
+
+            SingleDoc = lbl.Documents.Open(System.Windows.Forms.Application.StartupPath + @"\BARCODE.lab");
+            OutDoc = lbl.Documents.Open(System.Windows.Forms.Application.StartupPath + @"\BOXCODE.lab");
+            asc.controllInitializeSize(this);
+            asc.controlAutoSize(this);
+
+            PrintDocument print = new PrintDocument();
+            string sDefault = print.PrinterSettings.PrinterName;//默认打印机名
+
+            foreach (string sPrint in PrinterSettings.InstalledPrinters)//获取所有打印机名称
+            {
+                PrinterList.Items.Add(sPrint);
+                if (sPrint == sDefault)
+                    PrinterList.SelectedIndex = PrinterList.Items.IndexOf(sPrint);
+            }
+        }
+
+        private void nr_rule_DBChange(object sender, EventArgs e)
+        {
+            Dbfind = PR_CODE.ReturnData;
+            BaseUtil.SetFormValue(this.Controls, Dbfind);
+        }
+
+        private void pi_inoutnokeydown(object sender, KeyEventArgs e)
+        {
+            if (e.KeyCode == Keys.Enter)
+            {
+            }
+        }
+
+
+        private void Barcode_KeyDown(object sender, KeyEventArgs e)
+        {
+            if (e.KeyCode == Keys.Enter)
+            {
+                DataTable dt = (DataTable)dh.ExecuteSql("select esd_caption,esd_enable,el_type from cs_exportsettingdetail left join CS_EXPORTSETTING" +
+                    " on es_id=esd_esid where es_custcode='" + pr_brand.Text + "'", "select");
+                if (dt.Rows.Count == 0)
+                {
+                    MessageBox.Show("无条码解析规则");
+                    return;
+                }
+                string split = dt.Rows[0]["el_type"].ToString();
+                string[] str = Barcode.Text.Split(split.ToCharArray()[0]);
+                //分割后的字符串数组需要大于设置的参数解析
+                if (str.Length < dt.Rows.Count)
+                {
+                    MessageBox.Show("无条码解析规则");
+                    return;
+                }
+                for (int i = 0; i < dt.Rows.Count; i++)
+                {
+                    string name = dt.Rows[i]["esd_caption"].ToString();
+                    string index = dt.Rows[i]["esd_enable"].ToString();
+                    switch (name)
+                    {
+                        case "LOTNO":
+                            LOTNO.Text = str[int.Parse(index) - 1];
+                            break;
+                        case "DC":
+                            DC.Text = str[int.Parse(index) - 1];
+                            break;
+                        case "PROD":
+                            pr_orispeccode3.Text = str[int.Parse(index) - 1];
+                            break;
+                        case "QTY":
+                            INQTY.Text = str[int.Parse(index) - 1];
+                            break;
+                        default:
+                            break;
+                    }
+                }
+                string madedate;
+                string outqty;
+                LogicHandler.GetWeekData(DC.Text, INQTY.Text, pr_brand.Text.ToUpper(), out madedate, out outqty);
+                DC.Text = madedate;
+                INQTY.Text = outqty;
+            }
+        }
+        bool AutoSized = false;
+        private void 入库条码规则解析_AutoSizeChanged(object sender, EventArgs e)
+        {
+            if (!AutoSized)
+            {
+                asc.controlAutoSize(this);
+                AutoSized = true;
+            }
+        }
+       
+        private void GenBarCode_Click(object sender, EventArgs e)
+        {
+            if (pr_orispeccode2.Text != pr_orispeccode3.Text)
+            {
+                MessageBox.Show("解析型号和单据型号不对应");
+                return;
+            }
+            int Minpackage = 0;
+            //本次入库数
+            int NowInqty = int.Parse(INQTY.Text);
+            if (!int.TryParse(pr_zxbz.Text, out Minpackage))
+            {
+                MessageBox.Show("最小包装数错误,料号" + PR_CODE.Text);
+                return;
+            }
+            string outboxcode = "";
+            if (GenBoxCode.Checked)
+            {
+                string[] param = new string[] { PR_CODE.Text, "", outboxcode };
+                dh.CallProcedure("SP_GETBOX", ref param);
+                outboxcode = param[2].Replace("BOX:", "");
+            }
+            //生成条码数量
+            int barcount = NowInqty % Minpackage == 0 ? NowInqty / Minpackage : (NowInqty / Minpackage) + 1;
+            List<string> bi_inqty = new List<string>();
+            List<string> bi_barcode = new List<string>();
+            List<string> bi_vendbarcode = new List<string>();
+            List<string> bi_madedate = new List<string>();
+            for (int i = 0; i < barcount; i++)
+            {
+                string barcode = "";
+                int OneUnit = 0;
+                string[] param = new string[] { PR_CODE.Text, "", barcode };
+                dh.CallProcedure("SP_GETBARCODE", ref param);
+                barcode = param[2].Replace("BARCODE:", "");
+                //如果最后有尾数的话 
+
+                if (i == barcount - 1)
+                {
+                    if (NowInqty % Minpackage == 0)
+                    {
+                        OneUnit = Minpackage;
+                    }
+                    else
+                    {
+                        OneUnit = NowInqty % Minpackage;
+                    }
+                }
+                else
+                {
+                    OneUnit = Minpackage;
+                }
+                bi_inqty.Add(OneUnit.ToString());
+                bi_barcode.Add(barcode);
+                bi_vendbarcode.Add(LOTNO.Text);
+                bi_madedate.Add(DC.Text);
+            }
+            //sql = "insert into barcodeio(BI_ID, BI_BARCODE, BI_PIID, BI_PICLASS, BI_INOUTNO, BI_PDNO, BI_PDID, BI_PRODCODE, BI_INQTY,bi_vendbarcode, " +
+            //     "BI_MADEDATE, BI_PRODID, BI_STATUS, BI_ORDERCODE, BI_INMAN, BI_INDATE,BI_OUTBOXCODE)select barcodeio_seq.nextval,:bi_barcode,'" + pi_id + "'," +
+            //     "'" + pd_piclass + "','',0,0,'" + PR_CODE.Text + "',:bi_inqty,:bi_vendbarcode,to_date(:bi_madedate,'yyyy-mm-dd'),pr_id,0,'','管理员',sysdate,'" + outboxcode + "' " +
+            //     " from product where pr_code='" + PR_CODE.Text + "'";
+            //dh.BatchInsert(sql, new string[] { "bi_inqty", "bi_barcode", "bi_vendbarcode", "bi_madedate" }, bi_barcode.ToArray(), bi_inqty.ToArray(), bi_vendbarcode.ToArray(), bi_madedate.ToArray());
+            LoadBarcodeioData(PR_CODE.Text);
+        }
+
+        private void LoadBarcodeioData(string pr_code)
+        {
+            //string sql = "select 0 CheckBox,bi_barcode,bi_inqty,bi_datecode,bi_outboxcode,bi_vendbarcode,to_char(bi_madedate,'yyyy-mm-dd')bi_madedate,pr_detail,pr_spec,bi_prodcode,pr_orispeccode from barcodeio left join product on bi_prodcode=pr_code where bi_inoutno='" + pi_inoutno.Text + "' and bi_prodcode='" + pr_code + "'";
+            //DataTable dt = (DataTable)dh.ExecuteSql(sql, "select");
+            //BaseUtil.FillDgvWithDataTable(BarcodeIO, dt);
+        }
+
+        private void PrintBarCode_Click(object sender, EventArgs e)
+        {
+            for (int i = 0; i < BarcodeIO.Rows.Count; i++)
+            {
+                if (BarcodeIO.Rows[i].Cells["CheckBox"].FormattedValue != null && BarcodeIO.Rows[i].Cells["CheckBox"].FormattedValue.ToString() == "True")
+                {
+                    for (int j = 0; j < SingleDoc.Variables.FreeVariables.Count; j++)
+                    {
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "BARCODE")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["bi_barcode"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "DC")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["bi_madedate"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "LOTNO")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["bi_vendbarcode"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "QTY")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["bi_inqty1"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "PRCODE")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["bi_prodcode"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "PRSPEC")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["pr_spec1"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "PRDETAIL")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["pr_detail1"].Value.ToString();
+                        }
+                        if (SingleDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "ORISPEC")
+                        {
+                            if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                                SingleDoc.Variables.FreeVariables.Item(j + 1).Value = BarcodeIO.Rows[i].Cells["pr_orispeccode"].Value.ToString();
+                        }
+                    }
+                    SingleDoc.Printer.SwitchTo(PrinterList.Text);
+                    SingleDoc.PrintDocument();
+                }
+            }
+        }
+
+        private void ChooseAll_Click(object sender, EventArgs e)
+        {
+            for (int i = 0; i < BarcodeIO.Rows.Count; i++)
+            {
+                BarcodeIO.Rows[i].Cells["CheckBox"].Value = true;
+            }
+        }
+
+        private void PrintBox_Click(object sender, EventArgs e)
+        {
+            List<string> outboxcode = new List<string>();
+            for (int i = 0; i < BarcodeIO.Rows.Count; i++)
+            {
+                if (BarcodeIO.Rows[i].Cells["CheckBox"].FormattedValue != null && BarcodeIO.Rows[i].Cells["CheckBox"].FormattedValue.ToString() == "True")
+                {
+                    if (!outboxcode.Contains(BarcodeIO.Rows[i].Cells["bi_outboxcode"].FormattedValue))
+                    {
+                        outboxcode.Add(BarcodeIO.Rows[i].Cells["bi_outboxcode"].Value.ToString());
+                    }
+                }
+            }
+            string[] box = outboxcode.ToArray();
+            for (int i = 0; i < box.Length; i++)
+            {
+                string sql = "select bi_outboxcode,sum(bi_inqty)bi_inqty,max(bi_datecode)bi_datecode,max(bi_vendbarcode)bi_vendbarcode,max(to_char(bi_madedate,'yyyy-mm-dd'))bi_madedate," +
+                    "max(pr_detail)pr_detail,max(pr_spec)pr_spec,max(bi_prodcode)bi_prodcode,max(pr_orispeccode)pr_orispeccode,max(pr_detail)pr_detail from barcodeio left join product on bi_prodcode=pr_code where bi_outboxcode='" + box[i] + "' group by bi_outboxcode";
+                DataTable dt = (DataTable)dh.ExecuteSql(sql, "select");
+                for (int j = 0; j < SingleDoc.Variables.FreeVariables.Count; j++)
+                {
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "BARCODE")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["bi_outboxcode"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "DC")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["bi_madedate"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "LOTNO")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["bi_vendbarcode"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "QTY")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["bi_inqty"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "PRCODE")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["bi_prodcode"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "PRSPEC")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["pr_spec"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "PRDETAIL")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["pr_detail"].ToString();
+                    }
+                    if (OutDoc.Variables.FreeVariables.Item(j + 1).Name.ToUpper() == "ORISPEC")
+                    {
+                        if (BarcodeIO.Rows[i].Cells["bi_madedate"].Value != null)
+                            OutDoc.Variables.FreeVariables.Item(j + 1).Value = dt.Rows[0]["pr_orispeccode"].ToString();
+                    }
+                }
+                OutDoc.Printer.SwitchTo(PrinterList.Text);
+                OutDoc.PrintDocument();
+            }
+        }
+    }
+}

+ 180 - 0
UAS_BARCODEIO/库存条码打印.resx

@@ -0,0 +1,180 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+    <xsd:element name="root" msdata:IsDataSet="true">
+      <xsd:complexType>
+        <xsd:choice maxOccurs="unbounded">
+          <xsd:element name="metadata">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />
+              </xsd:sequence>
+              <xsd:attribute name="name" use="required" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="assembly">
+            <xsd:complexType>
+              <xsd:attribute name="alias" type="xsd:string" />
+              <xsd:attribute name="name" type="xsd:string" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="data">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+              <xsd:attribute ref="xml:space" />
+            </xsd:complexType>
+          </xsd:element>
+          <xsd:element name="resheader">
+            <xsd:complexType>
+              <xsd:sequence>
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+              </xsd:sequence>
+              <xsd:attribute name="name" type="xsd:string" use="required" />
+            </xsd:complexType>
+          </xsd:element>
+        </xsd:choice>
+      </xsd:complexType>
+    </xsd:element>
+  </xsd:schema>
+  <resheader name="resmimetype">
+    <value>text/microsoft-resx</value>
+  </resheader>
+  <resheader name="version">
+    <value>2.0</value>
+  </resheader>
+  <resheader name="reader">
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <metadata name="CheckBox.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_orispeccode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_prodcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_outboxcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_remain.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_vendbarcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_madedate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_spec1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_detail1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="CheckBox.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_orispeccode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_prodcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_code.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_outboxcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_remain.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_vendbarcode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="bar_madedate.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_spec1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+  <metadata name="pr_detail1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+    <value>True</value>
+  </metadata>
+</root>