Commit 4ed171f3 authored by hubaoshan's avatar hubaoshan

第三步

parent a38b0767
...@@ -598,7 +598,7 @@ export default { ...@@ -598,7 +598,7 @@ export default {
const downloadElement = document.createElement('a') const downloadElement = document.createElement('a')
const href = window.URL.createObjectURL(blob)// 创建下载的链接 const href = window.URL.createObjectURL(blob)// 创建下载的链接
downloadElement.href = href downloadElement.href = href
downloadElement.download = '入库记录信息' + '.xls' // 下载后文件名 downloadElement.download = '入库记录信息' + '.xls' // 下载后文件名
document.body.appendChild(downloadElement) document.body.appendChild(downloadElement)
downloadElement.click()// 点击下载 downloadElement.click()// 点击下载
document.body.removeChild(downloadElement)// 下载完成移除元素 document.body.removeChild(downloadElement)// 下载完成移除元素
......
...@@ -500,7 +500,7 @@ export default { ...@@ -500,7 +500,7 @@ export default {
}, },
{ {
label: 'jl', label: 'jl',
value: '2' value: '20'
} }
], ],
manufacturer: {}, manufacturer: {},
......
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