This commit is contained in:
chi
2024-01-17 13:20:41 +09:00
parent c2be3da94a
commit ff50832bdd
6 changed files with 350 additions and 226 deletions

View File

@@ -64,12 +64,14 @@ namespace FEQ0000
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
sb.AppendLine("<td style='text-align:center;' colspan='2'><strong>{금액}</strong></td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("</tr>");
sb.AppendLine("<tr>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>No</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SC</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>자재번호</td>");
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>청구자</td>");
@@ -90,6 +92,7 @@ namespace FEQ0000
{
var basewidth = 15;
sheet.setRow(row, 30);
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "No", fTitle);
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "S/C", fTitle);
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "자재번호", fTitle);
sheet.setCol(col, basewidth); sheet.writeStr(row, col++, "청구자", fTitle);
@@ -127,6 +130,7 @@ namespace FEQ0000
totalamt += amt;
sb.AppendLine("<tr>");
sb.AppendLine($"<td>{row}</td>");
sb.AppendLine("<td>" + getmaxstr(sSC) + "</td>");
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
@@ -143,6 +147,7 @@ namespace FEQ0000
{
col = 0;
sheet.setRow(row, 23);
sheet.writeNum(row, col++, row, fDataNum);
sheet.writeStr(row, col++, sSC, fDataStr);
sheet.writeStr(row, col++, sSID, fDataStr);
sheet.writeStr(row, col++, s요청, fDataStr);
@@ -174,6 +179,7 @@ namespace FEQ0000
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
sb.AppendLine("<td style='text-align:center;'>TOTAL</td>");
sb.AppendLine("<td style='text-align:center;' colspan='2'><strong>{금액}</strong></td>");
sb.AppendLine("<td style='border:none;text-align:center;'>&nbsp;</td>");
@@ -193,6 +199,7 @@ namespace FEQ0000
sheet.writeStr(row, col++, "", fTitle);
sheet.writeStr(row, col++, "", fTitle);
sheet.writeStr(row, col++, "", fTitle);
sheet.writeStr(row, col++, "", fTitle);
sheet.writeNum(row, col++, (int)totalamt, fTitle);
sheet.setMerge(row, row, col - 1, col);
sheet.writeStr(row, col++, "", fTitle);