From acc7ecd25a9df37f13379556e3965549a472d9f7 Mon Sep 17 00:00:00 2001 From: fengyuan_yang <1976974459@qq.com> Date: Wed, 15 Apr 2026 11:20:32 +0800 Subject: [PATCH] =?UTF-8?q?2026-04-15=20=E5=90=AF=E7=94=A8=E7=94=B3?= =?UTF-8?q?=E8=AF=B7=E5=8D=95=E9=80=80=E4=BB=93=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/production/production-return2.js | 4 + src/router/index.js | 8 + .../modules/production/production-return.vue | 2 +- .../productionApplicationReturnList.vue | 412 +++++ .../productionApplicationReturnStorage.vue | 1454 +++++++++++++++++ 5 files changed, 1879 insertions(+), 1 deletion(-) create mode 100644 src/views/modules/production/productionApplicationReturnList.vue create mode 100644 src/views/modules/production/productionApplicationReturnStorage.vue diff --git a/src/api/production/production-return2.js b/src/api/production/production-return2.js index 227bfde..4397b6d 100644 --- a/src/api/production/production-return2.js +++ b/src/api/production/production-return2.js @@ -1,6 +1,10 @@ import { createAPI } from "@/utils/httpRequest.js"; +export const getApplicationReturnList = data => createAPI(`productionReturn/getApplicationReturnList`, 'post', data) + +export const getApplicationReturnDetails = data => createAPI(`productionReturn/getApplicationReturnDetails`, 'post', data) + export const getQualifiedReturnList = data => createAPI(`productionReturn/getQualifiedReturnList`, 'post', data) export const getReturnDetails = data => createAPI(`productionReturn/getReturnDetails`, 'post', data) diff --git a/src/router/index.js b/src/router/index.js index f88fc43..db08384 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -75,6 +75,14 @@ const globalRoutes = [ path: "/productionReturnStorage/:buNo/:inboundNo", name: "productionReturnStorage", component: resolve => require(["@/views/modules/production/productionReturnStorage.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } }, + { + path: "/productionApplicationReturnList", name: "productionApplicationReturnList", + component: resolve => require(["@/views/modules/production/productionApplicationReturnList.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } + }, + { + path: "/productionApplicationReturnStorage/:searchCode", name: "productionApplicationReturnStorage", + component: resolve => require(["@/views/modules/production/productionApplicationReturnStorage.vue"], resolve), meta: { transition: 'instant', preload: true, keepAlive: true } + }, // 生产领退料 { diff --git a/src/views/modules/production/production-return.vue b/src/views/modules/production/production-return.vue index 855ae9e..153afef 100644 --- a/src/views/modules/production/production-return.vue +++ b/src/views/modules/production/production-return.vue @@ -33,7 +33,7 @@ export default { data() { return { buttons: [ - { icon: 'scan', label: '申请单退仓', iconClass: 'purchase', to: 'productionQualifiedReturn', disabled: true }, + { icon: 'scan', label: '申请单退仓', iconClass: 'purchase', to: 'productionApplicationReturnList', disabled: false }, { icon: 'records', label: '直接退仓', iconClass: 'qualified', to: 'productionQualifiedReturn', disabled: false }, ] } diff --git a/src/views/modules/production/productionApplicationReturnList.vue b/src/views/modules/production/productionApplicationReturnList.vue new file mode 100644 index 0000000..b986d2c --- /dev/null +++ b/src/views/modules/production/productionApplicationReturnList.vue @@ -0,0 +1,412 @@ + + + + + + + 退库扫描 + + + 首页 + + + + + + + + + + + + + 变动单号 + {{ item.transactionId }} + + + + + 标签张数 + {{ item.labelCount }} + + + 物料总数 + {{ item.totalQty }} + + + 操作员 + {{ item.transactionBy }} + + + 变动日期 + {{ formatDate(item.transactionDate) }} + + + + + + + + 暂无退仓数据 + + + + + + 加载中... + + + + + + + + diff --git a/src/views/modules/production/productionApplicationReturnStorage.vue b/src/views/modules/production/productionApplicationReturnStorage.vue new file mode 100644 index 0000000..e84d87f --- /dev/null +++ b/src/views/modules/production/productionApplicationReturnStorage.vue @@ -0,0 +1,1454 @@ + + + + + + + 退库扫描 + + + 首页 + + + + + + + + + + + {{ '移除' }} + {{ '添加' }} + + + + + + + 变动单号 + {{ materialInfo.transactionId }} + + + + + 标签张数 + {{ materialInfo.labelCount }} + + + 物料总数 + {{ materialInfo.totalQty }} + + + 操作员 + {{ materialInfo.transactionBy }} + + + 变动日期 + {{ formatDate(materialInfo.transactionDate) }} + + + + + + + + + 退料信息确认 + + + + + + + + + + NO. + 标签条码 + 物料编码 + 标签数量 + + + + + {{ labelList.length - index }} + {{ label.labelCode }} + {{ label.partNo }} + {{ label.quantity }} + + + + + 暂无扫描标签 + + + + + + + + 确定 + + + 打印 + + + 取消 + + + + + + + + 扫描库位号 + + + + + + + + + + + + + + + + + + + + 物料清单 + + + + + + + + 加载中... + + + + + + NO. + + 物料编码 + 物料名称 + 需求数量 + 已入库数 + 扫描数量 + + + + + {{ index + 1 }} + + {{ item.materialCode || item.partNo }} + + {{ item.materialName || '-' }} + + {{ item.requiredQty || 0 }} + {{ item.pickedQty || 0 }} + {{ item.scansQty || 0 }} + + + + + + + + 暂无物料数据 + + + + + + + + + {{ currentPartName }} + + + + + + + +
暂无退仓数据
加载中...
暂无扫描标签
暂无物料数据