瀏覽代碼

添加仓别数据

章政 7 年之前
父節點
當前提交
2c65fe2e71
共有 1 個文件被更改,包括 3 次插入1 次删除
  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;
                             }