结束升级对接

This commit is contained in:
yuekuo
2023-03-29 10:15:31 +08:00
parent c0d3313b0b
commit d317ece1d2
@@ -152,6 +152,7 @@
</div> </div>
<a-form-model-item class="itemModel" prop="VINcodelist"> <a-form-model-item class="itemModel" prop="VINcodelist">
<a-button type="primary" class="button-text" <a-button type="primary" class="button-text"
:disabled="disabled"
@click="clickButtonToUpload('ssjlfj')"> @click="clickButtonToUpload('ssjlfj')">
{{ (formInline.ssjlfj === 'null' || formInline.ssjlfj === '' || {{ (formInline.ssjlfj === 'null' || formInline.ssjlfj === '' ||
formInline.ssjlfj == null) ? $t('clickUpload') : $t('viewUploadedFiles') formInline.ssjlfj == null) ? $t('clickUpload') : $t('viewUploadedFiles')
@@ -243,10 +244,17 @@ export default {
this.showButton=true this.showButton=true
} }
this.record=record this.record=record
this.visible = true this.visible = true
this.confirmLoading = false 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.$nextTick(() => {
this.formInline = { ...this.formInline } this.formInline = { ...this.formInline }
this.$refs.ruleForm.clearValidate() this.$refs.ruleForm.clearValidate()