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 + } }) }