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 ) },