Commit e14c9660 authored by youjie's avatar youjie

no message

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