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 @@ - - + + +