Commit 055ff6f8 by 前端

价格处理

1 parent af9493e0
......@@ -6,7 +6,9 @@
<span v-if="!isLoading" class="stutas-circle"
:style="{backgroundColor: (orderInfo.returnOrderStatus == 1003 || orderInfo.returnOrderStatus == 1006) ? '#2CCA74': '#5850FF'}"></span>
<span
v-if="!isLoading">{{ (orderInfo.returnOrderStatus == 1003 || orderInfo.returnOrderStatus == 1006) ? '售后完成' : '售后中' }}</span>
v-if="!isLoading">{{
(orderInfo.returnOrderStatus == 1003 || orderInfo.returnOrderStatus == 1006) ? '售后完成' : '售后中'
}}</span>
</div>
<div class="info-wrap order-info">
<div class="title">售后信息</div>
......@@ -126,7 +128,7 @@ export default {
label: '申请金额 (元)',
prop: 'refundPrice',
formatter: cell => {
return cell.redeemPoints ? cell.redeemPoints + '积分' + '+' + cell.refundPrice + '元' : cell.refundPrice + '元'
return cell.redeemPoints ? (cell.redeemPoints * cell.sellQty) + '积分' + '+' + (cell.refundPrice * cell.sellQty) + '元' : (cell.refundPrice * cell.sellQty) + '元'
}
},
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!