瀏覽代碼

栈板采集栈板不存在处理

Hcsy 8 年之前
父節點
當前提交
2c0a34aa96
共有 1 個文件被更改,包括 5 次插入0 次删除
  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();
                     LoadGridData();
                     pa_id = dt.Rows[0]["pa_id"].ToString();
                     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 (CheckOutBoxLength())
                 {
                 {
                     if (pa_standardqty.Text == "")
                     if (pa_standardqty.Text == "")