TMS成本管理成本列表 导出异常数据

This commit is contained in:
wuteng 2026-03-23 15:12:08 +08:00
parent c80c2f6af4
commit 6a28c1a5e0

View File

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