Procházet zdrojové kódy

长度可以置空

章政 před 8 roky
rodič
revize
750b9a7ff3

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

@@ -675,8 +675,8 @@ namespace UAS_MES.Make
                     if (OutBoxLength.Text != "")
                     {
                         int.Parse(OutBoxLength.Text);
-                        BaseUtil.SetCacheData("OutBoxLength", OutBoxLength.Text);
                     }
+                    BaseUtil.SetCacheData("OutBoxLength", OutBoxLength.Text);
                     pa_outboxcode.Focus();
                 }
                 catch (Exception)

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

@@ -774,8 +774,8 @@ namespace UAS_MES.Make
                     if (OutBoxLength.Text != "")
                     {
                         int.Parse(OutBoxLength.Text);
-                        BaseUtil.SetCacheData("OutBoxLength", OutBoxLength.Text);
                     }
+                    BaseUtil.SetCacheData("OutBoxLength", OutBoxLength.Text);
                     pa_outboxcode.Focus();
                 }
                 catch (Exception)

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

@@ -554,8 +554,8 @@ namespace UAS_MES.Make
                     if (OutBoxLength.Text != "")
                     {
                         int.Parse(OutBoxLength.Text);
-                        BaseUtil.SetCacheData("PalletLength", OutBoxLength.Text);
                     }
+                    BaseUtil.SetCacheData("PalletLength", OutBoxLength.Text);
                     pa_outboxcode.Focus();
                 }
                 catch (Exception)