|
|
@@ -1932,12 +1932,14 @@ namespace UAS_LabelMachine
|
|
|
string FWhcode = LabelInf.Rows[i].Cells["pib_brand"].Value.ToString();
|
|
|
string FDC = LabelInf.Rows[i].Cells["pib_datecode"].Value.ToString();
|
|
|
string FLOTNO = LabelInf.Rows[i].Cells["pib_lotno"].Value.ToString();
|
|
|
+ string FPDCustProdCode = LabelInf.Rows[i].Cells["pd_custprodcode"].Value.ToString();
|
|
|
string BPrcode = LabelInf.Rows[i + 1].Cells["pib_prodcode"].Value.ToString();
|
|
|
string BPocode = LabelInf.Rows[i + 1].Cells["pd_pocode"].Value.ToString();
|
|
|
string BWhcode = LabelInf.Rows[i + 1].Cells["pib_brand"].Value.ToString();
|
|
|
string BDC = LabelInf.Rows[i + 1].Cells["pib_datecode"].Value.ToString();
|
|
|
string BLOTNO = LabelInf.Rows[i + 1].Cells["pib_lotno"].Value.ToString();
|
|
|
- if (FPrcode != BPrcode || FPocode != BPocode || FWhcode != BWhcode || (DiffDC.Checked && FDC != BDC) || (DiffLotNo.Checked && FLOTNO != BLOTNO))
|
|
|
+ string BPDCustProdCode = LabelInf.Rows[i + 1].Cells["pd_custprodcode"].Value.ToString();
|
|
|
+ if (FPDCustProdCode != BPDCustProdCode || FPrcode != BPrcode || FPocode != BPocode || FWhcode != BWhcode || (DiffDC.Checked && FDC != BDC) || (DiffLotNo.Checked && FLOTNO != BLOTNO))
|
|
|
{
|
|
|
MaxNum = MaxNum + 1;
|
|
|
}
|