Commit db032f76 authored by huangyuanyuan's avatar huangyuanyuan

散客机票

parent dda0508e
......@@ -63,33 +63,35 @@
</tr>
<tbody v-for="(item,index) in dataList" :key="index">
<tr>
<td>{{item.AirProductId}} </td>
<td>{{item.Id}} </td>
<td><p class="fz12 over_ellipsis" style="width: 120px;">{{item.ContactName}}</p>
<!-- <p class="fz12">123456</p> -->
</td>
<td>{{item.GuestNum}}</td>
<td class="fz12">{{item.TC_Price}}</td>
<td class="fz12">{{item.Unit_Price}}</td>
<td style="color:#FF9C00">{{item.PreferPrice}}</td>
<td style="color:#FF9C00">{{item.Income}}</td>
<td style="color:#E95252">{{item.PreferPrice}}</td>
<td style="color:#E95252">{{item.Income}}</td>
<td>{{item.Refund}}</td>
<td>{{item.PlatformTax}}</td>
<td>
<el-tag v-if="item.Status==1" type="success">正常</el-tag>
<el-tag v-if="item.Status==2">取消</el-tag>
<el-tag v-if="item.Status==3" type="danger">待付款</el-tag>
</td>
</tr>
<tr style="height:20px">
<td colspan="15" class="RL_Order" style="height:20px">
<span class="RL-remarkTitle">名单:</span>
<span class="RL-redType RL-remarkCon" v-if="item.GuestList.length>0">
<span v-for="(childItem) in item.GuestList" :key="childItem.Name">{{childItem.Name}}&nbsp;&nbsp;</span>
<el-popover
<el-popover
placement="right"
width="1000"
trigger="click">
<el-table :data="item.GuestList">
<el-table-column property="Id" label="订单ID"></el-table-column>
<el-table-column property="Id" label="排号"></el-table-column>
<el-table-column property="Name" label="姓名"></el-table-column>
<el-table-column property="EName" label="英文姓名"></el-table-column>
<el-table-column property="Sex" label="性别">
......@@ -112,11 +114,11 @@
</template>
</el-table-column>
</el-table>
<span style="float:right" class="RL-remarkTitle" slot="reference">
<i style="font-size:12px;color:#e95252" class="iconfont icon-gengduo"></i>
<span slot="reference">
<span style="cursor:pointer" v-for="(childItem) in item.GuestList" :key="childItem.Name">{{childItem.Name}}&nbsp;&nbsp;</span>
</span>
</el-popover>
</el-popover>
</span>
<span class="RL-redType RL-remarkCon" v-else>
<span>暂无名单</span>
......@@ -158,6 +160,7 @@
</template>
<script>
import moment from 'moment'
export default {
data() {
return {
......@@ -166,11 +169,11 @@ export default {
pageSize: 10,
AirTicketId: 0,
AirOrderId: 0,
Status: 1,
StartTime: "",
Status: 0,
StartTime: moment().format("YYYY-MM-DD"),
EndTime: ""
},
status: [{ title: "正常", num: 1 }, { title: "取消", num: 2 }],
status: [{ title: "全部", num: 0 },{ title: "待付款", num: 3 },{ title: "正常", num: 1 }, { title: "取消", num: 2 }],
dataList:[],
loading:false,
total:0,
......@@ -195,7 +198,7 @@ export default {
res => {
this.loading=false;
if (res.data.resultCode == 1) {
// console.log(res);
console.log(res);
this.total = res.data.data.count;
this.dataList = res.data.data.pageData;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment