Browse Source

供应商履约单下载

jiandexin1 1 year ago
parent
commit
1c1ca67451
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/store/storeappoint/index.vue

+ 5 - 1
src/views/store/storeappoint/index.vue

@@ -54,7 +54,7 @@
                   <el-button type="primary"
                              size="small"
                              plain
-                             @click="handleDelete">下载详情
+                             @click="downLoadAppoint">下载详情
                   </el-button>
         </template>
         <template slot-scope="scope" slot="menu">
@@ -74,6 +74,7 @@
   import {mapGetters} from "vuex";
   import {appointGoodsOption} from "../../../option/mall/appointGoodsOption"
   import {appointStoreList} from "@/api/distribution/appoint";
+  import {getToken} from '@/util/auth';
 
   export default {
     data() {
@@ -188,6 +189,9 @@
         });
       },
 
+      downLoadAppoint(){
+        window.open(`/api/distribution/appoint/exportStoreAppointGoods?${this.website.tokenHeader}=${getToken()}&grouponId=${this.grouponId}`);
+      },
       rowUpdate(row, index, done, loading) {
         update(row).then(() => {
           this.onLoad(this.page);