Commit 6262d206 authored by liudong1993's avatar liudong1993

个签统计

parent e7b1d49e
...@@ -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=>{})
}, },
......
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