Commit 36010514 authored by youjie's avatar youjie

ChoiceAddFinancialDocuments 制单流程 bigShow showYes

parent e1010132
......@@ -39,7 +39,8 @@
<el-input v-model="searchVal" placeholder="请输入内容" style="width:200px"></el-input>
</div>
<ul class="_conten">
<li v-for="(item,index) in NewItems" v-if="(item.IsShow === 1 || item.showYes) && item.bigShow">
<li v-for="(item,index) in NewItems">
<template v-if="(item.IsShow === 1 || item.showYes) && item.bigShow">
<div class="_left">
<span class="_Icon">{{item.Name.substring(0,1)}}</span>
<div>
......@@ -63,10 +64,11 @@
</el-popover>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('pub.addBtn')" placement="top">
<i class="edit el-icon-circle-plus-outline"
<i class="edit el-icon-circle-plus-outline"
@click="goUrl('addFinancialDocuments',item.Id,item.Name+$t('visa.v_dan'),item.Type,item.IsUploadPic)"></i>
</el-tooltip>
</div>
</template>
</li>
</ul>
<div class="noData" v-show="noData">
......@@ -136,7 +138,7 @@
}else{
// crm自动登陆传过来的参数
if(this.crmOrderObj){
this.$router.push({
this.$router.push({
name: "addReceivablesDocuments",
query:{
"tradeWay":this.tradeWay,
......@@ -156,7 +158,7 @@
})
}// 同业制单
else if(this.$route.query.tradeObj){
this.$router.push({
this.$router.push({
name: "addReceivablesDocuments",
query:{
"tradeWay":this.tradeWay,
......@@ -175,7 +177,7 @@
}
})
}else{
this.$router.push({
this.$router.push({
name: "addReceivablesDocuments",
query:{
"tradeWay":this.tradeWay,
......@@ -203,7 +205,7 @@
}else{
// crm自动登陆传过来的参数
if(this.crmOrderObj){
this.$router.push({
this.$router.push({
name: path,
query:{
"id":id,
......@@ -220,7 +222,7 @@
}
})
}else if(this.commissionObj){//印象提成制单
this.$router.push({
this.$router.push({
name: path,
query:{
"id":id,
......@@ -233,7 +235,7 @@
}
})
}else if(this.tradeObj){//同业制单
this.$router.push({
this.$router.push({
name: path,
query:{
"id":id,
......@@ -246,7 +248,7 @@
}
})
} else{
this.$router.push({
this.$router.push({
name: path,
query:{
"id":id,
......@@ -262,13 +264,13 @@
}
})
}
}
}else if(this.active==4){
this.$router.push({ name: path,query:{"id":id,"Name":Name,"Type":2,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}})
}else {
if(this.tradeObj&&this.tradeObj.OtherType){
this.$router.push({
this.$router.push({
name: "addFinancialGZDocuments",
query:{
"id":id,
......@@ -285,7 +287,7 @@
}else {
this.$router.push({ name: "addFinancialGZDocuments",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:'新增挂账单'}})
}
}
},
getFlowChart(id){ //获取流程图
......@@ -356,24 +358,26 @@
// } else {
// 5-5 仅茈、而巳。 14:32:06
// 部门id = 242 或者 240 就展示出 templeteId=33 的流程, 流程名字叫做 公司佣金收款
if (x.Id === 33 || x.Id === 48) {
if (x.Id === 33) {
if (this.DepartID === 242 || this.DepartID === 240) {
x.bigShow = true
} else {
x.bigShow = false
}
} else if (x.Id === 48 ) { //76 77 稽核单据|| x.Id === 76 || x.Id === 77
// if (x.Id === 33 || x.Id === 48) {
// if (x.Id === 33) {
// if (this.DepartID === 242 || this.DepartID === 240) {
// x.bigShow = true
// } else {
// x.bigShow = false
// }
// } else if (x.Id === 48 ) { //76 77 稽核单据|| x.Id === 76 || x.Id === 77
// if (this.EmployeeId === 1725) {
x.bigShow = true
// x.bigShow = true
// } else {
// x.bigShow = false
// }
}
} else {
x.bigShow = true
}
// }
// } else {
// x.bigShow = true
// }
// }
x.bigShow = true
x.showYes = true
if(x.Type==1){
this.collectList.push(x);
}else if (x.Type==2){
......@@ -417,7 +421,7 @@
this.showTab = this.$route.query.Type?this.$route.query.Type:0;
this.active = parseInt(this.$route.query.Type)?parseInt(this.$route.query.Type):1;
}
if(this.getLocalStorage()){
if(this.getLocalStorage()){
let userInfo = this.getLocalStorage();
this.DepartID = userInfo.RB_Department_Id;
this.EmployeeId = userInfo.EmployeeId;
......
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