Commit bef71fc1 by liuchenxi

update: 表格排序

parent ee785ef8
......@@ -13,8 +13,7 @@ export default {
return val => parseFloat(val || 0).toLocaleString('zh', { minimumFractionDigits: 2 });
},
timeLimit() {
return true;
// return this.$route.query.createTime > 1635436800000;
return this.$route.query.createTime > 1635436800000;
}
}
};
......@@ -236,8 +236,8 @@ export default {
{ label: { name: '触达顾客转化人数', tipText: convMbrText }, prop: 'convMbrNum', align: 'left', sortable: 'custom', formatter: row => this.formatterNum(row.convMbrNum) },
{ label: { name: '触达顾客订单数', tipText: convOrderText }, prop: 'convOrderCnt', align: 'left', sortable: 'custom', formatter: row => this.formatterNum(row.convOrderCnt) },
{ label: { name: '触达顾客转化收益', tipText: convSalesText }, prop: 'convSalesAmt', align: 'left', sortable: 'custom', formatter: row => this.formatterNumAndFixed(row.convSalesAmt) },
{ label: { name: '客单价', tipText: customrPriceText }, align: 'left', sortable: 'custom', formatter: row => this.formatterNumAndFixed(row.customrPrice) },
{ label: { name: '连带率', tipText: relatedRateText }, align: 'left', sortable: 'custom', formatter: row => (this.timeLimit && row.relatedRate != '--' ? this.formatterNumAndFixed(row.relatedRate) : '--') }
{ label: { name: '客单价', tipText: customrPriceText }, prop: 'customerUnitPrice', align: 'left', sortable: 'custom', formatter: row => this.formatterNumAndFixed(row.customrPrice) },
{ label: { name: '连带率', tipText: relatedRateText }, prop: 'jointRate', align: 'left', sortable: this.timeLimit ? 'custom' : false, formatter: row => (this.timeLimit && row.relatedRate != '--' ? this.formatterNumAndFixed(row.relatedRate) : '--') }
];
}
if (this.type.indexOf('话务') != -1 || this.type == '群发') {
......
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