|
@@ -141,7 +141,8 @@ export default {
|
|
|
cancelTimeBegin: new Date(moment().format('YYYY-MM-DD') + ' 00:00:00'),
|
|
cancelTimeBegin: new Date(moment().format('YYYY-MM-DD') + ' 00:00:00'),
|
|
|
cancelTimeEnd: new Date(moment().format('YYYY-MM-DD') + ' 23:59:59'),
|
|
cancelTimeEnd: new Date(moment().format('YYYY-MM-DD') + ' 23:59:59'),
|
|
|
ticketTypeIdList: [], // 票种
|
|
ticketTypeIdList: [], // 票种
|
|
|
- otaSourceNameList: []
|
|
|
|
|
|
|
+ otaSourceNameList: [],
|
|
|
|
|
+ groupByList: []
|
|
|
},
|
|
},
|
|
|
groupKeys: [{ value: 'orderDateDay', label: '统计日期' }],
|
|
groupKeys: [{ value: 'orderDateDay', label: '统计日期' }],
|
|
|
finalGroup: [
|
|
finalGroup: [
|
|
@@ -154,7 +155,7 @@ export default {
|
|
|
{ prop: 'cancelSettlementPrice', label: '退票结算金额' },
|
|
{ prop: 'cancelSettlementPrice', label: '退票结算金额' },
|
|
|
{ prop: 'orderDateDay', label: '统计日期' }
|
|
{ prop: 'orderDateDay', label: '统计日期' }
|
|
|
],
|
|
],
|
|
|
- selectKeys: [''], // 默认选中
|
|
|
|
|
|
|
+ selectKeys: [], // 默认选中
|
|
|
tableData: [],
|
|
tableData: [],
|
|
|
otaSourceList: [],
|
|
otaSourceList: [],
|
|
|
OrderIndexArr: [],
|
|
OrderIndexArr: [],
|
|
@@ -264,13 +265,13 @@ export default {
|
|
|
getList () {
|
|
getList () {
|
|
|
if (this.selectKeys.length === 0) {
|
|
if (this.selectKeys.length === 0) {
|
|
|
this.finalGroup = [
|
|
this.finalGroup = [
|
|
|
- { prop: 'otaSourceName', label: '订单渠道' },
|
|
|
|
|
- { prop: 'ticketTypeName', label: '票种名称' },
|
|
|
|
|
- { prop: 'unitPrice', label: '单价' },
|
|
|
|
|
- { prop: 'checkCount', label: '检票数量' },
|
|
|
|
|
- { prop: 'checkNum', label: '检票人数' },
|
|
|
|
|
- { prop: 'checkPrice', label: '检票金额' },
|
|
|
|
|
- { prop: 'orderDateDay', label: '统计日期' }
|
|
|
|
|
|
|
+ // { prop: 'otaSourceName', label: '订单渠道' },
|
|
|
|
|
+ // { prop: 'ticketTypeName', label: '票种名称' },
|
|
|
|
|
+ // { prop: 'unitPrice', label: '单价' },
|
|
|
|
|
+ // { prop: 'checkCount', label: '检票数量' },
|
|
|
|
|
+ // { prop: 'checkNum', label: '检票人数' },
|
|
|
|
|
+ // { prop: 'checkPrice', label: '检票金额' },
|
|
|
|
|
+ // { prop: 'orderDateDay', label: '统计日期' }
|
|
|
]
|
|
]
|
|
|
} else {
|
|
} else {
|
|
|
this.finalGroup = [...this.finalGroup].sort((a, b) =>
|
|
this.finalGroup = [...this.finalGroup].sort((a, b) =>
|
|
@@ -278,6 +279,8 @@ export default {
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ this.form.groupByList = [...this.selectKeys] || []
|
|
|
|
|
+
|
|
|
this.loading = true
|
|
this.loading = true
|
|
|
this.setTime()
|
|
this.setTime()
|
|
|
getCancelOrderStatistics(this.form).then(res => {
|
|
getCancelOrderStatistics(this.form).then(res => {
|