Browse Source

添加仓别数据

章政 7 years ago
parent
commit
2c65fe2e71
1 changed files with 3 additions and 1 deletions
  1. 3 1
      UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

+ 3 - 1
UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

@@ -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;
                             }