Browse Source

修改BUG

章政 8 năm trước cách đây
mục cha
commit
28b6f3266b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      UAS-MES/FunctionCode/Special/Special_BoxSplit.cs

+ 1 - 1
UAS-MES/FunctionCode/Special/Special_BoxSplit.cs

@@ -36,7 +36,7 @@ namespace UAS_MES.Special
                 List<string> ms_sncode = new List<string>();
                 for (int i = 0; i < dt.Rows.Count; i++)
                 {
-                    ms_sncode.Add(dt.Rows[0]["v_barcode"].ToString());
+                    ms_sncode.Add(dt.Rows[i]["v_barcode"].ToString());
                 }
                 sql.Clear();
                 sql.Append("select distinct ms_outboxcode,ms_makecode from makeserial left join mes_package_view on v_makecode=ms_makecode and  ");