Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
36010514
Commit
36010514
authored
Jun 07, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ChoiceAddFinancialDocuments 制单流程 bigShow showYes
parent
e1010132
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
26 deletions
+30
-26
ChoiceAddFinancialDocuments2.vue
...mponents/FinancialModule/ChoiceAddFinancialDocuments2.vue
+30
-26
No files found.
src/components/FinancialModule/ChoiceAddFinancialDocuments2.vue
View file @
36010514
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment