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 @@
+ +