|
@@ -372,6 +372,10 @@ namespace UAS_MES.Make
|
|
|
{
|
|
|
condition += " and ob_salecode='" + ma_salecode.Text + "'";
|
|
|
}
|
|
|
+ else if (pr_sendchecktype.Text == "MakeCode")
|
|
|
+ {
|
|
|
+ condition += " and ob_makecode='" + ms_makecode.Text + "'";
|
|
|
+ }
|
|
|
sql.Append("select ob_batchqty,ob_nowcheckqty,ob_checkno from oqcbatch where ");
|
|
|
sql.Append("ob_linecode='" + User.UserLineCode + "' and ob_prodcode='" + pr_code.Text + "' and ");
|
|
|
sql.Append("ob_stepcode='" + User.CurrentStepCode + "' " + condition);
|