|
@@ -18,6 +18,17 @@
|
|
|
:on-success="handleSuccess">
|
|
|
<el-button class="btn-primary">商品导入</el-button>
|
|
|
</el-upload>
|
|
|
+ <!-- <el-upload v-permission="'export/goods'"
|
|
|
+ style="display: inline-block; margin: 0 10px;"
|
|
|
+ action="/api-web/export/goods"
|
|
|
+ :show-file-list="false"
|
|
|
+ :before-upload="beforeUpload"
|
|
|
+ accept=".xlsx,.xls"
|
|
|
+ :headers="headers"
|
|
|
+ :on-error="handleError"
|
|
|
+ :on-success="handleSuccess">
|
|
|
+ <el-button class="btn-primary">商品导出</el-button>
|
|
|
+ </el-upload> -->
|
|
|
<el-button class="btn-primary"
|
|
|
@click="onDownload"
|
|
|
v-permission="'import/downloadTemplate'">下载模板</el-button>
|