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){