diff --git a/src/views/report/qualityIssuesReport/index.vue b/src/views/report/qualityIssuesReport/index.vue
index bbc7efe..77238ba 100644
--- a/src/views/report/qualityIssuesReport/index.vue
+++ b/src/views/report/qualityIssuesReport/index.vue
@@ -19,6 +19,16 @@
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
{
+ findProductLineList({productLineType: 1}).then(response => {
this.productLineList = response.data
- })
- findProductLineList({ productLineType: 2 }).then(response => {
- this.findStationList = response.data
+ findProductLineList({parentId: this.queryParams.PRODUCT_LINE_CODE, stationType: 2}).then(response => {
+ this.findStationList = response.data
+ })
})
//获取自定义数据
getCustomData(386).then(response => {
@@ -204,6 +205,14 @@ export default {
this.daterangeBeginTime[1] = nowDate + ' 23:59:59'
this.getList()
},
+ watch: {
+ 'queryParams.PRODUCT_LINE_CODE': function(newVal, oldVal) {
+ // 执行方法,可以在这里调用你的方法
+ findProductLineList({parentId: this.queryParams.PRODUCT_LINE_CODE, stationType: 2}).then(response => {
+ this.findStationList = response.data
+ })
+ },
+ },
methods: {
/** 查询工单信息列表 */
getList() {
@@ -217,7 +226,7 @@ export default {
}
qualityIssuesReportList(this.queryParams).then(response => {
this.reportList = response.data
- this.totalSum = 0;
+ this.totalSum = 0
this.reportList.forEach(e => {
this.totalSum += e.Q_SUM
})