Browse Source

栈板采集栈板不存在处理

Hcsy 8 years ago
parent
commit
2c0a34aa96
1 changed files with 5 additions and 0 deletions
  1. 5 0
      UAS-MES/FunctionCode/Make/Make_PalletCollection.cs

+ 5 - 0
UAS-MES/FunctionCode/Make/Make_PalletCollection.cs

@@ -97,6 +97,11 @@ namespace UAS_MES.Make
                     LoadGridData();
                     pa_id = dt.Rows[0]["pa_id"].ToString();
                 }
+                else
+                {
+                    OperateResult.AppendText(">>输入的栈板号" + pa_outboxcode.Text + "不存在\n", Color.Red, pa_outboxcode);
+                    BaseUtil.CleanForm(this);
+                }
                 if (CheckOutBoxLength())
                 {
                     if (pa_standardqty.Text == "")