diff --git a/src/views/project/projectJinDu/monthReport.vue b/src/views/project/projectJinDu/monthReport.vue index fa0fa7f..8b26acc 100644 --- a/src/views/project/projectJinDu/monthReport.vue +++ b/src/views/project/projectJinDu/monthReport.vue @@ -103,6 +103,7 @@ :on-success="handleFileSuccess" :on-remove="handleRemove" :auto-upload="false" + :file-list="formDataTZ.fileList" drag > @@ -253,7 +254,7 @@ }, formExport: { file: '', - reportMonth: proxy.moment(new Date()).format('YYYY-MM'), + reportMonth: '', }, rulesFormDR: { reportMonth: [{ required: true, message: '请选择', trigger: 'change' }], @@ -381,7 +382,8 @@ formExportData.value.append('reportMonth', formExport.value.reportMonth); } function handleRemove(uploadFile, uploadFiles) { - formExportData.value.delete('file'); + formDataTZ.value.fileList = []; + // formExport.value.file = ''; } /** 通知提醒操作 */ @@ -408,6 +410,7 @@ function importData() { dialogShowDR.value = true; proxy.resetForm('formRefDR'); //清空表单 + handleRemove(); } // 获取项目列表