@@ -208,11 +208,13 @@ namespace UAS_MES_Tools
else if (typeNum == 2)
{
SN.Text = "";
- //BoxNo.Text = "";
dCount.Text = "0";
- //Datas.Rows.Clear();
+ BoxNo.Enabled = true;
BoxNo.Focus();
BoxNo.SelectAll();
+
+ //BoxNo.Text = "";
+ //Datas.Rows.Clear();
}
QDquery_Click(null, null);
@@ -316,11 +318,16 @@ namespace UAS_MES_Tools
MessageBox.Show($"核对完成,此箱{BoxNo.Text} 已装满{dt.Rows[0]["CAPACITY"].ToString()} 个,请扫描未核对箱号", "警告", MessageBoxButtons.OK, MessageBoxIcon.Warning);
+ BoxNo.Text = "";
return;
- if (CheckEnter()) return;
+ if (CheckEnter())
+ {
+ return;
+ }
/*if (Datas.Rows.Count > 0)