浏览代码

增加封箱提示

Hcsy 8 年之前
父节点
当前提交
174d6c359d

+ 1 - 0
UAS-MES/FunctionCode/Make/Make_PackageCollection.cs

@@ -284,6 +284,7 @@ namespace UAS_MES.Make
                                                 return;
                                             }
                                             dh.UpdateByCondition("package", "pa_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + pa_outboxcode.Text + "'");
+                                            OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "采集完成,封箱成功\n", Color.Green);
                                             pa_status.Text = "1";
                                             pa_standardqty.Text = "";
                                             if (AutoPrint.Checked)

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

@@ -350,7 +350,7 @@ namespace UAS_MES.Make
                                         }
                                         if (int.Parse(pa_currentqty.Text == "" ? "0" : pa_currentqty.Text) == int.Parse(pr_outboxinnerqty.Text))
                                         {
-                                            OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "满箱\n", Color.Black);
+                                      
                                             float weigh = float.Parse(weight.Text.Replace("kg", "").Trim());
                                             if (PR_CHECKCARTONW != "0")
                                             {
@@ -363,6 +363,7 @@ namespace UAS_MES.Make
                                             dh.UpdateByCondition("package", "pa_status=1,pa_totalqty=pa_currentqty,pa_packageqty=pa_currentqty,pa_weight='" + weigh + "'", "pa_outboxcode='" + pa_outboxcode.Text + "'");
                                             pa_standardqty.Text = "";
                                             pa_status.Text = "1";
+                                            OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "满箱封箱成功\n", Color.Green);
                                             OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "称量完成\n", Color.Green);
                                             LastSncode = sn_code.Text;
                                             if (AutoPrint.Checked)