Browse Source

修改bug

chenrui 1 year ago
parent
commit
dfc358e015
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/reportData/tireSalesReport/subareaList.vue

+ 4 - 3
src/views/reportData/tireSalesReport/subareaList.vue

@@ -14,7 +14,7 @@
           <a-row :gutter="15">
             <a-col :md="6" :sm="24">
               <a-form-model-item label="下推时间" prop="time">
-                <rangeDate ref="rangeDate" :value="queryParam.time" @change="dateChange" />
+                <rangeDate ref="rangeDate" :value="time" @change="dateChange" />
               </a-form-model-item>
             </a-col>
             <a-col :md="6" :sm="24">
@@ -108,7 +108,8 @@ import {
 import {
   reportSalesBillList,
   reportSalesBillCount,
-  reportSalesBillExport
+  reportSalesBillExport,
+  querySaleAreaPage
 } from '@/api/reportData'
 export default {
   name: 'SalesOrderTotalList',
@@ -160,7 +161,7 @@ export default {
         this.disabled = true
         this.spinning = true
         const params = Object.assign(parameter, this.queryParam)
-        return reportSalesBillList(params).then(res => {
+        return querySaleAreaPage(params).then(res => {
           let data
           if (res.status == 200) {
             data = res.data