|
@@ -70,6 +70,7 @@
|
|
|
<script>
|
|
|
import { STable, Upload } from '@/components'
|
|
|
import { stockImportList, stockImportFinish, stockImportCancel, stockImportExportError } from '@/api/stockImport'
|
|
|
+import moment from 'moment'
|
|
|
export default {
|
|
|
components: { STable, Upload },
|
|
|
data () {
|
|
@@ -202,7 +203,7 @@ export default {
|
|
|
const link = document.createElement('a')
|
|
|
link.style.display = 'none'
|
|
|
link.href = url
|
|
|
- const fname = '散件导入模板'
|
|
|
+ const fname = '散件导入错误项' + moment('YYYY_MMDD')
|
|
|
link.setAttribute('download', fname + '.xlsx')
|
|
|
document.body.appendChild(link)
|
|
|
link.click()
|