diff --git a/buyer/src/api/order.js b/buyer/src/api/order.js index 58d74a02..8f58cfc8 100644 --- a/buyer/src/api/order.js +++ b/buyer/src/api/order.js @@ -115,3 +115,21 @@ export function getLogisticsCompany () { params: { pageNumber: 1, pageSize: 200, disabled: 'OPEN' } }); } + +//查询包裹列表 +export const getPackage = (sn) => { + return request({ + url: `/buyer/order/order/getPackage/${sn}`, + method: Method.GET, + needToken: true, + }) +} + +//查询物流 +export const getTracesList = (sn, params) => { + return request({ + url: `/buyer/order/order/getTracesList/${sn}`, + method: Method.GET, + needToken: true, + }) +}; diff --git a/buyer/src/pages/home/orderCenter/OrderDetail.vue b/buyer/src/pages/home/orderCenter/OrderDetail.vue index 5e00abe8..9b079049 100644 --- a/buyer/src/pages/home/orderCenter/OrderDetail.vue +++ b/buyer/src/pages/home/orderCenter/OrderDetail.vue @@ -72,6 +72,9 @@
支付方式:{{ order.paymentMethodValue }}
付款状态:{{ order.payStatusValue }}
+配送方式:{{ order.deliveryMethodValue }}
@@ -228,6 +231,70 @@ + + +查询物流
+