diff --git a/src/views/report/productTraceabilityReport/index.vue b/src/views/report/productTraceabilityReport/index.vue index beab3c4..0eb9937 100644 --- a/src/views/report/productTraceabilityReport/index.vue +++ b/src/views/report/productTraceabilityReport/index.vue @@ -69,16 +69,16 @@ - - - - - - - - - - + + 导出 + + @@ -320,9 +320,9 @@ export default { /** 导出按钮操作 */ handleExport() { - this.download('/report/productionReport/export', { + this.download('/report/qualityReport/productTraceabilityReportList/export', { ...this.queryParams - }, `report_${new Date().getTime()}.xlsx`) + }, `产品追溯报表_${new Date().getTime()}.xlsx`) } } diff --git a/src/views/report/productionExecutionReport/index.vue b/src/views/report/productionExecutionReport/index.vue index 74d6bb0..9599849 100644 --- a/src/views/report/productionExecutionReport/index.vue +++ b/src/views/report/productionExecutionReport/index.vue @@ -36,6 +36,14 @@ /> + + + item.stationType == newType); + // 重置选择的工位 + // this.selectedStation = ''; + }, }, created() { findProductLineList({ productLineType: 1 }).then(response => { @@ -196,7 +214,8 @@ export default { }).then(() => { return findProductLineList({ productLineType: 2, parentId: this.queryParams.productLineCode }) }).then(response => { - this.findStationList = response.data + this.stationList = response.data + this.findStationList = this.stationList.filter(item => item.stationType == this.selectedType); }) const nowDate = parseTime(new Date(), '{y}-{m}-{d}') this.daterangeBeginTime[0] = nowDate + ' 00:00:00' @@ -265,7 +284,8 @@ export default { this.queryParams.stationCode = null findProductLineList({ productLineType: 2, parentId: this.queryParams.productLineCode }) .then(response => { - this.findStationList = response.data + this.stationList = response.data + this.findStationList = []; }) }, diff --git a/src/views/report/qualityIssuesReport/index.vue b/src/views/report/qualityIssuesReport/index.vue index 1f5d2db..daf19b8 100644 --- a/src/views/report/qualityIssuesReport/index.vue +++ b/src/views/report/qualityIssuesReport/index.vue @@ -1,13 +1,13 @@