Explorar el Código

feat: 选择商品导出

From-wh hace 2 años
padre
commit
d384d0fcde
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      template/admin/src/pages/product/productList/index.vue

+ 1 - 0
template/admin/src/pages/product/productList/index.vue

@@ -561,6 +561,7 @@ export default {
       let excelData = JSON.parse(JSON.stringify(this.artFrom));
       excelData.page = 1;
       excelData.limit = 50;
+      excelData.ids = this.ids;
       for (let i = 0; i < excelData.page + 1; i++) {
         let lebData = await this.getExcelData(excelData);
         if (!fileName) fileName = lebData.filename;