Browse Source

展示优化

dev
nizongfeng 3 years ago
parent
commit
188fa317da
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      application/admin/view/order_main/index.html

+ 2
- 1
application/admin/view/order_main/index.html View File

@@ -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>


Loading…
Cancel
Save