Przeglądaj źródła

修改箱状态验证BUG

章政 8 lat temu
rodzic
commit
6f676148ff

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

@@ -141,7 +141,7 @@ namespace UAS_MES.Make
                         //采集的卡通箱号存在
                         if (dt.Rows.Count > 0)
                         {
-                            if (dt.Rows[0]["pa_status"].ToString() != "1")
+                            if (dt.Rows[0]["pa_status"].ToString() == "1")
                             {
                                 //判断是否已经装箱
                                 if (dt.Rows[0]["pa_mothercode"].ToString() == "")

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

@@ -130,7 +130,7 @@ namespace UAS_MES.Make
                         //判断是否已经装箱
                         if (dt.Rows[0]["pa_mothercode"].ToString() == "")
                         {
-                            if (dt.Rows[0]["pa_status"].ToString() != "1")
+                            if (dt.Rows[0]["pa_status"].ToString() == "1")
                             {
                                 sql.Clear();
                                 sql.Append("insert into packagedetail(pd_id, pd_paid, pd_outboxcode, pd_innerboxcode, pd_innerqty)");