Commit 67f5e3b8 authored by 黄奎's avatar 黄奎

页面修改

parent d44147ed
...@@ -64,14 +64,13 @@ ...@@ -64,14 +64,13 @@
export default { export default {
data() { data() {
return { return {
Year: new Date().getFullYear(), Year: new Date().getFullYear(),
Month: new Date().getMonth() + 1, Month: new Date().getMonth() + 1,
date: new Date().getDate(), date: new Date().getDate(),
IsInter:-1,//月统计[0-国内,1-国际] IsInter: -1, //月统计[0-国内,1-国际]
YearS: new Date().getFullYear(), YearS: new Date().getFullYear(),
MonthS: '', MonthS: '',
IsInters:-1,//年统计[0-国内,1-国际] IsInters: -1, //年统计[0-国内,1-国际]
clientHeight: '', clientHeight: '',
yearList: [], yearList: [],
MonthList: [], MonthList: [],
...@@ -266,7 +265,7 @@ ...@@ -266,7 +265,7 @@
let msg = { let msg = {
Year: this.YearS, Year: this.YearS,
Month: '', Month: '',
IsInter:this.IsInters IsInter: this.IsInters
} }
this.apipost('Domestic_Ticket_post_GetProfitList', msg, r => { this.apipost('Domestic_Ticket_post_GetProfitList', msg, r => {
if (r.data.resultCode == 1) { if (r.data.resultCode == 1) {
......
...@@ -146,7 +146,7 @@ ...@@ -146,7 +146,7 @@
<th>航班</th> <th>航班</th>
<th>航段</th> <th>航段</th>
</tr> </tr>
<tr v-for="(i,d) in item.FlightList"> <tr v-for="(i,d) in item.FlightList" :key="d">
<td>{{i.AirlineName}}</td> <td>{{i.AirlineName}}</td>
<td>{{i.FlightNo}}</td> <td>{{i.FlightNo}}</td>
<td>{{i.Leg}}</td> <td>{{i.Leg}}</td>
...@@ -337,4 +337,5 @@ ...@@ -337,4 +337,5 @@
}, },
} }
} }
</script> </script>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<th>操作人</th> <th>操作人</th>
<th>操作</th> <th>操作</th>
</tr> </tr>
<tr v-for="(item,index) in dataList"> <tr v-for="(item,index) in dataList" :key="index">
<td>{{item.IsInter==0?"国内机票":"国际机票"}}</td> <td>{{item.IsInter==0?"国内机票":"国际机票"}}</td>
<td>{{item.Term}}</td> <td>{{item.Term}}</td>
<td>¥{{item.Money}}</td> <td>¥{{item.Money}}</td>
...@@ -91,7 +91,6 @@ ...@@ -91,7 +91,6 @@
<span>{{item.PayMoney}}</span> <span>{{item.PayMoney}}</span>
</td> </td>
<td :class="Math.abs(item.Money-item.InCome)>0?'_color_red':''"> <td :class="Math.abs(item.Money-item.InCome)>0?'_color_red':''">
<!-- ¥{{Math.abs(item.Money-item.InCome)}} -->
<span v-if="item.Money > item.InCome">{{(item.Money- item.InCome).toFixed(2)}}</span> <span v-if="item.Money > item.InCome">{{(item.Money- item.InCome).toFixed(2)}}</span>
<span v-else>0</span> <span v-else>0</span>
</td> </td>
......
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