From 9b0ef6c1fd7127429c04fab53d4925136bd93332 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Mon, 27 Oct 2025 16:09:35 +0800 Subject: [PATCH] =?UTF-8?q?2025-10-27=20=E4=BB=93=E5=BA=93=E7=9B=98?= =?UTF-8?q?=E7=82=B9=E7=AE=A1=E7=90=86PDA=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/warehouse/countingWIP.js | 57 ++ src/router/index.js | 10 + src/views/main.vue | 4 +- .../modules/warehouse/countingDetail.vue | 741 ++++++++++++++++++ src/views/modules/warehouse/countingList.vue | 368 +++++++++ 5 files changed, 1178 insertions(+), 2 deletions(-) create mode 100644 src/api/warehouse/countingWIP.js create mode 100644 src/views/modules/warehouse/countingDetail.vue create mode 100644 src/views/modules/warehouse/countingList.vue diff --git a/src/api/warehouse/countingWIP.js b/src/api/warehouse/countingWIP.js new file mode 100644 index 0000000..532b281 --- /dev/null +++ b/src/api/warehouse/countingWIP.js @@ -0,0 +1,57 @@ +import http from '@/utils/httpRequest' + +/** + * 查询当天的盘点单列表 + */ +export function countingWIPTodayList(data) { + return http({ + url: http.adornUrl('/warehouse/countingWIP/todayList'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 根据盘点单号查询WIP数据 + */ +export function countingWIPList(data) { + return http({ + url: http.adornUrl('/warehouse/countingWIP/wipList'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 扫描标签 + */ +export function countingWIPScanLabel(data) { + return http({ + url: http.adornUrl('/warehouse/countingWIP/scanLabel'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 更新盘点数量 + */ +export function countingWIPUpdateCheckedQty(data) { + return http({ + url: http.adornUrl('/warehouse/countingWIP/updateCheckedQty'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 确认盘点 + */ +export function countingWIPConfirmCounting(data) { + return http({ + url: http.adornUrl('/warehouse/countingWIP/confirmCounting'), + method: 'post', + data: http.adornData(data) + }) +} + diff --git a/src/router/index.js b/src/router/index.js index 90078d3..7f9b8d6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -148,6 +148,16 @@ const globalRoutes = [ component: resolve => require(["@/views/modules/cross-area-transfer/crossAreaTransfer.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } }, + // 库内盘点 + { + path: "/countingList", name: "countingList", + component: resolve => require(["@/views/modules/warehouse/countingList.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } + }, + { + path: "/countingDetail", name: "countingDetail", + component: resolve => require(["@/views/modules/warehouse/countingDetail.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } + }, + ] // 主入口路由(需嵌套上左右整体布局) diff --git a/src/views/main.vue b/src/views/main.vue index 95391c0..602e726 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -133,11 +133,11 @@
-