Explorar el Código

修改上料打印代码

章政 hace 9 años
padre
commit
b5cf21c799
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      UAS-MES/FunctionCode/Make/Make_ColorBoxLoadPrint.cs

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

@@ -175,7 +175,10 @@ namespace UAS_MES.Make
                                     return;
                                 }
                             }
-                            else OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red);
+                            else {
+                                OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red);
+                                code.Clear();
+                            }
                         }
                     }
                 }