From 8fc9532f4b7eefd3f2896ceefe2fd55971990aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AD=A3=E6=98=93?= Date: Wed, 6 Aug 2025 17:18:44 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E7=89=A9=E6=96=99=E7=AE=A1=E7=90=86):=20?= =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E6=B6=82=E8=A3=85=E7=89=A9=E6=96=99=E6=94=B6?= =?UTF-8?q?=E9=80=80=E6=96=99=E5=8A=9F=E8=83=BD=E5=8F=8A=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重命名queryCallMaterialMRP为queryCallMaterialMRPList以保持命名一致性 - 新增queryCallReceiveList接口用于获取收料清单 - 在paint_receive.vue中实现完整的收退料功能,包括: - 动态获取线体选项 - 调用真实API获取收料数据 - 实现收料和退料操作 - 移除模拟数据,使用真实接口返回的数据结构 --- api/mmcall/index.js | 12 +- .../paintMaterial/paint_call.vue | 4 +- .../paintMaterial/paint_receive.vue | 177 ++++++++++++------ 3 files changed, 133 insertions(+), 60 deletions(-) diff --git a/api/mmcall/index.js b/api/mmcall/index.js index 18985e9..568cee2 100644 --- a/api/mmcall/index.js +++ b/api/mmcall/index.js @@ -10,9 +10,17 @@ export function getMmCallList(params) { } // 查询线别MRP表 -export function queryCallMaterialMRP(params) { +export function queryCallMaterialMRPList(params) { return request({ - url: '/mes/materialManagement/paintedparts_call/mmcall/QueryCallMaterialMRP', + url: '/mes/materialManagement/paintedparts_call/mmcall/QueryCallMaterialMRPList', + method: 'get', + params + }) +} +// 查询线别收料表 +export function queryCallReceiveList(params) { + return request({ + url: '/mes/materialManagement/paintedparts_call/mmcall/QueryCallReceiveList', method: 'get', params }) diff --git a/pages/produceManagement/paintMaterial/paint_call.vue b/pages/produceManagement/paintMaterial/paint_call.vue index 5acb7be..4ad0fac 100644 --- a/pages/produceManagement/paintMaterial/paint_call.vue +++ b/pages/produceManagement/paintMaterial/paint_call.vue @@ -81,7 +81,7 @@