Sfoglia il codice sorgente

彩盒上料打印 getMakeInfo为空直接return

shim 8 anni fa
parent
commit
476c1cb3af
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      UAS-MES/FunctionCode/Make/Make_ColorBoxLoadPrint.cs

+ 1 - 0
UAS-MES/FunctionCode/Make/Make_ColorBoxLoadPrint.cs

@@ -81,6 +81,7 @@ namespace UAS_MES.Make
                         if (!LogicHandler.GetMakeInfo(code.Text, out ma_code, out ErrorMessage))
                         {
                             OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red);
+                            return;
                         }
                     }
                     if (ms_makecode.Text != ma_code || ListA.Rows.Count == 0)