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

财务单据审核

parent e024e24f
...@@ -325,7 +325,8 @@ ...@@ -325,7 +325,8 @@
<p>附加说明:<span class="fr" v-if="GetDetail.ComplainID > 0" @click="goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <span style="color:#000">投诉单号:</span> <p>附加说明:<span class="fr" v-if="GetDetail.ComplainID > 0" @click="goUrl('ComplaintsDetail', GetDetail.ComplainID,GetDetail.OrderID)"> <span style="color:#000">投诉单号:</span>
<span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span> <span class="cursorpointer text-decoration">{{GetDetail.ComplainID}}</span></span>
<span v-if="GetDetail.TemplateId==28 || GetDetail.TemplateId==30" @click="Gourl" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span> <span v-if="GetDetail.TemplateId==28 || GetDetail.TemplateId==30" @click="Gourl" 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>
<span v-if="CostTypeState" @click="GourlCostType('yingyanMap',2)" style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">鹰眼轨迹</span>
</p> </p>
<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">
...@@ -1471,6 +1472,7 @@ export default { ...@@ -1471,6 +1472,7 @@ export default {
danjuType: '', danjuType: '',
showModel: false, showModel: false,
MsgUrl: true, MsgUrl: true,
CostTypeState:false,
} }
},components:{ },components:{
"my-FlowChartModule": myFlowChartModule, "my-FlowChartModule": myFlowChartModule,
...@@ -1489,6 +1491,17 @@ export default { ...@@ -1489,6 +1491,17 @@ export default {
'myJiPiaoBill': myJiPiaoBill 'myJiPiaoBill': myJiPiaoBill
}, },
methods:{ methods:{
GourlCostType(path,num){
this.$router.push({
name: path,
query: {
blank: "y",
EmployeeId:this.GetDetail.CreateBy,
}
});
},
Gourl(){ Gourl(){
this.$router.push({ this.$router.push({
name: 'CommissionManagement', name: 'CommissionManagement',
...@@ -2314,6 +2327,14 @@ export default { ...@@ -2314,6 +2327,14 @@ export default {
this.chongJudge(data) this.chongJudge(data)
this.GetDetail = data; this.GetDetail = data;
if(this.GetDetail.DetailList.length>0){
this.GetDetail.DetailList.forEach(item=>{
if(item.CostTypeName=="差旅费"){
this.CostTypeState=true;
}
})
}
this.showModel = true this.showModel = true
this.FrID = data.FrID this.FrID = data.FrID
this.ChongDiMsg.Types = '' this.ChongDiMsg.Types = ''
......
...@@ -935,8 +935,6 @@ export default { ...@@ -935,8 +935,6 @@ export default {
this.bossID = userinfo.EmployeeId; this.bossID = userinfo.EmployeeId;
},methods:{ },methods:{
GourlCostType(path,num){ GourlCostType(path,num){
console.log("path",path);
console.log("this.GetDetail",this.GetDetail.CreateBy)
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
......
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