소스 검색

导出对接

zhangdan 3 년 전
부모
커밋
3ebd6cf0e4
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/api/reportData.js
  2. 2 2
      src/views/reportData/salesSlipReport/list.vue

+ 1 - 1
src/api/reportData.js

@@ -172,7 +172,7 @@ export const salesReturnDetailExport = (params) => {
 // 开单销售单 导出
 export const salesSlipExport = (params) => {
   return axios({
-    url: '/report/reportRebate/export',
+    url: '/report/salesBillReport/export',
     data: params,
     method: 'post',
     responseType: 'blob'

+ 2 - 2
src/views/reportData/salesSlipReport/list.vue

@@ -75,14 +75,14 @@
             <a-col :md="6" :sm="24">
               <a-button type="primary" @click="handleSearch" :disabled="disabled" id="salesSlipReportList-refresh">查询</a-button>
               <a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="salesSlipReportList-reset">重置</a-button>
-              <!-- <a-button
+              <a-button
                 style="margin-left: 10px"
                 type="primary"
                 class="button-warning"
                 @click="handleExport"
                 :disabled="disabled"
                 :loading="exportLoading"
-                id="salesSlipReportList-export">导出</a-button> -->
+                id="salesSlipReportList-export">导出</a-button>
               <a @click="advanced=!advanced" style="margin-left: 8px">
                 {{ advanced ? '收起' : '展开' }}
                 <a-icon :type="advanced ? 'up' : 'down'"/>