Browse Source

修改切换工单提示BUG

章政 8 năm trước cách đây
mục cha
commit
a1cce3f02c
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      UAS-MES/FunctionCode/Make/Make_TestCollection.cs

+ 7 - 0
UAS-MES/FunctionCode/Make/Make_TestCollection.cs

@@ -206,6 +206,13 @@ namespace UAS_MES.Make
                             oMakeCode = ma_code.Text;
                         }
                     }
+                    else
+                    {
+                        if (oMakeCode != "" && oMakeCode != ma_code.Text)
+                        {
+                            oMakeCode = ma_code.Text;
+                        }
+                    }
                     if (LogicHandler.CheckStepSNAndMacode(oMakeCode, User.UserSourceCode, ms_sncode.Text, User.UserCode, out oMakeCode, out oMSID, out ErrorMessage))
                     {
                         if (NoteForChange.Checked && !NoteAlready)