Commit 7aa7fbda authored by 罗超's avatar 罗超

no message

parent 38c1331b
...@@ -366,6 +366,21 @@ ...@@ -366,6 +366,21 @@
cursor:pointer; cursor:pointer;
text-decoration: underline; text-decoration: underline;
} }
.illustrate-text{
display: flex;
justify-content: space-between;
}
.illustrate-left{
flex-grow: 2;
}
.illustrate-right{
flex-shrink: 0;
margin-left: 20px;
cursor: pointer;
}
.illustrate-right:hover{
text-decoration: underline;
}
</style> </style>
<template> <template>
...@@ -392,7 +407,8 @@ ...@@ -392,7 +407,8 @@
<my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"></my-RVB-Bill> <my-RVB-Bill v-else-if="GetDetail.Type===1" :ID="GetDetail.FrID" :isPrintPage="false" :width="widthSon" :color="colorSon"></my-RVB-Bill>
<my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-GZ-Bill> <my-GZ-Bill v-else-if="GetDetail.Type===7" :ID="GetDetail.FrID" :width="widthSon" :color="colorSon"></my-GZ-Bill>
<div class="_explain"> <div class="_explain">
<p>附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <div class="illustrate-text">
<p class="illustrate-left">附加说明: <span class="fr" v-if="GetDetail.ComplainID > 0" @click="goComplain('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)">
<span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span> <span style="color:#000">投诉单号:</span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==15" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商采购单:{{GetDetail.ReFinanceId}}</span> <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==15" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商采购单:{{GetDetail.ReFinanceId}}</span>
...@@ -411,6 +427,12 @@ ...@@ -411,6 +427,12 @@
<span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span> <span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span>
</span> </span>
</p> </p>
<div class="illustrate-right" v-if="GetDetail.OtherType=='55'"
@click="clickAirTicketOrder">
机票单号:{{GetDetail.ReFinanceId}}
</div>
</div>
<table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0"> <table border="1" bordercolor="#D2D2D2" style="border-collapse:collapse;margin-top:15px;" width="100%" v-if="GetDetail.TCIDAndTCNUMList.length>0">
<tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr"> <tr v-for="(o,ox) in GetDetail.TCIDAndTCNUMList" class="_fujiashuoming_tr">
<td :colspan="4" v-if="GetDetail.Is_Merge===1">单据号:{{o.FinanceId}}</td> <td :colspan="4" v-if="GetDetail.Is_Merge===1">单据号:{{o.FinanceId}}</td>
...@@ -992,6 +1014,24 @@ export default { ...@@ -992,6 +1014,24 @@ export default {
} }
}, },
methods:{ methods:{
// 点击机票订单跳转CRM自动登录
clickAirTicketOrder(){
let href
let url
if(this.isOnline()){
url = 'http://fcrmyx.oytour.com/#/'
}else{
url = 'http://localhost:8081/#/'
}
let data = [
{
path:'customerOrder',
OrderId: this.GetDetail.ReFinanceId,
}
]
href = url+'automaticLogin?token='+this.getLocalStorage().token+'&data=' + JSON.stringify(data)
window.open(href);
},
GetAuth() { GetAuth() {
var actionCode = this.$AuthCode.TeamShouZhi; var actionCode = this.$AuthCode.TeamShouZhi;
this.CheckUserAuth(actionCode, res => { this.CheckUserAuth(actionCode, res => {
......
...@@ -69,7 +69,6 @@ ...@@ -69,7 +69,6 @@
"admin_get_GetErpAutoLoginInfo", "admin_get_GetErpAutoLoginInfo",
this.msg, this.msg,
response => { response => {
console.log(response.data, 'response.data')
var jsonData = response.data; var jsonData = response.data;
if (jsonData.resultCode == 1) { if (jsonData.resultCode == 1) {
var userData = jsonData.data; var userData = jsonData.data;
......
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