From 8f30450ec37b2889df55072950bbf99ae2589866 Mon Sep 17 00:00:00 2001 From: Cheney Date: Thu, 12 Dec 2024 21:10:46 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=84=E5=AE=9A=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/team.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {