Commit a27dfb97 authored by huangyuanyuan's avatar huangyuanyuan

修改跳转

parent 8c496af2
...@@ -1704,7 +1704,7 @@ export default { ...@@ -1704,7 +1704,7 @@ export default {
}else{ }else{
this.BranchStatus=true; this.BranchStatus=true;
} }
this.msg.OutBranchId=BranchStatus; this.msg.Is_Transport=BranchStatus;
let data = res.data.data.pmodel.pageData; let data = res.data.data.pmodel.pageData;
// res.data.data.TotalRevenue // res.data.data.TotalRevenue
this.total = res.data.data.pmodel.count; this.total = res.data.data.pmodel.count;
......
...@@ -838,7 +838,8 @@ export default { ...@@ -838,7 +838,8 @@ export default {
}, },
methods:{ methods:{
goUrl (path,startDate,endDate,BranchId,tab) { goUrl (path,startDate,endDate,BranchId,tab) {
// return // console.log("path",path)
// return;
this.$router.push({ name: path,query:{"startDate":startDate,"endDate":endDate,BranchId:BranchId,blank:'y',tab:tab} }) this.$router.push({ name: path,query:{"startDate":startDate,"endDate":endDate,BranchId:BranchId,blank:'y',tab:tab} })
}, },
GoUrlFan(path,month,year,BranchId, ids) { GoUrlFan(path,month,year,BranchId, ids) {
...@@ -865,18 +866,20 @@ export default { ...@@ -865,18 +866,20 @@ export default {
}else{ }else{
endDate=that.year+"-"+column.end endDate=that.year+"-"+column.end
} }
// console.log("rowData",rowData);
if(rowIndex<9){ if(rowIndex<9){
// 联运收入 // 联运收入
if(rowData.ZhaiYao=="联运收入"){ if(rowData.ZhaiYao=="联运收入"){
that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入") that.goUrl("CombinedRevenueReport",startDate,endDate,BranchId,"联运收入")
} }
// 跳转到应收团款查询 // 跳转到应收团款查询
if(rowData.ZhaiYao=="营业总收入"){ else if(rowData.ZhaiYao=="营业总收入"){
that.goUrl("RecPayQueryTeam",startDate,endDate,BranchId,"应收团款查询") that.goUrl("RecPayQueryTeam",startDate,endDate,BranchId,"应收团款查询")
} }
if(rowData.ZhaiYao=="营业总成本"){ else if(rowData.ZhaiYao=="营业总成本"){
that.goUrl("RecPayQueryTeamV2",startDate,endDate,BranchId,"应付团款查询") that.goUrl("RecPayQueryTeamV2",startDate,endDate,BranchId,"应付团款查询")
}else{ }
else{
// that.goUrl("TeamRevenueReport",startDate,endDate,BranchId,"营收报表") // that.goUrl("TeamRevenueReport",startDate,endDate,BranchId,"营收报表")
that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,blank:'y',tab:"营收报表"} }) that.$router.push({ name: "TeamRevenueReport",query:{"StartTime":startDate,"EndTime":endDate,BranchId:BranchId,blank:'y',tab:"营收报表"} })
} }
......
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