From 9ce1c966eb3f2432881fe33be7675ab972c267bd Mon Sep 17 00:00:00 2001 From: 15386982806 Date: Wed, 10 Jan 2024 19:15:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E6=94=AF=E6=8C=81=E5=88=86?= =?UTF-8?q?=E5=8C=85=E8=A3=B9=E5=8F=91=E8=B4=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/api/order.js | 18 ++ .../pages/home/orderCenter/OrderDetail.vue | 157 ++++++++++ seller/src/api/order.js | 17 ++ seller/src/views/goods/goods-seller/goods.vue | 46 +++ .../goods/goods-seller/goodsOperationSec.vue | 10 +- seller/src/views/order/order/orderDetail.vue | 284 ++++++++++++++++-- 6 files changed, 505 insertions(+), 27 deletions(-) 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 }} +
  • +
+
  • 暂无物流信息
+
+
+
+
+ +
+
+