Selaa lähdekoodia

不允许箱号重复

callm 5 kuukautta sitten
vanhempi
commit
10897e2df8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      UAS_MES_LGDZ/FunctionCode/Packing/Packing_PalletCollection.cs

+ 1 - 1
UAS_MES_LGDZ/FunctionCode/Packing/Packing_PalletCollection.cs

@@ -119,7 +119,7 @@ namespace UAS_MES_NEW.Packing
                         OperateResult.AppendText(">>箱号不能为空\n", Color.Red);
                         return;
                     }
-                    if (dh.CheckExist("package", "BG" + outboxcode.Text))
+                    if (dh.CheckExist("package", "pa_outboxcode='BG" + outboxcode.Text+"'"))
                     {
                         outboxcode.Text = "BG" + outboxcode.Text;
                     }