Explorar el Código

工单提示错误之前清除工单信息

章政 hace 8 años
padre
commit
101f9a6bb0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      UAS-MES/CustomControl/CustomCheckBox/LockCheckBox.cs

+ 2 - 0
UAS-MES/CustomControl/CustomCheckBox/LockCheckBox.cs

@@ -55,12 +55,14 @@ namespace UAS_MES.CustomControl.CustomCheckBox
                     else
                     else
                     {
                     {
                         Checked = false;
                         Checked = false;
+                        MaCtl.Text = "";
                         BaseUtil.ShowError(ErrorMessage);
                         BaseUtil.ShowError(ErrorMessage);
                     }
                     }
                 }
                 }
                 else
                 else
                 {
                 {
                     Checked = false;
                     Checked = false;
+                    MaCtl.Text = "";
                     BaseUtil.ShowError("工单号不能为空");
                     BaseUtil.ShowError("工单号不能为空");
                 }
                 }
             }
             }