From 8d2a8ea7841b5ec06576055e22789698e211928b 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, 19 Oct 2026 17:29:29 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9D=9F=E5=88=86=E6=8B=A3=E8=A7=A3?= =?UTF-8?q?=E5=BC=80=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/haianAutoWarehouse/labelWriteOff.js | 13 + src/router/index.js | 2 + src/views/main.vue | 7 + .../automatedWarehouse/palletSortingNoAgv.vue | 2 +- .../haianAutoWarehouse/haianLabelWriteOff.vue | 578 ++++++++++++++++++ .../haianPalletRelocate.vue | 80 ++- src/views/modules/inventory/label-query.vue | 54 +- 7 files changed, 719 insertions(+), 17 deletions(-) create mode 100644 src/api/haianAutoWarehouse/labelWriteOff.js create mode 100644 src/views/modules/haianAutoWarehouse/haianLabelWriteOff.vue diff --git a/src/api/haianAutoWarehouse/labelWriteOff.js b/src/api/haianAutoWarehouse/labelWriteOff.js new file mode 100644 index 0000000..c8d50f8 --- /dev/null +++ b/src/api/haianAutoWarehouse/labelWriteOff.js @@ -0,0 +1,13 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +/** + * 海安标签特殊销账:扫描标签查询库存信息,不改业务数据 - rqrq + * @param {Object} data 必须包含 site、serialNo - rqrq + */ +export const queryLabelForWriteOff = data => createAPI(`/haiAnWcsIntegration/queryLabelForWriteOff`, 'post', data) + +/** + * 海安标签特殊销账:确认后把 in_stock_flag 改成 N;标签仍在托盘明细时由后端拒绝 - rqrq + * @param {Object} data 必须包含 site、serialNo - rqrq + */ +export const writeOffLabel = data => createAPI(`/haiAnWcsIntegration/writeOffLabel`, 'post', data) diff --git a/src/router/index.js b/src/router/index.js index b4846c2..46157a4 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -166,6 +166,8 @@ const globalRoutes = [ {path: "/haianPalletManualMove",name: "haianPalletManualMove", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletManualMove.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/haianPalletRelocate",name: "haianPalletRelocate", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletRelocate.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/haianPalletSpecialEdit",name: "haianPalletSpecialEdit", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletSpecialEdit.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + // 海安标签特殊销账:每次进入清空缓存并重新校验密码,禁止 keepAlive 残留上一张标签 - rqrq + {path: "/haianLabelWriteOff",name: "haianLabelWriteOff", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianLabelWriteOff.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: false}}, {path: "/haianWmsCancelReserve",name: "haianWmsCancelReserve", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianWmsCancelReserve.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/haianCallOutForHetuo",name: "haianCallOutForHetuo", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianCallOutForHetuo.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, // 海安立库手工盘点页面(固定工厂54)- rqrq diff --git a/src/views/main.vue b/src/views/main.vue index 5519123..c668d72 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -233,6 +233,13 @@ + +