|
@ -2,7 +2,7 @@ |
|
|
<list-item-temp |
|
|
<list-item-temp |
|
|
:stadium="order.stadium_name || ''" |
|
|
:stadium="order.stadium_name || ''" |
|
|
:status="order.status_text || ''" |
|
|
:status="order.status_text || ''" |
|
|
:price="order.pay_amount || ''" |
|
|
|
|
|
|
|
|
:price="getPayAmount" |
|
|
:status-active="['待支付', '计费中','待使用', '使用中'].includes(order.status_text)" |
|
|
:status-active="['待支付', '计费中','待使用', '使用中'].includes(order.status_text)" |
|
|
:price-show="['待支付', '待使用', '使用中', '已完成', '已失效', '已退款'].includes(order.status_text)" |
|
|
:price-show="['待支付', '待使用', '使用中', '已完成', '已失效', '已退款'].includes(order.status_text)" |
|
|
@click:item="toDetail" |
|
|
@click:item="toDetail" |
|
@ -52,6 +52,13 @@ export default { |
|
|
'kv-line': kvLine, |
|
|
'kv-line': kvLine, |
|
|
'list-item-temp': listItemTemp |
|
|
'list-item-temp': listItemTemp |
|
|
}, |
|
|
}, |
|
|
|
|
|
computed: { |
|
|
|
|
|
getPayAmount(){ |
|
|
|
|
|
let { order } = this; |
|
|
|
|
|
if(order?.pay_type_text === '押金抵扣')return order?.deposit_deduction_amount ?? 0 |
|
|
|
|
|
return order?.pay_amount ?? 0; |
|
|
|
|
|
}, |
|
|
|
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
toDetail(){ |
|
|
toDetail(){ |
|
|
let { order } = this; |
|
|
let { order } = this; |
|
|