Commit 6262d206 authored by liudong1993's avatar liudong1993

个签统计

parent e7b1d49e
......@@ -2258,7 +2258,7 @@
getList() {
this.loading = true;
this.apipost(
"AirTicket_get_GetB2BAirTicketPageList",
"AirTicket_get_GetERPAirTicketPageList",
this.msg,
res => {
this.loading = false;
......
......@@ -77,6 +77,9 @@
color: #000000;
text-decoration: underline;
}
.color_red{
color: #e95252 !important;
}
</style>
<template>
<div class="page_MyCustomer">
......@@ -106,6 +109,12 @@
</li>
</ul>
</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'>
<tr>
<th width="10%">单号</th>
......@@ -241,6 +250,8 @@ export default {
total: 0,
currentPage: 1,
isShow:0,
PreferPrice:0,
IncomePrice:0
}
},methods:{
goUrlVisaList(obj){
......@@ -276,6 +287,8 @@ export default {
},
getList(){ // 获取列表数据
this.apipost('dmc_get_visa_GetVisaOrderList',this.msg,res=>{
this.PreferPrice=0;
this.IncomePrice=0;
if(res.data.resultCode==0){
this.loading = false;
this.dataList=[]
......@@ -283,6 +296,10 @@ export default {
this.dataList = res.data.data.pageData;
this.total = res.data.data.count;
this.loading = false;
this.dataList.forEach(x=>{
this.PreferPrice+=x.TotalPrice;
this.IncomePrice+=x.Income;
})
}
},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