|
|
|
@ -524,6 +524,7 @@ function initpage() {
|
|
|
|
|
} |
|
|
|
|
function handleExportArea() { |
|
|
|
|
let id=details.arrlist[details.checkselect]?.id||0 |
|
|
|
|
let name=details.arrlist[details.checkselect]?.name||'' |
|
|
|
|
if (id ===0){ |
|
|
|
|
proxy.$message({ |
|
|
|
|
type: "success", |
|
|
|
@ -543,7 +544,7 @@ function handleExportArea() {
|
|
|
|
|
}).then(() => { |
|
|
|
|
NProgress.start(); |
|
|
|
|
exportBlob(downloadUrl, values).then(res => { |
|
|
|
|
downloadXls(res.data, `仓库${dateNow()}.xlsx`); |
|
|
|
|
downloadXls(res.data, name+`${dateNow()}.xlsx`); |
|
|
|
|
NProgress.done(); |
|
|
|
|
}) |
|
|
|
|
}); |
|
|
|
|