Browse Source

修改物资入库下载名称

dev
long 2 years ago
parent
commit
bb5855afcc
  1. 2
      src/views/accessrecords/statement/ProcessMaterialWarehousingStatement.vue

2
src/views/accessrecords/statement/ProcessMaterialWarehousingStatement.vue

@ -106,7 +106,7 @@
const blob = new Blob([data]) //
var a = document.createElement('a') //<a></a>
a.href = URL.createObjectURL(blob) // ahref
a.download = '采购通知书.docx' //
a.download = '委托采购物资入库验收报告.docx' //
a.style.display = 'none' // a
document.body.appendChild(a) // a
a.click() // aahref

Loading…
Cancel
Save