diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue index 6bc25cb36..5c2556420 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradeimpactassessment.vue @@ -376,8 +376,8 @@ this.$forceUpdate() } getAction('/ota/otaBaSjSjyxpg/queryByOtaId',{otaIdT:otaIdT,otaId:otaId}).then(res=>{ if(res.code==200){ - if(res.result.zxsj==0){ - res.result.zxsj=null + if(res.result.zxsj==null){ + res.result.zxsj=undefined } this.form=res.result==null ? { sjmd:'', @@ -400,7 +400,7 @@ this.$forceUpdate() } this.form.otaId=otaId if(this.form.zxsj==undefined){ - this.form.zxsj=0 + this.form.zxsj=undefined } postAction('/ota/otaBaSjSjyxpg/add',this.form).then(res=>{ if(res.code==200){ diff --git a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue index 14eeebd40..59f30073b 100644 --- a/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue +++ b/jero-web/src/views/otamanagement/upgradeactivityrecord/components/upgradetargetmodel.vue @@ -232,15 +232,15 @@ export default { this.form = res.result this.form.otaId='' - if (this.$route.query.type == 1 && res.result.cxmb == null) { - this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh - } else { - if (this.$route.query.type == 2 && res.result.cxmb == null) { - this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh - } else { - this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined - } - } + // if (this.$route.query.type == 1 && res.result.cxmb == null) { + // this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh + // } else { + // if (this.$route.query.type == 2 && res.result.cxmb == null) { + // this.form.cxmb = this.form.babh + '-' + this.form.bapc + '-' + this.form.cpxh + // } else { + // this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined + // } + // } if (res.result.dllx1 == null || res.result.dllx1 == "") { this.form.dllx1 = undefined diff --git a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue index 242b5a614..15b86d0c6 100644 --- a/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue +++ b/jero-web/src/views/otamanagement/vehicleinformation/components/basicInformation.vue @@ -333,10 +333,10 @@ import { message } from 'ant-design-vue' this.form.cdotasj=res.result.cdotasj this.form.id=res.result.id if(this.$route.query.type == 1 && res.result.cxmb == null){ - this.form.cxmb = this.form.ggpc+'-'+ this.form.cpmc+'-'+this.form.cpxh + this.form.cxmb = this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh }else { if(this.$route.query.type == 2 && res.result.cxmb == null){ - this.form.cxmb = this.form.ggpc+'-'+ this.form.cpmc+'-'+this.form.cpxh + this.form.cxmb = this.form.djbh+'-'+ this.form.ggpc+'-'+this.form.cpxh }else{ this.form.cxmb = res.result.cxmb ? res.result.cxmb : undefined }