|
|
@@ -576,7 +576,6 @@ namespace UAS_MES.Make
|
|
|
SaveBadLocation.Enabled = true;
|
|
|
}
|
|
|
|
|
|
-
|
|
|
private void mbl_loc_KeyDown(object sender, KeyEventArgs e)
|
|
|
{
|
|
|
if (e.KeyCode == Keys.Enter)
|
|
|
@@ -644,7 +643,7 @@ namespace UAS_MES.Make
|
|
|
|
|
|
private void ms_prodcode_TextChanged(object sender, EventArgs e)
|
|
|
{
|
|
|
- bd_soncode.Condition = "bd_mothercode='" + ms_prodcode.Text + "'";
|
|
|
+ bd_soncode.Condition = "bd_mothercode='" + ms_prodcode.Text + "' and NVL(bd_usestatus,' ')<>'DISABLE'";
|
|
|
}
|
|
|
}
|
|
|
}
|