Selaa lähdekoodia

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

MaiXinRong 2 vuotta sitten
vanhempi
commit
02670f0b89
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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');