Browse Source

打印完之后全选箱号

章政 8 years ago
parent
commit
f5b2d115db
1 changed files with 2 additions and 0 deletions
  1. 2 0
      UAS-MES/FunctionCode/Make/Make_PackageCollectionWeigh.cs

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

@@ -200,6 +200,8 @@ namespace UAS_MES.Make
                     OperateResult.AppendText(">>开始打印箱号" + pa_outboxcode.Text + "\n", Color.Black);
                     doc = lbl.Documents.Open(ftpOperater.DownLoadTo + PrintLabel.Text);
                     Print.CodeSoft(Tag.ToString(), doc, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), PrintList.Text, pa_outboxcode.Text, int.Parse(PrintNum.Text));
+                    pa_outboxcode.Focus();
+                    pa_outboxcode.SelectAll();
                 }
                 else OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "尚未封箱,请封箱后执行打印\n", Color.Red);
             }