From 8a6b086842e2e25e8e163d7bf0f5cbfa7227491d Mon Sep 17 00:00:00 2001 From: xiangxy Date: Tue, 18 Jul 2023 09:03:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=80=92=E6=96=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/modules/clean/man-pour.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/pages/modules/clean/man-pour.vue b/src/pages/modules/clean/man-pour.vue index c549e69..5e3b4ba 100644 --- a/src/pages/modules/clean/man-pour.vue +++ b/src/pages/modules/clean/man-pour.vue @@ -104,8 +104,12 @@ export default { } }, created () { - this._dictall() - this._washdevicelist() + if (this.options1 === []) { + this._dictall() + } + if (this.options2 === []) { + this._washdevicelist() + } }, methods: { // 车间下拉框 @@ -119,7 +123,7 @@ export default { }, // 设备下拉框 async _washdevicelist () { - let res = await washdevicelist('1535144682756116480') + let res = await washdevicelist('1535144552481034240') if (res.code === 200) { this.options2 = [...res.content] } else {