Commit e23918d7 authored by 黄奎's avatar 黄奎

页面修改

parent 7104047e
...@@ -64,8 +64,8 @@ ...@@ -64,8 +64,8 @@
</ul> </ul>
</div> </div>
<table class="fpTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading" <table class="fpTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"
v-for="(item,index) in dataList.resultList"> v-for="(item,index) in dataList.resultList" :key="index">
<tbody v-for="(subItem,subIndex) in item.TicketList"> <tbody v-for="(subItem,subIndex) in item.TicketList" :key="subIndex">
<tr v-if="subIndex==0"> <tr v-if="subIndex==0">
<td colspan="6"> <td colspan="6">
<span class="creatName">{{item.CreateByName}}</span> <span class="creatName">{{item.CreateByName}}</span>
...@@ -80,8 +80,8 @@ ...@@ -80,8 +80,8 @@
<th>金额</th> <th>金额</th>
<th>小计</th> <th>小计</th>
</tr> </tr>
<template v-for="(childItem,childIndex) in subItem.SubList"> <template v-for="(childItem,childIndex) in subItem.SubList" >
<tr> <tr :key="childIndex">
<td width="10%"> <td width="10%">
{{childIndex+1}} {{childIndex+1}}
</td> </td>
...@@ -104,7 +104,7 @@ ...@@ -104,7 +104,7 @@
v-if="childIndex==0">{{dataList.UnitPrice}}</td> v-if="childIndex==0">{{dataList.UnitPrice}}</td>
<td width="10%">{{childItem.TicketNum*dataList.UnitPrice}}</td> <td width="10%">{{childItem.TicketNum*dataList.UnitPrice}}</td>
</tr> </tr>
<tr v-if="childIndex==subItem.SubList.length-1"> <tr v-if="childIndex==subItem.SubList.length-1" :key="childIndex+500">
<td></td> <td></td>
<td style="font-weight:bold;">合计</td> <td style="font-weight:bold;">合计</td>
<td style="color:red;"> <td style="color:red;">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <li>
<input v-if="IsAuth==1" type="button" class="normalBtn" @click="CreateAirticketCommission()" value="生成提成报表" :disabled="isDisable" /> <input v-if="IsAuth==1 || CurrentUserInfo.EmployeeId==5|| CurrentUserInfo.EmployeeId==615" type="button" class="normalBtn" @click="CreateAirticketCommission()" value="生成提成报表" :disabled="isDisable" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<th>日期</th> <th>日期</th>
<th>{{$t('system.table_operation')}}</th> <th>{{$t('system.table_operation')}}</th>
</tr> </tr>
<tr v-for="item in dataList"> <tr v-for="(item,index) in dataList" :key="index">
<td>{{item.Periods}}</td> <td>{{item.Periods}}</td>
<td>{{item.SumPrice}}</td> <td>{{item.SumPrice}}</td>
<td>{{item.CreateByName}}</td> <td>{{item.CreateByName}}</td>
...@@ -61,9 +61,12 @@ ...@@ -61,9 +61,12 @@
currentPage: 1, currentPage: 1,
isDisable:false, isDisable:false,
IsAuth:0,//生成票务提成权限 IsAuth:0,//生成票务提成权限
CurrentUserInfo:{},//当前用户对象
} }
}, },
mounted() { mounted() {
let userInfo = this.getLocalStorage();
this.CurrentUserInfo=userInfo;
this.GetAuth(); this.GetAuth();
this.getList(); this.getList();
}, },
......
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