Commit 3fa5c961 authored by 严宝瑞's avatar 严宝瑞

添加金额

parent 8f08379a
......@@ -23,6 +23,27 @@
<el-table-column label="Email of Customer" prop="email" />
<el-table-column label="Date for Order" prop="order_created_at" />
<el-table-column label="Quantity" prop="required_num" />
<el-table-column label="total_amount" prop="total_amount" width="200">
<template slot-scope="{ row }">
<span style="font-size:12px">
Total Amount:
{{ row.currency ? row.currency.symbol : ""
}}{{ Number(row.total_amount).toFixed(2) }}
<br />
shipping Expedited Fee:
<span
:style="row.shipping_expedited_fee > 0 ? { color: 'red' } : ''"
>
{{ row.currency ? row.currency.symbol : ""
}}{{ Number(row.shipping_expedited_fee).toFixed(2) }}
</span>
<br />
,Total Discount:{{ row.currency ? row.currency.symbol : ""
}}{{ Number(row.total_discount).toFixed(2) }}
</span>
</template>
</el-table-column>
<el-table-column
label="Order status"
prop="order_status.en_for_translator"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment