瀏覽代碼

重复打印修改

callm 3 天之前
父節點
當前提交
e0db28acab
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      UAS_MES_JH/FunctionCode/Make/Make_ColorBoxLabelPrint.cs

+ 1 - 1
UAS_MES_JH/FunctionCode/Make/Make_ColorBoxLabelPrint.cs

@@ -429,7 +429,7 @@ namespace UAS_MES_NEW.Make
                                     {
                                     {
                                         if (PrintLabel.Text.ToUpper().Contains(".BTW"))
                                         if (PrintLabel.Text.ToUpper().Contains(".BTW"))
                                         {
                                         {
-                                            if (Print.SinglePrint(Tag.ToString(), engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, sncode.Text, int.Parse(PrintNum.Text), oMakeCode, pr_code.Text, "彩盒标", "-1", out ErrorMessage))
+                                            if (Print.SinglePrint(Tag.ToString(), engine, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, sncode.Text, int.Parse(PrintNum.Text), oMakeCode, pr_code.Text, "彩盒标", "0", out ErrorMessage))
                                             {
                                             {
                                                 //提示用户打印成功
                                                 //提示用户打印成功
                                                 OperateResult.AppendText(">>序列号:" + sncode.Text + "打印结束\n", Color.Green);
                                                 OperateResult.AppendText(">>序列号:" + sncode.Text + "打印结束\n", Color.Green);