Commit 3cee2c0f authored by 华国豪's avatar 华国豪 🙄

领队用款新增时间、财务单据详情新增跳转其他财务单据详情

parent a28e0d25
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
.sanjiao-box .Receipt_table td{ .sanjiao-box .Receipt_table td{
padding: 0 10px; padding: 0 10px;
} }
.hover_text span{
cursor: pointer;
text-decoration: underline;
}
</style> </style>
<template> <template>
<div class="m_TicketingModule" > <div class="m_TicketingModule" >
...@@ -56,7 +60,7 @@ ...@@ -56,7 +60,7 @@
<template v-if="details&&details.length"> <template v-if="details&&details.length">
<tr v-for="(item) in details" class="_color_b"> <tr v-for="(item) in details" class="_color_b">
<td height="34px">{{item.BName}}</td> <td height="34px">{{item.BName}}</td>
<td height="34px">{{item.FinanceId}}</td> <td height="34px" @click="goDetail(item.FinanceId)" class="hover_text"><span>{{item.FinanceId}}</span></td>
<td height="34px">{{item.CostTypeName}}</td> <td height="34px">{{item.CostTypeName}}</td>
<td height="34px">{{item.CurrencyName}}</td> <td height="34px">{{item.CurrencyName}}</td>
<td height="34px">{{item.OriginalMoney}}</td> <td height="34px">{{item.OriginalMoney}}</td>
...@@ -128,6 +132,9 @@ export default { ...@@ -128,6 +132,9 @@ export default {
},mounted(){ },mounted(){
},methods:{ },methods:{
goDetail(id){
this.$router.push({ name: 'FinancialDocumentsDetail',query:{"id":id,blank:'y',tab:'单据详情'} })
},
getDetails(){ getDetails(){
this.loading = true this.loading = true
this.apipost('Financial_post_GetLeaderFinaceRelevance', {FrId: this.FrID}, res=>{ this.apipost('Financial_post_GetLeaderFinaceRelevance', {FrId: this.FrID}, res=>{
......
...@@ -127,9 +127,10 @@ input[type="number"] { ...@@ -127,9 +127,10 @@ input[type="number"] {
</table> </table>
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="8" class="bgwhite">门票使用</th> <th colspan="9" class="bgwhite">门票使用</th>
</tr> </tr>
<tr> <tr>
<th width="180">使用日期</th>
<th width="180">景点名称</th> <th width="180">景点名称</th>
<th width="">门票类型</th> <th width="">门票类型</th>
<th width="">单价</th> <th width="">单价</th>
...@@ -142,6 +143,7 @@ input[type="number"] { ...@@ -142,6 +143,7 @@ input[type="number"] {
<template v-for='(item,index) in ScenicDataList'> <template v-for='(item,index) in ScenicDataList'>
<template v-for="(subItem,subIndex) in item.data"> <template v-for="(subItem,subIndex) in item.data">
<tr v-for="(childItem,childIndex) in subItem.TicketPriceList"> <tr v-for="(childItem,childIndex) in subItem.TicketPriceList">
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">{{item.UseTimeStr}}</td>
<td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.TicketPriceList.length">
{{subItem.ScenicName}} {{subItem.ScenicName}}
</td> </td>
...@@ -253,9 +255,10 @@ input[type="number"] { ...@@ -253,9 +255,10 @@ input[type="number"] {
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="9" class="bgwhite">餐食使用</th> <th colspan="10" class="bgwhite">餐食使用</th>
</tr> </tr>
<tr> <tr>
<th width="180">使用日期</th>
<th width="180">餐厅名称</th> <th width="180">餐厅名称</th>
<th width="">类别</th> <th width="">类别</th>
<th width="">用餐人数</th> <th width="">用餐人数</th>
...@@ -269,6 +272,9 @@ input[type="number"] { ...@@ -269,6 +272,9 @@ input[type="number"] {
<template v-for='(item,index) in DiningDataList'> <template v-for='(item,index) in DiningDataList'>
<template v-for='(subItem,subIndex) in item.data'> <template v-for='(subItem,subIndex) in item.data'>
<tr v-for='(childItem,childIndex) in subItem.DiningPriceList'> <tr v-for='(childItem,childIndex) in subItem.DiningPriceList'>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{item.UseTimeStr}}
</td>
<td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length"> <td v-if="childIndex==0" :rowspan="subItem.DiningPriceList.length">
{{subItem.RealName? subItem.RealName : subItem.DiningName}} {{subItem.RealName? subItem.RealName : subItem.DiningName}}
</td> </td>
...@@ -350,9 +356,10 @@ input[type="number"] { ...@@ -350,9 +356,10 @@ input[type="number"] {
<table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2"> <table border="0" cellspacing="1" class="leaderPayTable leaderPayTable2">
<tr> <tr>
<th colspan="9" class="bgwhite">酒店使用</th> <th colspan="10" class="bgwhite">酒店使用</th>
</tr> </tr>
<tr> <tr>
<th width="180">使用日期</th>
<th width="180">酒店名称</th> <th width="180">酒店名称</th>
<th width="">房间类型</th> <th width="">房间类型</th>
<th width="">预定人数 </th> <th width="">预定人数 </th>
...@@ -366,6 +373,9 @@ input[type="number"] { ...@@ -366,6 +373,9 @@ input[type="number"] {
<template v-for='(item, index) in HotelDataList'> <template v-for='(item, index) in HotelDataList'>
<template v-for="(subItem,subIndex) in item.data"> <template v-for="(subItem,subIndex) in item.data">
<tr v-for="(childItem,childIndex) in subItem.OrderDetailsList"> <tr v-for="(childItem,childIndex) in subItem.OrderDetailsList">
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length">
{{item.CheckInDateStr}}
</td>
<td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length"> <td v-if="childIndex==0" :rowspan="subItem.OrderDetailsList.length">
{{subItem.HotelName}} {{subItem.HotelName}}
</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