From 6730f1e4e16d7930230639176a33d4f599a88381 Mon Sep 17 00:00:00 2001 From: 李林 <z1292839451@163.com> Date: 星期日, 10 十二月 2023 18:15:38 +0800 Subject: [PATCH] 工作台报工选库调整 --- src/views/product/workbench/workReportCard.vue | 5 ++++- src/api/product/handymantype.js | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/api/product/handymantype.js b/src/api/product/handymantype.js index 09b43ea..cf10be1 100644 --- a/src/api/product/handymantype.js +++ b/src/api/product/handymantype.js @@ -124,13 +124,14 @@ return request({ url: '/mes/product/isProductionCounting', method: 'get', - params: query + params: query }) } -export function qualifiedLocation(id) { +export function qualifiedLocation(query) { return request({ - url: '/mes/product/qualifiedLocation/' + id, - method: 'get' + url: '/mes/product/qualifiedLocation', + method: 'get', + params: query }) } diff --git a/src/views/product/workbench/workReportCard.vue b/src/views/product/workbench/workReportCard.vue index f31dab9..e5ef4cc 100644 --- a/src/views/product/workbench/workReportCard.vue +++ b/src/views/product/workbench/workReportCard.vue @@ -3266,7 +3266,10 @@ this.$message.error('鏈�澶氬彧鑳介�夋嫨1鏉¤褰曡繘琛屾彁浜わ紒') return false } else { - qualifiedLocation(this.multipleSelection[0].workstationId).then(res => { + qualifiedLocation({ + workstationId: this.multipleSelection[0].workstationId, + operationTaskId: this.currOperateTask.id + }).then(res => { this.options = res.data.data if (this.options.length > 1) { this.dialogVisible = true -- Gitblit v1.9.3