diff --git a/src/team.js b/src/team.js index 003197d..3eab920 100644 --- a/src/team.js +++ b/src/team.js @@ -17,7 +17,7 @@ console.log("工作于 " + path) const workbook4 = (function () { - const workbook = XLSX.readFile(path + '../金额.xlsx'); + const workbook = XLSX.readFile(path + '/金额.xlsx'); const worksheet = workbook.Sheets[workbook.SheetNames[0]]; const jsonData = XLSX.utils.sheet_to_json(worksheet); let map = {} @@ -27,7 +27,7 @@ const workbook4 = (function () { return map; })() -const workbook = XLSX.readFile(path + '/1.团队开票申请表-12.4.xlsx'); +const workbook = XLSX.readFile(path + '/1.团队开票申请表.xlsx'); const worksheet = workbook.Sheets[workbook.SheetNames[0]]; const jsonData = XLSX.utils.sheet_to_json(worksheet); for (let record of jsonData) {