diff --git a/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue b/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue index 8b1479d10..3fa22b2c4 100644 --- a/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue +++ b/jero-web/src/views/otamanagement/upgradeactivity/components/upgradecompletion.vue @@ -152,6 +152,7 @@ {{ (formInline.ssjlfj === 'null' || formInline.ssjlfj === '' || formInline.ssjlfj == null) ? $t('clickUpload') : $t('viewUploadedFiles') @@ -243,10 +244,17 @@ export default { this.showButton=true } this.record=record - this.visible = true this.confirmLoading = false - console.log('555',record); + console.log('555',record); + getAction('/ota/otaBaSjJssj/queryByOtaId',{otaId:this.record.id}).then(res=>{ + if(res.code==200){ + this.formInline=res.result ==null? {list:[{}]} :res.result + if(res.result.list==null ||res.result.list.length==0){ + this.formInline.list=[{}] + } + } + }) this.$nextTick(() => { this.formInline = { ...this.formInline } this.$refs.ruleForm.clearValidate()