Commit 1814360b authored by 黄奎's avatar 黄奎

票务业绩修改

parent e4becb9e
......@@ -18,17 +18,37 @@
<th>期数</th>
<th>详情</th>
</tr>
<tr v-for="item in dataList">
<tr v-for="(item,index) in dataList" :key="index">
<td>{{item.BName}}</td>
<td>{{item.DName}}</td>
<td>{{item.UName}}</td>
<td>{{item.TotalPersion}}</td>
<td>{{item.CommissionMoney}}</td>
<td>{{item.Periods}}</td>
<td><template v-if="item.Frids.length==0">
{{item.TotalPersion}}
</template>
</td>
<td>
<template v-if="item.Frids.length==0">
{{item.CommissionMoney}}
</template>
</td>
<td>
<template v-if="item.Frids.length==0">
{{item.Periods}}</template>
<template v-else>
被驳回的财务单据:
</template>
</td>
<td>
<a @click="goUrl(item)" style="color:blue;text-decoration:underline;cursor:pointer;">详情</a>&nbsp;&nbsp;
<a
@click="DownLoadAirticketCommission(item)"
<template v-if="item.Frids.length==0">
<a @click="goUrl(item)" style="color:blue;text-decoration:underline;cursor:pointer;">详情</a>&nbsp;&nbsp;
</template>
<template v-else v-for="(subItem,subIndex) in item.Frids">
<span :key="subIndex" style="color:red;text-decoration:underline;cursor:pointer;"
@click="goFinaceUrl('FinancialDocumentsDetail',subItem)">
{{subItem}}
</span>&nbsp;
</template>
<a @click="DownLoadAirticketCommission(item)"
style="color:blue;text-decoration:underline;cursor:pointer; display:none;">下载差异</a>
</td>
</tr>
......@@ -86,6 +106,16 @@
null
);
},
goFinaceUrl(path, id) {
this.$router.push({
path: '/' + path,
query: {
id: id,
blank: 'y',
tab: id + '单据详情'
}
})
},
goUrl(item) {
this.$router.push({
path: "flightPerformance",
......
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