review 订单
This commit is contained in:
parent
70a6d28edd
commit
0395b8f138
@ -205,6 +205,7 @@
|
|||||||
<div v-for="item in scope.row.items" :key="item">
|
<div v-for="item in scope.row.items" :key="item">
|
||||||
<div>
|
<div>
|
||||||
<p>{{ item.spuName }}</p>
|
<p>{{ item.spuName }}</p>
|
||||||
|
<!-- TODO xiaobai: 是不是 (item.payPrice / 100.0).toFixed(2) -->
|
||||||
<p>{{
|
<p>{{
|
||||||
'¥ ' +
|
'¥ ' +
|
||||||
parseFloat((item.payPrice / 100) as unknown as string).toFixed(2) +
|
parseFloat((item.payPrice / 100) as unknown as string).toFixed(2) +
|
||||||
@ -216,7 +217,6 @@
|
|||||||
</el-popover>
|
</el-popover>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="实际支付(元)" align="center" prop="payPrice" min-width="100">
|
<el-table-column label="实际支付(元)" align="center" prop="payPrice" min-width="100">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
{{ '¥ ' + parseFloat((scope.row.payPrice / 100) as unknown as string).toFixed(2) }}
|
{{ '¥ ' + parseFloat((scope.row.payPrice / 100) as unknown as string).toFixed(2) }}
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
<!-- 订单状态 -->
|
<!-- 订单状态 -->
|
||||||
<el-descriptions title="订单状态" :column="1">
|
<el-descriptions title="订单状态" :column="1">
|
||||||
<el-descriptions-item label="订单状态: ">
|
<el-descriptions-item label="订单状态: ">
|
||||||
|
<!-- TODO xiaobai:status 一定有值哈,不用判断 -->
|
||||||
<dict-tag
|
<dict-tag
|
||||||
v-if="order.status !== ''"
|
v-if="order.status !== ''"
|
||||||
:type="DICT_TYPE.TRADE_ORDER_STATUS"
|
:type="DICT_TYPE.TRADE_ORDER_STATUS"
|
||||||
@ -114,6 +115,7 @@
|
|||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
<el-descriptions column="6">
|
<el-descriptions column="6">
|
||||||
<el-descriptions-item label="商品总额: ">
|
<el-descriptions-item label="商品总额: ">
|
||||||
|
<!-- TODO xiaobai: 是不是 (item.payPrice / 100.0).toFixed(2) -->
|
||||||
¥{{ parseFloat((order.totalPrice / 100.0) as unknown as string).toFixed(2) }}
|
¥{{ parseFloat((order.totalPrice / 100.0) as unknown as string).toFixed(2) }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item label="运费金额: ">
|
<el-descriptions-item label="运费金额: ">
|
||||||
@ -150,6 +152,7 @@
|
|||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</el-descriptions>
|
||||||
|
|
||||||
|
<!-- TODO 芋艿:需要改改 -->
|
||||||
<div v-for="group in detailGroups" :key="group.title">
|
<div v-for="group in detailGroups" :key="group.title">
|
||||||
<el-descriptions v-bind="group.groupProps" :title="group.title">
|
<el-descriptions v-bind="group.groupProps" :title="group.title">
|
||||||
<!-- 订单操作日志 -->
|
<!-- 订单操作日志 -->
|
||||||
|
Loading…
Reference in New Issue
Block a user