From 474eb526fcc89af7818ac344c1c13f02408d455e 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:38:58 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/base/processStation/index.vue b/src/views/base/processStation/index.vue index 96fcaab..1b25fb4 100644 --- a/src/views/base/processStation/index.vue +++ b/src/views/base/processStation/index.vue @@ -288,12 +288,13 @@ export default { async created() { if (this.$route.params != null) { this.queryParams.productLineCode = this.$route.params && this.$route.params.productLineCode; + }else{ + this.queryParams.productLineCode = 'CX_02' } this.loading = true; await findProductLineList({productLineType: 1}).then(response => { this.productLineList = response.data; - this.queryParams.productLineCode = 'CX_02' }) await findProductLineList({productLineType: 2}).then(response => { this.findStationList = response.data;