Просмотр исходного кода

利普芯修改总计片数位置

callm 5 лет назад
Родитель
Сommit
0e2a600ed8
1 измененных файлов с 1 добавлено и 9 удалено
  1. 1 9
      UAS-出货标签管理(贸易版)/PublicMethod/ExcelHandler.cs

+ 1 - 9
UAS-出货标签管理(贸易版)/PublicMethod/ExcelHandler.cs

@@ -2411,14 +2411,6 @@ namespace UAS_LabelMachine
                         pib_id.Add(DataTable.Rows[i]["pib_id"].ToString());
                         pib_outboxcode1.Add(BoxCode.ToString());
                     }
-                    //for (int i = 0; i < sheet.LastRowNum; i++)
-                    //{
-                    //    if (i != 0)
-                    //    {
-                    //        sheet.AutoSizeColumn(i);
-                    //        sheet.SetColumnWidth(i, sheet.GetColumnWidth(i) + 1000);
-                    //    }
-                    //}
                     break;
                 default:
                     break;
@@ -2565,7 +2557,7 @@ namespace UAS_LabelMachine
                             row1.Cells[j].CellStyle = styleborder;
                             row1.Cells[j].SetCellValue(总计);
                         }
-                        else if (j == columnNum - 6)
+                        else if (j == 3)
                         {
                             row1.CreateCell(j);
                             row1.Cells[j].CellStyle = styleborder;