From eee0258061f2150a233ab6aa8c4e3fd4ad54c5bd Mon Sep 17 00:00:00 2001 From: mabo Date: Tue, 20 Jul 2021 18:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=B5=81=E5=85=AC=E5=8F=B8=E5=88=87?= =?UTF-8?q?=E6=8D=A2=E7=A6=81=E7=94=A8=E6=97=A0=E6=95=88=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8Cpc=E9=80=80=E8=B4=A7=E6=B7=BB=E5=8A=A0=E7=89=A9?= =?UTF-8?q?=E6=B5=81=E4=BF=A1=E6=81=AF=E5=9B=9E=E5=A1=AB=EF=BC=8C=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E5=8F=91=E7=A5=A8=E5=9B=9E=E6=98=BE=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buyer/src/api/order.js | 19 + buyer/src/components/invoiceModal/index.vue | 15 +- buyer/src/config/index.js | 16 +- buyer/src/pages/home/memberCenter/Point.vue | 4 +- .../src/pages/home/orderCenter/AfterSale.vue | 125 +++++- buyer/src/pages/payment/Pay.vue | 6 +- manager/src/config/index.js | 16 +- seller/src/config/index.js | 12 +- seller/src/views/order/order/orderDetail.vue | 372 +++++++++++++----- seller/src/views/order/order/orderList.vue | 2 + 10 files changed, 437 insertions(+), 150 deletions(-) diff --git a/buyer/src/api/order.js b/buyer/src/api/order.js index 579c76d1..c120f60f 100644 --- a/buyer/src/api/order.js +++ b/buyer/src/api/order.js @@ -96,3 +96,22 @@ export function communication (params) { params }); } + +// 退换货服务 提交物流 +export function afterSaleDelivery (params) { + return request({ + url: `/buyer/afterSale/delivery/${params.afterSaleSn}`, + method: Method.POST, + needToken: true, + params + }); +} +// 获取退货可选物流公司 +export function getLogisticsCompany () { + return request({ + url: `/buyer/logistics`, + method: Method.GET, + needToken: true, + params: { pageNumber: 1, pageSize: 200, disabled: 'OPEN' } + }); +} diff --git a/buyer/src/components/invoiceModal/index.vue b/buyer/src/components/invoiceModal/index.vue index b3989fca..024c1582 100644 --- a/buyer/src/components/invoiceModal/index.vue +++ b/buyer/src/components/invoiceModal/index.vue @@ -4,11 +4,6 @@

发票信息

- - + + @@ -70,11 +73,47 @@ show-sizer> + +

+ 提交物流信息 +

+
+ + + + + + + + + + + + +
+
+ + +
+