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
35442a1f
Commit
35442a1f
authored
Oct 08, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增财务单据的判断
parent
57a99726
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
5 deletions
+32
-5
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+4
-0
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+28
-5
No files found.
src/components/FinancialModule/addFinancialDocuments.vue
View file @
35442a1f
...
@@ -198,6 +198,10 @@
...
@@ -198,6 +198,10 @@
<el-select
v-if=
'msg.TemplateId===90||msg.TemplateId===91'
filterable
v-model=
'msg.IsPublic'
placeholder=
"付款类型"
@
change=
"IsPublicChange"
class=
"w135 _border_b_1"
>
<el-select
v-if=
'msg.TemplateId===90||msg.TemplateId===91'
filterable
v-model=
'msg.IsPublic'
placeholder=
"付款类型"
@
change=
"IsPublicChange"
class=
"w135 _border_b_1"
>
<el-option
label=
"虚拟账户"
:value=
'10'
:key=
'10'
v-if=
'msg.TemplateId===90||msg.TemplateId===91'
></el-option>
<el-option
label=
"虚拟账户"
:value=
'10'
:key=
'10'
v-if=
'msg.TemplateId===90||msg.TemplateId===91'
></el-option>
</el-select>
<el-select
v-else-if=
'msg.TemplateId===193'
filterable
v-model=
'msg.IsPublic'
placeholder=
"付款类型"
@
change=
"IsPublicChange"
class=
"w135 _border_b_1"
>
<el-option
label=
"地接虚拟账户"
:value=
'6'
:key=
'6'
v-if=
'msg.TemplateId===193'
></el-option>
</el-select>
</el-select>
<el-select
v-else
filterable
v-model=
'msg.IsPublic'
placeholder=
"付款类型"
@
change=
"IsPublicChange"
class=
"w135 _border_b_1"
>
<el-select
v-else
filterable
v-model=
'msg.IsPublic'
placeholder=
"付款类型"
@
change=
"IsPublicChange"
class=
"w135 _border_b_1"
>
<el-option
:label=
"$t('fnc.gongzhang')"
:value=
'1'
:key=
'1'
v-if=
'msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48 && msg.TemplateId !==53'
></el-option>
<el-option
:label=
"$t('fnc.gongzhang')"
:value=
'1'
:key=
'1'
v-if=
'msg.TemplateId!==36 && msg.TemplateId!==37 && msg.TemplateId!==48 && msg.TemplateId !==53'
></el-option>
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
35442a1f
...
@@ -1107,11 +1107,26 @@
...
@@ -1107,11 +1107,26 @@
},
res
=>
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
data
.
forEach
(
x
=>
{
let
list
=
[]
if
(
this
.
$route
.
query
.
id
==
192
){
//如果流程等于192 只显示地接部专户 10月8号新增
data
.
forEach
(
x
=>
{
if
(
x
.
Alias
==
'国内地接专户'
){
x
.
allName
=
x
.
BackNo
+
"("
+
x
.
Alias
+
")"
;
x
.
allName
=
x
.
BackNo
+
"("
+
x
.
Alias
+
")"
;
x
.
Name
=
x
.
Alias
;
x
.
Name
=
x
.
Alias
;
list
.
push
(
x
)
}
})
})
this
.
accountList
=
data
;
}
else
{
//如果不是192的情况不显示 国内地接专户
console
.
log
(
data
)
data
.
forEach
(
x
=>
{
if
(
x
.
Alias
!=
'国内地接专户'
){
x
.
allName
=
x
.
BackNo
+
"("
+
x
.
Alias
+
")"
;
x
.
Name
=
x
.
Alias
;
list
.
push
(
x
)
}
})
}
this
.
accountList
=
list
;
if
(
this
.
$route
.
query
.
edit
)
{
if
(
this
.
$route
.
query
.
edit
)
{
this
.
getAccName
(
this
.
msg
.
BankList
[
0
].
AccountId
)
this
.
getAccName
(
this
.
msg
.
BankList
[
0
].
AccountId
)
}
}
...
@@ -1234,6 +1249,14 @@
...
@@ -1234,6 +1249,14 @@
})
})
}
}
})
})
if
(
this
.
$route
.
query
.
id
==
192
){
//如果流程等于192 只显示地接部专户 10月8号新增
newAccList
=
[]
AccList
.
forEach
(
y
=>
{
if
(
y
.
Name
==
'地接部专户'
)
{
newAccList
.
push
(
y
)
}
})
}
this
.
AccList
=
newAccList
;
this
.
AccList
=
newAccList
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
...
...
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