Prechádzať zdrojové kódy

批量导入其他标段计量相关

MaiXinRong 2 rokov pred
rodič
commit
02670f0b89
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      app/public/js/shares/batch_import.js

+ 1 - 1
app/public/js/shares/batch_import.js

@@ -214,7 +214,7 @@ const BatchImportStageGcl = function (setting) {
             const sheets = [];
             for (const node of this.batchTree.children) {
                 if (node.error > 0) {
-                    sheets.push({ name: node.code, setting, data: node.errors });
+                    sheets.push({ name: node.code || node.name, setting, data: node.errors });
                 }
             }
             SpreadExcelObj.exportSimpleXlsxSheets(sheets, '批量导入错误.xlsx');