Commit 70786fc2 authored by huangyuanyuan's avatar huangyuanyuan
parents 3d85a44e 6a28db9f
...@@ -71,13 +71,29 @@ ...@@ -71,13 +71,29 @@
<tr v-if="shopDataList.length==0"> <tr v-if="shopDataList.length==0">
<td colspan="22">暂无数据</td> <td colspan="22">暂无数据</td>
</tr> </tr>
<tbody v-for="(outItem,outindex) in shopDataList" :class="{roomReservationsSplitTrCss:outindex%2!=0}" v-if="outItem.PriceShopList.length>0"> <tbody v-for="(outItem,outindex) in shopDataList" :class="{roomReservationsSplitTrCss:outindex%2!=0}"
v-if="outItem.PriceShopList.length>0">
<template v-for="(item,index) in outItem.PriceShopList"> <template v-for="(item,index) in outItem.PriceShopList">
<template v-for="(subItem,subIndex) in item.ShopDetailsList"> <template v-for="(subItem,subIndex) in item.ShopDetailsList">
<tr> <tr>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0"> <td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{outItem.NewCombinationNum}} {{outItem.NewCombinationNum}}
</td> </td>
<template v-if="outItem.TCList.length==1">
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.StartCityNames}}
</td>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.TCNUMS}}
</td>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.LeaderName}}
</td>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.GuideName}}
</td>
</template>
<template v-else>
<td> <td>
{{subItem.StartCityNames}} {{subItem.StartCityNames}}
</td> </td>
...@@ -90,6 +106,7 @@ ...@@ -90,6 +106,7 @@
<td> <td>
{{subItem.GuideName}} {{subItem.GuideName}}
</td> </td>
</template>
<td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' width="180" <td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' width="180"
style="word-wrap:break-word ;"> style="word-wrap:break-word ;">
{{item.ShopName}} {{item.ShopName}}
...@@ -127,8 +144,7 @@ ...@@ -127,8 +144,7 @@
</td> </td>
<td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'> <td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
<div> <div>
<p style="cursor: pointer;color:blue;" <p style="cursor: pointer;color:blue;" @click="CreateBill(item.ShopDetailsList)">生成单据</p>
@click="CreateBill(item.ShopDetailsList)">生成单据</p>
</div> </div>
</td> </td>
...@@ -295,14 +311,7 @@ ...@@ -295,14 +311,7 @@
this.loading = false this.loading = false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.msg.total = res.data.data.count; this.msg.total = res.data.data.count;
let shopDataList = res.data.data.pageData; this.shopDataList = res.data.data.pageData;
shopDataList.forEach(x => {
x.PriceShopList.forEach(z => {
z.imgList = (z.Credentials && z.Credentials.length > 0) ? z.Credentials.split(",") :
'';
});
});
this.shopDataList = shopDataList;
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
......
...@@ -60,9 +60,6 @@ ...@@ -60,9 +60,6 @@
<th width="70">总金额</th> <th width="70">总金额</th>
<th width="80">领队佣金<br />(应付)</th> <th width="80">领队佣金<br />(应付)</th>
<th width="80">导游佣金<br />(应付)</th> <th width="80">导游佣金<br />(应付)</th>
<!--<th width="80">公司佣金<br />(应收)</th>
<th width="80">返佣余额</th>
<th width="80">返佣总计</th>-->
<th width="80">汇率</th> <th width="80">汇率</th>
<th width="80">凭证</th> <th width="80">凭证</th>
<th width="80">财务单据</th> <th width="80">财务单据</th>
...@@ -70,13 +67,29 @@ ...@@ -70,13 +67,29 @@
<tr v-if="shopDataList.length==0"> <tr v-if="shopDataList.length==0">
<td colspan="22">暂无数据</td> <td colspan="22">暂无数据</td>
</tr> </tr>
<tbody v-for="(outItem,outindex) in shopDataList" :class="{roomReservationsSplitTrCss:outindex%2!=0}" v-if="outItem.PriceShopList.length>0"> <tbody v-for="(outItem,outindex) in shopDataList" :class="{roomReservationsSplitTrCss:outindex%2!=0}"
v-if="outItem.PriceShopList.length>0">
<template v-for="(item,index) in outItem.PriceShopList"> <template v-for="(item,index) in outItem.PriceShopList">
<template v-for="(subItem,subIndex) in item.ShopDetailsList"> <template v-for="(subItem,subIndex) in item.ShopDetailsList">
<tr> <tr>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0"> <td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{outItem.NewCombinationNum}} {{outItem.NewCombinationNum}}
</td> </td>
<template v-if="outItem.TCList.length==1">
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.StartCityNames}}
</td>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.TCNUMS}}
</td>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.LeaderName}}
</td>
<td :rowspan="outItem.rowspanCount" v-if="index==0&&subIndex==0">
{{subItem.GuideName}}
</td>
</template>
<template v-else>
<td> <td>
{{subItem.StartCityNames}} {{subItem.StartCityNames}}
</td> </td>
...@@ -89,6 +102,7 @@ ...@@ -89,6 +102,7 @@
<td> <td>
{{subItem.GuideName}} {{subItem.GuideName}}
</td> </td>
</template>
<td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' width="180" <td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0' width="180"
style="word-wrap:break-word ;"> style="word-wrap:break-word ;">
{{item.ShopName}} {{item.ShopName}}
...@@ -108,15 +122,6 @@ ...@@ -108,15 +122,6 @@
<td width="80"> <td width="80">
{{subItem.GuideCommission}} {{subItem.GuideCommission}}
</td> </td>
<!-- <td width="80">
{{subItem.CompanyCommission}}
</td>
<td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
{{subItem.OtherDeduct}}
</td>
<td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
{{subItem.BackTotalMoney}}
</td> -->
<td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'> <td width="80" :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
{{subItem.DMCRate}} {{subItem.DMCRate}}
</td> </td>
...@@ -126,8 +131,7 @@ ...@@ -126,8 +131,7 @@
</td> </td>
<td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'> <td :rowspan="item.ShopDetailsList.length" v-if='subIndex==0'>
<div> <div>
<p style="cursor: pointer;color:blue;" <p style="cursor: pointer;color:blue;" @click="CreateBill(item.ShopDetailsList)">生成单据</p>
@click="CreateBill(item.ShopDetailsList)">生成单据</p>
</div> </div>
</td> </td>
</tr> </tr>
...@@ -338,8 +342,6 @@ ...@@ -338,8 +342,6 @@
"-" + "-" +
myDate.getDate(); myDate.getDate();
this.msg.StartDate = nowDate; this.msg.StartDate = nowDate;
// this.msg.StartDate = '';
// this.msg.EndDate = ''
this.getLineList(); this.getLineList();
this.getList(); this.getList();
}, },
...@@ -379,7 +381,7 @@ ...@@ -379,7 +381,7 @@
.ShoppingTable th { .ShoppingTable th {
background-color: #E6E6E6; background-color: #E6E6E6;
height:35px; height: 35px;
} }
.SponeTable td:first-child { .SponeTable td:first-child {
......
...@@ -192,7 +192,7 @@ ...@@ -192,7 +192,7 @@
item.ScenicStatisticsList.forEach(x => { item.ScenicStatisticsList.forEach(x => {
x.PayStyle = x.PayStyle.toString(); x.PayStyle = x.PayStyle.toString();
this.calculationPrice(x); this.calculationPrice(x);
if(x.CombinationNum==''||x.CombinationNum==null){ if (x.CombinationNum == '' || x.CombinationNum == null) {
x.CombinationNum = this.$route.query.NewCombinationNum; x.CombinationNum = this.$route.query.NewCombinationNum;
} }
}) })
...@@ -207,6 +207,11 @@ ...@@ -207,6 +207,11 @@
this.list.forEach(item => { this.list.forEach(item => {
item.ScenicStatisticsList.forEach(insideItem => { item.ScenicStatisticsList.forEach(insideItem => {
insideItem.OrderState = 0; insideItem.OrderState = 0;
insideItem.TicketPriceList.forEach(subItem => {
if (!subItem.Discount) {
subItem.Discount = 0;
}
});
}) })
}) })
} }
...@@ -214,9 +219,16 @@ ...@@ -214,9 +219,16 @@
this.list.forEach(item => { this.list.forEach(item => {
item.ScenicStatisticsList.forEach(insideItem => { item.ScenicStatisticsList.forEach(insideItem => {
insideItem.OrderState = 1; insideItem.OrderState = 1;
insideItem.TicketPriceList.forEach(subItem => {
if (!subItem.Discount) {
subItem.Discount = 0;
}
});
}) })
}) })
} }
console.log("this.list", this.list);
this.apipost('dmcstatistics_get_SetTicketOrder', this.list, res => { this.apipost('dmcstatistics_get_SetTicketOrder', this.list, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.$message.success(res.data.message); this.$message.success(res.data.message);
...@@ -234,6 +246,7 @@ ...@@ -234,6 +246,7 @@
this.getList() this.getList()
}, },
} }
</script> </script>
<style> <style>
.admissionStatisticsDetailsTalbe { .admissionStatisticsDetailsTalbe {
......
...@@ -2614,7 +2614,21 @@ export default { ...@@ -2614,7 +2614,21 @@ export default {
meta: { meta: {
title: '营收报表' title: '营收报表'
}, },
}, { //财务 报表 团队营收变更报表 }, { //财务 报表 变更报表
path: '/ChangeRevenueReport',
name: 'ChangeRevenueReport',
component: resolve => require(['@/components/FinancialModule/ReportForm/ChangeRevenueReport'], resolve),
meta: {
title: '变更报表'
},
},{ //财务 变更详情
path: '/ChangeRevenueDetail',
name: 'ChangeRevenueDetail',
component: resolve => require(['@/components/FinancialModule/ReportForm/ChangeRevenueDetail'], resolve),
meta: {
title: '变更详情'
},
},{ //财务 报表 团队营收变更报表
path: '/TeamRevenueReportChange', path: '/TeamRevenueReportChange',
name: 'TeamRevenueReportChange', name: 'TeamRevenueReportChange',
component: resolve => require(['@/components/FinancialModule/ReportForm/TeamRevenueReportChange'], resolve), component: resolve => require(['@/components/FinancialModule/ReportForm/TeamRevenueReportChange'], resolve),
......
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