规定名字

This commit is contained in:
Cheney 2024-12-12 21:10:46 +08:00
parent 7badaae4a6
commit 8f30450ec3

View File

@ -17,7 +17,7 @@ console.log("工作于 " + path)
const workbook4 = (function () { const workbook4 = (function () {
const workbook = XLSX.readFile(path + '../金额.xlsx'); const workbook = XLSX.readFile(path + '/金额.xlsx');
const worksheet = workbook.Sheets[workbook.SheetNames[0]]; const worksheet = workbook.Sheets[workbook.SheetNames[0]];
const jsonData = XLSX.utils.sheet_to_json(worksheet); const jsonData = XLSX.utils.sheet_to_json(worksheet);
let map = {} let map = {}
@ -27,7 +27,7 @@ const workbook4 = (function () {
return map; 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 worksheet = workbook.Sheets[workbook.SheetNames[0]];
const jsonData = XLSX.utils.sheet_to_json(worksheet); const jsonData = XLSX.utils.sheet_to_json(worksheet);
for (let record of jsonData) { for (let record of jsonData) {