Explorar o código

去除绑定卡板限制

callm hai 3 semanas
pai
achega
16a4a6c1fe

+ 5 - 5
UAS_MES_YDCY/FunctionCode/Packing/Packing_PackageCollectionPalletNoWeigh.cs

@@ -479,11 +479,11 @@ namespace UAS_MES_NEW.Packing
                                     }
                                     if (int.Parse(pa_currentqty.Text == "" ? "0" : pa_currentqty.Text) == int.Parse(pr_palletqty.Text))
                                     {
-                                        if (dh.getFieldDataByCondition("package", "PA_PALLETNO", "pa_outboxcode='" + pa_outboxcode.Text + "'").ToString() == "")
-                                        {
-                                            OperateResult.AppendText(">>卡通箱" + pa_outboxcode.Text + "未绑定卡板号,不允许封箱\n", Color.Black, sn_code);
-                                            return;
-                                        }
+                                        //if (dh.getFieldDataByCondition("package", "PA_PALLETNO", "pa_outboxcode='" + pa_outboxcode.Text + "'").ToString() == "")
+                                        //{
+                                        //    OperateResult.AppendText(">>卡通箱" + pa_outboxcode.Text + "未绑定卡板号,不允许封箱\n", Color.Black, sn_code);
+                                        //    return;
+                                        //}
                                         dh.UpdateByCondition("package", "pa_status=1,pa_packageqty=pa_currentqty,pa_totalqty=pa_currentqty", "pa_outboxcode='" + pa_outboxcode.Text + "'");
                                         OperateResult.AppendText(">>箱号" + pa_outboxcode.Text + "满箱采集完成,封箱成功\n", Color.Green);
                                         pa_status.Text = "1";