chenrui 3 lat temu
rodzic
commit
afe806d88b

+ 8 - 0
src/api/reportData.js

@@ -37,6 +37,14 @@ export const linkageReportTotal = (params) => {
     method: 'post'
   })
 }
+// 收发存报表-列表合计
+export const reportStockPutOutCount = (params) => {
+  return axios({
+    url: 'report/reportStockPutOut/reportCount',
+    data: params,
+    method: 'post'
+  })
+}
 // 大客户报表-分页列表
 export const reportBigCustomerList = (params) => {
   const url = `report/reportBigCustomer/reportPage/${params.pageNo}/${params.pageSize}`

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

@@ -101,7 +101,7 @@ import { STable, VSelect } from '@/components'
 import { dealerProductBrandQuery } from '@/api/dealerProductBrand'
 import { dealerProductTypeList } from '@/api/dealerProductType'
 import rangeDate from '@/views/common/rangeDate.vue'
-import { reportPageList, linkageReportTotal } from '@/api/reportData'
+import { reportPageList, reportStockPutOutCount } from '@/api/reportData'
 export default {
   components: { STable, VSelect, rangeDate },
   data () {
@@ -210,7 +210,7 @@ export default {
     },
     // 查询总计
     getCount (params) {
-      linkageReportTotal(params).then(res => {
+      reportStockPutOutCount(params).then(res => {
         if (res.status == 200 && res.data) {
           this.totalData = res.data
         } else {