Commit 0ab6557b authored by youjie's avatar youjie

no message

parent 57023109
<template> <template>
<el-table border ref="multipleTable" :data="OrderList" style="width: 100%" <el-table border ref="multipleTable" :data="OrderList" style="width: 100%"
:default-sort="{prop: 'null', order: 'null'}" :default-sort="{prop: 'null', order: 'null'}"
:sort-by="['Money','Income','PreferTipAmount','PreferTipAmount','PlatformTax','Refund','CostMoney','OrderProfit','DueInMoney']"> :sort-by="['Money','Income','PreferTipAmount','PlatformTax','Refund','CostMoney','OrderProfit','DueInMoney']">
<el-table-column width="200" prop="CreateTimeStr" label="订单Id" show-overflow-tooltip> <el-table-column width="200" prop="CreateTimeStr" label="订单Id" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<div> <div>
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</el-table-column> </el-table-column>
<el-table-column sortable prop="OrderProfit" label="预期利润" min-width="100"> <el-table-column sortable prop="OrderProfit" label="预期利润" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<span :class="{'red':scope.row.OrderProfit<0}">{{scope.row.OrderProfit}}</span> <span :class="{'red':scope.row.OrderProfit>0}">{{scope.row.OrderProfit}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column sortable prop="DiscountsMoney" label="优惠"> <el-table-column sortable prop="DiscountsMoney" label="优惠">
......
...@@ -274,7 +274,7 @@ ...@@ -274,7 +274,7 @@
<span :style="{'color': item.DueInMoney>0?'red':''}">{{item.DueInMoney.toFixed(2)}}</span> <span :style="{'color': item.DueInMoney>0?'red':''}">{{item.DueInMoney.toFixed(2)}}</span>
</span> </span>
<span>预期利润: <span>预期利润:
{{item.OrderProfit.toFixed(2)}} <span :style="{'color': item.OrderProfit>0?'red':''}">{{item.OrderProfit.toFixed(2)}}</span>
</span> </span>
<span>预期销售额: <span>预期销售额:
{{item.OrderSalesMoney.toFixed(2)}} {{item.OrderSalesMoney.toFixed(2)}}
......
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