From cd51aec32ad0ed58b80eab66a68c7e95509e4554 Mon Sep 17 00:00:00 2001 From: zhoulinf <2507241354@qq.com> Date: Tue, 9 Jun 2026 16:38:01 +0800 Subject: [PATCH] =?UTF-8?q?CRM=5F26-04-22#story#8495,=E6=BD=9C=E5=9C=A8?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86H5=E9=A1=B5=E9=9D=A2=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BF=A1=E6=81=AF=EF=BC=8C=E4=BF=A1=E6=81=AF=E5=AE=A1?= =?UTF-8?q?=E6=A0=B8=EF=BC=8C=E6=8F=90=E4=BA=A4=E8=A1=A5=E5=85=85=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E4=B8=8E=E9=80=80=E5=9B=9E=E7=90=86=E7=94=B1=E7=9A=84?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=8E=E4=BF=AE=E5=A4=8D(=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/index/vehicleAdd.vue | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index c1a635d2..5118beef 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -470,8 +470,8 @@ export default { maxDate: new Date(2099, 11, 31), // 设置最大可选日期(2099年12月31日) checkList: [], virtualVehicle: '', - vehicleStatus: '', - potentialFlag: '', + potentialFlag: new URLSearchParams(window.location.search).get('potentialFlag') || '', + vehicleStatus: new URLSearchParams(window.location.search).get('potentialFlag') === '1' ? 2 : '', showDatePicker: false, dateVal: '', trailerService: '',//拖车服务 @@ -693,7 +693,6 @@ export default { const urlParams = new URLSearchParams(window.location.search); const rawId = this.$route.query.supplierId || urlParams.get('supplierId'); this.supplierId = rawId ? Number(rawId) : ''; - this.potentialFlag = this.$route.query.potentialFlag || urlParams.get('potentialFlag') || ''; await this.getSupplierServiceTree(); await this.getTypeList(); if( this.id){ @@ -710,9 +709,6 @@ export default { liabilityInsuranceEndTime:'', insurancePicturePhoto:'' } - if(this.potentialFlag === '1') { - this.vehicleStatus = 2; - } } }, methods:{