|
|
@@ -1767,9 +1767,11 @@ namespace UAS_LabelMachine
|
|
|
{
|
|
|
string FPrcode = LabelInf.Rows[i].Cells["pib_prodcode"].Value.ToString();
|
|
|
string FPocode = LabelInf.Rows[i].Cells["pd_pocode"].Value.ToString();
|
|
|
+ string FWhcode = LabelInf.Rows[i].Cells["pib_brand"].Value.ToString();
|
|
|
string BPrcode = LabelInf.Rows[i + 1].Cells["pib_prodcode"].Value.ToString();
|
|
|
string BPocode = LabelInf.Rows[i + 1].Cells["pd_pocode"].Value.ToString();
|
|
|
- if (FPrcode != BPrcode || FPocode != BPocode)
|
|
|
+ string BWhcode = LabelInf.Rows[i + 1].Cells["pib_brand"].Value.ToString();
|
|
|
+ if (FPrcode != BPrcode || FPocode != BPocode || FWhcode != BWhcode)
|
|
|
{
|
|
|
MaxNum = MaxNum + 1;
|
|
|
}
|