引用备案修改

This commit is contained in:
zyx.net
2023-03-26 13:39:07 +08:00
parent 0cbccbe6eb
commit 4ccbd412dc
2 changed files with 10 additions and 4 deletions
@@ -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(){
@@ -369,7 +369,9 @@ export default {
if(localStorage.getItem('otaIdT')!=null){
this.$router.push({
path: '/vehicleinformation',
query: {}
query: {
type:1
}
})
}