Commit e6ba7be0 authored by 吴春's avatar 吴春

没有提交的

parents af1bf21e a60c99ed
...@@ -80,7 +80,7 @@ input:-webkit-autofill{-webkit-box-shadow: 0 0 0px 1000px white inset;} ...@@ -80,7 +80,7 @@ input:-webkit-autofill{-webkit-box-shadow: 0 0 0px 1000px white inset;}
.w30{width: 30px!important;} .w30{width: 30px!important;}
.w40{width: 40px!important;} .w40{width: 40px!important;}
.w50{width: 50px!important;} .w50{width: 50px!important;}
.w60{width: 50px!important;} .w60{width: 60px!important;}
.w69{width: 69px!important;} .w69{width: 69px!important;}
.w80{width: 80px!important;} .w80{width: 80px!important;}
.w89{width: 89px!important;} .w89{width: 89px!important;}
...@@ -613,5 +613,14 @@ vertical-align:middle ...@@ -613,5 +613,14 @@ vertical-align:middle
text-align: left; text-align: left;
padding-left:5px; padding-left:5px;
} }
.noDataNotice {
text-align: center;
padding: 0px 0;
color: #999;
font-size: 14px;
}
.noDataNotice>i {
font-size: 120px;
color: #ccc;
}
/************************** luochao 重新定义表格样式 END *******************************/ /************************** luochao 重新定义表格样式 END *******************************/
\ No newline at end of file
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
font-family:'xcte2ename'; font-family:'xcte2ename';
src:url('../webfont/xcte2ename.ttf') format('truetype') src:url('../webfont/xcte2ename.ttf') format('truetype')
} }
.vdr{
position: absolute
}
div{ div{
box-sizing: border-box; box-sizing: border-box;
} }
......
...@@ -805,7 +805,7 @@ export default { ...@@ -805,7 +805,7 @@ export default {
}, },
getTitleByRouter(name){ getTitleByRouter(name){
let obj={} let obj={}
routerConfig.routes[10].children[10].children.forEach(x=>{ routerConfig.routes[11].children[10].children.forEach(x=>{
if(x.name==name){ if(x.name==name){
obj.comp=x.component obj.comp=x.component
if(x.meta && x.meta.title) if(x.meta && x.meta.title)
......
...@@ -1689,20 +1689,6 @@ export default { ...@@ -1689,20 +1689,6 @@ export default {
} }
},err=>{}) },err=>{})
}, },
getTitleByRouter(name){
let obj={}
routerConfig.routes[7].children[9].children.forEach(x=>{
if(x.name==name){
obj.comp=x.component
if(x.meta && x.meta.title)
obj.title=x.meta.title
else
obj.title=''
return false
}
})
return obj
},
},created(){ },created(){
if(this.$route.query.pageIndex){ if(this.$route.query.pageIndex){
this.pageIndex = this.$route.query.pageIndex; this.pageIndex = this.$route.query.pageIndex;
......
...@@ -15,16 +15,43 @@ ...@@ -15,16 +15,43 @@
.page_CapitalAllocation .page_CapitalAllocation_list { .page_CapitalAllocation .page_CapitalAllocation_list {
width: 100%; width: 100%;
} }
.page_CapitalAllocation i.icon-sousuo,.page_CapitalAllocation i.edit{
width: 30px;
height: 30px;
display: inline-block;
color: white !important;
border-radius: 50%;
text-align: center;
line-height: 30px;
margin-right: 10px;
cursor: pointer;
outline: none;
}
.page_CapitalAllocation i.edit{background-color: #00C6FF;font-size: 16px;}
.page_CapitalAllocation i.edit:hover{background-color: #59daff}
.page_CapitalAllocation i.edit:active{background-color: #00b8ec}
.page_CapitalAllocation i.icon-sousuo{background-color: #47BF8C;} .page_CapitalAllocation i.icon-sousuo{background-color: #47BF8C;}
.page_CapitalAllocation i.icon-sousuo:hover{background-color: #66bb97} .page_CapitalAllocation i.icon-sousuo:hover{background-color: #66bb97}
.page_CapitalAllocation i.icon-sousuo:active{background-color: #35ab79} .page_CapitalAllocation i.icon-sousuo:active{background-color: #35ab79}
.page_CapitalAllocation ._btn_group{font-size: 14px;}
.page_CapitalAllocation .icon-daiqueren{color: #4BCA81}
.page_CapitalAllocation .icon-yiqueren{color: #4BCA81}
.page_CapitalAllocation .icon-yiquxiao{color: #959595}
.page_CapitalAllocation .icon-shenhebohui{color: #E95252}
.page_CapitalAllocation .icon-icon-zancun{color: #FF9C01}
.page_CapitalAllocation .text_d{text-decoration: underline;cursor: pointer;}
.InfoChangeLog{height: auto;max-height: 220px;background-color: #FFFFFF;}
.changLogList{padding-left: 20px;max-height: 180px;overflow: auto;}
.changLogList_l{border-left: 1px solid #E9E9E9;position: relative;padding-bottom: 10px;padding-left: 20px;padding-top: 10px;}
._radius_green{background-color: #47BF8C;width: 7px;height: 7px;border-radius: 50%;display: inline-block;position: absolute;left: -4px;top: 19px;}
.changLog_time{color: #666666;font-size: 12px;display: inline-block;padding-right: 10px}
</style> </style>
<template> <template>
<div class="page_CapitalAllocation"> <div class="page_CapitalAllocation">
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <li>
<input type="button" class="normalBtn" value="新增" @click="goURL"/> <input type="button" class="normalBtn" value="新增" @click="goURL('addCapitalAllocation')"/>
<input type="button" class="hollowFixedBtn" value="查询" @click="getList()"/> <input type="button" class="hollowFixedBtn" value="查询" @click="getList()"/>
</li> </li>
</ul> </ul>
...@@ -116,11 +143,11 @@ ...@@ -116,11 +143,11 @@
<th>单号</th> <th>单号</th>
<th>金额</th> <th>金额</th>
<th>实付</th> <th>实付</th>
<th>原币金额</th> <!-- <th>原币金额</th> -->
<th>交易日期</th> <th>交易日期</th>
<th>创建时间</th> <th>创建时间</th>
<th>创建人</th> <th>创建人</th>
<th>备注</th> <!-- <th>备注</th> -->
<th>状态</th> <th>状态</th>
<th>操作</th> <th>操作</th>
</tr> </tr>
...@@ -128,17 +155,50 @@ ...@@ -128,17 +155,50 @@
<td>{{item.FrID}}</td> <td>{{item.FrID}}</td>
<td>{{item.Money}}</td> <td>{{item.Money}}</td>
<td>{{item.PayMoney}}</td> <td>{{item.PayMoney}}</td>
<td>{{item.OriginalMoney}}</td> <!-- <td>{{item.OriginalMoney}}</td> -->
<td>{{item.TradeDate}}</td> <td>{{item.TradeDate}}</td>
<td>{{item.CreateDate}}</td> <td>{{item.CreateDate}}</td>
<td>{{item.EmName}}</td> <td>{{item.EmName}}</td>
<td>{{item.Description}}</td> <!-- <td>{{item.Description}}</td> -->
<td>{{item.StatusStr}}</td> <td>
<i v-if="item.Status==1" class="iconfont icon-daiqueren"></i>
<i v-if="item.Status==4" class="iconfont icon-yiquxiao"></i>
<i v-if="item.Status==2" class="iconfont icon-yiqueren"></i>
<i v-if="item.Status==3" class="iconfont icon-shenhebohui"></i>
<i v-if="item.Status==0 || item.Status==5" class="iconfont icon-zancun"></i>
<el-popover
popper-class="detailsIT_Journal"
width="250"
trigger="click">
<div class="InfoChangeLog" >
<div class="changLog">
<p class="_log_t">流程日志</p>
<ul class="changLogList" v-if="GetFinancLogList" v-loading='LogLoading'>
<li class="changLogList_l" v-for="(log,li) in GetFinancLogList">
<span style="background-color: #47BF8C" class="_radius_green"></span>
<p> <span class="_color_blue">{{log.EmName}}</span> <span class="fr changLog_time">{{log.UpdateDate}}</span> </p>
<p class="_dtel">{{log.StartValue}}</p>
</li>
</ul>
<ul v-else>
<li>暂无修改日志</li>
</ul>
</div>
</div>
<span slot="reference" class="text_d _font_init" @click="Financial_post_GetFinancLogList(item.FrID)">{{item.StatusStr}}</span>
</el-popover>
</td>
<td> <td>
<i class="iconfont icon-sousuo" @click="goUrl('FinancialDocumentsDetail',item.FrID,active,msg.pageIndex)"></i> <el-tooltip class="item" effect="dark" content="修改" placement="top">
<i class="edit el-icon-edit" @click="goURL('addCapitalAllocation', 1, item.FrID)"></i>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="详情" placement="top">
<i class="iconfont icon-sousuo" @click="goDetail('CapitalAllocationDetail', item.FrID, msg.pageIndex)"></i>
</el-tooltip>
</td> </td>
</tr> </tr>
</table> </table>
<div class="noDataNotice" v-if="dataList.length<1"><i class="iconfont icon-kong"></i> <p>没有找到你需要的数据</p></div>
</div> </div>
</div> </div>
</template> </template>
...@@ -184,7 +244,9 @@ export default { ...@@ -184,7 +244,9 @@ export default {
productionDate2: [], productionDate2: [],
StatusList: [], StatusList: [],
EmployeeList: [], EmployeeList: [],
GetFinancLogList: [],
loading: true, loading: true,
LogLoading: true,
} }
}, },
created(){ created(){
...@@ -199,7 +261,7 @@ export default { ...@@ -199,7 +261,7 @@ export default {
} }
this.loading= true this.loading= true
this.apipost('Financial_get_GetFundTransferPageList', this.msg, res=>{ this.apipost('Financial_get_GetFundTransferPageList', this.msg, res=>{
if (res.resultCode ===1){ if (res.data.resultCode===1){
this.dataList = res.data.data.pageData this.dataList = res.data.data.pageData
} else { } else {
this.$message.error(res.data.message) this.$message.error(res.data.message)
...@@ -257,9 +319,23 @@ export default { ...@@ -257,9 +319,23 @@ export default {
} }
}, err => {}) }, err => {})
}, },
goURL: function () { goURL: function (url, edit, id) {
this.$router.push({ name: "addCapitalAllocation",query:{blank:'y',tab:'新增资金调拨'} }) this.$router.push({ name: url,query:{edit: edit, id: id, blank: 'y', tab: '新增资金调拨'}})
} },
Financial_post_GetFinancLogList: function(id){ // 获取单据日志
if(this.checkboxShow) return
this.LogLoading = true;
this.apipost('Financial_post_GetFinancLogList',{ID:id,Type:2}, res => {
if(res.data.resultCode == 1) {
let data = res.data.data;
data.forEach(x=>{
x.UpdateDate = this.$commonUtils.formatMsgTime(x.UpdateDate)
})
this.LogLoading = false;
this.GetFinancLogList = data;
}
}, err => {})
},
}, },
mounted(){ mounted(){
this.getCompanyList() this.getCompanyList()
......
...@@ -1173,20 +1173,6 @@ export default { ...@@ -1173,20 +1173,6 @@ export default {
Vue.component(this.name+this.z,this.componentTemp) Vue.component(this.name+this.z,this.componentTemp)
this.c=this.name+this.z this.c=this.name+this.z
}, },
getTitleByRouter(name){
let obj={}
routerConfig.routes[7].children[9].children.forEach(x=>{
if(x.name==name){
obj.comp=x.component
if(x.meta && x.meta.title)
obj.title=x.meta.title
else
obj.title=''
return false
}
})
return obj
},
},mounted(){ },mounted(){
// document.onkeydown = this.KeyDown // document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp // document.onkeyup = this.KeyUp
......
...@@ -417,7 +417,7 @@ export default { ...@@ -417,7 +417,7 @@ export default {
TypeId:this.accType, TypeId:this.accType,
BranchId:-1, BranchId:-1,
Alias:'', Alias:'',
RB_Branch_Id:this.RB_Branch_Id, // RB_Branch_Id:this.RB_Branch_Id,
} }
this.apipost('BankAccount_post_GetPlatformList',msg, res => { this.apipost('BankAccount_post_GetPlatformList',msg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
......
...@@ -453,7 +453,7 @@ export default { ...@@ -453,7 +453,7 @@ export default {
BranchId:-1, BranchId:-1,
Alias:'', Alias:'',
} }
this.apipost('BankAccount_post_GetCashAccountList',msg, res => { this.apipost('BankAccount_post_GetCashPoolList',msg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
let data = res.data.data; let data = res.data.data;
this.accountList = data; this.accountList = data;
...@@ -651,7 +651,7 @@ export default { ...@@ -651,7 +651,7 @@ export default {
BranchId:-1, BranchId:-1,
Alias:'' Alias:''
}; };
this.apipost('BankAccount_post_GetCashAccountList',msg, res => { this.apipost('BankAccount_post_GetCashPoolList',msg, res => {
if(res.data.resultCode === 1) { if(res.data.resultCode === 1) {
let data = res.data.data; let data = res.data.data;
data.forEach(x=>{ data.forEach(x=>{
...@@ -674,7 +674,7 @@ export default { ...@@ -674,7 +674,7 @@ export default {
}, err => {}) }, err => {})
}, },
BankAccount_post_GetCashPoolList(query){ // 获取资金池账 BankAccount_post_GetCashPoolList(query){ // 获取资金池账
this.apipost('BankAccount_post_GetCashPoolList',{TypeId:2,BranchId:-1,Alias:''}, res => { this.apipost('BankAccount_post_GetCashPoolList',{TypeId:4,BranchId:-1,Alias:''}, res => {
if(res.data.resultCode === 1) { if(res.data.resultCode === 1) {
let data = res.data.data; let data = res.data.data;
data.forEach(x=>{ data.forEach(x=>{
......
...@@ -594,6 +594,9 @@ ...@@ -594,6 +594,9 @@
</li> </li>
</ul> </ul>
</div> </div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper"
:page-size="msg.pageSize" :total="total">
</el-pagination>
<div class="productQueryList" v-loading='loading'> <div class="productQueryList" v-loading='loading'>
<ul v-if="list.length!=0"> <ul v-if="list.length!=0">
<li v-for="(item,index) in list" :key="index"> <li v-for="(item,index) in list" :key="index">
...@@ -771,16 +774,13 @@ ...@@ -771,16 +774,13 @@
</p> </p>
</div> </div>
<div class="d7"> <div class="d7">
<!--<p><input type="button" :class="{normalBtn:true,disabledBtn:item.IsSubstitution!=1&&item.SurplusSeat==0}" :disabled="item.IsSubstitution!=1&&item.SurplusSeat==0" value="立即下单" @click="goBuy(item)"></p>
<p><input type="button" class="hollowFixedBtn" value="下载行程"></p>
<p><input type="button" class="hollowFixedBtn" value="分享行程"></p>
<p><input type="button" class="hollowFixedBtn" value="查看报名"></p> -->
<el-button-group style="display:block;"> <el-button-group style="display:block;">
<el-tooltip class="item" effect="dark" content="查看报名" placement="top-start"> <el-tooltip class="item" effect="dark" content="查看报名" placement="top-start">
<el-button @click="goUrl('groupTourOrderByTuan',item.TCID,item.TCNUM)" type="primary" style='background:#00C6FF; border-color:#00C6FF' <el-button @click="goUrl('groupTourOrderByTuan',item.TCID,item.TCNUM)" type="primary" style='background:#00C6FF; border-color:#00C6FF'
icon="iconfont icon-sousuo"></el-button> icon="iconfont icon-sousuo"></el-button>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" content="立即下单" placement="top-start" v-if="item.IsPayOrder!==1"> <!--关内团后不能在报名-->
<el-tooltip class="item" effect="dark" content="立即下单" placement="top-start" v-if="item.IsPayOrder!==1 && item.IsB2B===1">
<el-button type="primary" style='background:#F16C3C; border-color:#F16C3C' v-if="!TCIDList" icon="iconfont icon-fukuan1" <el-button type="primary" style='background:#F16C3C; border-color:#F16C3C' v-if="!TCIDList" icon="iconfont icon-fukuan1"
@click="goBuy(item)"></el-button> @click="goBuy(item)"></el-button>
</el-tooltip> </el-tooltip>
...@@ -832,7 +832,7 @@ ...@@ -832,7 +832,7 @@
</div> </div>
</div> </div>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper"
:page-size=msg.pageSize :total=total> :page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
<el-dialog custom-class='ComTeamPlan_info_box' :title="tripTitle" :visible.sync="outerVisible" center> <el-dialog custom-class='ComTeamPlan_info_box' :title="tripTitle" :visible.sync="outerVisible" center>
<commonTeamInfo ref="comTeam"></commonTeamInfo> <commonTeamInfo ref="comTeam"></commonTeamInfo>
......
...@@ -87,16 +87,19 @@ ...@@ -87,16 +87,19 @@
{{item.GuideName}} {{item.GuideName}}
</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'>
<div v-for="subItem in item.CommonReport.PriceShopList">{{ subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].ShopNum:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{ subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].ShopNum:""}}</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'>
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopName}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopName}}</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'>
<div v-for="subItem in item.CommonReport.PriceShopList">{{ subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].EnterTimeStr:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{ subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].EnterTimeStr:""}}</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'>
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].EnterNum:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].EnterNum:""}}</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'>
<template v-for="subItem in item.CommonReport.PriceShopList"> <template v-for="subItem in item.CommonReport.PriceShopList">
...@@ -110,12 +113,13 @@ ...@@ -110,12 +113,13 @@
</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'>
<!--佣金领取状况--> <!--佣金领取状况-->
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].CommissionStatusStr:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].CommissionStatusStr:""}}</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'>
<!--凭证上传--> <!--凭证上传-->
<div v-for="subItem in item.CommonReport.PriceShopList" v-if="subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0"> <div v-for="subItem in item.CommonReport.PriceShopList" v-if="subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0">
<p v-for="(img, imgIndex) in subItem.ShopDetailsList[0].imgList" title="点击下载" @click="downLoadPZ(img)" <p v-for="(img, imgIndex) in subItem.ShopDetailsList[0].imgList" title="点击下载" @click="downLoadPZ(img)"
v-if="img !== ''" style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p> v-if="img !== ''" style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p>
</div> </div>
</td> </td>
...@@ -127,7 +131,8 @@ ...@@ -127,7 +131,8 @@
</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'>
<!--导游佣金调整--> <!--导游佣金调整-->
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].GuideCommission:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].GuideCommission:""}}</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'>
<template v-for="subItem in item.CommonReport.PriceShopList"> <template v-for="subItem in item.CommonReport.PriceShopList">
...@@ -137,15 +142,18 @@ ...@@ -137,15 +142,18 @@
</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'>
<!--其余扣除(返佣余额)--> <!--其余扣除(返佣余额)-->
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].OtherDeduct:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].OtherDeduct:""}}</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'>
<!--返佣总计(返佣余额)--> <!--返佣总计(返佣余额)-->
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].BackTotalMoney:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].BackTotalMoney:""}}</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'>
<!--汇率--> <!--汇率-->
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null && subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].DMCRate:""}}</div> <div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopDetailsList!=null &&
subItem.ShopDetailsList.length>0? subItem.ShopDetailsList[0].DMCRate:""}}</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'>
<!--地接OP凭证--> <!--地接OP凭证-->
...@@ -154,8 +162,8 @@ ...@@ -154,8 +162,8 @@
v-if="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'>
<template v-for="subItem in item.CommonReport.PriceShopList" > <template v-for="subItem in item.CommonReport.PriceShopList">
<div> <div>
<!--subItem.ShopDetailsList--> <!--subItem.ShopDetailsList-->
<p style="cursor: pointer;color:blue;" @click="CreateBill(subItem.ShopDetailsList,outItem.StaticsReportList)">生成单据</p> <p style="cursor: pointer;color:blue;" @click="CreateBill(subItem.ShopDetailsList,outItem.StaticsReportList)">生成单据</p>
...@@ -313,31 +321,35 @@ ...@@ -313,31 +321,35 @@
}, },
//生成单据 //生成单据
CreateBill(ShopDetailsList, outItem) { CreateBill(ShopDetailsList, outItem) {
this.loading = true; var that = this;
var array = []; this.Confirm('是否生成财务单据?', function () {
outItem.forEach(subItem => { that.loading = true;
var obj = { var array = [];
LeaderId: subItem.LeaderId != null ? subItem.LeaderId : 0, outItem.forEach(subItem => {
LeaderName: subItem.LeaderName != null ? subItem.LeaderName : "", var obj = {
TCID: subItem.TCID, LeaderId: subItem.LeaderId != null ? subItem.LeaderId : 0,
GuideId: subItem.GuideId != null ? subItem.GuideId : 0, LeaderName: subItem.LeaderName != null ? subItem.LeaderName : "",
GuideName: subItem.GuideName != null ? subItem.GuideName : "", TCID: subItem.TCID,
TCNUM: subItem.TCNUMS, GuideId: subItem.GuideId != null ? subItem.GuideId : 0,
} GuideName: subItem.GuideName != null ? subItem.GuideName : "",
array.push(obj) TCNUM: subItem.TCNUMS,
}
array.push(obj)
});
var billMsg = {
ShopDetailsList: ShopDetailsList,
LeaderGuide: array
};
that.apipost('dmcstatistics_post_ShopCreateBill', billMsg, res => {
that.loading = false;
if (res.data.resultCode == 1) {
that.Success(res.data.message);
} else {
that.Error(res.data.message);
}
}, err => {})
}); });
var billMsg = {
ShopDetailsList: ShopDetailsList,
LeaderGuide: array
};
this.apipost('dmcstatistics_post_ShopCreateBill', billMsg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.Success(res.data.message);
} else {
this.$message.error(res.data.message)
}
}, err => {})
}, },
}, },
mounted() { mounted() {
......
...@@ -577,55 +577,55 @@ ...@@ -577,55 +577,55 @@
<div class="btmAddStore" :class="{'fillShow':fillShow}"> <div class="btmAddStore" :class="{'fillShow':fillShow}">
<div class="btmTitle">导入营销数据<span class="litTip">(红色边框代表未匹配到的数据)</span></div> <div class="btmTitle">导入营销数据<span class="litTip">(红色边框代表未匹配到的数据)</span></div>
<div style="height:250px;overflow-y: auto;"> <div style="height:250px;overflow-y: auto;">
<table class="impoTable" style="border-spacing: 0px 1px;"> <table class="impoTable" style="border-spacing: 0px 1px;" v-loading="tabLoading">
<thead> <thead>
<tr> <tr>
<th width="200">团号</th> <th width="200">团号</th>
<th>店名</th> <th>店名</th>
<th>进店时间</th> <th>进店时间</th>
<th>导游名称</th> <th>导游名称</th>
<th>领队名称</th> <th>领队名称</th>
<th>购物总额</th> <th>购物总额</th>
<th>组团社提成</th> <th>组团社提成</th>
<th>领队提成</th> <th>领队提成</th>
<th>导游提成</th> <th>导游提成</th>
<th>汇率</th> <th>汇率</th>
<th>币种</th> <th>币种</th>
<th>操作</th> <th>操作</th>
</tr> </tr>
<tr v-for="(item,index) in importData" :key="item.subCode"> <tr v-for="(item,index) in importData" :key="item.subCode">
<td :class="{'redType':item.TCIDExist==-1}"> <td :class="{'redType':item.TCIDExist==-1}">
<el-input v-model="item.TCNUM" class="w150"></el-input> <el-input v-model="item.TCNUM" class="w150"></el-input>
</td> </td>
<td :class="{'redType':item.ShoppingNameExist==-1}"> <td :class="{'redType':item.ShoppingNameExist==-1}">
<el-select clearable class="w150" v-model='item.ShoppingID' filterable :placeholder="$t('hotel.hotel_area')"> <el-select clearable class="w150" v-model='item.ShoppingID' filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for='item in getShop' :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for='item in getShop' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td>{{item.EnterTime}}</td> <td>{{item.EnterTime}}</td>
<td :class="{'redType':item.GuideExist==-1}"> <td :class="{'redType':item.GuideExist==-1}">
<el-select clearable class="w150" v-model='item.GuideID' filterable :placeholder="$t('hotel.hotel_area')"> <el-select clearable class="w150" v-model='item.GuideID' filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for='item in guidList' :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for='item in guidList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td :class="{'redType':item.LeaderName==-1}"> <td :class="{'redType':item.LeaderName==-1}">
<el-select clearable class="w150" v-model='item.LeaderID' filterable :placeholder="$t('hotel.hotel_area')"> <el-select clearable class="w150" v-model='item.LeaderID' filterable :placeholder="$t('hotel.hotel_area')">
<el-option v-for='item in leaderList' :key="item.ID" :label="item.Name" :value="item.ID"> <el-option v-for='item in leaderList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option> </el-option>
</el-select> </el-select>
</td> </td>
<td>{{item.NowTotalPrice}}({{item.TotalPrice}}*{{item.Rate}})</td> <td>{{item.TotalPrice}}</td>
<td>{{item.NowGroupExtract}}({{item.GroupExtract}}*{{item.Rate}})</td> <td>{{item.GroupExtract}}</td>
<td>{{item.NowLeaderExtract}}({{item.LeaderExtract}}*{{item.Rate}})</td> <td>{{item.LeaderExtract}}</td>
<td>{{item.NowGuideExtract}}({{item.GuideExtract}}*{{item.Rate}})</td> <td>{{item.GuideExtract}}</td>
<td>{{item.Rate}}</td> <td>{{item.Rate}}</td>
<td :class="{'redType':item.CurrencyExist==-1}">{{item.Currency}}</td> <td :class="{'redType':item.CurrencyExist==-1}">{{item.Currency}}</td>
<td><span class="delInfo" @click="delInfo(index)">删除</span></td> <td><span class="delInfo" @click="delInfo(index)">删除</span></td>
</tr> </tr>
</thead> </thead>
</table> </table>
</div> </div>
<div class="btmBtn impotBtn"> <div class="btmBtn impotBtn">
<input type="button" class="normalBtn" @click="importInfo" value="确认导入" /> <input type="button" class="normalBtn" @click="importInfo" value="确认导入" />
...@@ -690,6 +690,8 @@ ...@@ -690,6 +690,8 @@
AddMsgProvinceList: [], AddMsgProvinceList: [],
//城市列表 //城市列表
AddMsgCityList: [], AddMsgCityList: [],
//表格Loading
tabLoading:false,
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 14, pageSize: 14,
...@@ -751,7 +753,6 @@ ...@@ -751,7 +753,6 @@
var imgUrl = this.domainManager().AliUrl + str; var imgUrl = this.domainManager().AliUrl + str;
this.imgArray.push(imgUrl); this.imgArray.push(imgUrl);
this.PicPathArray.push(str); this.PicPathArray.push(str);
// this.updatePic();
}); });
}, },
//更新购物店图片 //更新购物店图片
...@@ -773,7 +774,6 @@ ...@@ -773,7 +774,6 @@
delImg(index) { delImg(index) {
this.PicPathArray.splice(index, 1); this.PicPathArray.splice(index, 1);
this.imgArray.splice(index, 1); this.imgArray.splice(index, 1);
// this.updatePic();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
...@@ -931,7 +931,6 @@ ...@@ -931,7 +931,6 @@
this.addMsg.BusinessHours = ""; this.addMsg.BusinessHours = "";
} }
this.addMsg.PicPath = this.PicPathArray.toString(); this.addMsg.PicPath = this.PicPathArray.toString();
// console.log("addMsg",this.addMsg);
this.apipost( this.apipost(
"Shopping_Post_Set", "Shopping_Post_Set",
this.addMsg, this.addMsg,
...@@ -953,7 +952,7 @@ ...@@ -953,7 +952,7 @@
ID: ID ID: ID
}; };
this.imgArray = []; this.imgArray = [];
this.PicPathArray=[]; this.PicPathArray = [];
this.titleInfo = "修改购物店"; this.titleInfo = "修改购物店";
this.apipost( this.apipost(
"Shopping_Post_Get", "Shopping_Post_Get",
...@@ -1051,35 +1050,35 @@ ...@@ -1051,35 +1050,35 @@
this.importData[index].infoShow = true; this.importData[index].infoShow = true;
}, },
delInfo(index) { delInfo(index) {
this.$confirm("是否删除?", "提示", { var that = this;
confirmButtonText: "确定", this.Confirm('是否删除?删除后将不能恢复', function () {
cancelButtonText: "取消", that.Success("删除成功!");
type: "warning" that.importData.splice(index, 1);
}) });
.then(() => {
this.Success("删除成功!");
this.importData.splice(index, 1);
})
.catch(() => {
this.Info("已取消删除");
});
}, },
//导入数据
importInfo() { importInfo() {
let msg = this.importData; var that = this;
this.apipost( this.Confirm('是否导入此数据?', function () {
"ShoppingInfo_Post_Set", that.tabLoading = true;
msg, let msg = that.importData;
res => { that.apipost(
if (res.data.resultCode == 1) { "ShoppingInfo_Post_Set",
this.fillShow = false; msg,
this.Success("导入成功"); res => {
this.getList(); that.tabLoading = false;
} else { if (res.data.resultCode == 1) {
this.Error(res.data.message); that.fillShow = false;
} that.Success("导入成功");
}, that.getList();
err => {} } else {
); that.Error(res.data.message);
}
},
err => {}
);
});
}, },
getDownList() { getDownList() {
let msg = {}; let msg = {};
...@@ -1110,30 +1109,23 @@ ...@@ -1110,30 +1109,23 @@
// this.addMsg.Address = msg.address; // this.addMsg.Address = msg.address;
}, },
delShoppingStore(ID) { delShoppingStore(ID) {
this.$confirm("是否删除?", "提示", { var that = this;
confirmButtonText: "确定", this.Confirm('是否删除?删除后将不能恢复', function () {
cancelButtonText: "取消", that.Success("删除成功!");
type: "warning" var msg = {
}) ID: ID
.then(() => { };
this.Success("删除成功!"); that.apipost(
var msg = { "Shopping_Post_Remove",
ID: ID msg,
}; res => {
this.apipost( if (res.data.resultCode == 1) {
"Shopping_Post_Remove", that.getList();
msg, }
res => { },
if (res.data.resultCode == 1) { null
this.getList(); );
} });
},
null
);
})
.catch(() => {
this.Info("已取消删除!");
});
} }
}, },
mounted() { mounted() {
......
This diff is collapsed.
This diff is collapsed.
...@@ -470,6 +470,10 @@ ...@@ -470,6 +470,10 @@
<p class="_text">{{$t('Airticket.Air_deadTicketTime')}}</p> <p class="_text">{{$t('Airticket.Air_deadTicketTime')}}</p>
</div> </div>
</el-col> </el-col>
<el-col :span="2" class="vmiddle">
<el-button type="primary" size="mini" @click="goUrl('/IndividualTicketOrderDetails',item)">查看详情</el-button>
</el-col>
</el-row> </el-row>
<el-row :gutter="0"> <el-row :gutter="0">
...@@ -541,6 +545,17 @@ ...@@ -541,6 +545,17 @@
}; };
}, },
methods: { methods: {
goUrl(path, item) {
// console.log(item);
this.$router.push({
path: path,
query: {
ID: item.AirProductId,
blank: 'y',
tab: '散客机票订单详情'
}
});
},
getList() { getList() {
this.loading = true; this.loading = true;
if(this.msg.ID==''){ if(this.msg.ID==''){
...@@ -550,6 +565,7 @@ ...@@ -550,6 +565,7 @@
"ticket_get_GetAirTicketScatteringPageList", "ticket_get_GetAirTicketScatteringPageList",
this.msg, this.msg,
res => { res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
......
...@@ -119,15 +119,10 @@ ...@@ -119,15 +119,10 @@
<span class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID)">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span></span> <span class="Order_RS" :class="{'RS_RedType':item.OrderTotalNum>0}" @click="goUrl('RegistrationList',item.TCID)">{{item.OrderTotalNum-item.OrderLeaderGuestNum}}<span v-if="item.OrderLeaderGuestNum>0">+{{item.OrderLeaderGuestNum}}</span></span>
</td> </td>
<td><span class="Order_RS" @click="goUrl('RegistrationList',item.TCID)">{{item.OrderPaymentNum}}</span></td> <td><span class="Order_RS" @click="goUrl('RegistrationList',item.TCID)">{{item.OrderPaymentNum}}</span></td>
<td><span class="PingFangSC Order_RS" @click="goUrl('SetTheLeader')">{{item.LeaderName}}</span></td> <td><span :class="item.LeaderName!=''&&item.LeaderName!=null?'PingFangSC Order_RS':'Order_RS'" @click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.LeaderName!=""&&item.LeaderName!=null ?item.LeaderName:"设置领队"}}</span></td>
<td><span class="RS_RedType PingFangSC Order_RS" @click="goUrl('leaderTaskBoard')">{{item.GuideName}}</span></td> <td><span :class="item.GuideName!=''&&item.GuideName!=null?'RS_RedType PingFangSC Order_RS':'Order_RS'" @click="goUrl('leaderArrangement',item.TCID,'设置导游')">{{item.GuideName!=""&&item.GuideName!=null?item.GuideName:"设置导游"}}</span></td>
<td><span class="RS_Nameover">{{item.OPRemark}}</span></td> <td><span class="RS_Nameover">{{item.OPRemark}}</span></td>
</tr> </tr>
<!-- <tr>
<td colspan="12">
<span class="RS_Nameover" @click="goUrlTM('productQuery',item.TCNUM)">团名: {{item.Title}}</span>
</td>
</tr> -->
</tbody> </tbody>
</table> </table>
</div> </div>
......
...@@ -149,7 +149,7 @@ ...@@ -149,7 +149,7 @@
created() { created() {
this.TripLayer.vshowA = true; this.TripLayer.vshowA = true;
this.TripLayer.vshowB = true; this.TripLayer.vshowB = true;
this.TripLayer.vshowC = true; this.TripLayer.vshowC = false;
this.TripLayer.vshowD = true; this.TripLayer.vshowD = true;
this.TripLayer.vshowE = true; this.TripLayer.vshowE = true;
this.TripLayer.vshowF = true; this.TripLayer.vshowF = true;
......
This diff is collapsed.
This diff is collapsed.
...@@ -328,7 +328,6 @@ ...@@ -328,7 +328,6 @@
res.data.data.forEach(x => { res.data.data.forEach(x => {
this.priceFlightList.push(x); this.priceFlightList.push(x);
}); });
console.log(res, 'flight');
this.headCallBack(); this.headCallBack();
} }
} else { } else {
......
This diff is collapsed.
This diff is collapsed.
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