|
@@ -603,7 +603,7 @@ namespace UAS_MES_NEW.Make
|
|
|
OperatResult.AppendText(">>" + prdetail.Replace("'", "") + "物料尚未备料,不允许回流\n", Color.Red);
|
|
OperatResult.AppendText(">>" + prdetail.Replace("'", "") + "物料尚未备料,不允许回流\n", Color.Red);
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
- dt = (DataTable)dh.ExecuteSql("select cr_id from craft where cr_statuscode='AUDITED' and cr_code='" + cr_code.Text + "'", "select");
|
|
|
|
|
|
|
+ dt = (DataTable)dh.ExecuteSql("select cr_id from craft where cr_statuscode='AUDITED' and cr_code='" + cr_code.Text + "' and cr_prodcode='"+ms_prodcode.Text+"'", "select");
|
|
|
if (dt.Rows.Count == 0)
|
|
if (dt.Rows.Count == 0)
|
|
|
OperatResult.AppendText(">>回流工序不存在\n", Color.Red);
|
|
OperatResult.AppendText(">>回流工序不存在\n", Color.Red);
|
|
|
else
|
|
else
|