Commit 79f825b2 authored by huangyuanyuan's avatar huangyuanyuan
parents e1349f5c 94d082c1
...@@ -423,12 +423,6 @@ export default { ...@@ -423,12 +423,6 @@ export default {
}, },
}, mounted() { }, mounted() {
this.userId = this.getLocalStorage().EmployeeId; this.userId = this.getLocalStorage().EmployeeId;
// let obj = this.$route.query.item ? JSON.parse(this.$route.query.item) : ''
// this.item = obj
// this.orderId = this.msg.OrderID = obj.orderId ? obj.orderId : obj.OrderId
// this.tcnum = obj.tcnum ? obj.tcnum : obj.TCNUM
// this.tcid = obj.tcid ? obj.tcid : obj.TCID
// this.outBranchId = obj.outBranchId ? obj.outBranchId : obj.OutBranchId;
this.tcid= this.$route.query.TCID; this.tcid= this.$route.query.TCID;
this.OutBranchId=this.$route.query.OutBranchId; this.OutBranchId=this.$route.query.OutBranchId;
......
...@@ -1095,11 +1095,12 @@ export default { ...@@ -1095,11 +1095,12 @@ export default {
}, },
mounted() { mounted() {
this.initCity(); this.initCity();
this.getNeedType(); this.getNeedType();
this.initTicketType(); this.initTicketType();
this.initAirline(); this.initAirline();
this.getList(); this.getList();
} }
}; };
</script> </script>
...@@ -676,7 +676,7 @@ ...@@ -676,7 +676,7 @@
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.Status==2" @click.native="OutGroup(item.TCID,1)">销售 <el-dropdown-item v-if="item.Status==2" @click.native="OutGroup(item.TCID,1)">销售
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="item.Status==1&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)" <el-dropdown-item v-if="item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
@click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)">收入确认单 @click.native="goSureOrder('priceIncomeConfirmInfo',item.TCID)">收入确认单
</el-dropdown-item> </el-dropdown-item>
<el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''" <el-dropdown-item v-if="CurrentUserInfo.B2BDomain!=''"
......
...@@ -132,7 +132,6 @@ ...@@ -132,7 +132,6 @@
res => { res => {
this.loading=false; this.loading=false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
console.log(res,'data');
this.dataList = res.data.data; this.dataList = res.data.data;
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
......
This diff is collapsed.
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
</div></td> </div></td>
<td :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'> <td :rowspan="2*outItem.StaticsReportList.length" v-if='index==0'>
<div class="w100 link"> <div class="w100 link">
<span @click="goUrlX('BusInfo',outItem,'车配信息')">详情</span> <span @click="goUrlX('BusInfo',item,outItem,'车配信息')">详情</span>
<span @click="DownLoadFile(item,outItem.NewCombinationNum)">下载</span> <span @click="DownLoadFile(item,outItem.NewCombinationNum)">下载</span>
</div> </div>
</td> </td>
...@@ -291,14 +291,28 @@ totalPrice+=busInfo.CostPrice*(Number(busInfo.TransferNum)+1)*PeopleNum; ...@@ -291,14 +291,28 @@ totalPrice+=busInfo.CostPrice*(Number(busInfo.TransferNum)+1)*PeopleNum;
} }
); );
}, },
goUrlX(path,obj,title){ goUrlX(path, obj,outItem,title){
console.log(obj); this.$router.push({
// name: path,
let TotalSeat=0; query: {
obj.StaticsReportList.forEach(outItem=>{ "TCID": obj.TCIDS,
TotalSeat+=outItem.CommonReport.HouseStatistics.RealityNum; StartDate: obj.StartDateStr,
}); DayNum: obj.DayNum,
this.$router.push({ name:path,query:{"TCID":obj.TCIDs,TotalNumber:TotalSeat,blank:'y',tab:title}}) TotalNumber: obj.TotalSeat, //机位总数
RealityYSeatNum:obj.CommonReport.HouseStatistics.RealityYSeatNum,
RealityESeatNum:obj.CommonReport.HouseStatistics.RealityESeatNum,
RealityFSeatNum:obj.CommonReport.HouseStatistics.RealityFSeatNum,
LeaderName:obj.LeaderName,
GuideName:obj.GuideName,
NewCombinationNum: outItem.NewCombinationNum,
blank: 'y',
title:obj.Titles,
TCNUMS:obj.TCNUMS,
InOut:obj.InOut,
RealityNum:obj.CommonReport.HouseStatistics.RealityNum,
tab: title
}
})
}, },
goUrlR(path,obj,title){ goUrlR(path,obj,title){
this.$router.push({ name:path,query:{"ID":obj,blank:'y',tab:title}}) this.$router.push({ name:path,query:{"ID":obj,blank:'y',tab:title}})
......
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