diff --git a/src/api/haianAutoWarehouse/cancelWcsPallet.js b/src/api/haianAutoWarehouse/cancelWcsPallet.js new file mode 100644 index 0000000..21e8f4d --- /dev/null +++ b/src/api/haianAutoWarehouse/cancelWcsPallet.js @@ -0,0 +1,12 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// ========== 海安-取消WCS组盘相关接口 ========== - rqrq + +// 海安-检查栈板组盘状态(返回callingFlag/canOperate/isEmpty)- rqrq +export const checkPalletWcsStatus = data => createAPI(`/haiAnWcsIntegration/checkPalletWcsStatus`, 'post', data) + +// 海安-取消组盘 - rqrq +export const cancelWcsPallet = data => createAPI(`/haiAnWcsIntegration/cancelWcsPallet`, 'post', data) + +// 海安-移出全部物料 - rqrq +export const removeAllPalletDetails = data => createAPI(`/haiAnWcsIntegration/removeAllPalletDetails`, 'post', data) diff --git a/src/api/haianAutoWarehouse/emptyPalletAssembly.js b/src/api/haianAutoWarehouse/emptyPalletAssembly.js new file mode 100644 index 0000000..5409d91 --- /dev/null +++ b/src/api/haianAutoWarehouse/emptyPalletAssembly.js @@ -0,0 +1,15 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// ========== 海安-空托盘组盘相关接口 ========== - rqrq + +// 海安-检查是否为空托盘(haian_pallet_detail无数据)- rqrq +export const checkEmptyPallet = data => createAPI(`/haiAnWcsIntegration/checkEmptyPallet`, 'post', data) + +// 海安-获取托盘类型列表(兼容旧页面接口名)- rqrq +export const getPalletTypes = data => createAPI(`/haiAnWcsIntegration/getPalletTypes`, 'post', data) + +// 海安-更新托盘类型与自动分拣标识 - rqrq +export const updatePalletTypeAndAutoSort = data => createAPI(`/haiAnWcsIntegration/updatePalletTypeAndAutoSort`, 'post', data) + +// 海安-空托盘通知入库(transportFlag=N仅入库,Y入库并运输)- rqrq +export const notifyEmptyPalletInbound = data => createAPI(`/haiAnWcsIntegration/notifyEmptyPalletInbound`, 'post', data) diff --git a/src/api/haianAutoWarehouse/palletMerge.js b/src/api/haianAutoWarehouse/palletMerge.js new file mode 100644 index 0000000..003f05c --- /dev/null +++ b/src/api/haianAutoWarehouse/palletMerge.js @@ -0,0 +1,15 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// ========== 海安-合托相关接口 ========== - rqrq + +// 海安-校验托盘(来源/目标通用)- rqrq +export const checkPalletForMerge = data => createAPI(`/haiAnWcsIntegration/checkPalletForMerge`, 'post', data) + +// 海安-校验目标托盘类型是否为混装托盘 - rqrq +export const checkTargetPalletType = data => createAPI(`/haiAnWcsIntegration/checkTargetPalletType`, 'post', data) + +// 海安-查询托盘明细(用于合托查看)- rqrq +export const getPalletDetailForMerge = data => createAPI(`/haiAnWcsIntegration/getPalletDetailForMerge`, 'post', data) + +// 海安-执行合托(来源托盘明细并入目标托盘)- rqrq +export const executePalletMerge = data => createAPI(`/haiAnWcsIntegration/executePalletMerge`, 'post', data) diff --git a/src/router/index.js b/src/router/index.js index 886ce7b..a348e94 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -154,6 +154,9 @@ const globalRoutes = [ {path: "/haianPalletSorting",name: "haianPalletSorting", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletSorting.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {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}}, + {path: "/haianEmptyPalletAssembly",name: "haianEmptyPalletAssembly", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianEmptyPalletAssembly.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + {path: "/haianCancelWcsPallet",name: "haianCancelWcsPallet", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianCancelWcsPallet.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + {path: "/haianPalletMerge",name: "haianPalletMerge", component: resolve => require(["@/views/modules/haianAutoWarehouse/haianPalletMerge.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, ] diff --git a/src/views/main.vue b/src/views/main.vue index fe8ce9e..b35f4e1 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -157,6 +157,24 @@
+ + +