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

查询物流

+
+
+
订单号:
+
{{ order.order.sn }}
+
+
+
+
+
物流公司:
+
{{ packageItem.logisticsName }}
+
+
快递单号:
+
{{ packageItem.logisticsNo }}
+
+
+
    +
  • + 商品名称:{{ item.goodsName }} + 发货时间:{{ item.logisticsTime }} + 发货数量:{{ item.deliverNumber }} +
  • +
+
+
    +
  • + {{ item.AcceptTime || item.acceptTime }} + {{ item.AcceptStation || item.remark }} +
  • +
+
  • 暂无物流信息
+
+
+
+
+
+
+
+
物流公司:
+
{{ logistics.shipper }}
+
+
+
快递单号:
+
{{ logistics.logisticCode }}
+
+
+
    +
  • + {{ item.AcceptTime }} + {{ item.AcceptStation }} +
  • +
+
  • 暂无物流信息
+
+
+
+
+ +
+
+