|
@@ -17,6 +17,14 @@
|
|
|
@keyup.enter.native="handleQuery"
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
+
|
|
|
+ <el-form-item label="订单类型" prop="orderId">
|
|
|
+ <el-select v-model="queryParams.type" placeholder="请选择订单类型" style="width: 100%;" clearable :filter-method="dataFilter" @change="handleQuery" >
|
|
|
+ <el-option label="全部" value="" />
|
|
|
+ <el-option v-for="(item,index) in typeList" :label="item.dictLabel" :value="Number(item.dictValue)" :key="index"/>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item label="订单号" prop="orderId">
|
|
|
<el-input
|
|
|
v-model="queryParams.orderId"
|
|
@@ -135,7 +143,12 @@
|
|
|
</div>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="盲票组名称" prop="title" min-width="80" />
|
|
|
- <el-table-column label="采购单价(元)" min-width="100">
|
|
|
+ <el-table-column v-if="JSON.parse(row.type).value == 1 " label="采购单价(元/包)" min-width="100">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <div>{{ $numberFormat(row.pkgSalePrice) }}</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column v-else label="预付票售价(元/包)" min-width="100">
|
|
|
<template slot-scope="{ row }">
|
|
|
<div>{{ $numberFormat(row.pkgSalePrice) }}</div>
|
|
|
</template>
|
|
@@ -149,6 +162,15 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="订单号" prop="orderId" min-width="80" />
|
|
|
+ <el-table-column label="订单类型" prop="orderId" min-width="80" align="center">
|
|
|
+ <template slot-scope="{ row }">
|
|
|
+ <div>
|
|
|
+ <div v-if="JSON.parse(row.type).value == 1">普通票</div>
|
|
|
+ <div v-if="JSON.parse(row.type).value == 2" style="color: red">线下预付票</div>
|
|
|
+ <div v-if="JSON.parse(row.type).value == 3">线上预付票</div>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="下单时间" min-width="100">
|
|
|
<template slot-scope="{ row }">
|
|
|
<div>
|
|
@@ -274,6 +296,7 @@ export default {
|
|
|
boxData: [],
|
|
|
siteList:[],
|
|
|
siteCopyList:[],
|
|
|
+ typeList: []
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
@@ -281,6 +304,7 @@ export default {
|
|
|
},
|
|
|
created() {
|
|
|
this.getList();
|
|
|
+ this.getTypeList()
|
|
|
},
|
|
|
methods: {
|
|
|
// 订单列表
|
|
@@ -314,6 +338,13 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
|
|
|
+ //订单类型筛选列表
|
|
|
+ getTypeList(){
|
|
|
+ this.getDicts('channel_order_type').then(res=>{
|
|
|
+ this.typeList = res.data
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
// 盲票组列表
|
|
|
getBoxList(row) {
|
|
|
boxList({ orderId: row.orderId }).then((res) => {
|