|
|
@@ -138,6 +138,11 @@ namespace UAS_MES.Make
|
|
|
if (dt.Rows.Count > 0)
|
|
|
{
|
|
|
BaseUtil.SetFormValue(this.Controls, dt);
|
|
|
+ if (dt.Rows[0]["pa_status"].ToString() != "1")
|
|
|
+ {
|
|
|
+ OperateResult.AppendText(">>箱号" + outboxcode.Text + "未封箱不允许采集\n", Color.Red, outboxcode);
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (dt.Rows[0]["pa_downstatus"].ToString() != "0")
|
|
|
{
|
|
|
OperateResult.AppendText(">>箱号" + outboxcode.Text + "下地状态不允许采集\n", Color.Red, outboxcode);
|