|
@@ -591,6 +591,9 @@ export default {
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
getExportExcel () {
|
|
getExportExcel () {
|
|
|
|
|
+ let ids = this.dataListSelections.map(item => {
|
|
|
|
|
+ return item.prodId
|
|
|
|
|
+ })
|
|
|
this.$confirm(`${this.$i18n.t('product.exportProduct')}`, this.$i18n.t('text.tips'), {
|
|
this.$confirm(`${this.$i18n.t('product.exportProduct')}`, this.$i18n.t('text.tips'), {
|
|
|
confirmButtonText: this.$i18n.t('crud.filter.submitBtn'),
|
|
confirmButtonText: this.$i18n.t('crud.filter.submitBtn'),
|
|
|
cancelButtonText: this.$i18n.t('crud.filter.cancelBtn'),
|
|
cancelButtonText: this.$i18n.t('crud.filter.cancelBtn'),
|
|
@@ -603,7 +606,8 @@ export default {
|
|
|
Object.assign(
|
|
Object.assign(
|
|
|
{
|
|
{
|
|
|
prodName: this.prodNameRouter ? this.prodNameRouter : this.prodName,
|
|
prodName: this.prodNameRouter ? this.prodNameRouter : this.prodName,
|
|
|
- prodId: this.prodId ? this.prodId : null
|
|
|
|
|
|
|
+ prodId: this.prodId ? this.prodId : null,
|
|
|
|
|
+ prodIdList: ids
|
|
|
},
|
|
},
|
|
|
this.searchForm
|
|
this.searchForm
|
|
|
)
|
|
)
|