Browse Source

送检超出数量添加红色提示

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

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

@@ -487,6 +487,7 @@ namespace UAS_MES.Make
                 batchqty = int.Parse(ob_batchqty.Text == "" ? "0" : ob_batchqty.Text);
                 if (nowcheckqty > batchqty)
                 {
+                    ob_nowcheckqty.ForeColor = Color.Red;
                     OperateResult.AppendText(">>已采集批数已超过抽检批数\n", Color.Red);
                 }
             }
@@ -537,6 +538,7 @@ namespace UAS_MES.Make
             ob_checkno.Text = "";
             ob_nowcheckqty.Text = "";
             ob_batchqty.Text = "";
+            ob_nowcheckqty.ForeColor = Color.Black;
             SendCheck.Enabled = false;
             OperateResult.AppendText(">>批次" + ob_checkno.Text + "送检成功\n", Color.Green);
             ms_sncode.Focus();