Commit e14c9660 authored by youjie's avatar youjie

no message

parent b57bdeb6
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
<li v-for="(item,index) in NewItems"> <li v-for="(item,index) in NewItems">
<template v-if="(item.IsShow === 1 || item.showYes) && item.bigShow"> <template v-if="(item.IsShow === 1 || item.showYes) && item.bigShow">
<div class="_left"> <div class="_left">
{{item.Id}}
<span class="_Icon">{{item.Name.substring(0,1)}}</span> <span class="_Icon">{{item.Name.substring(0,1)}}</span>
<div> <div>
<p class="_t">{{item.Name}}</p> <p class="_t">{{item.Name}}</p>
...@@ -313,6 +314,7 @@ ...@@ -313,6 +314,7 @@
else if (t==4) { else if (t==4) {
this.GetList = this.ZRList; this.GetList = this.ZRList;
} }
if(this.GetList.length<1){ if(this.GetList.length<1){
this.noData = true; this.noData = true;
}else{ }else{
...@@ -337,6 +339,7 @@ ...@@ -337,6 +339,7 @@
this.apipost('Financial_post_GetList',{},res=>{ this.apipost('Financial_post_GetList',{},res=>{
if(res.data.resultCode==1){ if(res.data.resultCode==1){
let data = res.data.data; let data = res.data.data;
let list = [94,95,96,97,51,52,54,55,49,50,57,58,88,89]
if(data){ if(data){
data.forEach(x => { data.forEach(x => {
// 5-8 OrderSource 为5 并且当前登录人为吴珊,只显示49和50 // 5-8 OrderSource 为5 并且当前登录人为吴珊,只显示49和50
...@@ -379,15 +382,23 @@ ...@@ -379,15 +382,23 @@
x.bigShow = true x.bigShow = true
x.showYes = true x.showYes = true
if(x.Type==1){ if(x.Type==1){
this.collectList.push(x); this.collectList.push(x);
}else if (x.Type==2){ }else if (x.Type==2){
this.payList.push(x); // noTypeCost 不是leaderReimbursement制单排除流程
if(this.$route.query.noTypeCost){
if(x.Id!=94&&x.Id!=95&&x.Id!=96&&x.Id!=97&&x.Id!=51&&x.Id!=52&&x.Id!=54&&
x.Id!=55&&x.Id!=49&&x.Id!=50&&x.Id!=57&&x.Id!=88&&x.Id!=89){
this.payList.push(x);
}
}
if(!this.$route.query.noTypeCost){
this.payList.push(x);
}
}else if (x.Type==7){ }else if (x.Type==7){
this.GZList.push(x); this.GZList.push(x);
}else if (x.Type==8){ }else if (x.Type==8){
this.ZRList.push(x); this.ZRList.push(x);
} }
}); });
} }
this.GetList = this.collectList; this.GetList = this.collectList;
......
...@@ -846,11 +846,12 @@ ...@@ -846,11 +846,12 @@
@click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span> @click="lookbreakage(GetDetail.ReFinanceId)"> 报损/报溢单:{{GetDetail.ReFinanceId}}</span>
<span <span
v-if="(GetDetail.TemplateId==28 || GetDetail.TemplateId==30) && GetDetail.OtherType!=63 && GetDetail.OtherType!=64" v-if="(GetDetail.TemplateId==28 || GetDetail.TemplateId==30) && GetDetail.OtherType!=63 && GetDetail.OtherType!=64"
@click="Gourl(GetDetail)" @click="Gourl('OPsalesCommissiondetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span> style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span <span
v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState && GetDetail.OtherType!=63 && GetDetail.OtherType!=64" v-if="(GetDetail.TemplateId==29 || GetDetail.TemplateId==31) && OPState
@click="GoOPurl(GetDetail)" && GetDetail.OtherType!=63 && GetDetail.OtherType!=64"
@click="GoOPurl('OpComPersonDetails',GetDetail)"
style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span> style="cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">提成详情</span>
<span v-if="CostTypeState" @click="GourlCostType('VisitRecord',1)" <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> style="margin:0 10px;cursor: pointer;float: right;color: #000;font-size: 14px;text-decoration: underline;">拜访记录</span>
...@@ -1756,9 +1757,9 @@ ...@@ -1756,9 +1757,9 @@
}, },
GoOPurl(GetDetail) { GoOPurl(path,GetDetail) {
this.$router.push({ this.$router.push({
name: 'OPsalesCommissiondetails', name: path,
query: { query: {
PeriodId: GetDetail.ReFinanceId, PeriodId: GetDetail.ReFinanceId,
OutBranchId: String(GetDetail.RB_Branch_Id), OutBranchId: String(GetDetail.RB_Branch_Id),
......
...@@ -245,14 +245,14 @@ ...@@ -245,14 +245,14 @@
Money=item.SumPrice Money=item.SumPrice
} }
let obj = { let obj = {
CostType: 16, CostType: 16,//112
Money: Money, Money: Money,
CurrencyId: 1, CurrencyId: 1,
XSTC: 1, XSTC: 1,
OtherType:73, OtherType:73,
ReFinanceId: item.ID, ReFinanceId: item.ID,
isRB_Branch_Id: true, isRB_Branch_Id: true,
RB_Branch_Id: this.msg.OutBranchId RB_Branch_Id: this.msg.OutBranchId,
} }
let query = { let query = {
blank: "y", blank: "y",
......
...@@ -1425,6 +1425,7 @@ ...@@ -1425,6 +1425,7 @@
this.msg.ReFinanceId = this.orderObj.ReFinanceId ? this.orderObj.ReFinanceId : 0; this.msg.ReFinanceId = this.orderObj.ReFinanceId ? this.orderObj.ReFinanceId : 0;
this.msg.ReFinanceId2 = this.orderObj.ReFinanceId2 ? this.orderObj.ReFinanceId2 : 0; this.msg.ReFinanceId2 = this.orderObj.ReFinanceId2 ? this.orderObj.ReFinanceId2 : 0;
this.msg.ECOrderList = this.orderObj.ECOrderList ? this.orderObj.ECOrderList : []; this.msg.ECOrderList = this.orderObj.ECOrderList ? this.orderObj.ECOrderList : [];
this.msg.EduCommissionEmp = this.orderObj.EduCommissionEmp ? this.orderObj.EduCommissionEmp: null
} }
// 台湾提成汇率 // 台湾提成汇率
if (this.orderObj && this.orderObj.Rate && this.orderObj.Money) { if (this.orderObj && this.orderObj.Rate && this.orderObj.Money) {
...@@ -1563,13 +1564,24 @@ ...@@ -1563,13 +1564,24 @@
} }
}) })
}).catch(() => { }).catch(() => {
this.$router.push({ if(this.orderObj&&(this.orderObj.EduCommissionEmp||this.orderObj.queryObj)){
name: 'FinancialDocuments', location.reload()
query: { this.$router.push({
'Type': this.$route.query.Type, name: 'leaderReimbursement',
'InPay': this.$route.query.InPay query: {
} ...this.orderObj.queryObj,
}); 'blank': 'y',
}
});
}else{
this.$router.push({
name: 'FinancialDocuments',
query: {
'Type': this.$route.query.Type,
'InPay': this.$route.query.InPay
}
});
}
}); });
} else { } else {
this.resultCode = res.data.resultCode; this.resultCode = res.data.resultCode;
......
...@@ -2386,13 +2386,15 @@ ...@@ -2386,13 +2386,15 @@
OrderID: 0, OrderID: 0,
OrderSource: 8, OrderSource: 8,
Obj: {}, Obj: {},
TCIDList: TCArr TCIDList: TCArr,
} }
this.$router.push({ this.$router.push({
name: "ChoiceAddFinancialDocuments", name: "ChoiceAddFinancialDocuments",
query: { query: {
Type: 2, Type: 2,
companyID: this.OutBranchId, companyID: this.OutBranchId,
noTypeCost: true,
'blank': 'y', 'blank': 'y',
'orderObj': JSON.stringify(orderObj) 'orderObj': JSON.stringify(orderObj)
} }
......
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