Commit c481f4d4 authored by 华国豪's avatar 华国豪 🙄
parents d9bc04d6 66ab46b0
...@@ -389,7 +389,7 @@ tr._item_list td:last-child { ...@@ -389,7 +389,7 @@ tr._item_list td:last-child {
</style> </style>
<template> <template>
<div class="page_fnDm page_RecPayQuery"> <div class="page_fnDm page_RecPayQuery" @keyup.enter="resetPageIndex(),getPageList()">
<div class="query-box"> <div class="query-box">
<el-form class="_info_box clearfix" label-width="110px"> <el-form class="_info_box clearfix" label-width="110px">
<el-row style="padding:15px 20px 0 0;"> <el-row style="padding:15px 20px 0 0;">
...@@ -966,7 +966,7 @@ export default { ...@@ -966,7 +966,7 @@ export default {
}, },
{ {
field: "BName", field: "BName",
title: "公司别", title: "出团公司",
width: 90, width: 90,
titleAlign: "left", titleAlign: "left",
columnAlign: "left", columnAlign: "left",
...@@ -1314,7 +1314,7 @@ export default { ...@@ -1314,7 +1314,7 @@ export default {
"毛利率", "毛利率",
"实际利润", "实际利润",
"备注", "备注",
"公司别", "出团公司",
"成都", "成都",
"昆明", "昆明",
"重庆", "重庆",
......
...@@ -29,11 +29,12 @@ ...@@ -29,11 +29,12 @@
</ul> </ul>
</div> </div>
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; "> <div style="width: 100%; overflow-x: auto;padding-bottom: 10px; ">
<table border="0" cellspacing="1" cellpadding="0" class="roomReservationsTalbe" style="border: 1px solid rgb(230, 230, 230);background: #ccc;min-width: 1600px"> <table border="0" cellspacing="1" cellpadding="0" class="roomReservationsTalbe" style="border: 1px solid rgb(230, 230, 230);background: #ccc;min-width: 1600px"
v-loading="loading">
<tr> <tr>
<th colspan="5">公司通用信息</th> <th colspan="5">公司通用信息</th>
<th colspan="8">导游操作</th> <th colspan="8">导游操作</th>
<th colspan="9">地接OP</th> <th colspan="10">地接OP</th>
</tr> </tr>
<tr> <tr>
<th width="115">序号</th> <th width="115">序号</th>
...@@ -56,12 +57,13 @@ ...@@ -56,12 +57,13 @@
<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" style="display:none">财务单据</th>
<th width="80">操作</th> <th width="80">操作</th>
</tr> </tr>
<tr v-if="list.length==0"> <tr v-if="list.length==0">
<td colspan="22">暂无数据</td> <td colspan="22">暂无数据</td>
</tr> </tr>
<tbody v-for="(outItem,outindex) in list" :class="{roomReservationsSplitTrCss:outindex%2!=0}" v-loading="loading"> <tbody v-for="(outItem,outindex) in list" :class="{roomReservationsSplitTrCss:outindex%2!=0}">
<template v-for="(item,index) in outItem.StaticsReportList"> <template v-for="(item,index) in outItem.StaticsReportList">
<tr> <tr>
<td :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'> <td :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
...@@ -113,8 +115,8 @@ ...@@ -113,8 +115,8 @@
<td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'> <td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<!--凭证上传--> <!--凭证上传-->
<div v-for="subItem in item.CommonReport.PriceShopList"> <div v-for="subItem in item.CommonReport.PriceShopList">
<p v-for="(img, imgIndex) in subItem.ShopDetailsList[0].imgList" title="点击下载" @click="downLoadPZ(img)" v-if="img !== ''" <p v-for="(img, imgIndex) in subItem.ShopDetailsList[0].imgList" title="点击下载" @click="downLoadPZ(img)"
style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p> v-if="img !== ''" style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p>
</div> </div>
</td> </td>
<td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'> <td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
...@@ -148,12 +150,21 @@ ...@@ -148,12 +150,21 @@
<td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'> <td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<!--地接OP凭证--> <!--地接OP凭证-->
<div v-for="subItem in item.CommonReport.PriceShopList"> <div v-for="subItem in item.CommonReport.PriceShopList">
<p v-for="(img, imgIndex) in subItem.ShopDetailsList[0].dmcImageList" title="点击下载" @click="downLoadPZ(img)" v-if="img !== ''" <p v-for="(img, imgIndex) in subItem.ShopDetailsList[0].dmcImageList" title="点击下载" @click="downLoadPZ(img)"
style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p> v-if="img !== ''" style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p>
</div> </div>
</td> </td>
<td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0' style="display:none">
<template v-for="subItem in item.CommonReport.PriceShopList">
<div>
<!--subItem.ShopDetailsList-->
<p style="cursor: pointer;color:blue; display:none;" @click="CreateBill(subItem.ShopDetailsList,outItem.StaticsReportList)">生成单据</p>
</div>
</template>
</td>
<td :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'> <td :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<p style="cursor: pointer;color:blue" @click="goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)">选择购物店</p> <p style="cursor: pointer;color:blue;margin-top:5px;" @click="goHuiZhi(outItem.TCIDs, item.LeaderName, item.GuideName, item.StartCityNames, item.TCNUMS)">选择购物店</p>
<p style="cursor: pointer;color:blue;margin-top:10px" @click="goUrlT('ShoppingReimbursementDetails',outItem.TCIDs,'购物报账详情')">操作</p> <p style="cursor: pointer;color:blue;margin-top:10px" @click="goUrlT('ShoppingReimbursementDetails',outItem.TCIDs,'购物报账详情')">操作</p>
</td> </td>
</tr> </tr>
...@@ -281,7 +292,7 @@ ...@@ -281,7 +292,7 @@
this.currentPage = 1; this.currentPage = 1;
}, },
getList() { getList() {
this.loading = true this.loading = true;
this.apipost('dmcstatistics_post_GetUniteCombinationNumService', this.msg, res => { this.apipost('dmcstatistics_post_GetUniteCombinationNumService', this.msg, res => {
this.loading = false this.loading = false
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
...@@ -301,6 +312,34 @@ ...@@ -301,6 +312,34 @@
} }
}, err => {}) }, err => {})
}, },
//生成单据
CreateBill(ShopDetailsList, outItem) {
this.loading = true;
var array = [];
outItem.forEach(subItem => {
var obj = {
LeaderId: subItem.LeaderId != null ? subItem.LeaderId : 0,
LeaderName: subItem.LeaderName != null ? subItem.LeaderName : "",
TCID: subItem.TCID,
GuideId: subItem.GuideId != null ? subItem.GuideId : 0,
GuideName: subItem.GuideName != null ? subItem.GuideName : "",
TCNUM: subItem.TCNUMS,
}
array.push(obj)
});
var billMsg = {
ShopDetailsList: ShopDetailsList,
LeaderGuide: array
};
this.apipost('dmcstatistics_post_ShopCreateBill', billMsg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.Info(res.data.message);
} else {
this.$message.error(res.data.message)
}
}, err => {})
},
}, },
mounted() { mounted() {
let myDate = new Date(); let myDate = new Date();
...@@ -310,7 +349,8 @@ ...@@ -310,7 +349,8 @@
parseInt(myDate.getMonth() + 1) + parseInt(myDate.getMonth() + 1) +
"-" + "-" +
myDate.getDate(); myDate.getDate();
this.msg.StartDate = nowDate; //this.msg.StartDate = nowDate;
this.msg.StartDate = '2019-01-01';
this.getLineTeamList(); this.getLineTeamList();
this.getList() this.getList()
}, },
......
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
<span v-else>{{item.BackEvaluatePrice}}</span> <span v-else>{{item.BackEvaluatePrice}}</span>
</td> </td>
<td> <td>
<el-input class="w95" v-model="item.AddBackCostPrice" @keyup.native="checkPrice(item,'AddBackCostPrice',true)"></el-input> <el-input class="w95" v-model="item.BackAddPrice" @keyup.native="checkPrice(item,'BackAddPrice',true)"></el-input>
</td> </td>
</tr> </tr>
</tbody> </tbody>
......
...@@ -76,10 +76,10 @@ ...@@ -76,10 +76,10 @@
</p> </p>
<p class="_tips"><span v-if="infoData.IsWH==false" class="_left">(年)/(月)/(日)</span><span v-else class="_left">(日)/(月)/(年)</span><span class="_right">(省)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(市)</span></p> <p class="_tips"><span v-if="infoData.IsWH==false" class="_left">(年)/(月)/(日)</span><span v-else class="_left">(日)/(月)/(年)</span><span class="_right">(省)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(市)</span></p>
<p class="_f_sex"> <p class="_f_sex">
<span class="_fx_left">性别 <span><i v-if="infoData.PeopleModel.Sex!='1'"></i><i v-else>X</i></span><span><i v-if="infoData.PeopleModel.Sex!='2'"></i><i v-else>X</i></span> <span class="_fx_left">性别 <span><i v-if="infoData.PeopleModel.Sex!='1'"></i><i v-else><span v-if="infoData.IsWH==true">X</span><span v-else></span></i></span><span><i v-if="infoData.PeopleModel.Sex!='2'"></i><i v-else><span v-if="infoData.IsWH==true">X</span><span v-else></span></i></span>
</span> </span>
<span class="_fn_right">婚姻状况 <span class="_fn_right">婚姻状况
<span v-for="mar in MarriageType" class="_mr10 _MarriageType"><span>{{mar.Name}} <i v-if="infoData.PeopleModel.Marriage!=mar.Id"></i><i v-else>X</i></span></span> <span v-for="mar in MarriageType" class="_mr10 _MarriageType"><span>{{mar.Name}} <i v-if="infoData.PeopleModel.Marriage!=mar.Id"></i><i v-else><span v-if="infoData.IsWH==true">X</span><span v-else></span></i></span></span>
</span> </span>
</p> </p>
<p><span>国籍(或公民身份)<input disabled style="width: 100%;" type="text" v-model="infoData.PeopleModel.NationalityName"></span></p> <p><span>国籍(或公民身份)<input disabled style="width: 100%;" type="text" v-model="infoData.PeopleModel.NationalityName"></span></p>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
<p><span>身份证号码<input style="width: 100%;" type="text" v-model="infoData.PeopleModel.IdCard"></span></p> <p><span>身份证号码<input style="width: 100%;" type="text" v-model="infoData.PeopleModel.IdCard"></span></p>
<p><span>护照类别</span> <p><span>护照类别</span>
<!-- PassportType --> <!-- PassportType -->
<span v-for="Pass in PassportTypeList" class="_mr10 _MarriageType"><span>{{Pass.Name}} <i v-if="Pass.Id==infoData.PeopleModel.PassportType">X</i><i v-else></i></span></span> <span v-for="Pass in PassportTypeList" class="_mr10 _MarriageType"><span>{{Pass.Name}} <i v-if="Pass.Id==infoData.PeopleModel.PassportType"><span v-if="infoData.IsWH==true">X</span><span v-else></span></i><i v-else></i></span></span>
</p> </p>
<p><span>护照号码<input style="width:100%;" type="text" v-model="infoData.PeopleModel.PassportNo"></span></p> <p><span>护照号码<input style="width:100%;" type="text" v-model="infoData.PeopleModel.PassportNo"></span></p>
<p class="_mb0"> <p class="_mb0">
...@@ -444,6 +444,9 @@ export default { ...@@ -444,6 +444,9 @@ export default {
this.creatQRCode() this.creatQRCode()
} }
this.infoData.PeopleModel.Sex = this.infoData.PeopleModel.Sex.toString() this.infoData.PeopleModel.Sex = this.infoData.PeopleModel.Sex.toString()
if(this.infoData.IsWH==true){
this.infoData.PeopleModel.NationalityName="CHINA";
}
}else{ }else{
this.$message.error(res.data.message) this.$message.error(res.data.message)
} }
......
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