Commit 59799751 authored by Mac's avatar Mac

1

parent a7ca6632
......@@ -128,7 +128,7 @@
else if(this.$route.query.czmsg){
let Handmsg=this.$route.query.czmsg;
this.$router.push({ name: "addReceivablesDocuments",query:{"Handmsg":Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}})
}
else{
this.$router.push({ name: "addReceivablesDocuments",query:{"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}})
......@@ -139,7 +139,7 @@
// 领队报账 预付款冲抵 返款制单
if(this.$route.query.czmsg){
this.$router.push({ name: path,query:{"czmsg":this.czmsg,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}})
}else{
this.$router.push({ name: path,query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}})
......@@ -180,13 +180,13 @@
this.noData = false;
}
let newList = [];
if (this.templateID) {
if (this.templateID) {
this.templateID.forEach(x=>{
this.GetList.forEach(y=>{
if(x == y.Id) {
if(x == y.Id) {
y.showYes = true
newList.push(JSON.parse(JSON.stringify(y)))
} else {
} else {
y.showYes = false
}
})
......@@ -197,29 +197,29 @@
Financial_post_GetList(){ //获取
this.apipost('Financial_post_GetList',{},res=>{
if(res.data.resultCode==1){
let data = res.data.data;
let data = res.data.data;
if(data){
data.forEach(x => {
// 5-8 OrderSource 为5 并且当前登录人为吴珊,只显示49和50
// 如果不是吴珊,只显示49
// 如果不是吴珊,只显示49
// 如果没有 OrderSource 则49和50都不显示
if (this.OrderSource === '5' && this.showTab === '2' && (x.Id === 49 || x.Id === 50)) {
if (x.Id === 49 || x.Id === 50){
x.bigShow = false
if (x.Id === 49){
x.bigShow = true
} else if (x.Id === 50 && this.EmployeeId === 639){
x.bigShow = true
}
} else {
x.bigShow = false
}
} else if (x.Id === 49 || x.Id === 50){
x.bigShow = false
} else {
// if (this.OrderSource === '5' && this.showTab === '2' && (x.Id === 49 || x.Id === 50)) {
// if (x.Id === 49 || x.Id === 50){
// x.bigShow = false
// if (x.Id === 49){
// x.bigShow = true
// } else if (x.Id === 50 && this.EmployeeId === 639){
// x.bigShow = true
// }
// } else {
// x.bigShow = false
// }
// } else if (x.Id === 49 || x.Id === 50){
// x.bigShow = false
// } else {
// 5-5 仅茈、而巳。 14:32:06
// 部门id = 242 或者 240 就展示出 templeteId=33 的流程, 流程名字叫做 公司佣金收款
if (x.Id === 33 || x.Id === 48) {
if (x.Id === 33 || x.Id === 48) {
if (x.Id === 33) {
if (this.DepartID === 242 || this.DepartID === 240) {
x.bigShow = true
......@@ -236,7 +236,7 @@
} else {
x.bigShow = true
}
}
// }
if(x.Type==1){
this.collectList.push(x);
}else if (x.Type==2){
......@@ -246,7 +246,7 @@
}else if (x.Type==8){
this.ZRList.push(x);
}
});
}
this.GetList = this.collectList;
......@@ -274,7 +274,7 @@
this.searchVal = this.$route.query.searchTitle?this.$route.query.searchTitle:'';
// searchVal
if(this.$route.query.visaType){
this.visaShowTab=true;
}
......@@ -288,12 +288,12 @@
else if(this.showTab==4){
this.GetList = this.ZRList;
}
this.active = parseInt(this.$route.query.Type)?parseInt(this.$route.query.Type):1;
this.orderObj = this.$route.query.orderObj;
this.Handmsg = this.$route.query.Handmsg?this.$route.query.Handmsg:this.Handmsg;
this.czmsg = this.$route.query.czmsg?this.$route.query.czmsg:this.czmsg;
this.Financial_post_GetList();
},components: {
"my-FlowChartModule": myFlowChartModule
......
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