章政 7 rokov pred
rodič
commit
b8c2de5d81

+ 4 - 2
UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

@@ -709,7 +709,7 @@ namespace UAS_LabelMachine
                     {
                         MessageBox.Show("未勾选打印明细", "提示", MessageBoxButtons.OK, MessageBoxIcon.None, MessageBoxDefaultButton.Button1, MessageBoxOptions.ServiceNotification);
                     }
-                    LogManager.DoCommandLog(pi_inoutno.Text, User.UserCode, "手动打印标", "打印成功");
+                    LogManager.DoCommandLog(pi_inoutno.Text, User.UserCode, "手动打印标", "打印成功");
                     dh.BatchInsert("update prodiobarcode set pib_printdate=sysdate where pib_id=:pib_id", new string[] { "pib_id" }, SingleID.ToArray());
                     outboxcode1.Clear();
                 }
@@ -760,7 +760,7 @@ namespace UAS_LabelMachine
             else
             {
                 MessageBox.Show("未维护单盘标签", "提示");
-                LogManager.DoCommandLog(pi_inoutno.Text, User.UserCode, "手动打印标", "打印失败,未维护标签");
+                LogManager.DoCommandLog(pi_inoutno.Text, User.UserCode, "手动打印标", "打印失败,未维护标签");
             }
         }
 
@@ -982,6 +982,7 @@ namespace UAS_LabelMachine
                 }
                 catch (Exception) { }
             }
+            LogManager.DoCommandLog(pi_inoutno.Text, User.UserCode, "手动打印箱标" + OutBoxNum.Text, "打印成功");
             Outboxcode.Clear();
         }
 
@@ -1029,6 +1030,7 @@ namespace UAS_LabelMachine
                     MidReport.Print();
                     dh.UpdateByCondition("prodiobarcode", "pib_midifprint=-1", "pib_inoutno='" + pi_inoutno.Text + "' and pib_outboxcode1 in (" + pib_outboxcode1 + ")");
                     SelectRowIndex = -1;
+                    LogManager.DoCommandLog(pi_inoutno.Text, User.UserCode, "打印中盒" + pib_outboxcode1, "打印成功");
                 }
                 Properties.Settings.Default.MPrinter = MidLabelPrinter.Text;
                 Properties.Settings.Default.Save();