Hcsy 7 anni fa
parent
commit
e4241aaf44

+ 1 - 1
UAS-MES/FunctionCode/Make/Make_PackageCollection.cs

@@ -179,7 +179,7 @@ namespace UAS_MES.Make
                 if (CheckOutBoxLength())
                 {
                     sn_code.Focus();
-                    if (pa_standardqty.Text == pa_currentqty.Text)
+                    if (pa_standardqty.Text == pa_currentqty.Text&&pa_currentqty.Text!="")
                         pa_remark.Focus();
                 }
             }

+ 1 - 1
UAS-MES/FunctionCode/Make/Make_PackageCollectionWeigh.cs

@@ -250,7 +250,7 @@ namespace UAS_MES.Make
                     LoadData();
                     LoadGridData();
                     sn_code.Focus();
-                    if (pa_standardqty.Text == pa_currentqty.Text)
+                    if (pa_standardqty.Text == pa_currentqty.Text && pa_currentqty.Text != "")
                         pa_remark.Focus();
                 }
             }