|
|
@@ -280,6 +280,31 @@ namespace UAS_MES_NEW.Make
|
|
|
empVal.Text = "";
|
|
|
|
|
|
ShowMsg(MsgBox, 1, $"OK,{typeVal.Text}编号:{toolingVal.Text},已领用成功");
|
|
|
+
|
|
|
+ CleanDetail("Receive");
|
|
|
+ toolingVal_KeyPress(null, null);
|
|
|
+ }
|
|
|
+
|
|
|
+ private void CleanDetail(string type)
|
|
|
+ {
|
|
|
+ // Stencil Scraper
|
|
|
+ if (type == "Receive")
|
|
|
+ {
|
|
|
+ ma_code.Text = "";
|
|
|
+ sideVal.SelectedIndex = -1;
|
|
|
+ empVal.Text = "";
|
|
|
+ }
|
|
|
+ else if (type == "Return")
|
|
|
+ {
|
|
|
+ stA.Text = "";
|
|
|
+ stB.Text = "";
|
|
|
+ stC.Text = "";
|
|
|
+ stD.Text = "";
|
|
|
+ stE.Text = "";
|
|
|
+ empVal1.Text = "";
|
|
|
+ useCountVal.Text = "";
|
|
|
+ IsClean.Checked = false;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
private void Return_Click(object sender, EventArgs e)
|
|
|
@@ -359,6 +384,9 @@ namespace UAS_MES_NEW.Make
|
|
|
empVal1.Text = "";
|
|
|
IsClean.Checked = false;
|
|
|
ShowMsg(MsgBox, 1, $"OK,{typeVal.Text}编号:{toolingVal.Text},已归还成功");
|
|
|
+
|
|
|
+ CleanDetail("Receive");
|
|
|
+ toolingVal_KeyPress(null, null);
|
|
|
}
|
|
|
|
|
|
private void Scrap_Click(object sender, EventArgs e)
|