Browse Source

修改工单信息为空的BUG

章政 8 years ago
parent
commit
7bbfb1543b
1 changed files with 1 additions and 1 deletions
  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;
 
         }