From d6f45a63f6a69cae8a8a7a8d2ff9874c43db9b90 Mon Sep 17 00:00:00 2001 From: zhaoxiaolin Date: Thu, 9 Jan 2025 17:26:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=90=E5=9E=8B=E6=9C=BA=E4=BA=A7=E9=87=8F?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/mes/reportWorks.js | 17 +- src/api/quality/checkTypeProject.js | 5 +- src/views/mes/cxjProduction/index.vue | 264 +++++++++++++++++++ src/views/mes/hFProduction/index.vue | 38 ++- src/views/mes/hourProduction/index.vue | 47 +++- src/views/plan/workorder/index.vue | 1 + src/views/quality/checkTypeProject/index.vue | 23 +- src/views/quality/produceReport/index.vue | 20 +- 8 files changed, 375 insertions(+), 40 deletions(-) create mode 100644 src/views/mes/cxjProduction/index.vue diff --git a/src/api/mes/reportWorks.js b/src/api/mes/reportWorks.js index 4b44e92..316a9ec 100644 --- a/src/api/mes/reportWorks.js +++ b/src/api/mes/reportWorks.js @@ -16,7 +16,7 @@ export function getProductTraceList(query) { }); } -//查询烘房生产列表 +//查询烘房产量列表 export function getHFProductionList(query) { return request({ url: '/mes/reportWorks/getHFProductionList', @@ -31,3 +31,18 @@ export function getHFProductionTitle(query) { params: query }); } +//查询成型机产量列表 +export function getCXJProductionList(query) { + return request({ + url: '/mes/reportWorks/getCXJProductionList', + method: 'get', + params: query + }); +} +export function getCXJProductionTitle(query) { + return request({ + url: '/mes/reportWorks/getCXJProductionTitle', + method: 'get', + params: query + }); +} \ No newline at end of file diff --git a/src/api/quality/checkTypeProject.js b/src/api/quality/checkTypeProject.js index a5971d7..e4b0ea2 100644 --- a/src/api/quality/checkTypeProject.js +++ b/src/api/quality/checkTypeProject.js @@ -74,10 +74,11 @@ export function getProjectInfoList(query) { }); } //方案下拉 -export function getProjectOptions(query) { +export function getAutoDataOption(query) { return request({ - url: '/quality/checkTypeProject/getProjectOptions', + url: '/quality/checkTypeProject/getAutoDataOption', method: 'get', params: query }); } + diff --git a/src/views/mes/cxjProduction/index.vue b/src/views/mes/cxjProduction/index.vue new file mode 100644 index 0000000..beec889 --- /dev/null +++ b/src/views/mes/cxjProduction/index.vue @@ -0,0 +1,264 @@ + + + diff --git a/src/views/mes/hFProduction/index.vue b/src/views/mes/hFProduction/index.vue index 48dbf37..d5f2947 100644 --- a/src/views/mes/hFProduction/index.vue +++ b/src/views/mes/hFProduction/index.vue @@ -11,8 +11,8 @@ + + + + - - - 搜索 @@ -136,7 +153,11 @@ export default { // 表单参数 form: {}, // 班次list - workShift: [] + workShift: [], + equipmentTypeOption:[ + {equipmentTypeCode:"equ_type_cxj",equipmentTypeCode:"成型机"}, + {equipmentTypeCode:"equ_type_hf",equipmentTypeCode:"烘房"} + ] }; }, created() { @@ -270,7 +291,13 @@ export default { }); return sums; - } + }, + //在选择设备类型控制筛选条件 + //changeEquType(value) { + // if (value =='equ_type_cxj') { + // this.headerParameters.lineName = selectedOption.equipmentName; + // } + //} } }; diff --git a/src/views/plan/workorder/index.vue b/src/views/plan/workorder/index.vue index 896c6fe..c16e75e 100644 --- a/src/views/plan/workorder/index.vue +++ b/src/views/plan/workorder/index.vue @@ -251,6 +251,7 @@ + diff --git a/src/views/quality/checkTypeProject/index.vue b/src/views/quality/checkTypeProject/index.vue index d564fbc..7642a73 100644 --- a/src/views/quality/checkTypeProject/index.vue +++ b/src/views/quality/checkTypeProject/index.vue @@ -103,6 +103,7 @@ v-loading="loading" :data="checkTypeProjectList" @selection-change="handleSelectionChange" + height="500" > {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} - - + + @@ -222,8 +223,14 @@ - - + + +