Explorar el Código

陆运接口错误修改

caojunjie hace 3 años
padre
commit
4224f21a2e

+ 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;