From 3fbd0b276929e09c21de8c863fe6558318eee82e Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Fri, 14 Mar 2025 16:00:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E4=BA=A4=E6=98=93?= =?UTF-8?q?=EF=BC=8C=E9=80=89=E6=8B=A9=E5=85=B6=E4=BB=96=E6=97=B6=E7=9A=84?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/wantBuy.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index 27287b21..42db7fbb 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -158,6 +158,11 @@ export default { this.status=res.data?.status?.code this.supplierName=res.data?.supplierName this.supplierCode=res.data?.supplierCode + if(res.data.vehicleType.includes(',')){ + let res=res.data.vehicleType?.split(',') + this.form.vehicleType=res[0] + this.ortherReason=res[1] + } } if(this.$route.params.form){ this.form={...this.$route.params.form}