|
|
|
@ -82,6 +82,7 @@ class SaleStore {
|
|
|
|
|
// 切换标签页
|
|
|
|
|
onChange_Tabs(active_key) {
|
|
|
|
|
this.active_tab_key = active_key;
|
|
|
|
|
this.type_data = {};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 下单日期或者出发日期
|
|
|
|
@ -167,13 +168,14 @@ class SaleStore {
|
|
|
|
|
if (this.active_tab_key === 'All') {
|
|
|
|
|
result.columns = [
|
|
|
|
|
{
|
|
|
|
|
title: '',
|
|
|
|
|
title: '账户名',
|
|
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
title: '',
|
|
|
|
|
dataIndex: 'OPI_Name',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
sorter: (a, b) => (a?.OPI_Name || '').localeCompare(b.OPI_Name, 'zh-CN'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '毛利',
|
|
|
|
@ -223,6 +225,7 @@ class SaleStore {
|
|
|
|
|
dataIndex: 'OPI_Name',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
sorter: (a, b) => (a?.OPI_Name || '').localeCompare(b.OPI_Name, 'zh-CN'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '报价次数',
|
|
|
|
@ -276,6 +279,7 @@ class SaleStore {
|
|
|
|
|
dataIndex: 'OPI_Name',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
sorter: (a, b) => (a?.OPI_Name || '').localeCompare(b.OPI_Name, 'zh-CN'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '首次回复率',
|
|
|
|
@ -394,7 +398,9 @@ class SaleStore {
|
|
|
|
|
totalDiff.diff = (totalDiff.val-totalDiff.diffVal);
|
|
|
|
|
totalDiff.vs = comm.fixTo2Decimals(((totalDiff.val-totalDiff.diffVal)/totalDiff.diffVal)*100)+'%';
|
|
|
|
|
result.columns.push(
|
|
|
|
|
{ title: '顾问', children: [{ title: '', dataIndex: 'T_name', render: (text, record) => <NavLink to={`/sale_sub/${this.active_tab_key}`}>{text}</NavLink> }] },
|
|
|
|
|
{ title: '顾问', children: [{ title: '', dataIndex: 'T_name', render: (text, record) => <NavLink to={`/sale_sub/${this.active_tab_key}`}>{text}</NavLink> }],
|
|
|
|
|
sorter: (a, b) => (a?.T_name || '').localeCompare(b.T_name, 'zh-CN'),
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '合计',
|
|
|
|
|
children: [
|
|
|
|
|