Browse Source

送检数量提示

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

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

@@ -532,9 +532,10 @@ namespace UAS_MES.Make
                 ob_checkno.Text = dt.Rows[0]["ob_checkno"].ToString();
                 nowcheckqty = int.Parse(ob_nowcheckqty.Text == "" ? "0" : ob_nowcheckqty.Text);
                 batchqty = int.Parse(ob_batchqty.Text == "" ? "0" : ob_batchqty.Text);
-                if (nowcheckqty > batchqty)
+                if (nowcheckqty == batchqty)
                 {
                     ob_nowcheckqty.ForeColor = Color.Red;
+                    OperateResult.AppendText(">>当前数量已达到送检数量\n",Color.Red);
                 }
             }
             else