Browse Source

产地添加全部采集

章政 6 years ago
parent
commit
e1cc7bfa38
1 changed files with 8 additions and 0 deletions
  1. 8 0
      UAS-出货标签管理/UAS_出货标签管理.cs

+ 8 - 0
UAS-出货标签管理/UAS_出货标签管理.cs

@@ -2506,6 +2506,14 @@ namespace UAS_LabelMachine
                         LabelInf.Rows[i].Cells["pib_madein"].Value = madein;
                 }
             }
+            if (LabelInf.Columns[e.ColumnIndex].Name == "pib_madein" && CollectionUnit.Text == "全部")
+            {
+                string madein = LabelInf.Rows[e.RowIndex].Cells["pib_madein"].Value.ToString();
+                for (int i = 0; i < LabelInf.Rows.Count; i++)
+                {
+                    LabelInf.Rows[i].Cells["pib_madein"].Value = madein;
+                }
+            }
         }
 
         private void ExportData_Click(object sender, EventArgs e)