From 78b79c4b7f7e262d3d10346397627ba516f385c4 Mon Sep 17 00:00:00 2001 From: "han\\hanst" Date: Thu, 10 Jul 2025 13:04:59 +0800 Subject: [PATCH] =?UTF-8?q?HU=E5=92=8C=E7=94=9F=E4=BA=A7=E5=8F=91=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/handlingunit/handlingunit.js | 31 + src/api/po/po.js | 10 + src/api/production/production-issue.js | 28 + src/router/index.js | 4 +- .../handling-unit-management.vue | 1196 +++++++++++++++++ .../production-issue/production-issue-pda.vue | 1166 ++++++++++++++++ 6 files changed, 2433 insertions(+), 2 deletions(-) create mode 100644 src/api/handlingunit/handlingunit.js create mode 100644 src/api/production/production-issue.js create mode 100644 src/views/modules/handling-unit/handling-unit-management.vue create mode 100644 src/views/modules/production-issue/production-issue-pda.vue diff --git a/src/api/handlingunit/handlingunit.js b/src/api/handlingunit/handlingunit.js new file mode 100644 index 0000000..7da5cb1 --- /dev/null +++ b/src/api/handlingunit/handlingunit.js @@ -0,0 +1,31 @@ +import { createAPI } from "@/utils/httpRequest.js"; + +// 查询处理单元列表 +export const getHandlingUnitList = data => createAPI(`handlingunit/getHandlingUnitList`,'post',data) + +// 查询处理单元详情 +export const getHandlingUnitDetail = data => createAPI(`handlingunit/getHandlingUnitDetail`,'post',data) + +// 装Handling Unit(托盘/箱) +export const packHandlingUnit = data => createAPI(`handlingunit/packHandlingUnit`,'post',data) + +// 合并Handling Unit(托盘/箱) +export const mergeHandlingUnit = data => createAPI(`handlingunit/mergeHandlingUnit`,'post',data) + +// 拆Handling Unit(托盘/箱) +export const unpackHandlingUnit = data => createAPI(`handlingunit/unpackHandlingUnit`,'post',data) + +// 立库下的合托 +export const mergePallets = data => createAPI(`handlingunit/mergePallets`,'post',data) + +// 补打印Handling Unit(托盘/箱)标签 +export const reprintLabels = data => createAPI(`handlingunit/reprintLabels`,'post',data) + +// 查看Handling Unit(托盘/箱)货物 +export const viewHandlingUnitGoods = data => createAPI(`handlingunit/viewHandlingUnitGoods`,'post',data) + +// 查询可装箱的单元 +export const getAvailableUnitsForPacking = data => createAPI(`handlingunit/getAvailableUnitsForPacking`,'post',data) + +// 查询可合并的单元 +export const getAvailableUnitsForMerge = data => createAPI(`handlingunit/getAvailableUnitsForMerge`,'post',data) diff --git a/src/api/po/po.js b/src/api/po/po.js index 6fca71e..c38f09a 100644 --- a/src/api/po/po.js +++ b/src/api/po/po.js @@ -6,3 +6,13 @@ export const getPoList = data => createAPI(`po/getPoList`,'post',data) // 接收采购单信息 export const receivePo = data => createAPI(`po/receivePo`,'post',data) + + +// 获取待检验入库单列表 +export const getQualifiedInspectionList = data => createAPI(`inspection/getQualifiedInspectionList`,'post',data) + +// 检验合格入库 +export const confirmQualifiedInbound = data => createAPI(`inspection/confirmQualifiedInbound`,'post',data) + +// 获取检验历史记录 +export const getInboundHistory = data => createAPI(`inspection/getInboundHistory`,'post',data) diff --git a/src/api/production/production-issue.js b/src/api/production/production-issue.js new file mode 100644 index 0000000..3082b6a --- /dev/null +++ b/src/api/production/production-issue.js @@ -0,0 +1,28 @@ + +import { createAPI } from "@/utils/httpRequest.js"; + +// 查询处理单元列表 +export const getWorkOrderMaterials = data => createAPI(`/pda/production/issue/getWorkOrderMaterials`,'post',data) +// 解析物料标签 +export const parseMaterialLabel = data => createAPI(`/pda/production/issue/parseMaterialLabel`,'post',data) +// 直接发料 +export const directIssue = data => createAPI(`/pda/production/issue/directIssue`,'post',data) +// 获取申请单物料列表 +export const getRequestMaterials = data => createAPI(`/pda/production/issue/getRequestMaterials`,'post',data) +// 基于申请单发料 +export const requestIssue = data => createAPI(`/pda/production/issue/requestIssue`,'post',data) +// 创建拣选托盘 +export const createPickingPallet = data => createAPI(`/pda/production/issue/createPickingPallet`,'post',data) +// 绑定处理单元到托盘 +export const bindUnitsToPallet = data => createAPI(`/pda/production/issue/bindUnitsToPallet`,'post',data) +// 打印托盘标签 +export const printPalletLabel = data => createAPI(`/pda/production/issue/printPalletLabel`,'post',data) +// 获取托盘信息 +export const getPalletInfo = data => createAPI(`/pda/production/issue/getPalletInfo`,'post',data) +// 获取发料历史记录 +export const getIssueHistory = data => createAPI(`/pda/production/issue/getIssueHistory`,'post',data) +// 验证工单状态 +export const validateWorkOrder = data => createAPI(`/pda/production/issue/validateWorkOrder`,'post',data) +// 验证申请单状态 +export const validateNotify = data => createAPI(`/pda/production/issue/validateNotify`,'post',data) + diff --git a/src/router/index.js b/src/router/index.js index 4120e7e..4f313a3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -32,9 +32,9 @@ const globalRoutes = [ // V1 // handlingunit - {path: "/handlingunit",name: "handlingunit", component: resolve => require(["@/views/modules/handling-unit/index.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + {path: "/handlingunit",name: "handlingunit", component: resolve => require(["@/views/modules/handling-unit/handling-unit-management.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, // 生产发料 - {path: "/productionissue",name: "productionissue", component: resolve => require(["@/views/modules/production-issue/index.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, + {path: "/productionissue",name: "productionissue", component: resolve => require(["@/views/modules/production-issue/production-issue-pda.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, {path: '/production-issue/pick/:orderNo', name: 'ProductionIssuePick',component: resolve => require(["@/views/modules/production-issue/pick.vue"], resolve), meta: { transition: 'instant' ,preload: true,keepAlive: true}}, diff --git a/src/views/modules/handling-unit/handling-unit-management.vue b/src/views/modules/handling-unit/handling-unit-management.vue new file mode 100644 index 0000000..af2bcf2 --- /dev/null +++ b/src/views/modules/handling-unit/handling-unit-management.vue @@ -0,0 +1,1196 @@ + + + + + diff --git a/src/views/modules/production-issue/production-issue-pda.vue b/src/views/modules/production-issue/production-issue-pda.vue new file mode 100644 index 0000000..b07cf8b --- /dev/null +++ b/src/views/modules/production-issue/production-issue-pda.vue @@ -0,0 +1,1166 @@ + + + + +