修改地接社团类别内容错误

feature/2.0-sales-trade
LiaoYijun 3 years ago
parent d438adde67
commit 0e28b43fbd

@ -124,6 +124,8 @@ class CustomerServices {
fetchGroupListByAgentId(agentId) {
this.selectedAgent = {VendorName: '...'};
this.groupList = [];
this.groupListColumns = [];
req.fetchJSON(config.HT_HOST + '/service-web/QueryData/GetAgentGroupInfo?VEI_SN=' + agentId + '&DateType=' + this.dateType + '&Date1=' + this.startDateString + '&Date2=' + this.endDateString + '&OldDate1=' + this.startDateString + '&OldDate2=' + this.endDateString)
.then(json => {
if (json.errcode === 0) {
@ -163,6 +165,16 @@ class CustomerServices {
}
]
},
{
title: '交易额',
dataIndex: 'totalcost',
sorter: (a, b) => a.totalcost - b.totalcost,
children: [{
title: total1.totalcost,
dataIndex: 'totalcost'
}
]
},
{
title: '经过城市',
dataIndex: 'PassCity',
@ -177,7 +189,7 @@ class CustomerServices {
dataIndex: 'GuideName',
children: [{
title: '-',
dataIndex: 'PassCity'
dataIndex: 'GuideName'
}
]
},
@ -206,17 +218,7 @@ class CustomerServices {
dataIndex: 'ECI_Content',
children: [{
title: '-',
dataIndex: 'PassCity'
}
]
},
{
title: '交易额',
dataIndex: 'totalcost',
sorter: (a, b) => a.totalcost - b.totalcost,
children: [{
title: total1.totalcost,
dataIndex: 'totalcost'
dataIndex: 'ECI_Content'
}
]
}
@ -249,69 +251,9 @@ class CustomerServices {
dateType;
selectedAgent;
groupList = [{
EOI_ObjSN: 1,
GRI_SN: '---',
GRI_Name: 0,
COLI_PersonNum: 0,
COLI_Days: 0,
PassCity: 0,
VendorName: 0,
GuideName: '-',
Good: 0,
Bad: '-',
ECI_Content: '-',
totalcost: 0,
key: 1
}];
groupList = [];
groupListColumns = [
{
title: '团名',
dataIndex: 'GRI_Name'
},
{
title: '人数',
dataIndex: 'COLI_PersonNum',
sorter: (a, b) => a.COLI_PersonNum - b.COLI_PersonNum
},
{
title: '天数',
dataIndex: 'COLI_Days',
sorter: (a, b) => a.COLI_Days - b.COLI_Days
},
{
title: '经过城市',
dataIndex: 'PassCity'
},
{
title: '地接社名称',
dataIndex: 'VendorName'
},
{
title: '导游',
dataIndex: 'GuideName'
},
{
title: '好评',
dataIndex: 'Good',
sorter: (a, b) => a.Good - b.Good
},
{
title: '差评',
dataIndex: 'Bad',
sorter: (a, b) => a.Bad - b.Bad
},
{
title: '评论内容',
dataIndex: 'ECI_Content'
},
{
title: '交易额',
dataIndex: 'totalcost',
sorter: (a, b) => a.totalcost - b.totalcost
}
];
groupListColumns = [];
agentList = [{
EOI_ObjSN: 1,

Loading…
Cancel
Save