From cf85672a231e2e4f1599b60e44c9d21496dbc250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?LAPTOP-S9HJSOEB=5C=E6=98=8A=E5=A4=A9?= Date: Thu, 19 Nov 2026 11:23:58 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=A2=9E=E5=8A=A0=E6=B8=85=E7=A9=BA=E7=9B=98?= =?UTF-8?q?=E7=82=B9=202.=E7=9B=B8=E6=9C=BA=E7=BC=93=E5=AD=98=203.?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=A4=A7=E5=B0=8F=E5=92=8Crfid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/logistics/stock/index.ts | 5 ++ src/components/camera/camera.vue | 51 ++++++++++++++-- src/utils/dict.ts | 1 + src/views/Home/Index.vue | 53 +++++++++++++++-- src/views/Login/SocialLogin.vue | 2 +- src/views/Login/components/LoginForm.vue | 4 +- src/views/annotation/train/index.vue | 10 ++++ src/views/logistics/cameraTree/index.vue | 5 +- src/views/logistics/checklog/index.vue | 16 ++--- src/views/logistics/stock/index.vue | 40 +++++++++++-- src/views/logistics/street/StreetForm.vue | 13 ++-- .../logistics/street/components/RfidForm.vue | 59 +++++++++++++++++-- src/views/logistics/warn/index.vue | 30 ++++++++-- 13 files changed, 250 insertions(+), 39 deletions(-) diff --git a/src/api/logistics/stock/index.ts b/src/api/logistics/stock/index.ts index d4917e2..10f2eca 100644 --- a/src/api/logistics/stock/index.ts +++ b/src/api/logistics/stock/index.ts @@ -81,6 +81,11 @@ export const StockApi = { return await request.delete({ url: `/logistics/stock/delete?id=` + id }) }, + // 清空盘点数据 + truncateStock: async () => { + return await request.delete({ url: `/logistics/stock/truncate` }) + }, + // 导出盘点状态 Excel exportStock: async (params) => { return await request.download({ url: `/logistics/stock/export-excel`, params }) diff --git a/src/components/camera/camera.vue b/src/components/camera/camera.vue index daa0c53..efbc7e3 100644 --- a/src/components/camera/camera.vue +++ b/src/components/camera/camera.vue @@ -1,7 +1,18 @@