From 13512004117d558b51f1b2d9ff3743e28f84c7b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Sat, 6 Jan 2024 17:19:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/base/processStation/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/base/processStation/index.vue b/src/views/base/processStation/index.vue index 9df0261..0b707f2 100644 --- a/src/views/base/processStation/index.vue +++ b/src/views/base/processStation/index.vue @@ -289,7 +289,7 @@ export default { }); findProductLineList({productLineType: 1}).then(response => { this.productLineList = response.data; - this.queryParams.productLineCode = response.data[1].productLineCode + this.queryParams.productLineCode = response.data.find(val=>val.productLineName === '一产线')?.productLineCode }); findProductLineList({productLineType: 2}).then(response => { this.findStationList = response.data;