Răsfoiți Sursa

1、商品导入导出筛选

huangmp 2 ani în urmă
părinte
comite
3489d63415
2 a modificat fișierele cu 6 adăugiri și 2 ștergeri
  1. 1 1
      .env.development
  2. 5 1
      src/views/modules/prod/prodList.vue

+ 1 - 1
.env.development

@@ -6,7 +6,7 @@ ENV = 'development'
 VUE_APP_BASE_API = 'http://127.0.0.1:8087'
 
 // 客服api接口请求地址
-//VUE_APP_IM_API = 'https://b2b2c-im.mall4j.com'
+//VUE_APP_IM_API = 'https://llong-multishop.yunxan.com'
 VUE_APP_IM_API = 'http://127.0.0.1:8089'
 // 客服webstock接口请求地址
 //VUE_APP_WS_IM_API = 'wss://b2b2c-im.mall4j.com'

+ 5 - 1
src/views/modules/prod/prodList.vue

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