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
a5b86ff0
Commit
a5b86ff0
authored
Mar 11, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
a0338912
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
5 deletions
+16
-5
empBankAccount.vue
src/components/administrative/empBankAccount.vue
+16
-5
No files found.
src/components/administrative/empBankAccount.vue
View file @
a5b86ff0
...
@@ -30,6 +30,7 @@
...
@@ -30,6 +30,7 @@
<el-select
v-model=
'addMsg.AccountClassify'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'changeTitle'
>
<el-select
v-model=
'addMsg.AccountClassify'
:placeholder=
"$t('pub.pleaseSel')"
@
change=
'changeTitle'
>
<el-option
:label=
'$t("fnc.yinhang")'
value=
'2'
key=
'2'
></el-option>
<el-option
:label=
'$t("fnc.yinhang")'
value=
'2'
key=
'2'
></el-option>
<el-option
:label=
'$t("ground.xunizhanghu")'
value=
'3'
key=
'3'
></el-option>
<el-option
:label=
'$t("ground.xunizhanghu")'
value=
'3'
key=
'3'
></el-option>
<el-option
label=
'微信支付宝'
value=
'4'
key=
'4'
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -38,12 +39,12 @@
...
@@ -38,12 +39,12 @@
<el-input
type=
"text"
v-model=
"addMsg.BankName"
:placeholder=
"$t('ground.liruicbc')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.BankName"
:placeholder=
"$t('ground.liruicbc')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
'addMsg.AccountClassify!=3'
:gutter=
"35"
>
<el-col
:span=
"4"
v-if=
'addMsg.AccountClassify!=3
&& addMsg.AccountClassify!=4
'
:gutter=
"35"
>
<el-form-item
:label=
"nameA"
prop=
"OpenBankName"
>
<el-form-item
:label=
"nameA"
prop=
"OpenBankName"
>
<el-input
type=
"text"
v-model=
"addMsg.OpenBankName"
:placeholder=
"$t('ground.liruzhihang')"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.OpenBankName"
:placeholder=
"$t('ground.liruzhihang')"
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"4"
v-if=
'addMsg.AccountClassify!=3'
:gutter=
"35"
>
<el-col
:span=
"4"
v-if=
'addMsg.AccountClassify!=3
&& addMsg.AccountClassify!=4
'
:gutter=
"35"
>
<el-form-item
:label=
"nameB"
prop=
"AccountHolder"
>
<el-form-item
:label=
"nameB"
prop=
"AccountHolder"
>
<el-input
type=
"text"
v-model=
"addMsg.AccountHolder"
></el-input>
<el-input
type=
"text"
v-model=
"addMsg.AccountHolder"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -83,7 +84,12 @@
...
@@ -83,7 +84,12 @@
<tr
v-for=
"(item,index) in list"
>
<tr
v-for=
"(item,index) in list"
>
<td>
{{
item
.
OpenBankName
}}
</td>
<td>
{{
item
.
OpenBankName
}}
</td>
<td>
{{
item
.
AccountAlias
}}
</td>
<td>
{{
item
.
AccountAlias
}}
</td>
<td>
{{
item
.
AccountClassify
==
1
?
$t
(
'fnc.a_ptzhanghu'
)
:
$t
(
'fnc.a_yhzhanghu'
)
}}
</td>
<td>
<span
v-if=
"item.AccountClassify==1"
>
{{
$t
(
'fnc.a_ptzhanghu'
)
}}
</span>
<span
v-if=
"item.AccountClassify==2"
>
银行账户
</span>
<span
v-if=
"item.AccountClassify==3"
>
虚拟账户
</span>
<span
v-if=
"item.AccountClassify==4"
>
微信支付宝
</span>
</td>
<td>
{{
item
.
BankName
}}
</td>
<td>
{{
item
.
BankName
}}
</td>
<td>
{{
item
.
CardNum
}}
<td>
{{
item
.
CardNum
}}
<br/>
{{
item
.
AccountHolder
}}
</td>
<br/>
{{
item
.
AccountHolder
}}
</td>
...
@@ -199,11 +205,16 @@
...
@@ -199,11 +205,16 @@
this
.
nameB
=
this
.
$t
(
"fnc.khuren"
)
this
.
nameB
=
this
.
$t
(
"fnc.khuren"
)
this
.
nameC
=
this
.
$t
(
"ground.kahao"
)
this
.
nameC
=
this
.
$t
(
"ground.kahao"
)
this
.
nameD
=
this
.
$t
(
"fnc.accBming"
)
this
.
nameD
=
this
.
$t
(
"fnc.accBming"
)
}
else
{
}
else
if
(
this
.
addMsg
.
AccountClassify
==
3
)
{
this
.
nameA
=
this
.
$t
(
"ground.pingtaimingcheng"
)
this
.
nameA
=
this
.
$t
(
"ground.pingtaimingcheng"
)
this
.
nameB
=
this
.
$t
(
"ground.yonghumingcheng"
)
this
.
nameB
=
this
.
$t
(
"ground.yonghumingcheng"
)
this
.
nameC
=
this
.
$t
(
"fnc.ptAcc"
)
this
.
nameC
=
this
.
$t
(
"fnc.ptAcc"
)
this
.
nameD
=
this
.
$t
(
"fnc.accBming"
)
this
.
nameD
=
this
.
$t
(
"fnc.accBming"
)
}
else
if
(
this
.
addMsg
.
AccountClassify
==
4
){
this
.
nameA
=
this
.
$t
(
"ground.pingtaimingcheng"
)
this
.
nameB
=
this
.
$t
(
"ground.yonghumingcheng"
)
this
.
nameC
=
"账号"
this
.
nameD
=
"名称"
}
}
},
},
getList
()
{
//获取列表数据
getList
()
{
//获取列表数据
...
@@ -230,7 +241,7 @@
...
@@ -230,7 +241,7 @@
},
},
addData
(){
//添加角色
addData
(){
//添加角色
this
.
addMsg
.
ObjID
=
this
.
$route
.
query
.
id
;
this
.
addMsg
.
ObjID
=
this
.
$route
.
query
.
id
;
if
(
this
.
addMsg
.
AccountClassify
!=
'3'
){
if
(
this
.
addMsg
.
AccountClassify
!=
'3'
&&
this
.
addMsg
.
AccountClassify
!=
'4'
){
if
(
this
.
addMsg
.
OpenBankName
==
''
){
if
(
this
.
addMsg
.
OpenBankName
==
''
){
this
.
$message
.
error
(
this
.
$t
(
'visaT.Pleasefillin'
)
+
this
.
nameA
)
this
.
$message
.
error
(
this
.
$t
(
'visaT.Pleasefillin'
)
+
this
.
nameA
)
return
return
...
...
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