Commit c23853a7 authored by 黄媛媛's avatar 黄媛媛

营收报表新增跳转

parent 5142d800
......@@ -708,9 +708,9 @@ Vue.component("TCNUMJump", {
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===13" @click="goRec('RecPayQuery',rowData)">机票折让{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===14" @click="goSAirRec('TicketManager',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===8" @click="goAIR('RecPayQuery',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===9">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===10">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===11">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===9" @click="goHotelOrder('HotelOrderTotal',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===10" @click="goHotelOrder('FoodOrder',rowData)">{{rowData.TCNUM}}</span>
<span style="cursor: pointer;text-decoration:underline" v-if="rowData.DataType===11" @click="goHotelOrder('ScenTicketOrder',rowData)">{{rowData.TCNUM}}</span>
</div>`,
props: {
rowData: {
......@@ -724,6 +724,13 @@ Vue.component("TCNUMJump", {
}
},
methods: {
goHotelOrder(path,rowData){
console.log("rowData",rowData.DataType)
this.$router.push({
path: "/" + path,
query: {'teamTCID':rowData.TCID,blank: "y"}
});
},
goRec(path,rowData){
let BankID="";
let StartDate="";
......
......@@ -242,7 +242,11 @@ export default {
}
},
mounted() {
if(this.$route.query.teamTCID){
this.msg.searchKey=this.$route.query.teamTCID;
}
this.getList();
}
};
</script>
......
......@@ -788,6 +788,9 @@ export default {
}
},
mounted() {
if(this.$route.query.teamTCID){
this.msg.HotelName=this.$route.query.teamTCID;
}
let userInfo=this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id=userInfo.RB_Group_id; //集团
this.getDepartmentMsg.RB_Branch_Id=userInfo.RB_Branch_id; //公司
......
......@@ -684,10 +684,14 @@ export default {
}
},
mounted() {
if(this.$route.query.teamTCID){
this.msg.searchKey=this.$route.query.teamTCID;
}
let userInfo=this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团
this.getDepartmentMsg.RB_Branch_Id = userInfo.RB_Branch_id; //公司
this.msg.CreateBy = userInfo.EmployeeId;
this.getCompanyList()
// this.getDepartment()
// this.getEmployee()
......
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