From 3a91b0b07c8c56d60cc36644f3e8297e70cad0d4 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Tue, 28 Oct 2025 15:04:34 +0800 Subject: [PATCH] =?UTF-8?q?2025-10-28=20pda=E7=94=9F=E4=BA=A7=E9=A2=86?= =?UTF-8?q?=E9=80=80=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/production/production-issue-return.js | 47 ++ src/router/index.js | 10 + src/views/main.vue | 10 + .../productionIssueReturnDetail.vue | 732 ++++++++++++++++++ .../production/productionIssueReturnList.vue | 399 ++++++++++ 5 files changed, 1198 insertions(+) create mode 100644 src/api/production/production-issue-return.js create mode 100644 src/views/modules/production/productionIssueReturnDetail.vue create mode 100644 src/views/modules/production/productionIssueReturnList.vue diff --git a/src/api/production/production-issue-return.js b/src/api/production/production-issue-return.js new file mode 100644 index 0000000..e2c9b46 --- /dev/null +++ b/src/api/production/production-issue-return.js @@ -0,0 +1,47 @@ +import http from '@/utils/httpRequest' + +/** + * 搜索领料工单(模糊查询,返回top3) + */ +export function searchIssueOrders(data) { + return http({ + url: http.adornUrl('/production/issueReturn/searchOrders'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 获取工单详情(包括工序信息) + */ +export function getOrderDetail(data) { + return http({ + url: http.adornUrl('/production/issueReturn/getOrderDetail'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 扫描标签获取信息 + */ +export function scanLabel(data) { + return http({ + url: http.adornUrl('/production/issueReturn/scanLabel'), + method: 'post', + data: http.adornData(data) + }) +} + +/** + * 提交生产领退料 + * 包含:退仓+领料申请+过账+回传ERP + */ +export function submitIssueReturn(data) { + return http({ + url: http.adornUrl('/production/issueReturn/submit'), + method: 'post', + data: http.adornData(data) + }) +} + diff --git a/src/router/index.js b/src/router/index.js index 7f9b8d6..f88fc43 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -76,6 +76,16 @@ const globalRoutes = [ component: resolve => require(["@/views/modules/production/productionReturnStorage.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } }, + // 生产领退料 + { + path: "/productionIssueReturn", name: "productionIssueReturn", + component: resolve => require(["@/views/modules/production/productionIssueReturnList.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } + }, + { + path: "/productionIssueReturnDetail/:buNo/:inboundNo", name: "productionIssueReturnDetail", + component: resolve => require(["@/views/modules/production/productionIssueReturnDetail.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } + }, + // 销售出库 { path: "/salesOutbound", name: "salesOutbound", diff --git a/src/views/main.vue b/src/views/main.vue index 602e726..0257148 100644 --- a/src/views/main.vue +++ b/src/views/main.vue @@ -145,6 +145,12 @@
+ @@ -606,6 +612,10 @@ export default { background: linear-gradient(135deg, #17B3A3 0%, #1dc5ef 100%); } +.menu-icon.production-issue-return { + background: linear-gradient(135deg, #17B3A3 0%, #1dc5ef 100%); +} + .menu-text { font-size: 11px; color: #333; diff --git a/src/views/modules/production/productionIssueReturnDetail.vue b/src/views/modules/production/productionIssueReturnDetail.vue new file mode 100644 index 0000000..8fdeaff --- /dev/null +++ b/src/views/modules/production/productionIssueReturnDetail.vue @@ -0,0 +1,732 @@ + +暂无扫描标签
+暂无生产待退仓物料
+加载中...
+