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;}
.w30{width: 30px!important;}
.w40{width: 40px!important;}
.w50{width: 50px!important;}
.w60{width: 50px!important;}
.w60{width: 60px!important;}
.w69{width: 69px!important;}
.w80{width: 80px!important;}
.w89{width: 89px!important;}
......@@ -613,5 +613,14 @@ vertical-align:middle
text-align: left;
padding-left:5px;
}
.noDataNotice {
text-align: center;
padding: 0px 0;
color: #999;
font-size: 14px;
}
.noDataNotice>i {
font-size: 120px;
color: #ccc;
}
/************************** luochao 重新定义表格样式 END *******************************/
\ No newline at end of file
......@@ -2,6 +2,9 @@
font-family:'xcte2ename';
src:url('../webfont/xcte2ename.ttf') format('truetype')
}
.vdr{
position: absolute
}
div{
box-sizing: border-box;
}
......
......@@ -805,7 +805,7 @@ export default {
},
getTitleByRouter(name){
let obj={}
routerConfig.routes[10].children[10].children.forEach(x=>{
routerConfig.routes[11].children[10].children.forEach(x=>{
if(x.name==name){
obj.comp=x.component
if(x.meta && x.meta.title)
......
......@@ -1689,20 +1689,6 @@ export default {
}
},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(){
if(this.$route.query.pageIndex){
this.pageIndex = this.$route.query.pageIndex;
......
......@@ -15,16 +15,43 @@
.page_CapitalAllocation .page_CapitalAllocation_list {
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:hover{background-color: #66bb97}
.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>
<template>
<div class="page_CapitalAllocation">
<div class="query-box">
<ul>
<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()"/>
</li>
</ul>
......@@ -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>
</tr>
......@@ -128,17 +155,50 @@
<td>{{item.FrID}}</td>
<td>{{item.Money}}</td>
<td>{{item.PayMoney}}</td>
<td>{{item.OriginalMoney}}</td>
<!-- <td>{{item.OriginalMoney}}</td> -->
<td>{{item.TradeDate}}</td>
<td>{{item.CreateDate}}</td>
<td>{{item.EmName}}</td>
<td>{{item.Description}}</td>
<td>{{item.StatusStr}}</td>
<!-- <td>{{item.Description}}</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>
<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>
</tr>
</table>
<div class="noDataNotice" v-if="dataList.length<1"><i class="iconfont icon-kong"></i> <p>没有找到你需要的数据</p></div>
</div>
</div>
</template>
......@@ -184,7 +244,9 @@ export default {
productionDate2: [],
StatusList: [],
EmployeeList: [],
GetFinancLogList: [],
loading: true,
LogLoading: true,
}
},
created(){
......@@ -199,7 +261,7 @@ export default {
}
this.loading= true
this.apipost('Financial_get_GetFundTransferPageList', this.msg, res=>{
if (res.resultCode ===1){
if (res.data.resultCode===1){
this.dataList = res.data.data.pageData
} else {
this.$message.error(res.data.message)
......@@ -257,9 +319,23 @@ export default {
}
}, err => {})
},
goURL: function () {
this.$router.push({ name: "addCapitalAllocation",query:{blank:'y',tab:'新增资金调拨'} })
goURL: function (url, edit, id) {
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(){
this.getCompanyList()
......
......@@ -1173,20 +1173,6 @@ export default {
Vue.component(this.name+this.z,this.componentTemp)
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(){
// document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp
......
......@@ -417,7 +417,7 @@ export default {
TypeId:this.accType,
BranchId:-1,
Alias:'',
RB_Branch_Id:this.RB_Branch_Id,
// RB_Branch_Id:this.RB_Branch_Id,
}
this.apipost('BankAccount_post_GetPlatformList',msg, res => {
if(res.data.resultCode == 1) {
......
......@@ -453,7 +453,7 @@ export default {
BranchId:-1,
Alias:'',
}
this.apipost('BankAccount_post_GetCashAccountList',msg, res => {
this.apipost('BankAccount_post_GetCashPoolList',msg, res => {
if(res.data.resultCode == 1) {
let data = res.data.data;
this.accountList = data;
......@@ -651,7 +651,7 @@ export default {
BranchId:-1,
Alias:''
};
this.apipost('BankAccount_post_GetCashAccountList',msg, res => {
this.apipost('BankAccount_post_GetCashPoolList',msg, res => {
if(res.data.resultCode === 1) {
let data = res.data.data;
data.forEach(x=>{
......@@ -674,7 +674,7 @@ export default {
}, err => {})
},
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) {
let data = res.data.data;
data.forEach(x=>{
......
......@@ -594,6 +594,9 @@
</li>
</ul>
</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'>
<ul v-if="list.length!=0">
<li v-for="(item,index) in list" :key="index">
......@@ -771,16 +774,13 @@
</p>
</div>
<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-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'
icon="iconfont icon-sousuo"></el-button>
</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"
@click="goBuy(item)"></el-button>
</el-tooltip>
......@@ -832,7 +832,7 @@
</div>
</div>
<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-dialog custom-class='ComTeamPlan_info_box' :title="tripTitle" :visible.sync="outerVisible" center>
<commonTeamInfo ref="comTeam"></commonTeamInfo>
......
......@@ -87,16 +87,19 @@
{{item.GuideName}}
</td>
<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 class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<div v-for="subItem in item.CommonReport.PriceShopList">{{subItem.ShopName}}</div>
</td>
<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 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 class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<template v-for="subItem in item.CommonReport.PriceShopList">
......@@ -110,7 +113,8 @@
</td>
<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 class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<!--凭证上传-->
......@@ -127,7 +131,8 @@
</td>
<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 class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<template v-for="subItem in item.CommonReport.PriceShopList">
......@@ -137,15 +142,18 @@
</td>
<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 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 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 class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<!--地接OP凭证-->
......@@ -154,8 +162,8 @@
v-if="img !== ''" style="cursor: pointer;">{{ '凭证' + (imgIndex + 1)}}</p>
</div>
</td>
<td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0' >
<template v-for="subItem in item.CommonReport.PriceShopList" >
<td class="more_td" :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<template v-for="subItem in item.CommonReport.PriceShopList">
<div>
<!--subItem.ShopDetailsList-->
<p style="cursor: pointer;color:blue;" @click="CreateBill(subItem.ShopDetailsList,outItem.StaticsReportList)">生成单据</p>
......@@ -313,7 +321,9 @@
},
//生成单据
CreateBill(ShopDetailsList, outItem) {
this.loading = true;
var that = this;
this.Confirm('是否生成财务单据?', function () {
that.loading = true;
var array = [];
outItem.forEach(subItem => {
var obj = {
......@@ -330,14 +340,16 @@
ShopDetailsList: ShopDetailsList,
LeaderGuide: array
};
this.apipost('dmcstatistics_post_ShopCreateBill', billMsg, res => {
this.loading = false;
that.apipost('dmcstatistics_post_ShopCreateBill', billMsg, res => {
that.loading = false;
if (res.data.resultCode == 1) {
this.Success(res.data.message);
that.Success(res.data.message);
} else {
this.$message.error(res.data.message)
that.Error(res.data.message);
}
}, err => {})
});
},
},
mounted() {
......
......@@ -577,7 +577,7 @@
<div class="btmAddStore" :class="{'fillShow':fillShow}">
<div class="btmTitle">导入营销数据<span class="litTip">(红色边框代表未匹配到的数据)</span></div>
<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>
<tr>
<th width="200">团号</th>
......@@ -616,10 +616,10 @@
</el-option>
</el-select>
</td>
<td>{{item.NowTotalPrice}}({{item.TotalPrice}}*{{item.Rate}})</td>
<td>{{item.NowGroupExtract}}({{item.GroupExtract}}*{{item.Rate}})</td>
<td>{{item.NowLeaderExtract}}({{item.LeaderExtract}}*{{item.Rate}})</td>
<td>{{item.NowGuideExtract}}({{item.GuideExtract}}*{{item.Rate}})</td>
<td>{{item.TotalPrice}}</td>
<td>{{item.GroupExtract}}</td>
<td>{{item.LeaderExtract}}</td>
<td>{{item.GuideExtract}}</td>
<td>{{item.Rate}}</td>
<td :class="{'redType':item.CurrencyExist==-1}">{{item.Currency}}</td>
<td><span class="delInfo" @click="delInfo(index)">删除</span></td>
......@@ -690,6 +690,8 @@
AddMsgProvinceList: [],
//城市列表
AddMsgCityList: [],
//表格Loading
tabLoading:false,
msg: {
pageIndex: 1,
pageSize: 14,
......@@ -751,7 +753,6 @@
var imgUrl = this.domainManager().AliUrl + str;
this.imgArray.push(imgUrl);
this.PicPathArray.push(str);
// this.updatePic();
});
},
//更新购物店图片
......@@ -773,7 +774,6 @@
delImg(index) {
this.PicPathArray.splice(index, 1);
this.imgArray.splice(index, 1);
// this.updatePic();
},
handleCurrentChange(val) {
this.msg.pageIndex = val;
......@@ -931,7 +931,6 @@
this.addMsg.BusinessHours = "";
}
this.addMsg.PicPath = this.PicPathArray.toString();
// console.log("addMsg",this.addMsg);
this.apipost(
"Shopping_Post_Set",
this.addMsg,
......@@ -953,7 +952,7 @@
ID: ID
};
this.imgArray = [];
this.PicPathArray=[];
this.PicPathArray = [];
this.titleInfo = "修改购物店";
this.apipost(
"Shopping_Post_Get",
......@@ -1051,35 +1050,35 @@
this.importData[index].infoShow = true;
},
delInfo(index) {
this.$confirm("是否删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.Success("删除成功!");
this.importData.splice(index, 1);
})
.catch(() => {
this.Info("已取消删除");
var that = this;
this.Confirm('是否删除?删除后将不能恢复', function () {
that.Success("删除成功!");
that.importData.splice(index, 1);
});
},
//导入数据
importInfo() {
let msg = this.importData;
this.apipost(
var that = this;
this.Confirm('是否导入此数据?', function () {
that.tabLoading = true;
let msg = that.importData;
that.apipost(
"ShoppingInfo_Post_Set",
msg,
res => {
that.tabLoading = false;
if (res.data.resultCode == 1) {
this.fillShow = false;
this.Success("导入成功");
this.getList();
that.fillShow = false;
that.Success("导入成功");
that.getList();
} else {
this.Error(res.data.message);
that.Error(res.data.message);
}
},
err => {}
);
});
},
getDownList() {
let msg = {};
......@@ -1110,29 +1109,22 @@
// this.addMsg.Address = msg.address;
},
delShoppingStore(ID) {
this.$confirm("是否删除?", "提示", {
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
})
.then(() => {
this.Success("删除成功!");
var that = this;
this.Confirm('是否删除?删除后将不能恢复', function () {
that.Success("删除成功!");
var msg = {
ID: ID
};
this.apipost(
that.apipost(
"Shopping_Post_Remove",
msg,
res => {
if (res.data.resultCode == 1) {
this.getList();
that.getList();
}
},
null
);
})
.catch(() => {
this.Info("已取消删除!");
});
}
},
......
This diff is collapsed.
This diff is collapsed.
......@@ -470,6 +470,10 @@
<p class="_text">{{$t('Airticket.Air_deadTicketTime')}}</p>
</div>
</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 :gutter="0">
......@@ -541,6 +545,17 @@
};
},
methods: {
goUrl(path, item) {
// console.log(item);
this.$router.push({
path: path,
query: {
ID: item.AirProductId,
blank: 'y',
tab: '散客机票订单详情'
}
});
},
getList() {
this.loading = true;
if(this.msg.ID==''){
......@@ -550,6 +565,7 @@
"ticket_get_GetAirTicketScatteringPageList",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.total = res.data.data.count;
......
......@@ -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>
</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="RS_RedType PingFangSC Order_RS" @click="goUrl('leaderTaskBoard')">{{item.GuideName}}</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="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>
</tr>
<!-- <tr>
<td colspan="12">
<span class="RS_Nameover" @click="goUrlTM('productQuery',item.TCNUM)">团名: {{item.Title}}</span>
</td>
</tr> -->
</tbody>
</table>
</div>
......
......@@ -116,24 +116,20 @@
<td>{{item.B2CMemberPrice}}</td>
<td>{{item.TotalSeat}}</td>
<td>
<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><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="RS_RedType PingFangSC Order_RS" @click="goUrl('leaderTaskBoard')">{{item.GuideName}}</span></td>
<td><span class="Order_RS" @click="goUrl('RegistrationList',item.TCID,'报名清单')">{{item.OrderPaymentNum}}</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="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>
</tr>
<!-- <tr>
<td colspan="12">
<span class="RS_Nameover" @click="goUrlTM('productQuery',item.TCNUM)">团名: {{item.Title}}</span>
</td>
</tr> -->
</tbody>
</table>
</div>
</template>
<script>
export default {
export default {
data() {
return {
queryCommonData: {
......@@ -214,48 +210,47 @@ export default {
this.queryCommonData.loading = false;
if (res.data.resultCode == 1) {
this.DataList = res.data.data;
this.DataList.forEach(item=>{
switch(item.StartCityName){
this.DataList.forEach(item => {
switch (item.StartCityName) {
case '成都':
item.StartCityNum = 1
break ;
break;
case '昆明':
item.StartCityNum = 2
break ;
break;
case '重庆':
item.StartCityNum = 3
break ;
break;
case '西安':
item.StartCityNum = 4
break ;
break;
case '武汉':
item.StartCityNum = 5
break ;
break;
case '贵阳':
item.StartCityNum = 6
break ;
break;
case '南昌':
item.StartCityNum = 7
break ;
break;
case '兰州':
item.StartCityNum = 8
break ;
break;
case '票务':
item.StartCityNum = 9
break ;
break;
case '长沙':
item.StartCityNum = 10
break ;
break;
case '微途':
item.StartCityNum = 11
break ;
break;
case '厦门':
item.StartCityNum = 12
break ;
break;
case '南京':
item.StartCityNum = 13
break ;
break;
}
})
}
......@@ -270,15 +265,29 @@ export default {
"报名统计.xls"
);
},
goUrl(path, id) {
goUrl(path, id,title) {
if (id > 0) {
this.$router.push({name: path, query: {id: id}});
this.$router.push({
name: path,
query: {
id: id,
blank: 'y',
tab: title
}
});
} else {
this.$router.push({name: path});
this.$router.push({
name: path
});
}
},
goUrlTM(path, TCNUM) {
this.$router.push({name: path, query: {id: TCNUM }});
this.$router.push({
name: path,
query: {
id: TCNUM
}
});
},
},
mounted() {
......@@ -286,5 +295,6 @@ export default {
this.getLineList();
this.getList();
}
};
};
</script>
......@@ -52,6 +52,73 @@
.exportCompany{
width:450px;
}
._addUpload_box{
display: block;
margin-top: 15px;
}
._addUpload_box img{
width: 100%;
}
._addUpload_box>div{
float: left;
width:138px;
height:92px;
border:1px dashed rgba(210,210,210,1);
border-radius:2px;
cursor: pointer;
padding: 5px;
margin-right: 10px;
position: relative;
}
.BusApportionManagement ._addUpload_box>div:hover{
background-color: #f5f5f5;
}
.BusApportionManagement ._addFile_name{
padding-left: 15px;
max-width: 450px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.BusApportionManagement ._addUpload_box .icon-guanbi1 {
font-size: 12px;
color: white;
display: inline-block;
margin-left: 15px;
position: absolute;
right: -6px;
top: -9px;
background-color: #f56c6c;
border-radius: 50%;
height: 20px;
width: 20px;
text-align: center;
line-height: 20px;
}
.BusApportionManagement ._addUpload_box .icon-guanbi1:hover {
font-size: 12px;
color: #c94052;
}
.BusApportionManagement ._addUpload_box .icon-excel,._addUpload_box .icon-pdf{
text-align: center;
font-size: 38px;
color: green;
line-height: 75px;
}
.BusApportionManagement .el-upload-dragger{
width:126px!important;
height:80px!important;
}
.BusApportionManagement ._show_img_box{
position: fixed;
background: rgba(0,0,0,.6);
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 999;
text-align: center;
}
</style>
<template>
......@@ -260,6 +327,42 @@
<el-col :span="4" :gutter="35">
<button type="button" class="normalBtn" style="margin:5px 0 0 60px;" @click="checkIsUse">添加团号</button>
</el-col>
<el-col :span="12" :gutter="35">
<el-form-item label="上传凭证">
<div class="_addUpload_box clearfix" >
<template v-for="(file,fIndex) in saveMsg">
<div v-if="file.Type==3">
<div style="width:100%;height:100%;overflow: hidden;">
<img :src="file.Url?file.Url:file.Content" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
<div v-if="file.Type==1">
<div class="iconfont " :class="file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
<div v-if="file.Type==2">
<div class="iconfont icon-excel" @click="showUpLoadFile(file)">
</div>
<span class="iconfont icon-guanbi1" @click="deleteUploadFile(fIndex)"></span>
</div>
</template>
<div class="_pic_upload">
<el-upload
drag
:http-request="uploadFileBtn"
:multiple="true" :show-file-list="false" action="">
<i class="el-icon-plus avatar-uploader-icon"></i>
<div class="el-upload__text">点击/拖拽上传</div>
</el-upload>
</div>
</div>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="20" :gutter="35">
......@@ -315,6 +418,16 @@
</div>
</el-dialog>
<div v-if='picIsShow' class="_show_img_box" @click="picIsShow=false,picObj=[]">
<div style="position: absolute; width: 800px; height: 600px; left: 50%; top: 50%; margin-left: -400px; margin-top: -300px;">
<el-carousel :initial-index=initialIndex height="600px" :interval="5000" trigger="click">
<el-carousel-item style="height: 600px;overflow:auto;" v-for="(item,index) in picObj" :key="index">
<img :src="item" style=""/>
</el-carousel-item>
</el-carousel>
</div>
</div>
</div>
</template>
<script>
......@@ -350,7 +463,8 @@ export default {
f_currency:1,
f_rate:'',
ClientID:0,
PayDate:''
PayDate:'',
VorList:[]
},
dataList: [],
total: 0,
......@@ -401,6 +515,11 @@ export default {
CurrType:3,
ClientId:0
},
//上传数组
saveMsg:[],
picIsShow:false,
picObj:[],
imgList:[],
pickerBeginDateBefore: {
disabledDate: time => {
let endTime = new Date(this.exportInfo.EndGroupDate)
......@@ -572,7 +691,6 @@ export default {
if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData;
this.total = res.data.data.count;
console.log(this.dataList,'dataList');
} else {
this.Error(res.data.message);
}
......@@ -597,10 +715,12 @@ export default {
f_rate:'',
ClientID:0,
PayDate:'',
VorList:[]
};
this.Year = '';
this.TCIDS ='';
this.allTeamList = [];
this.saveMsg = [];
this.addMsg = newMsg;
},
......@@ -834,6 +954,64 @@ export default {
});
window.open(routeData.href, "_blank");
},
showUpLoadFile(i){ // 预览上传文件
if(i.Type==3){
this.picObj.push(i.Url);
this.imgList.push(i.Url);
this.picIsShow= true;
// this.hideFlashMan = true;
}else{
if(i.Content.substring(i.Content.lastIndexOf('.')+1,i.Content.length).toUpperCase()=='PDF'){
this.previewPDF(i.Url)
}else{
window.open("https://view.officeapps.live.com/op/view.aspx?src="+i.Url)
}
}
},
deleteUploadFile(i){ // 删除上传文件
this.saveMsg.splice(i,1);
this.addMsg.VorList = this.saveMsg;
},
uploadFileBtn(file) { //上传
if(file.file.size > 1024 * 1024 * 10) {
this.Error('文件大小不能超过10M!')
return
}
// 1 文档 2 数据 3 图片
let typeArr=[
{stringArr:'GIF|JPG|JPEG|PNG|BMP',type:3},
{stringArr:'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF',type:1},
]
let ft=file.file.name.substring(file.file.name.lastIndexOf('.')+1,file.file.name.length).toUpperCase();
let fileTypeNumber = 2;
let typeOk = false;
typeArr.forEach(x=>{
if(x.stringArr.indexOf(ft)!='-1')
{
fileTypeNumber=x.type
typeOk = true;
}
})
if (!typeOk) return this.Error('请上传图片、word、excel类型的文件!');
let newArr = [];
newArr.push(file.file)
let path = "/Upload/Temporary/"
this.$message.info('上传中...')
this.uploadFile(path, newArr, x => {
console.log(x.res.requestUrls[0])
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.saveMsg.push({
Content: x.name,
ID:0,
Type:fileTypeNumber,
Url:x.res.requestUrls[0].split("?")[0],
})
this.addMsg.VorList = this.saveMsg;
this.Success('上传成功');
});
},
},
mounted(){
this.getList();
......
......@@ -149,7 +149,7 @@
created() {
this.TripLayer.vshowA = true;
this.TripLayer.vshowB = true;
this.TripLayer.vshowC = true;
this.TripLayer.vshowC = false;
this.TripLayer.vshowD = true;
this.TripLayer.vshowE = true;
this.TripLayer.vshowF = true;
......
This diff is collapsed.
This diff is collapsed.
......@@ -328,7 +328,6 @@
res.data.data.forEach(x => {
this.priceFlightList.push(x);
});
console.log(res, 'flight');
this.headCallBack();
}
} else {
......
......@@ -546,41 +546,6 @@
</el-select>
</div>
<div class="TPright clearfix">
<!--<el-popover popper-class="_TravelPriceDetails" trigger="click">-->
<!--<div>-->
<!--&lt;!&ndash;<table width="100%" border="0" cellspacing="0" cellpadding="0">&ndash;&gt;-->
<!--&lt;!&ndash;<tr>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">选择</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">航班号</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">航空公司</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">航段</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">时间</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">PNR</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">使用数量/剩余数量</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td class="_color_666">绑定机位数</td>&ndash;&gt;-->
<!--&lt;!&ndash;</tr>&ndash;&gt;-->
<!--&lt;!&ndash;<tr v-for="fitem in selectFilghtList">&ndash;&gt;-->
<!--&lt;!&ndash;<td>&ndash;&gt;-->
<!--&lt;!&ndash;<el-checkbox v-model="fitem.IsSelected===true" @change="getSelect(fitem)"></el-checkbox>&ndash;&gt;-->
<!--&lt;!&ndash;</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>{{fitem.FlightNumber}}</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>{{fitem.AlName}}</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>{{fitem.DepartureName}}-{{fitem.ArrivalCityName}}</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>{{fitem.FlightDate}} {{fitem.Departure_time}}</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>{{fitem.PNR}}</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>{{fitem.UseAmount}} / {{fitem.RemainNum}}</td>&ndash;&gt;-->
<!--&lt;!&ndash;<td>&ndash;&gt;-->
<!--&lt;!&ndash;<el-input class="w80" placeholder="机位数" @keyup.native="getFlightBindNum(fitem)"&ndash;&gt;-->
<!--&lt;!&ndash;v-model="fitem.BindNum"></el-input>&ndash;&gt;-->
<!--&lt;!&ndash;</td>&ndash;&gt;-->
<!--&lt;!&ndash;</tr>&ndash;&gt;-->
<!--&lt;!&ndash;</table>&ndash;&gt;-->
<!--</div>-->
<!--<div slot="reference" class="SimulateDrop-box">-->
<!--<span class="SD_flight" v-for="item in FinfoList">{{item.name}} {{item.date}}</span>-->
<!--<i class="iconfont icon-arrow-down SimulaDrop"></i>-->
<!--</div>-->
<!--</el-popover>-->
<el-form-item prop="ClearOrderHour" v-if="!flagWangYue">
<el-input placeholder="请输入" class="w190 ComSeat" v-model="priceData.ClearOrderHour"
@keyup.native="checkInteger(priceData,'ClearOrderHour')"
......@@ -912,9 +877,6 @@
)
};
}
// if (this.modifyTcid > 0) {
// this.returnPriceList = [];
// }
this.returnPriceList.push(objItem);
this.initDatePickerCheched();
this.returnPriceList.sort(
......@@ -998,19 +960,19 @@
if(TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].ArrivalType!==1) return;
if(TrafficList.TrafficList[0].SubTraffic[0].ArrivalCityId===0) return;
if(TrafficList.TrafficList[0].SubTraffic[0].StartCityId===0) return;
msg.FstartcityId = TrafficList.TrafficList[0].SubTraffic[0].ArrivalCityId;
msg.FendcityId = TrafficList.TrafficList[0].SubTraffic[0].StartCityId;
msg.FstartcityId = TrafficList.TrafficList[0].SubTraffic[0].StartCityId;
msg.FendcityId = TrafficList.TrafficList[0].SubTraffic[0].ArrivalCityId;
if(TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic.length>=2){
let list = TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic.length-1];
if(list.ArrivalCityId===0) return;
if(list.StartCityId===0) return;
msg.EstartcityId = list.ArrivalCityId;
msg.EendcityId = list.StartCityId;
msg.EstartcityId = list.StartCityId;
msg.EendcityId = list.ArrivalCityId;
}else {
if(TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].ArrivalCityId===0) return;
if(TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].StartCityId===0) return;
msg.EstartcityId = TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].ArrivalCityId;
msg.EendcityId = TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].StartCityId;
msg.EstartcityId = TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].StartCityId;
msg.EendcityId = TrafficList.TrafficList[TrafficList.TrafficList.length-1].SubTraffic[0].ArrivalCityId;
}
let storageMsg = localStorage.queryFlightAirMsg?JSON.parse(localStorage.queryFlightAirMsg):null;
......@@ -1031,10 +993,6 @@
},
// 获取飞机票2
queryFlightAirList(msg) {
// msg.FstartcityId = 944;
// msg.FendcityId = 316;
// msg.EstartcityId = 944;
// msg.EendcityId = 316;
this.apipost("AirTicket_get_GetTicketList",msg,res=>{
if(res.data.resultCode===1){
this.queryFlightAirListData = res.data.data;
......
......@@ -275,7 +275,6 @@
res => {
if (res.data.resultCode == 1) {
if (res.data.data != null) {
console.log('res.data.data', res.data.data)
res.data.data.forEach(x => {
x['IsShowTime'] = false
this.priceFlightList.push(x)
......@@ -338,10 +337,8 @@
departureTime: item.DepartureTime,
arriveTime: item.ArrivalTime,
}
console.log('msg', msg)
this.apipost('travel_post_ModifyAirticketFlightTimeById', msg, res => {
if (res.data.resultCode == 1) {
} else {
this.Warning(res.data.message)
}
......
......@@ -2,7 +2,7 @@
<!--<div id='newFeatureBox' v-if="!Refresh" v-loading="RenderingOk">-->
<div id='newFeatureBox' v-if="!Refresh">
<!-- 酒店 -->
<div class="travle_page" v-for="(item, index) in hotelObj.pageList" :key="'hotel'+index " v-if="hotelObj.list.length>0">
<div class="travle_page" v-for="(item, index) in hotelObj.pageList" :key="'hotel'+index " v-if="item === 0 && hotelObj.list.length>0">
<!-- 酒店1 -->
<div class="travel_hotel_1" v-if="item === 0 && hotelObj.list!=null && hotelObj.list.length>0">
<div class="hotel_1_header">
......
......@@ -542,15 +542,11 @@
this.dayObj.ScenicArray.forEach(x=>{
// x.ScenicJson = (typeof(x.ScenicJsonStr) === 'string' ? x.ScenicJsonStr : { x:0, y:0 })
let obj = JSON.parse(x.ScenicJsonStr)
if (obj) {
console.log("obj1",obj.y)
x.ScenicJson = obj
} else {
console.log("obj2",obj)
x.ScenicJson = { x:0, y:0 }
}
console.log('222', x.ScenicJson)
})
this.initScenicData();
},
......
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