Преглед на файлове

陆运接口错误修改

caojunjie преди 3 години
родител
ревизия
4224f21a2e
променени са 2 файла, в които са добавени 11 реда и са изтрити 4 реда
  1. 9 1
      src/api/landTransportation/index.js
  2. 2 3
      src/views/landTransportation/reportAnalysis/index.vue

+ 9 - 1
src/api/landTransportation/index.js

@@ -56,9 +56,17 @@ export function removeCollection(data) {
         method: 'post'
     })
 }
-//陆运台账查询
+//派车司机查询
 export function driverQueryCollection(data) {
     return request({
+        url: '/api/blade-land/order-item/list',
+        method: 'get',
+        params:data
+    })
+}
+//陆运台账查询
+export function standingBookCollection(data) {
+    return request({
         url: '/api/blade-land/order/acct',
         method: 'get',
         params:data

+ 2 - 3
src/views/landTransportation/reportAnalysis/index.vue

@@ -123,7 +123,6 @@
 
 <script>
 import {
-  driverQueryCollection,
   acceptanceCollection,
   acceptanceDispatchCollection,
   confirmCompletion,
@@ -135,7 +134,7 @@ import {
   incidental,
   getFee,
   incidentalConfirm,
-  cancelConfirm
+  cancelConfirm, standingBookCollection
 } from "@/api/landTransportation";
 
 export default {
@@ -590,7 +589,7 @@ export default {
         delete queryParams.arrivalTime
       }
       this.loading = true;
-      driverQueryCollection(queryParams).then(res => {
+      standingBookCollection(queryParams).then(res => {
         this.goodsList = res.data.data.records
         this.page.total = res.data.data.total
         this.goodsOptionCrud.height = window.innerHeight - 245;