Commit b55369fb authored by 沈翠玲's avatar 沈翠玲

iqc校验导出

parent 9e8ce80a
...@@ -631,14 +631,14 @@ export default { ...@@ -631,14 +631,14 @@ export default {
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
if (this.selectedRows && this.selectedRows.length > 0) { if (this.selectedRows && this.selectedRows.length > 0) {
this.download('mes/qc/iqc/export', this.download1('mes/qc/iqc/export',
{iqcCodeList: this.selectedRows.map(v => v.iqcCode)} {iqcCodeList: this.selectedRows.map(v => v.iqcCode)}
, `iqc_${new Date().getTime()}.xlsx`) , `iqc_${new Date().getTime()}.xlsx`)
} else { } else {
const queryParams = JSON.parse(JSON.stringify(this.queryParams)) const queryParams = JSON.parse(JSON.stringify(this.queryParams))
delete queryParams.pageNum delete queryParams.pageNum
delete queryParams.pageSize delete queryParams.pageSize
this.download('mes/qc/iqc/export', { this.download1('mes/qc/iqc/export', {
...queryParams ...queryParams
}, `iqc_${new Date().getTime()}.xlsx`) }, `iqc_${new Date().getTime()}.xlsx`)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment