From d7c5869d16aa5e48f97a399041374ccf5b7f472a Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Wed, 3 Jan 2024 16:35:00 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=BD=E5=85=B7=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/proj/VehicleBind.vue | 27 ++++++++++++++++++++------- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/pages/proj/VehicleBind.vue b/src/pages/proj/VehicleBind.vue index 09080a3..494f5a7 100644 --- a/src/pages/proj/VehicleBind.vue +++ b/src/pages/proj/VehicleBind.vue @@ -47,7 +47,7 @@ -
+
载具类型
{ - if (el.label === this.val3) { - code3 = el.value - } - }) + if (this.show === false) { + this.option3.map(el => { + if (el.label === this.val3) { + code3 = el.value + } + }) + } + if (this.show === true) { + this.val4 = '' + } let res = await vehicleBind(code, code3, this.val4, this.option4[this.active4].value) if (res.code === '1') { this.toast(res.desc) @@ -339,6 +351,7 @@ export default { this.disabled1 = false this.val4 = '' this.active4 = '' + this.show = false } } }