diff --git a/src/api/haianAutoWarehouse/palletVerify.js b/src/api/haianAutoWarehouse/palletVerify.js new file mode 100644 index 0000000..04c3684 --- /dev/null +++ b/src/api/haianAutoWarehouse/palletVerify.js @@ -0,0 +1,13 @@ +import { createAPI } from '@/utils/httpRequest.js' + +/** + * 海安手工复核:扫描托盘,没有未完成复核任务时后端拒绝 - rqrq + * @param {Object} data 必须包含 site、palletId - rqrq + */ +export const scanPalletVerify = data => createAPI('/autoWareHourceHaian/haiAnPalletVerify/scan', 'post', data) + +/** + * 海安手工复核:通知回库。成功后这一托任务完成并释放占用 - rqrq + * @param {Object} data 必须包含 site、palletId - rqrq + */ +export const notifyPalletVerifyReturn = data => createAPI('/autoWareHourceHaian/haiAnPalletVerify/notifyReturn', 'post', data) diff --git a/src/router/index.js b/src/router/index.js index 46157a4..aaf8048 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -153,6 +153,8 @@ const globalRoutes = [ {path: "/haianCallOutToStation",name: "haianCallOutToStation", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianCallOutToStation.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/haianPalletPacking",name: "haianPalletPacking", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletPacking.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/haianPalletSorting",name: "haianPalletSorting", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletSorting.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + // 海安手工复核托盘:每次进入重新扫描,不保留上一托 - rqrq + {path: "/haianPalletVerify",name: "haianPalletVerify", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletVerify.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: false}}, {path: "/haianPalletSearch",name: "haianPalletSearch", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletSearch.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: "/haianPalletChangeStation",name: "haianPalletChangeStation", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletChangeStation.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, // 海安缓存区齐套运输独立页面;重新进入读取当前区域和可调用托盘。- rqrq diff --git a/src/views/main.vue b/src/views/main.vue index f1bbfec..b5bbfd2 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -181,6 +181,12 @@
+