From d2566b35bf5e917374d7556119d42cd404f16335 Mon Sep 17 00:00:00 2001
From: zzr99 <1940172413@qq.com>
Date: 星期五, 20 五月 2022 23:07:28 +0800
Subject: [PATCH] 开班+墙咔

---
 WorkM/车间管理/QC_NoPassProdCheckBill.cs |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)

diff --git "a/WorkM/\350\275\246\351\227\264\347\256\241\347\220\206/QC_NoPassProdCheckBill.cs" "b/WorkM/\350\275\246\351\227\264\347\256\241\347\220\206/QC_NoPassProdCheckBill.cs"
index 51cad72..5a1499e 100644
--- "a/WorkM/\350\275\246\351\227\264\347\256\241\347\220\206/QC_NoPassProdCheckBill.cs"
+++ "b/WorkM/\350\275\246\351\227\264\347\256\241\347\220\206/QC_NoPassProdCheckBill.cs"
@@ -19,6 +19,7 @@
         public long HProcExchInterID;
         public long HProcExchEntryID;
         public long HMainSourceInterID;
+        public string HBillSubType;
         //瀹氫箟鍒�
         public const Int16 HTagCol = 0;
         public const Int16 HSnoCol = 1;
@@ -1140,6 +1141,19 @@
                         }
                         
                     }
+                    else
+                    {
+                        if (DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HBadQtyCol].Value) != 0)
+                        {
+                            MessageBox.Show("绗�" + (i + 1) + "琛岋紝娌℃湁涓嶈壇鍘熷洜涓嶈兘濉啓涓嶈壇鏁伴噺锛�");
+                            return false;
+                        }
+                        if (DBUtility.ClsPub.isDoule(grdMain.Rows[i].Cells[HBadPCSQtyCol].Value) != 0)
+                        {
+                            MessageBox.Show("绗�" + (i + 1) + "琛岋紝娌℃湁涓嶈壇鍘熷洜涓嶈兘濉啓涓嶈壇PCS鏁伴噺锛�");
+                            return false;
+                        }
+                    }
                 }
                 //if (ClsPub.isDoule(txtHBadPNL.Text) != sPNLQty)
                 //{
@@ -1148,7 +1162,7 @@
                 //}
                 if (ClsPub.isDoule(txtHBadQty.Text) != sPCSQty)
                 {
-                    MessageBox.Show("鏄庣粏鎶ュ簾PCS鏁颁笉绛変簬鎬绘姤搴烶CS锛屼笉鍏佽淇濆瓨锛�");
+                    MessageBox.Show("琛ㄤ綋鏄庣粏涓嶈壇鏁颁笉绛変簬琛ㄥご鎬讳笉鑹暟閲忥紝涓嶅厑璁镐繚瀛橈紒");
                     return false;
                 }
             }
@@ -1236,6 +1250,7 @@
             BillNew.omodel.HGroupName = ClsPub.isStrNull(this.cmbHGroupName.Text);
             BillNew.omodel.HOrderProcNo = ClsPub.isStrNull(this.txtHOrderProcNo.Text);
             BillNew.omodel.HProcExchQty = ClsPub.isDoule(this.txtHProcExchQty.Text);
+            BillNew.omodel.HBillSubType = HBillSubType;
 
             //鏄庣粏绫昏祴鍊�
             BillNew.DetailColl=new List<Model.ClsQC_NoPassProdCheckBillSub>();

--
Gitblit v1.9.1