Commit d9ef470b authored by Mac's avatar Mac

1

parent 4f8b8a7a
...@@ -64,6 +64,12 @@ ...@@ -64,6 +64,12 @@
<span v-else>{{scope.row.BuyNum}}</span> <span v-else>{{scope.row.BuyNum}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="平均取消单数" prop="CancelOrderNum" width='120'>
<template slot-scope="scope">
<span v-if="getisred(scope.row.CancelOrderNum) == true" style="color: #FD0F05;">{{scope.row.CancelOrderNum}}</span>
<span v-else>{{scope.row.CancelOrderNum}}</span>
</template>
</el-table-column>
<el-table-column label="平均每人购买单数" prop="AvgOrderNum" width='125'> <el-table-column label="平均每人购买单数" prop="AvgOrderNum" width='125'>
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="getisred(scope.row.AvgOrderNum) == true" style="color: #FD0F05;">{{scope.row.AvgOrderNum}}</span> <span v-if="getisred(scope.row.AvgOrderNum) == true" style="color: #FD0F05;">{{scope.row.AvgOrderNum}}</span>
...@@ -260,6 +266,7 @@ ...@@ -260,6 +266,7 @@
OrderNum:'付款单数', OrderNum:'付款单数',
PayMoney:'付款金额', PayMoney:'付款金额',
BuyNum:'购买件数', BuyNum:'购买件数',
CancelOrderNum:'取消单数',
AvgOrderNum:'平均每人购买单数', AvgOrderNum:'平均每人购买单数',
AvgBuyNum:'平均每人购买件数', AvgBuyNum:'平均每人购买件数',
AvgUnitPrice:'平均每单单价', AvgUnitPrice:'平均每单单价',
...@@ -282,6 +289,7 @@ ...@@ -282,6 +289,7 @@
OrderNum:'', OrderNum:'',
PayMoney:'', PayMoney:'',
BuyNum:'', BuyNum:'',
CancelOrderNum:'',
AvgOrderNum:'', AvgOrderNum:'',
AvgBuyNum:'', AvgBuyNum:'',
AvgUnitPrice:'', AvgUnitPrice:'',
...@@ -321,6 +329,7 @@ ...@@ -321,6 +329,7 @@
x.YXNum=x.YXNum+'%'; x.YXNum=x.YXNum+'%';
x.JXNum=x.JXNum+'%'; x.JXNum=x.JXNum+'%';
x.ProfitRate=x.ProfitRate+'%'; x.ProfitRate=x.ProfitRate+'%';
x.CancelOrderNum=x.CancelOrderNum+'%';
this.RList.push(x) this.RList.push(x)
this.RList.push(obj2) this.RList.push(obj2)
this.RList.push(obj) this.RList.push(obj)
...@@ -391,7 +400,7 @@ ...@@ -391,7 +400,7 @@
} }
}, },
columnStyle({row, column, rowIndex, columnIndex}){ columnStyle({row, column, rowIndex, columnIndex}){
if(row.hasOwnProperty('DateStr') && (columnIndex==1|| columnIndex==2||columnIndex==3||columnIndex==4)){ if(row.hasOwnProperty('DateStr') && (columnIndex==1|| columnIndex==2||columnIndex==3||columnIndex==4||columnIndex==5)){
return 'background:#FFF;' return 'background:#FFF;'
} }
} }
......
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