|
|
@@ -278,7 +278,7 @@
|
|
|
v-model="form.keyWords28"
|
|
|
placeholder="请选择">
|
|
|
<el-option
|
|
|
- v-for="item in order_tag_list"
|
|
|
+ v-for="item in orderTagList"
|
|
|
:key="item"
|
|
|
:label="item"
|
|
|
:value="item">
|
|
|
@@ -371,12 +371,12 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="sum_price"
|
|
|
+ prop="salePrice"
|
|
|
label="售票金额">
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="sum_count">
|
|
|
+ prop="saleNum">
|
|
|
<template
|
|
|
slot="header">
|
|
|
售票张数
|
|
|
@@ -385,7 +385,7 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="sum_people"
|
|
|
+ prop="salePeopleNum"
|
|
|
label="售票人数">
|
|
|
<template
|
|
|
slot="header">
|
|
|
@@ -395,7 +395,7 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="sum_multi_people"
|
|
|
+ prop="actualPeopleNum"
|
|
|
label="售票总人次">
|
|
|
<template
|
|
|
slot="header">
|
|
|
@@ -405,13 +405,13 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="cancel_price"
|
|
|
+ prop="cancelPrice"
|
|
|
label="退票金额">
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
width="100"
|
|
|
- prop="sum_cancel"
|
|
|
+ prop="cancelNum"
|
|
|
label="退票张数">
|
|
|
<template
|
|
|
slot="header">
|
|
|
@@ -421,7 +421,7 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="cancel_people"
|
|
|
+ prop="cancelPeopleNum"
|
|
|
label="退票人数">
|
|
|
<template
|
|
|
slot="header">
|
|
|
@@ -431,42 +431,40 @@
|
|
|
</el-table-column>
|
|
|
|
|
|
<el-table-column
|
|
|
- prop="cancel_multi_people"
|
|
|
- label="退票总人次">
|
|
|
- <template
|
|
|
- slot="header">
|
|
|
- 退票总人次
|
|
|
- <Tip msg="退票人数 × 票种人数"></Tip>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
-
|
|
|
- <el-table-column
|
|
|
- prop="actual_price"
|
|
|
+ prop="actualPrice"
|
|
|
label="实售金额">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="actual_count"
|
|
|
+ prop="actualNum"
|
|
|
label="实售张数">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="actual_people"
|
|
|
+ prop="actualPeopleNum"
|
|
|
label="实售人数">
|
|
|
</el-table-column>
|
|
|
- <el-table-column
|
|
|
+ <!-- <el-table-column
|
|
|
prop="actual_multi_people"
|
|
|
width="110"
|
|
|
label="实售总人次">
|
|
|
<template slot-scope="scope">
|
|
|
- {{ scope.row.sum_multi_people - scope.row.cancel_multi_people }}
|
|
|
+ {{ scope.row.actualPeopleNum - scope.row.cancel_multi_people }}
|
|
|
</template>
|
|
|
+ </el-table-column> -->
|
|
|
+ <el-table-column
|
|
|
+ prop="ticketTypeName"
|
|
|
+ label="票种">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="adminName"
|
|
|
+ label="售票员">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="check_num"
|
|
|
- label="检票人数">
|
|
|
+ prop="source"
|
|
|
+ label="销售渠道">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="check_price"
|
|
|
- label="检票金额">
|
|
|
+ prop="payChannel"
|
|
|
+ label="支付方式">
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
@@ -486,17 +484,17 @@ import Tip from '@/components/Tip'
|
|
|
import moment from 'moment'
|
|
|
|
|
|
const groupKeys = [
|
|
|
- { value: 'order_date_year', label: '订单日期(年)' },
|
|
|
- { value: 'order_date_month', label: '订单日期(月)' },
|
|
|
- { value: 'order_date_day', label: '订单日期(日)' },
|
|
|
- { value: 'ota_name', label: 'OTA 名称' },
|
|
|
- { value: 'batch_config_id', label: '场次名', prop: 'batch_config_name' },
|
|
|
- { value: 'agency_name', label: '旅行社' },
|
|
|
- { value: 'manager_id', label: '售票员', prop: 'manager_name' },
|
|
|
- { value: 'ticket_type_id', label: '票种', prop: 'ticket_type_name' },
|
|
|
- { value: 'pay_channel', label: '支付方式' },
|
|
|
- { value: 'price_plan_id', label: '价格方案', prop: 'price_plan_name' },
|
|
|
- { value: 'unit_price', label: '单价' }
|
|
|
+ { value: 'orderDateYear', label: '订单日期(年)' },
|
|
|
+ { value: 'orderDateMonth', label: '订单日期(月)' },
|
|
|
+ { value: 'orderDateDay', label: '订单日期(日)' },
|
|
|
+ { value: 'otaName', label: 'OTA 名称' },
|
|
|
+ { value: 'batchConfigId', label: '场次名', prop: 'batchConfigName' },
|
|
|
+ { value: 'agencyName', label: '旅行社' },
|
|
|
+ { value: 'managerId', label: '售票员', prop: 'managerName' },
|
|
|
+ { value: 'ticketTypeId', label: '票种', prop: 'ticketTypeName' },
|
|
|
+ { value: 'payChannel', label: '支付方式' },
|
|
|
+ { value: 'pricePlanId', label: '价格方案', prop: 'pricePlanName' },
|
|
|
+ { value: 'unitPrice', label: '单价' }
|
|
|
]
|
|
|
|
|
|
export default {
|
|
|
@@ -514,7 +512,7 @@ export default {
|
|
|
return this.$store.getters.payChannelOptions
|
|
|
},
|
|
|
userScenic () {
|
|
|
- return this.$store.state.app.account.manager_scenic_matrix ? this.$store.state.app.account.manager_scenic_matrix : this.scenicList
|
|
|
+ return this.$store.state.app.account.managerScenicMatrix ? this.$store.state.app.account.managerScenicMatrix : this.scenicList
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
|
@@ -523,8 +521,8 @@ export default {
|
|
|
},
|
|
|
data () {
|
|
|
return {
|
|
|
- finalGroup: [{ value: 'ticket_type_id', label: '票种', prop: 'ticket_type_name' }],
|
|
|
- selectKeys: ['ticket_type_id'],
|
|
|
+ finalGroup: [{ value: 'ticketTypeId', label: '票种', prop: 'ticketTypeName' }],
|
|
|
+ selectKeys: ['ticketTypeId'],
|
|
|
ticketStatusDic,
|
|
|
ticketTypeList: [],
|
|
|
oldTicketTypeOptions: [[]],
|
|
|
@@ -554,11 +552,11 @@ export default {
|
|
|
keyList6: [],
|
|
|
keyList7: [], // 售票员id
|
|
|
keyList8: [],
|
|
|
- keyGroupBy: ['ticket_type_id']
|
|
|
+ keyGroupBy: ['ticketTypeId']
|
|
|
},
|
|
|
tableData: [],
|
|
|
loading: false,
|
|
|
- order_tag_list: [],
|
|
|
+ orderTagList: [],
|
|
|
ticketTagList: [],
|
|
|
OrderIndexArr: [],
|
|
|
index: 0,
|
|
|
@@ -582,10 +580,10 @@ export default {
|
|
|
this.getTicketSpotList()
|
|
|
const res = await getSystemConfigList()
|
|
|
/*
|
|
|
- const order_tag_list = res.list.find(v => v.config_key === 'order_tag_list')?.config_value || []
|
|
|
- this.order_tag_list = order_tag_list.replace(/\s+/g, '').split(',')
|
|
|
+ const orderTagList = res.list.find(v => v.config_key === 'orderTagList')?.config_value || []
|
|
|
+ this.orderTagList = orderTagList.replace(/\s+/g, '').split(',')
|
|
|
*/
|
|
|
- this.order_tag_list = res.list.find(v => v.config_key === 'order_tag_list')?.config_value?.replace(/\s+/g, '')?.split(',') || []
|
|
|
+ this.orderTagList = res.list.find(v => v.config_key === 'orderTagList')?.config_value?.replace(/\s+/g, '')?.split(',') || []
|
|
|
},
|
|
|
methods: {
|
|
|
|
|
|
@@ -623,9 +621,9 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
disabled (item) {
|
|
|
- if (item.value.includes('order_date_')) {
|
|
|
- if (this.selectKeys.find(v => v.includes('order_date_'))) {
|
|
|
- if (item.value === this.selectKeys.find(v => v.includes('order_date_'))) {
|
|
|
+ if (item.value.includes('orderDate')) {
|
|
|
+ if (this.selectKeys.find(v => v.includes('orderDate'))) {
|
|
|
+ if (item.value === this.selectKeys.find(v => v.includes('orderDate'))) {
|
|
|
return false
|
|
|
} else {
|
|
|
return true
|
|
|
@@ -739,7 +737,7 @@ export default {
|
|
|
this.form.keyGroupBy = this.finalGroup.map(i => i.value)
|
|
|
|
|
|
getOrderStatistics(this.form).then(res => {
|
|
|
- this.tableData = res.data
|
|
|
+ this.tableData = res.data || []
|
|
|
|
|
|
this.finalGroup.forEach(i => {
|
|
|
groupArray.push({})
|