From 4ccbd412dc46670ae8b6ea126ce09453387786b3 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Sun, 26 Mar 2023 13:39:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=95=E7=94=A8=E5=A4=87=E6=A1=88=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../vehicleinformation/components/basicInformation.vue | 10 +++++++--- .../views/otamanagement/vehicleregistration/index.vue | 4 +++- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue index 75fa65ae9..d2eae746b 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue @@ -318,8 +318,12 @@ import { message } from 'ant-design-vue' this.form.cpxh=res.result.cpxh this.form.txzd=res.result.txzd this.form.cdotasj=res.result.cdotasj - this.form.cxmb=this.form.ggpc+'-'+ this.form.cpmc+'-'+this.form.cpxh - if(res.result.dllx1 == null ){ + if(this.$route.query.type == 1 && res.result.cxmb == null){ + this.form.cxmb = this.form.ggpc+'-'+ this.form.cpmc+'-'+this.form.cpxh + }else { + this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined + } + if(res.result.dllx1 == null ){ res.result.dllx1 = undefined } if(res.result.dllx2 == null){ @@ -338,7 +342,7 @@ import { message } from 'ant-design-vue' this.save() setTimeout(()=>{ this.$emit('basicInformationForm') - },300) + },1000) }, async save(){ diff --git a/jero-web/src/views/otamanagement/vehicleregistration/index.vue b/jero-web/src/views/otamanagement/vehicleregistration/index.vue index b04be3ace..dd41cd958 100644 --- a/jero-web/src/views/otamanagement/vehicleregistration/index.vue +++ b/jero-web/src/views/otamanagement/vehicleregistration/index.vue @@ -369,7 +369,9 @@ export default { if(localStorage.getItem('otaIdT')!=null){ this.$router.push({ path: '/vehicleinformation', - query: {} + query: { + type:1 + } }) }