|
|
|
@ -191,7 +191,7 @@ |
|
|
|
|
<a-button style="background-color: #6370e4; color: #fff; border: none" @click="priceVisible = true" |
|
|
|
|
>分类加价</a-button |
|
|
|
|
> |
|
|
|
|
<a-button |
|
|
|
|
<a-button v-if="selectedRowKeys.length" |
|
|
|
|
style="background-color: #501212; color: #fff; border: none" |
|
|
|
|
@click="handleExport(selectedRowKeys)" |
|
|
|
|
>导出</a-button |
|
|
|
@ -799,7 +799,7 @@ export default { |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 导出 |
|
|
|
|
handleExport() { |
|
|
|
|
handleExport(goodsIds) { |
|
|
|
|
const formData = this.searchForm.getFieldsValue() |
|
|
|
|
this.isLoading = true |
|
|
|
|
var index = window.serverConfig.BASE_API.indexOf('?') |
|
|
|
@ -828,7 +828,10 @@ export default { |
|
|
|
|
'&is_sale=' + |
|
|
|
|
this.queryParam.is_sale + |
|
|
|
|
'&is_self=' + |
|
|
|
|
this.queryParam.is_self |
|
|
|
|
this.queryParam.is_self+ |
|
|
|
|
'&goodsIds='+goodsIds |
|
|
|
|
console.log(params) |
|
|
|
|
return |
|
|
|
|
window.open(resolve + '?s=/admin/goods/export' + params) |
|
|
|
|
}, |
|
|
|
|
// 删除记录 |
|
|
|
|