|
|
@@ -83,11 +83,10 @@
|
|
|
<el-table-column prop="id" label="订单编号" width="120"> </el-table-column>
|
|
|
<el-table-column prop="createdAt" label="成交时间" width="158"> </el-table-column>
|
|
|
<el-table-column prop="status" label="状态" width="108" :formatter="statusFormatter">
|
|
|
- <!-- <template slot-scope="scope">
|
|
|
- <div :style="{ color: 'red' }">
|
|
|
- {{ scope.row.status }}
|
|
|
- </div>
|
|
|
- </template> -->
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div :style="{ color: '#fdfb60' }" v-if="scope.row.status === 'FINISH'">已完成</div>
|
|
|
+ <div :style="{ color: '#fdfb60' }" v-if="scope.row.status === 'PROCESSING'">交易中</div>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column fixed="right" label="操作">
|
|
|
<template slot-scope="scope">
|