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

财务单据的跳转

parent 84101e6e
......@@ -394,6 +394,9 @@
<div class="_explain">
<p>附加说明: <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 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==16" @click="goassets(GetDetail.ReFinanceId,GetDetail.OtherType)"> 电商出库单:{{GetDetail.ReFinanceId}}</span>
<span v-if="GetDetail.TemplateId==28 || GetDetail.TemplateId==30" @click="Gourl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState" @click="GoOPurl(GetDetail)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span>
......@@ -1566,6 +1569,18 @@ export default {
}
},err=>{})
},
goassets(ID,OtherType){
// var assetsDomain = 'http://www.test.com:8082/#/';//本地地址
var assetsDomain = 'http://zcyx.oytour.com/#/';//线上地址
if(OtherType==15){
window.open(assetsDomain+ 'procurementDetails' +"?ID="+ID, "_blank"); //采购详情
}else if(OtherType==16){
window.open(assetsDomain+ 'chukudan' +"?ID="+ID+'&type=2', "_blank"); //出库详情
}
}
},mounted(){
// document.onkeydown = this.KeyDown
// document.onkeyup = this.KeyUp
......
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