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