Explorar el Código

修改工单信息为空的BUG

章政 hace 8 años
padre
commit
7bbfb1543b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      UAS-MES/CustomControl/TextBoxWithIcon/MaCodeSearchTextBox.cs

+ 1 - 1
UAS-MES/CustomControl/TextBoxWithIcon/MaCodeSearchTextBox.cs

@@ -289,7 +289,7 @@ namespace UAS_MES.CustomControl.TextBoxWithIcon
             {
                 LogManager.DoLog(e.Message);
             }
-            if (LeaveOrEnter)
+            if (LeaveOrEnter||TextBox.Text!="")
                 LockCheckBox.Checked = true;
 
         }