Commit f248dc8a authored by zhengke's avatar zhengke

修改

parent 5dfa5b42
...@@ -787,6 +787,13 @@ ...@@ -787,6 +787,13 @@
@click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 销售提成:{{GetDetail.ReFinanceId}}</span> @click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 销售提成:{{GetDetail.ReFinanceId}}</span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==26" <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==26"
@click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 教师课时:{{GetDetail.ReFinanceId}}</span> @click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 教师课时:{{GetDetail.ReFinanceId}}</span>
<template v-if="GetDetail.RelevanceFrId">
<span class="fr" style="margin-right:10px;">
相关单据:<span @click="goFinancal(sItem)" v-for="(sItem,sIndex) in getRelevanArr(GetDetail.RelevanceFrId)" style="text-decoration:underline;cursor:pointer;margin-right:5px;">
{{sItem}}</span>
</span>
</template>
<span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0" <span v-if="GetDetail.OtherType==18&&GetDetail.ReFinanceId>0"
style="cursor: pointer;float: right;color: #000;font-size: 12px;"> style="cursor: pointer;float: right;color: #000;font-size: 12px;">
<span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span> <span @click="goOrderDetails(GetDetail.ReFinanceId)">账单:{{GetDetail.ReFinanceId}}</span>
...@@ -2008,6 +2015,20 @@ ...@@ -2008,6 +2015,20 @@
'viewquotationForm': viewquotationForm 'viewquotationForm': viewquotationForm
}, },
methods: { methods: {
//数组字符串转数组
getRelevanArr(Relevance){
var Arr = [];
if(Relevance){
Arr = Relevance.split(',');
}
return Arr;
},
//跳转
goFinancal(item){
this.OpenNewUrl('/financial/financalDocument/FinancialDocumentsDetail', {
"id": item
});
},
//关闭预览弹窗 //关闭预览弹窗
closeQuota() { closeQuota() {
this.isShowviewQuo = false; this.isShowviewQuo = false;
......
...@@ -829,7 +829,12 @@ ...@@ -829,7 +829,12 @@
@click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 销售提成:{{GetDetail.ReFinanceId}}</span> @click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 销售提成:{{GetDetail.ReFinanceId}}</span>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==26" <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==26"
@click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 教师课时:{{GetDetail.ReFinanceId}}</span> @click="goassets2(GetDetail.ReFinanceId,GetDetail.OtherType)"> 教师课时:{{GetDetail.ReFinanceId}}</span>
<template v-if="GetDetail.RelevanceFrId">
<span class="fr" style="margin-right:10px;">
相关单据:<span @click="goFinancal(sItem)" v-for="(sItem,sIndex) in getRelevanArr(GetDetail.RelevanceFrId)" style="text-decoration:underline;cursor:pointer;margin-right:5px;">
{{sItem}}</span>
</span>
</template>
<span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==17" <span class="fr" style="text-decoration: underline;cursor: pointer;" v-if="GetDetail.OtherType==17"
@click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span> @click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span>
...@@ -2062,6 +2067,7 @@ ...@@ -2062,6 +2067,7 @@
} }
this.chongJudge(data) this.chongJudge(data)
this.GetDetail = data; this.GetDetail = data;
if (this.GetDetail.DetailList) { if (this.GetDetail.DetailList) {
this.GetDetail.DetailList.forEach(item => { this.GetDetail.DetailList.forEach(item => {
if (item.CostTypeName == "领队导游资金池领款") { if (item.CostTypeName == "领队导游资金池领款") {
...@@ -2247,6 +2253,20 @@ ...@@ -2247,6 +2253,20 @@
}) })
} }
}, },
//数组字符串转数组
getRelevanArr(Relevance){
var Arr = [];
if(Relevance){
Arr = Relevance.split(',');
}
return Arr;
},
//跳转
goFinancal(item){
this.OpenNewUrl('/financial/financalDocument/FinancialDocumentsDetail', {
"id": item
});
}
}, },
mounted() { mounted() {
this.GetAuth(); this.GetAuth();
......
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