From 58981cbf4e2e91ec45697ab50e07b19ee9eacdfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B8=B8=E7=86=9F=E5=90=B4=E5=BD=A6=E7=A5=96?= Date: Mon, 16 Mar 2026 17:22:49 +0800 Subject: [PATCH] =?UTF-8?q?feat(rfid):=20=E6=B7=BB=E5=8A=A0RFID=E6=97=A5?= =?UTF-8?q?=E5=B8=B8=E7=9B=98=E7=82=B9=E7=BB=93=E6=9E=9C=E7=94=9F=E6=88=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增generateCountResultFromSnapshot API接口用于从RFID快照生成盘点结果 - 在rfidDailyCountResult页面添加生成盘点结果按钮和相关功能 - 实现生成盘点结果的确认对话框和加载状态处理 - 添加生成过程中的错误处理和成功提示 - 在搜索物理盘点页面添加日常盘点类型的筛选选项 --- src/api/check/rfidCount.js | 3 ++ .../modules/check/rfidDailyCountResult.vue | 52 ++++++++++++++++++- .../modules/check/searchPhysicalInventory.vue | 1 + 3 files changed, 55 insertions(+), 1 deletion(-) diff --git a/src/api/check/rfidCount.js b/src/api/check/rfidCount.js index 7c173df..3b94851 100644 --- a/src/api/check/rfidCount.js +++ b/src/api/check/rfidCount.js @@ -12,3 +12,6 @@ export const searchRfidCountDetailList = data => createAPI(`/check/rfidCount/sea // 查询RFID日常入库盘点结果列表 - rqrq export const searchRfidCountSnapshotList = data => createAPI(`/check/rfidCount/searchRfidCountSnapshotList`, 'post', data) + +// 从RFID快照生成盘点结果 - rqrq +export const generateCountResultFromSnapshot = data => createAPI(`/check/rfidCount/generateCountResultFromSnapshot`, 'post', data) diff --git a/src/views/modules/check/rfidDailyCountResult.vue b/src/views/modules/check/rfidDailyCountResult.vue index d0e4954..816aa81 100644 --- a/src/views/modules/check/rfidDailyCountResult.vue +++ b/src/views/modules/check/rfidDailyCountResult.vue @@ -43,6 +43,15 @@ 查询 + + + {{ generateLoading ? '生成中...' : '生成盘点结果' }} + + @@ -181,7 +190,8 @@