浏览代码

送检数量提示

章政 8 年之前
父节点
当前提交
88264dfb46
共有 1 个文件被更改,包括 2 次插入1 次删除
  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