|
@@ -575,7 +575,7 @@ export const genTechExcel = (
|
|
|
* @param {*} workbook ExcelJs对象
|
|
|
* @param {*} tableData 数据
|
|
|
*/
|
|
|
-export const genBidScoreExcel = (workbook, tableData, materialId) => {
|
|
|
+export const genBidScoreExcel = (workbook, tableData, materialId, sName) => {
|
|
|
const worksheet = workbook.addWorksheet("报价得分");
|
|
|
const columnWidth = [5, 34.5, 21.13, 21.13, 21.13, 21.13];
|
|
|
for (let cw = 1; cw <= columnWidth.length; cw++) {
|
|
@@ -591,7 +591,7 @@ export const genBidScoreExcel = (workbook, tableData, materialId) => {
|
|
|
row1.height = 32;
|
|
|
row1.font = { name: "宋体", family: 4, size: 20, bold: true };
|
|
|
|
|
|
- worksheet.addRow(["", ""]);
|
|
|
+ worksheet.addRow([`项目名称:${sName}`, ""]);
|
|
|
worksheet.mergeCells("A2:C2");
|
|
|
worksheet.mergeCells("D2:F2");
|
|
|
const row2 = worksheet.getRow(2);
|