From 3e3bff4d59839effb9ce85d857afc4bee47e380a Mon Sep 17 00:00:00 2001 From: rui_li <877258667@qq.com> Date: Tue, 7 Dec 2021 13:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/yieldReport/com_finish_roll.js | 42 +++ .../modules/yieldReport/com_finish_roll.vue | 276 ++++++++++++++---- .../yieldReport/com_produce_report_normal.vue | 15 +- .../modules/yieldReport/produce_order.vue | 2 +- 4 files changed, 272 insertions(+), 63 deletions(-) create mode 100644 src/api/yieldReport/com_finish_roll.js diff --git a/src/api/yieldReport/com_finish_roll.js b/src/api/yieldReport/com_finish_roll.js new file mode 100644 index 0000000..646ed9f --- /dev/null +++ b/src/api/yieldReport/com_finish_roll.js @@ -0,0 +1,42 @@ +import { createAPI } from '@/utils/httpRequest.js' + +// 获取当前的卷的报工汇总数据 +export const getCurrentRollReportedQty = data => createAPI('schedule/getCurrentRollReportedQty', '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_finish_roll.vue b/src/views/modules/yieldReport/com_finish_roll.vue index 995593b..52ac368 100644 --- a/src/views/modules/yieldReport/com_finish_roll.vue +++ b/src/views/modules/yieldReport/com_finish_roll.vue @@ -9,7 +9,7 @@ @@ -20,7 +20,7 @@ 列表 - + 刷新 @@ -39,19 +39,19 @@ 卷数量统计 是否报告产量 + v-model="pageData.reportedFlag">是否报告产量 - + - + - + - + @@ -59,16 +59,16 @@ style="margin-left: 510px; margin-top: -70px; ;width: 390px;"> 人员排程班次信息 - + - + - + - + @@ -80,13 +80,13 @@ - + - + - + @@ -94,13 +94,13 @@ - + - + - + @@ -108,13 +108,13 @@ - + - + - + @@ -127,19 +127,19 @@ - + - + - + - + - + @@ -147,19 +147,19 @@ - + - + - + - + - + @@ -167,10 +167,10 @@ - + - + @@ -213,22 +213,33 @@