Commit 610eddf8 authored by 黄奎's avatar 黄奎
parents a879560c 6262d206
...@@ -2258,7 +2258,7 @@ ...@@ -2258,7 +2258,7 @@
getList() { getList() {
this.loading = true; this.loading = true;
this.apipost( this.apipost(
"AirTicket_get_GetB2BAirTicketPageList", "AirTicket_get_GetERPAirTicketPageList",
this.msg, this.msg,
res => { res => {
this.loading = false; this.loading = false;
......
...@@ -77,6 +77,9 @@ ...@@ -77,6 +77,9 @@
color: #000000; color: #000000;
text-decoration: underline; text-decoration: underline;
} }
.color_red{
color: #e95252 !important;
}
</style> </style>
<template> <template>
<div class="page_MyCustomer"> <div class="page_MyCustomer">
...@@ -106,6 +109,12 @@ ...@@ -106,6 +109,12 @@
</li> </li>
</ul> </ul>
</div> </div>
<div style=" padding-bottom: 10px;">
<span>应收总额:{{moneyFormat(PreferPrice)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>实收:{{moneyFormat(IncomePrice)}}</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<span>待收:<span :class="{color_red:(PreferPrice-IncomePrice)!==0}">{{moneyFormat(PreferPrice-IncomePrice)}}</span></span>
</div>
<table class="VisaProductTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'> <table class="VisaProductTable" border="0" cellspacing="0" cellpadding="0" v-loading='loading'>
<tr> <tr>
<th width="10%">单号</th> <th width="10%">单号</th>
...@@ -241,6 +250,8 @@ export default { ...@@ -241,6 +250,8 @@ export default {
total: 0, total: 0,
currentPage: 1, currentPage: 1,
isShow:0, isShow:0,
PreferPrice:0,
IncomePrice:0
} }
},methods:{ },methods:{
goUrlVisaList(obj){ goUrlVisaList(obj){
...@@ -276,6 +287,8 @@ export default { ...@@ -276,6 +287,8 @@ export default {
}, },
getList(){ // 获取列表数据 getList(){ // 获取列表数据
this.apipost('dmc_get_visa_GetVisaOrderList',this.msg,res=>{ this.apipost('dmc_get_visa_GetVisaOrderList',this.msg,res=>{
this.PreferPrice=0;
this.IncomePrice=0;
if(res.data.resultCode==0){ if(res.data.resultCode==0){
this.loading = false; this.loading = false;
this.dataList=[] this.dataList=[]
...@@ -283,6 +296,10 @@ export default { ...@@ -283,6 +296,10 @@ export default {
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
this.total = res.data.data.count; this.total = res.data.data.count;
this.loading = false; this.loading = false;
this.dataList.forEach(x=>{
this.PreferPrice+=x.TotalPrice;
this.IncomePrice+=x.Income;
})
} }
},err=>{}) },err=>{})
}, },
......
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
height: 60px; height: 60px;
background-color: #f9f9f9; background-color: #f9f9f9;
margin-top: 9px; margin-top: 9px;
padding-right: 10px; padding-right: 3px;
} }
.TK_SeatList > ul > li:nth-child(1) { .TK_SeatList > ul > li:nth-child(1) {
...@@ -281,7 +281,7 @@ ...@@ -281,7 +281,7 @@
.TK_SeatList > ul > li { .TK_SeatList > ul > li {
float: left; float: left;
text-align: center; text-align: center;
margin: 5px 10px 0 0; margin: 5px 4px 0 0;
} }
.TK_SeatList > ul > li:last-child { .TK_SeatList > ul > li:last-child {
...@@ -1223,7 +1223,7 @@ ...@@ -1223,7 +1223,7 @@
} }
.TK_raduis ul li { .TK_raduis ul li {
margin-right: 12px; margin-left: 12px;
float: left; float: left;
} }
...@@ -1461,6 +1461,10 @@ ...@@ -1461,6 +1461,10 @@
<p class="_num3">{{item.UseScatterNum}}/{{item.AirTicketScatterNum }}</p> <p class="_num3">{{item.UseScatterNum}}/{{item.AirTicketScatterNum }}</p>
<p class="_wz">已卖/总数</p> <p class="_wz">已卖/总数</p>
</li> </li>
<li>
<p class="_num3">{{item.SurplusNum}}</p>
<p class="_wz">可散卖</p>
</li>
<li> <li>
<p class="_num3">{{item.OutTicketPercent}} %</p> <p class="_num3">{{item.OutTicketPercent}} %</p>
<p class="_wz">出票百分比</p> <p class="_wz">出票百分比</p>
......
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