diff --git a/src/views/emis/emisTmsCostFee/BatchImportCostFee.vue b/src/views/emis/emisTmsCostFee/BatchImportCostFee.vue index fcba613b..ab2a8391 100644 --- a/src/views/emis/emisTmsCostFee/BatchImportCostFee.vue +++ b/src/views/emis/emisTmsCostFee/BatchImportCostFee.vue @@ -31,7 +31,6 @@ type="warning" icon="el-icon-download" size="mini" - :disabled="tmpErrorList.length==0" @click="handleExport" >导出异常数据 @@ -638,7 +637,6 @@ export default { } this.orderList = this.orderList.concat(this.tmpDataList); - this.tmpErrorList = this.orderList.filter(item => item.uploadStatus === -1); this.tmpDataList=[]; this.openUploadForm = false; @@ -684,7 +682,6 @@ export default { }) }) that.$refs.multipleTable.clearSelection(); - that.tmpErrorList = that.orderList.filter(item => item.uploadStatus === -1); }).then(() => { this.$modal.msgSuccess("删除成功"); }).catch(() => {}); @@ -731,6 +728,7 @@ export default { const loadingInstance = this.$loading({ text: '正在导出...' }) + this.tmpErrorList = this.orderList.filter(item => item.uploadStatus === -1); this.exportData(this.tmpErrorList,loadingInstance); }, exportData(selData, loadingInstance) {