From 7148b32c43e305bfe43fb6710fc645e5d8189aeb Mon Sep 17 00:00:00 2001 From: 15386982806 Date: Fri, 5 Jan 2024 14:17:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=B4=A7=E7=89=A9=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E9=80=80=E6=AC=BE=E7=8A=B6=E6=80=81=E4=B8=8E=E5=AE=9E?= =?UTF-8?q?=E9=99=85=E9=80=80=E6=AC=BE=E9=87=91=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/orderDetail.vue | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pages/order/orderDetail.vue b/pages/order/orderDetail.vue index 12be924..e4c0793 100644 --- a/pages/order/orderDetail.vue +++ b/pages/order/orderDetail.vue @@ -83,6 +83,7 @@ ¥{{ sku.goodsPrice | unitPrice }} + {{refundPriceList(sku.isRefund)}} ({{ sku.refundPrice | unitPrice("¥") }}) @@ -314,6 +315,21 @@ export default { this.sn = options.sn; }, methods: { + // 退款状态枚举 + refundPriceList(status) { + switch (status) { + case 'ALL_REFUND': + return "全部退款"; + case 'PART_REFUND': + return "部分退款"; + case 'NO_REFUND': + return "未退款"; + case 'REFUNDING': + return "退款中"; + default: + return "未退款"; + } + }, callPhone(){ this.$options.filters.callPhone(this.order.storeAddressMobile ) },