Commit e23918d7 authored by 黄奎's avatar 黄奎

页面修改

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