From 3d494ecd5f966b8c52a72aa8186712709c3aea7f Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Sat, 30 Nov 2024 03:47:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=AB=AF-=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85,=E6=9C=AA=E4=BB=98=E6=AC=BE=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E5=B1=95=E7=A4=BA=E6=94=AF=E4=BB=98=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- page_goods/orderDetail/orderDetail.vue | 67 +++++++++++++++++++++++--- 1 file changed, 60 insertions(+), 7 deletions(-) diff --git a/page_goods/orderDetail/orderDetail.vue b/page_goods/orderDetail/orderDetail.vue index c41d2f5..e62360b 100644 --- a/page_goods/orderDetail/orderDetail.vue +++ b/page_goods/orderDetail/orderDetail.vue @@ -428,6 +428,27 @@ + + + 已付金额 + + + {{ $lang('common.currencySymbol') }} + {{ (orderData && orderData.pay) ? orderData.pay.received_money : '' }} + + + + + + 未付金额 + + + {{ $lang('common.currencySymbol') }} + {{ (orderData && orderData.pay) ? orderData.pay.pay_money : '0.00' }} + + + + 运费 @@ -535,18 +556,17 @@ - 实付金额: + 总计金额: {{ $lang('common.currencySymbol') }} - {{ orderData.order_money }} - {{ orderData.sales_money }} + {{ (orderData && orderData.pay) ? orderData.pay.total_money : '0.00' }} + + - + @@ -559,6 +579,12 @@ @click="operation(operationItem.action)"> {{ operationItem.title }} + + + 支付 + { + _actionArr.push(v.action) + }) + + this.isOrderPayShow = false; + //判断"orderPay"在不在_actionArr中 + if (!_actionArr.includes('orderPay') && res.data.pay.pay_status == 0) { + this.isOrderPayShow = true + } + + + + + // this.isOrderPayShow = false; + // this.orderData.action.foreach((v)=>{ + // console.log('vvv',v.action) + // }) + let refund_order_goods_ids = []; this.orderData.order_goods.forEach(v => {