Parcourir la source

托书打印名称改变

jbb il y a 2 ans
Parent
commit
5684bc1681
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/views/book/book-list.vue

+ 1 - 1
src/views/book/book-list.vue

@@ -331,7 +331,7 @@ export default {
           let link = document.createElement('a')
           link.style.display = 'none'
           link.href = url
-          link.setAttribute('download', item + '.xlsx')
+          link.setAttribute('download', record.shippingOrderNumber+item + '.xlsx')
           document.body.appendChild(link)
           link.click()
           document.body.removeChild(link) // 下载完成移除元素