|
|
@@ -122,7 +122,8 @@ |
|
|
|
<template slot-scope="scope"> |
|
|
|
<div v-html="'金额:'+scope.row.total_amount"></div> |
|
|
|
<div v-html="'成本:'+scope.row.cost_amount"></div> |
|
|
|
<div v-html="'利润:'+scope.row.profit_amount"></div> |
|
|
|
<div v-if="scope.row.profit_amount>0" v-html="'利润:'+scope.row.profit_amount"></div> |
|
|
|
<div v-if="scope.row.profit_amount<=0" v-html="'利润:'+scope.row.profit_amount" style="color: red"></div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="order_status" label="状态" min-width="40" :formatter="getOrderMainStatus"></el-table-column> |
|
|
|