Commit 19653a75 authored by 王悦's avatar 王悦
parents 2641d8c3 313b3517
...@@ -202,11 +202,15 @@ ...@@ -202,11 +202,15 @@
<ul> <ul>
<li><span>线路:</span>{{PriceInfo.LineName}}</li> <li><span>线路:</span>{{PriceInfo.LineName}}</li>
<li><span>系列:</span>{{PriceInfo.LtName}}</li> <li><span>系列:</span>{{PriceInfo.LtName}}</li>
<li><span>团队编号:</span><a>{{PriceInfo.TCID}}</a></li> <li><span>团队编号:</span><a style="text-decoration:underline;cursor:pointer;"
@click="goTeamBalancePayment('团队收支','TeamBalancePayment',PriceInfo.TCID,PriceInfo.OutBranchId)">{{PriceInfo.TCID}}</a>
</li>
<li><span>行程天数:</span>{{PriceInfo.DayNum}}</li> <li><span>行程天数:</span>{{PriceInfo.DayNum}}</li>
<li><span>出发日期:</span>{{PriceInfo.StartDate}}</li> <li><span>出发日期:</span>{{PriceInfo.StartDate}}</li>
<li><span>返回日期:</span>{{PriceInfo.BackDate}}</li> <li><span>返回日期:</span>{{PriceInfo.BackDate}}</li>
<li><span>订单号:</span><a>{{PriceInfo.OrderId}}</a></li> <li><span>订单号:</span><a style="text-decoration:underline;cursor:pointer;"
@click="goEnrollTotal('报名统计','enrollTotal',PriceInfo.OrderId)">{{PriceInfo.OrderId}}</a>
</li>
<li><span>业务员:</span>{{PriceInfo.Salesman}}</li> <li><span>业务员:</span>{{PriceInfo.Salesman}}</li>
<li><span>线控:</span>{{PriceInfo.DriveByWire}}</li> <li><span>线控:</span>{{PriceInfo.DriveByWire}}</li>
<li><span>操作OP:</span>{{PriceInfo.OpName}}</li> <li><span>操作OP:</span>{{PriceInfo.OpName}}</li>
...@@ -231,7 +235,7 @@ ...@@ -231,7 +235,7 @@
<span>已赔金额:</span>{{getBackMoney()}} <span>已赔金额:</span>{{getBackMoney()}}
</li> </li>
<li <li
v-if="ComplainInfo.DisposeStatus===4&&getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy"> v-if="ComplainInfo.DisposeStatus===4&&(getLocalStorage().EmployeeId===ComplainDetial[ComplainDetial.length-1].CreateBy||authority.indexOf('S_Complain_Finance')!=-1)">
<span>单据详情:</span> <span>单据详情:</span>
<span v-for="compensation in ComplainCompensation" class="CD_dealResult" href="javascript:void(0)" <span v-for="compensation in ComplainCompensation" class="CD_dealResult" href="javascript:void(0)"
@click="setFinance(compensation)">{{compensation.CompensateMoney}}</span> @click="setFinance(compensation)">{{compensation.CompensateMoney}}</span>
...@@ -444,7 +448,8 @@ ...@@ -444,7 +448,8 @@
ishowBtn: true, ishowBtn: true,
showAppendMoney: false, showAppendMoney: false,
CompensateMoney: 0,//赔偿金额 CompensateMoney: 0,//赔偿金额
ComplainCompensation: []//赔款列表 ComplainCompensation: [],//赔款列表
authority: [],
} }
}, },
methods: { methods: {
...@@ -604,13 +609,13 @@ ...@@ -604,13 +609,13 @@
}) })
} else if (compensation.FinanceID > 0) { } else if (compensation.FinanceID > 0) {
this.$router.push({ this.$router.push({
name: "FinancialDocumentsDetail", name: 'FinancialDocumentsDetail',
query: { query: {
id: compensation.FinanceID, id: compensation.FinanceID,
blank: 'y', blank: 'y',
tab: "单据详情" tab: '单据详情'
} }
}); })
} }
}, },
...@@ -727,6 +732,26 @@ ...@@ -727,6 +732,26 @@
}) })
return money return money
}, },
goEnrollTotal (name, path, orderId) {
this.$router.push({
name: path,
query: {orderId: orderId, blank: 'y', tab: name}
})
},
goTeamBalancePayment (name, path, id, outBranchId) {
this.$router.push({
name: path,
query: {id: id, outBranchId: outBranchId, blank: 'y', tab: name}
})
},
initAuthor() {
let msg = {
MenuUrl: "/ChoiceAddFinancialDocuments"
};
this.apipost("admin_get_GetActionCodeForUrlAndUser", msg, r => {
this.authority = r.data.data;
});
},
}, },
mounted () { mounted () {
this.queryMsg.ID = this.$route.query.id this.queryMsg.ID = this.$route.query.id
...@@ -734,6 +759,7 @@ ...@@ -734,6 +759,7 @@
this.getEnumeration() this.getEnumeration()
this.getEmployeeList() this.getEmployeeList()
this.getDetial() this.getDetial()
this.initAuthor();
} }
} }
......
...@@ -969,7 +969,7 @@ export default { ...@@ -969,7 +969,7 @@ export default {
this.GetDetail.walist.forEach(x=>{ this.GetDetail.walist.forEach(x=>{
if (x.Type===1){ if (x.Type===1){
AccList.forEach(y=>{ AccList.forEach(y=>{
if(y.Name === '私帐账户' || y.Name === '公帐账户' || y.Name==='微信支付宝'){ if(y.Name === '私帐账户' || y.Name === '公帐账户' || y.Name==='微信支付宝' || y.Name==='虚拟账户'){
newAccList.push(y) newAccList.push(y)
} }
}) })
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5" :gutter="20"> <el-col :span="5" :gutter="20">
<el-form-item label="提成比例:" prop="CommissionVariable"> <el-form-item label="提成比例:" prop="CommissionVariable">
<el-input <el-input
v-model="addMsg.CommissionVariable" v-model="addMsg.CommissionVariable"
type="int" type="int"
......
...@@ -786,6 +786,9 @@ ...@@ -786,6 +786,9 @@
this.getEmployee() this.getEmployee()
}, },
getEmployee() { getEmployee() {
this.employeeMsg.departmentId=0
this.employeeMsg.RB_Group_id=this.getLocalStorage().RB_Group_id
this.employeeMsg.RB_Branch_id=-1
this.apipost('app_get_company_employee', this.employeeMsg, res => { this.apipost('app_get_company_employee', this.employeeMsg, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
if(!this.isSelLayer) if(!this.isSelLayer)
......
...@@ -152,7 +152,7 @@ ...@@ -152,7 +152,7 @@
<th width="130">单号&团号</th> <th width="130">单号&团号</th>
<th width="60">客户信息</th> <th width="60">客户信息</th>
<th width="70">类型</th> <th width="70">类型</th>
<th width="180">系列&线路</th> <th width="180">系列&线路</th>
<th width="100">人数/机位数</th> <th width="100">人数/机位数</th>
<th width="80">单价</th> <th width="80">单价</th>
<th width="80">成交单价</th> <th width="80">成交单价</th>
...@@ -588,6 +588,11 @@ ...@@ -588,6 +588,11 @@
this.msg.QStartDate = nowDay; this.msg.QStartDate = nowDay;
this.msg.QEndDate = nowDay; this.msg.QEndDate = nowDay;
} }
if (this.$route.query.orderId) {
this.msg.tempOrderId = this.$route.query.orderId;
this.msg.QStartDate = "";
this.msg.QEndDate = "";
}
this.getList(); this.getList();
} }
}; };
......
...@@ -1462,12 +1462,12 @@ ...@@ -1462,12 +1462,12 @@
<el-col :span="2"> <el-col :span="2">
<span class="_lian_style" v-if="item.IsSetUnion==1"></span> <span class="_lian_style" v-if="item.IsSetUnion==1"></span>
<div class="_oll_img_box"> <div class="_oll_img_box">
<span class="TICK_Code PingFangSC">编号:{{item.ID}}</span> <span class="TICK_Code PingFangSC" style="left:35px;">编号:{{item.ID}}</span>
<img v-if="!item.AirlineUrl" class="_oll_img" :src="defaultImg"> <img v-if="!item.AirlineUrl" class="_oll_img" :src="defaultImg">
<img v-else class="_oll_img" :src="item.AirlineUrl" :onerror="defaultImg"> <img v-else class="_oll_img" :src="item.AirlineUrl" :onerror="defaultImg" style="margin-left:30px;">
</div> </div>
</el-col> </el-col>
<el-col :span="2" class="vmiddle" style="width:85px;"> <el-col :span="3" class="vmiddle">
<div class="_oll_info"> <div class="_oll_info">
<el-tooltip class="item" effect="dark" :content="item.AirlineName" placement="top-start" popper-class="max-w250"> <el-tooltip class="item" effect="dark" :content="item.AirlineName" placement="top-start" popper-class="max-w250">
<p class="_oll_tit">{{item.AirlineName}}</p> <p class="_oll_tit">{{item.AirlineName}}</p>
...@@ -1475,7 +1475,7 @@ ...@@ -1475,7 +1475,7 @@
<span class="_oll_adrr">{{item.FreightSpaceStr}}</span> <span class="_oll_adrr">{{item.FreightSpaceStr}}</span>
</div> </div>
</el-col> </el-col>
<el-col :span="4" class="vmiddle"> <el-col :span="5" class="vmiddle">
<div class="FlightDivDetails"> <div class="FlightDivDetails">
<div class="_flightList" v-for="subItem in item.flightList"> <div class="_flightList" v-for="subItem in item.flightList">
<span class="FlightNumber">{{subItem.Flight_number}}</span> <span class="FlightNumber">{{subItem.Flight_number}}</span>
...@@ -1544,78 +1544,7 @@ ...@@ -1544,78 +1544,7 @@
</div> </div>
</div> </div>
</el-col> </el-col>
<el-col :span="3" class="vmiddle"> <el-col :span="2" class="vmiddle">
<div class="TK_raduis">
<ul>
<!--一定-->
<li v-if="item.FirstDeposit!=''">
<div @click="goFinacePage(item,1)" :class="getClass(item.FirstDepositStatus)">
<el-tooltip effect="dark" :content="item.FirstDeposit" placement="top" popper-class="max-w250">
<span>1</span>
</el-tooltip>
</div>
<div class="FinaDetailContent">
<span v-if="item.FirstAuditList!=null" v-for="childItem in item.FirstAuditList">
<span class="FinaceDanList" @click="goFinaceDetails(childItem.FinaceId)">{{childItem.FinaceId}}</span>
</span>
</div>
</li>
<!--二定-->
<li v-if="item.SecondDeposit!=''">
<div @click="goFinacePage(item,2)" :class="getClass(item.SecondDepositStatus)">
<el-tooltip effect="dark" :content="item.SecondDeposit" placement="top" popper-class="max-w250">
<span>2</span>
</el-tooltip>
</div>
<div class="FinaDetailContent">
<span v-if="item.SecondAuditList!=null" v-for="childItem in item.SecondAuditList">
<span class="FinaceDanList" @click="goFinaceDetails(childItem.FinaceId)">{{childItem.FinaceId}}</span>
</span>
</div>
</li>
<!--三定-->
<li v-if="item.ThirdDeposit!=''">
<div @click="goFinacePage(item,3)" :class="getClass(item.ThirdDepositStatus)">
<el-tooltip effect="dark" :content="item.ThirdDeposit" placement="top" popper-class="max-w250">
<span>3</span>
</el-tooltip>
</div>
<div class="FinaDetailContent">
<span v-if="item.ThirdAuditList!=null" v-for="childItem in item.ThirdAuditList">
<span class="FinaceDanList" @click="goFinaceDetails(childItem.FinaceId)">{{childItem.FinaceId}}</span>
</span>
</div>
</li>
<!--四定-->
<li v-if="item.FourthDeposit!=''">
<div @click="goFinacePage(item,4)" :class="getClass(item.FourthDepositStatus)">
<el-tooltip effect="dark" :content="item.FourthDeposit" placement="top" popper-class="max-w250">
<span>4</span>
</el-tooltip>
</div>
<div class="FinaDetailContent">
<span v-if="item.FourthAuditList!=null" v-for="childItem in item.FourthAuditList">
<span class="FinaceDanList" @click="goFinaceDetails(childItem.FinaceId)">{{childItem.FinaceId}}</span>
</span>
</div>
</li>
<!--尾款-->
<li v-if="item.FinalPayment!=''">
<div @click="goFinacePage(item,5)" :class="getClass(item.FinalPaymentStatus)">
<el-tooltip effect="dark" :content="item.FinalPayment" placement="top" popper-class="max-w250">
<span></span>
</el-tooltip>
</div>
<div class="FinaDetailContent">
<span v-if="item.FinalAuditList!=null" v-for="childItem in item.FinalAuditList">
<span class="FinaceDanList" @click="goFinaceDetails(childItem.FinaceId)">{{childItem.FinaceId}}</span>
</span>
</div>
</li>
</ul>
</div>
</el-col>
<el-col :span="1" class="vmiddle">
<div class="TMA_raduis"> <div class="TMA_raduis">
<ul style="padding:0;"> <ul style="padding:0;">
<li class="_head" style="display:block"> <li class="_head" style="display:block">
...@@ -1626,13 +1555,13 @@ ...@@ -1626,13 +1555,13 @@
</ul> </ul>
</div> </div>
</el-col> </el-col>
<el-col :span="2" class="vmiddle"> <el-col :span="3" class="vmiddle">
<div class="_jztime"> <div class="_jztime">
<p class="PingFangSC">{{item.TicketDeadlineStr}}</p> <p class="PingFangSC">{{item.TicketDeadlineStr}}</p>
<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="3" class="vmiddle"> <el-col :span="1" class="vmiddle">
<el-button-group size="mini"> <el-button-group size="mini">
<el-tooltip class="item" effect="dark" content="立即下单" placement="top-start"> <el-tooltip class="item" effect="dark" content="立即下单" placement="top-start">
<el-button type="primary" icon="iconfont icon-fukuan1" @click="goBuy(item)"></el-button> <el-button type="primary" icon="iconfont icon-fukuan1" @click="goBuy(item)"></el-button>
...@@ -1642,16 +1571,13 @@ ...@@ -1642,16 +1571,13 @@
</el-row> </el-row>
<el-row :gutter="0"> <el-row :gutter="0">
<el-col :span="16"> <el-col :span="24">
<div class="TCID_cont PingFangSC"> <div class="TCID_cont PingFangSC">
团期: 团期:
<span v-show="item.TCIDList.length==0">暂无</span> <span v-show="item.TCIDList.length==0">暂无</span>
<span class="Ticket_TCID" style="display:inline-block;margin-right: 10px;cursor: pointer;" v-for="(subItem, subIndex) in item.TravelInfo" :key="subIndex" @click="goUrlP(subItem.TCID)">{{subItem.TCNUM}}({{subItem.TCID}})</span> <span class="Ticket_TCID" style="display:inline-block;margin-right: 10px;cursor: pointer;" v-for="(subItem, subIndex) in item.TravelInfo" :key="subIndex" @click="goUrlP(subItem.TCID)">{{subItem.TCNUM}}({{subItem.TCID}})</span>
</div> </div>
</el-col> </el-col>
<el-col :span="8">
<div class="TCID_cont">PNR:{{item.PNR}}</div>
</el-col>
</el-row> </el-row>
</li> </li>
</ul> </ul>
...@@ -2303,33 +2229,6 @@ ...@@ -2303,33 +2229,6 @@
} }
return FeeTypeName; return FeeTypeName;
}, },
//跳转财务付款单
goFinacePage(item, type) {
var TCID = 0;
if (item.TCIDList != null && item.TCIDList.length > 0) {
TCID = item.TCIDList[0];
}
let orderObj = {
OrderID: null,
OrderSource: 4,
TCID: null,
Obj: {
Type: type
},
SourceID: item.ID,
TCIDList: item.TCIDList
};
this.$router.push({
name: "ChoiceAddFinancialDocuments",
query: {
Type: 2,
companyID: -1,
path: "TicketFinace",
blank: "y",
orderObj: JSON.stringify(orderObj)
}
});
},
//导入 //导入
getImport(command) { getImport(command) {
this.importType = command; this.importType = command;
......
...@@ -740,7 +740,7 @@ ...@@ -740,7 +740,7 @@
<p><span>当前余位</span><i :style="item.SurplusSeat<0?'color: red':''">{{item.SurplusSeat}}</i></p> <p><span>当前余位</span><i :style="item.SurplusSeat<0?'color: red':''">{{item.SurplusSeat}}</i></p>
<p><span>已报入</span><i>{{item.Seat==''?"0":item.Seat}}</i>(占位:{{item.Occupied}}人)</p> <p><span>已报入</span><i>{{item.Seat==''?"0":item.Seat}}</i>(占位:{{item.Occupied}}人)</p>
<p><span>候补</span> <p><span>候补</span>
<em v-if='item.IsSubstitution==1'>可以候补</em> <em v-if='item.IsSubstitution==1'>可以候补(候补{{item.SubstitutionCount}}人)</em>
<em v-if='item.IsSubstitution!=1' style="color: #E95252;">本团拒绝候补</em> <em v-if='item.IsSubstitution!=1' style="color: #E95252;">本团拒绝候补</em>
</p> </p>
</div> </div>
......
...@@ -602,7 +602,7 @@ ...@@ -602,7 +602,7 @@
</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.TCID" 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')">
...@@ -651,8 +651,6 @@ ...@@ -651,8 +651,6 @@
</el-upload> </el-upload>
</el-dialog> </el-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -1036,9 +1034,9 @@ ...@@ -1036,9 +1034,9 @@
); );
}, },
//导游名称 //导游名称
getGuider() { getLeaderAndGuide() {
let msg = { let msg = {
Type: 2 Type: 0
}; };
this.apipost( this.apipost(
"leader_post_GetList", "leader_post_GetList",
...@@ -1046,23 +1044,6 @@ ...@@ -1046,23 +1044,6 @@
res => { res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.guidList = res.data.data; this.guidList = res.data.data;
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
//领队名称
getLeader() {
let msg = {
Type: 1
};
this.apipost(
"leader_post_GetList",
msg,
res => {
if (res.data.resultCode == 1) {
this.leaderList = res.data.data; this.leaderList = res.data.data;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
...@@ -1071,6 +1052,7 @@ ...@@ -1071,6 +1052,7 @@
err => {} err => {}
); );
}, },
showTip2(index) { showTip2(index) {
this.importData[index].infoShow = true; this.importData[index].infoShow = true;
}, },
...@@ -1179,8 +1161,7 @@ ...@@ -1179,8 +1161,7 @@
this.getList(); this.getList();
this.getType(); this.getType();
this.getShopList(); this.getShopList();
this.getGuider(); this.getLeaderAndGuide();
this.getLeader();
this.getDownList(); this.getDownList();
} }
}; };
......
...@@ -959,6 +959,7 @@ export default { ...@@ -959,6 +959,7 @@ export default {
firstMenuList:[], firstMenuList:[],
allSsionList:[], allSsionList:[],
allWindowWidth: '', allWindowWidth: '',
SetTimeout: null,
}; };
}, },
filters: { filters: {
...@@ -3494,6 +3495,18 @@ export default { ...@@ -3494,6 +3495,18 @@ export default {
padding: 20px 0 20px 20px; padding: 20px 0 20px 20px;
height: auto; height: auto;
// transition: all .5s linear .5s; // transition: all .5s linear .5s;
animation:ttt .5s forwards;
}
@keyframes ttt {
0%{
opacity:0;
}
66%{
opacity:0;
}
100%{
opacity:1;
}
} }
.nav-middle ul li .menuList_son{ .nav-middle ul li .menuList_son{
position: fixed; position: fixed;
......
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