Browse Source

网标采集修改

Hcsy 8 năm trước cách đây
mục cha
commit
a9efa8fb98

+ 2 - 0
UAS-MES/FunctionCode/Make/Make_CollectBTMAC.cs

@@ -201,6 +201,8 @@ namespace UAS_MES.Make
                             printcount++;
                             printcount++;
                             mcd_okqty.Text = printcount + "";
                             mcd_okqty.Text = printcount + "";
                             isMAC = false;
                             isMAC = false;
+                            sncode.Text = "";
+                            sncode.Focus();
                         }
                         }
                         else
                         else
                         {
                         {

+ 8 - 2
UAS-MES/FunctionCode/Make/Make_CollectNetCode.Designer.cs

@@ -111,9 +111,11 @@
             // ms_makecode
             // ms_makecode
             // 
             // 
             this.ms_makecode.AutoSize = true;
             this.ms_makecode.AutoSize = true;
+            this.ms_makecode.CutLength = null;
             this.ms_makecode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.ms_makecode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ms_makecode.Location = new System.Drawing.Point(94, 22);
+            this.ms_makecode.Location = new System.Drawing.Point(92, 22);
             this.ms_makecode.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
             this.ms_makecode.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
+            this.ms_makecode.MaximumSize = new System.Drawing.Size(200, 0);
             this.ms_makecode.Name = "ms_makecode";
             this.ms_makecode.Name = "ms_makecode";
             this.ms_makecode.Size = new System.Drawing.Size(0, 21);
             this.ms_makecode.Size = new System.Drawing.Size(0, 21);
             this.ms_makecode.TabIndex = 198;
             this.ms_makecode.TabIndex = 198;
@@ -141,8 +143,10 @@
             // ma_prodcode
             // ma_prodcode
             // 
             // 
             this.ma_prodcode.AutoSize = true;
             this.ma_prodcode.AutoSize = true;
+            this.ma_prodcode.CutLength = null;
             this.ma_prodcode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.ma_prodcode.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.ma_prodcode.Location = new System.Drawing.Point(318, 26);
+            this.ma_prodcode.Location = new System.Drawing.Point(318, 22);
+            this.ma_prodcode.MaximumSize = new System.Drawing.Size(200, 0);
             this.ma_prodcode.Name = "ma_prodcode";
             this.ma_prodcode.Name = "ma_prodcode";
             this.ma_prodcode.Size = new System.Drawing.Size(0, 21);
             this.ma_prodcode.Size = new System.Drawing.Size(0, 21);
             this.ma_prodcode.TabIndex = 193;
             this.ma_prodcode.TabIndex = 193;
@@ -150,8 +154,10 @@
             // pr_detail
             // pr_detail
             // 
             // 
             this.pr_detail.AutoSize = true;
             this.pr_detail.AutoSize = true;
+            this.pr_detail.CutLength = null;
             this.pr_detail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.pr_detail.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.pr_detail.Location = new System.Drawing.Point(541, 22);
             this.pr_detail.Location = new System.Drawing.Point(541, 22);
+            this.pr_detail.MaximumSize = new System.Drawing.Size(200, 0);
             this.pr_detail.Name = "pr_detail";
             this.pr_detail.Name = "pr_detail";
             this.pr_detail.Size = new System.Drawing.Size(0, 21);
             this.pr_detail.Size = new System.Drawing.Size(0, 21);
             this.pr_detail.TabIndex = 192;
             this.pr_detail.TabIndex = 192;

+ 2 - 0
UAS-MES/FunctionCode/Make/Make_CollectNetCode.cs

@@ -135,6 +135,8 @@ namespace UAS_MES.Make
                             printcount++;
                             printcount++;
                             mcd_okqty.Text = printcount + "";
                             mcd_okqty.Text = printcount + "";
                             isnetcode = false;
                             isnetcode = false;
+                            sncode.Text = "";
+                            sncode.Focus();
                         }
                         }
                         else
                         else
                         {
                         {