|
@@ -18,7 +18,6 @@
|
|
|
<li>1)导入的Excel文件中必须包含名称为“产品编码”、"在途数(个)”、“最大库存数(个)”、“最小库存数(个)”的列,且名称必须相同,其他列可自定义,不影响数据导入</li>
|
|
|
<li><a-icon type="download" /><a :href="templUrl">下载导入模板</a></li>
|
|
|
</ul>
|
|
|
- <!-- <a-button type="link" icon="download" style="padding: 0 0 0 23px;" @click="handleExport">下载导入模板</a-button> -->
|
|
|
</div>
|
|
|
<div class="explain-item">
|
|
|
<div class="explain-tit">
|
|
@@ -118,16 +117,6 @@ export default {
|
|
|
this.openImportModal = false
|
|
|
this.isShow = false
|
|
|
},
|
|
|
- // 下载模板
|
|
|
- handleExport () {
|
|
|
- const link = document.createElement('a')
|
|
|
- link.style.display = 'none'
|
|
|
- link.href = location.host + '/templ/库存预警产品导入模板.xlsx'
|
|
|
- link.setAttribute('download', '库存预警产品导入模板' + '.xlsx')
|
|
|
- document.body.appendChild(link)
|
|
|
- link.click()
|
|
|
- document.body.removeChild(link)
|
|
|
- }
|
|
|
},
|
|
|
watch: {
|
|
|
// 父页面传过来的弹框状态
|