Commit 76983d84 authored by 华国豪's avatar 华国豪 🙄

财务单据详情、审核页面 新增车资跳转

parent bcea1811
......@@ -328,6 +328,7 @@
<td v-else-if="OrderSource==4&&GetDetail.SourceID>0"@click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td>
<td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56|| GetDetail.IsShowPlanUrl === 1" @click="jumpPlanPage('leaderReimbursement',o.TCID)"> <span class="_jump_page _font_bold">用款计划</span> </td>
<td v-if="GetDetail.IsShowPlanUrl === 1" @click="jumpPlanPage('leaderPay2',o.TCID)"> <span class="_jump_page _font_bold">领队报账</span> </td>
<td v-if="GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 57 || GetDetail.TemplateId === 58" @click="jumpCheZiPage('BusApportionManagement',o.TCID)"> <span class="_jump_page _font_bold">车资分摊</span> </td>
</tr>
</table>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10">
......@@ -1678,6 +1679,16 @@ export default {
this.loading = false;
},null)
},
jumpCheZiPage(path, id){
this.apipost('bus_post_GetCarfareTravelInfo', {TCID: id}, res=>{
if(res.data.resultCode==1){
this.$router.push({
name: path,
query: { num: res.data.data, blank: 'y'}
})
}
}, null)
},
jumpPlanPage(path, id){
this.apipost('dmcstatistics_post_GetTCIDsByOneTCID', {TCID: id}, res=>{
if(res.data.resultCode==1){
......
......@@ -392,6 +392,7 @@
<td v-else-if="OrderSource==4&&GetDetail.SourceID>0"@click="jumpPage('FinancialOrder',GetDetail,4)"> <span class="_jump_page _font_bold">机票收支</span> </td>
<td v-if="GetDetail.TemplateId === 43 || GetDetail.TemplateId === 48 || GetDetail.TemplateId === 53|| GetDetail.TemplateId === 56|| GetDetail.IsShowPlanUrl === 1" @click="jumpPlanPage('leaderReimbursement',o.TCID)"> <span class="_jump_page _font_bold">用款计划</span> </td>
<td v-if="GetDetail.IsShowPlanUrl === 1" @click="jumpPlanPage('leaderPay2',o.TCID)"> <span class="_jump_page _font_bold">领队报账</span> </td>
<td v-if="GetDetail.TemplateId === 49 || GetDetail.TemplateId === 50 || GetDetail.TemplateId === 57 || GetDetail.TemplateId === 58" @click="jumpCheZiPage('BusApportionManagement',o.TCID)"> <span class="_jump_page _font_bold">车资分摊</span> </td>
</tr>
</table>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-else-if="OrderSource==10">
......@@ -1029,6 +1030,16 @@ export default {
window.open(routeData.href, "_blank");
}
},
jumpCheZiPage(path, id){
this.apipost('bus_post_GetCarfareTravelInfo', {TCID: id}, res=>{
if(res.data.resultCode==1){
this.$router.push({
name: path,
query: { num: res.data.data, blank: 'y'}
})
}
}, null)
},
jumpPlanPage(path, id){
this.apipost('dmcstatistics_post_GetTCIDsByOneTCID', {TCID: id}, res=>{
if(res.data.resultCode==1){
......
......@@ -1022,6 +1022,10 @@ export default {
},
mounted(){
let num = this.$route.query.num;
if (num) {
this.msg.CarDistribution = num
}
this.getList();
this.initColums();
this.financeinfo_post_GetClientTypeList();
......
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