From 549799903fe9e95618d40edd7c13a25c422ec882 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Tue, 21 Dec 2021 18:40:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E6=9D=90=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yieldReport/com_produce_material.js | 42 ++++++++++ .../yieldReport/com_produce_material.vue | 78 +++++++++++++------ 2 files changed, 97 insertions(+), 23 deletions(-) create mode 100644 src/api/yieldReport/com_produce_material.js diff --git a/src/api/yieldReport/com_produce_material.js b/src/api/yieldReport/com_produce_material.js new file mode 100644 index 0000000..ad60ec6 --- /dev/null +++ b/src/api/yieldReport/com_produce_material.js @@ -0,0 +1,42 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 获取当前BOM行号 +export const getBomItemNosByPartNo = data => createAPI('schedule/getBomItemNosByPartNo', 'POST', data) + +// 获取上机卷的时间信息汇总 +export const countSfdcTimeQty = data => createAPI('schedule/countSfdcTimeQty', 'POST', data) + +// 获取派工单的班次信息 +export const getScheduleShiftData = data => createAPI('schedule/getScheduleShiftData', 'POST', data) + +// 获取sfdc表的时间信息汇总 +export const getSfdcTimeData = data => createAPI('schedule/getSfdcTimeData', 'POST', data) + +// 获取当前时间记录信息 +export const getSfdcTimeMaxAndMinTime = data => createAPI('schedule/getSfdcTimeMaxAndMinTime', 'POST', data) + +// 获取当前卷sfdc表的报工数据 +export const getSfdcReportedData = data => createAPI('schedule/getSfdcReportedData', 'POST', data) + +// 获取当前卷的材料记录--在线的 +export const getSfdcMaterialByRollNo = data => createAPI('schedule/getSfdcMaterialByRollNo', 'POST', data) + +// 获取当前派工单的材料记录 +export const getSfdcMaterialByCon = data => createAPI('schedule/getSfdcMaterialByCon', 'POST', data) + +// 获取当前派工单的上机卷记录 +export const getSfdcRollOpsByCon = data => createAPI('schedule/getSfdcRollOpsByCon', 'POST', data) + +// 获取当前派工单的不良卷记录 +export const getSfdcDefectByCon = data => createAPI('schedule/getSfdcDefectByCon', 'POST', data) + +// 获取当前上机卷信息 +export const getSfdcRollByCon = data => createAPI('schedule/getSfdcRollByCon', 'POST', data) + + + + + + + + diff --git a/src/views/modules/yieldReport/com_produce_material.vue b/src/views/modules/yieldReport/com_produce_material.vue index 1165298..a9b2689 100644 --- a/src/views/modules/yieldReport/com_produce_material.vue +++ b/src/views/modules/yieldReport/com_produce_material.vue @@ -19,10 +19,10 @@ - + @@ -33,7 +33,7 @@ - 确定 + 确定 关闭 @@ -41,12 +41,15 @@