Commit 5711fa9c authored by zhengke's avatar zhengke

跳转单据

parent c0bad17f
...@@ -367,10 +367,10 @@ ...@@ -367,10 +367,10 @@
<div>收款单据:</div> <div>收款单据:</div>
<div> <div>
<span v-for="subItem in item.FinanceList"> <span v-for="subItem in item.FinanceList">
<span v-if="subItem.colorState===1" class="groupTourOrder_tickets_blue">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-if="subItem.ColorState===1" class="groupTourOrder_tickets_blue">{{subItem.FrID}}</span>
<span v-else-if="subItem.colorState===2" class="groupTourOrder_tickets_green">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-else-if="subItem.ColorState===2" class="groupTourOrder_tickets_green">{{subItem.FrID}}</span>
<span v-else-if="subItem.colorState===3" class="groupTourOrder_tickets_red">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-else-if="subItem.ColorState===3" class="groupTourOrder_tickets_red">{{subItem.FrID}}</span>
<span v-else-if="subItem.colorState===4" class="groupTourOrder_tickets_black">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-else-if="subItem.ColorState===4" class="groupTourOrder_tickets_black">{{subItem.FrID}}</span>
</span> </span>
<span v-if="item.FinanceList==0">暂无数据</span> <span v-if="item.FinanceList==0">暂无数据</span>
</div> </div>
...@@ -379,10 +379,10 @@ ...@@ -379,10 +379,10 @@
<div>付款单据:</div> <div>付款单据:</div>
<div> <div>
<span v-for="subItem in item.RefundFinanceList"> <span v-for="subItem in item.RefundFinanceList">
<span v-if="subItem.colorState===1" class="groupTourOrder_tickets_blue">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-if="subItem.ColorState===1" class="groupTourOrder_tickets_blue">{{subItem.FrID}}</span>
<span v-else-if="subItem.colorState===2" class="groupTourOrder_tickets_green">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-else-if="subItem.ColorState===2" class="groupTourOrder_tickets_green">{{subItem.FrID}}</span>
<span v-else-if="subItem.colorState===3" class="groupTourOrder_tickets_red">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-else-if="subItem.ColorState===3" class="groupTourOrder_tickets_red">{{subItem.FrID}}</span>
<span v-else-if="subItem.colorState===4" class="groupTourOrder_tickets_black">{{subItem.frID}}</span> <span @click="goUrlFinacel('财务单据','FinancialDocumentsDetail',subItem.FrID)" v-else-if="subItem.ColorState===4" class="groupTourOrder_tickets_black">{{subItem.FrID}}</span>
</span> </span>
<span v-if="item.RefundFinanceList==0">暂无数据</span> <span v-if="item.RefundFinanceList==0">暂无数据</span>
</div> </div>
...@@ -710,6 +710,13 @@ export default { ...@@ -710,6 +710,13 @@ export default {
'platformAccount':0 'platformAccount':0
} }
}); });
},
//跳转财务单据
goUrlFinacel: function(name, path, id) {
this.$router.push({
name: path,
query: { id: id, blank: "y", tab: name }
});
} }
}, },
mounted() { mounted() {
......
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