|
|
@@ -138,8 +138,7 @@ namespace UAS_MES.Make
|
|
|
|
|
|
private void Confirm_Click(object sender, EventArgs e)
|
|
|
{
|
|
|
- KeyEventArgs e1 = new KeyEventArgs(Keys.Enter);
|
|
|
- pr_batchnum_KeyDown(sender, e1);
|
|
|
+ pr_batchnum_KeyDown(sender, new KeyEventArgs(Keys.Enter));
|
|
|
}
|
|
|
|
|
|
private void Screen_Click(object sender, EventArgs e)
|
|
|
@@ -224,6 +223,8 @@ namespace UAS_MES.Make
|
|
|
}
|
|
|
catch (Exception)
|
|
|
{
|
|
|
+ OperateResult.AppendText(">>数量必须大于0\n", Color.Red);
|
|
|
+ return;
|
|
|
}
|
|
|
dh.UpdateByCondition("makesourcestock", "mss_qty='"+ qty + "'", "mss_id='" + id + "'");
|
|
|
}
|