From a4454b05ef488605230b682d0b997f1b0d36b721 Mon Sep 17 00:00:00 2001 From: lichong <18518571399@163.com> Date: Tue, 19 Nov 2024 22:07:44 +0800 Subject: [PATCH] 11.19 --- package.json | 3 +- src/main/index.js | 2 +- src/renderer/src/App.vue | 6 +- .../WKM25471-02D装箱单(1) - 副本.xlsx | Bin 0 -> 14380 bytes src/renderer/src/views/shujuguanli.vue | 261 +++++++++++++----- 5 files changed, 199 insertions(+), 73 deletions(-) create mode 100644 src/renderer/src/assets/excel/WKM25471-02D装箱单(1) - 副本.xlsx diff --git a/package.json b/package.json index 2cf89d2..f2b6c72 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "dexie": "^4.0.8", "element-plus": "^2.7.1", "lodash": "^4.17.21", - "vxe-table": "^4.7.87" + "vxe-table": "^4.7.87", + "xlsx": "^0.18.5" }, "devDependencies": { "@rushstack/eslint-patch": "^1.2.0", diff --git a/src/main/index.js b/src/main/index.js index f1e8f34..ec201cd 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -24,7 +24,7 @@ function createWindow() { }) mainWindow.on('ready-to-show', () => { mainWindow.show() - // mainWindow.webContents.openDevTools() + mainWindow.webContents.openDevTools() }) mainWindow.webContents.setWindowOpenHandler((details) => { shell.openExternal(details.url) diff --git a/src/renderer/src/App.vue b/src/renderer/src/App.vue index 17fd3e0..d9eda17 100644 --- a/src/renderer/src/App.vue +++ b/src/renderer/src/App.vue @@ -12,9 +12,7 @@