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
c3164d9a
Commit
c3164d9a
authored
May 05, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
333860b5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
486 additions
and
1 deletion
+486
-1
empBankAccount.vue
src/components/administrative/empBankAccount.vue
+51
-1
empBankAccountAll.vue
src/components/administrative/empBankAccountAll.vue
+426
-0
config.js
src/router/config.js
+9
-0
No files found.
src/components/administrative/empBankAccount.vue
View file @
c3164d9a
...
@@ -9,6 +9,14 @@
...
@@ -9,6 +9,14 @@
.empBankAccountTable
tr
{
background
:
#fff
;
text-align
:
left
;}
.empBankAccountTable
tr
{
background
:
#fff
;
text-align
:
left
;}
.empBankAccountTable
tr
:nth-child
(
2n
+
1
)
{
background
:
#E5E5E5
;}
.empBankAccountTable
tr
:nth-child
(
2n
+
1
)
{
background
:
#E5E5E5
;}
.empBankAccountTable
tr
td
{
height
:
60px
;
padding-left
:
20px
;
border-right
:
1px
solid
#DCDCDC
;
border-bottom
:
1px
solid
#DCDCDC
;}
.empBankAccountTable
tr
td
{
height
:
60px
;
padding-left
:
20px
;
border-right
:
1px
solid
#DCDCDC
;
border-bottom
:
1px
solid
#DCDCDC
;}
.popTable
{
width
:
80%
;
font-size
:
14px
;
color
:
#333
;
background
:
#ccc
;}
.popTable
tr
{
border-bottom
:
2px
solid
#333
;}
.popTable
tr
th
{
background
:
#BDBDBD
;
height
:
30px
;
font-size
:
12px
;
text-align
:
left
;
text-indent
:
20px
;}
.popTable
tr
{
background
:
#fff
;
text-align
:
left
;}
.popTable
tr
:nth-child
(
2n
+
1
)
{
background
:
#E5E5E5
;}
.popTable
tr
td
{
height
:
60px
;
padding-left
:
20px
;
border-right
:
1px
solid
#DCDCDC
;
border-bottom
:
1px
solid
#DCDCDC
;}
.empBankAccountIcon
button
{
width
:
30px
;
height
:
30px
;
border-radius
:
4px
;}
.empBankAccountIcon
button
{
width
:
30px
;
height
:
30px
;
border-radius
:
4px
;}
.empBankAccountIcon
.el-button--primary
{
padding
:
5px
;
margin
:
0
;
font-size
:
14px
!important
;}
.empBankAccountIcon
.el-button--primary
{
padding
:
5px
;
margin
:
0
;
font-size
:
14px
!important
;}
.empBankAccountIcon
.el-button
+
.el-button
{
margin-left
:
0
!important
;}
.empBankAccountIcon
.el-button
+
.el-button
{
margin-left
:
0
!important
;}
...
@@ -61,6 +69,31 @@
...
@@ -61,6 +69,31 @@
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
<div
v-if=
"accountList.length"
style=
"padding: 20px; display: flex; justify-content: center; align-items: center;flex-direction: column"
>
<div
style=
"padding: 10px"
>
已存在相同的账户信息
</div>
<table
class=
"popTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th>
{{
$t
(
"ground.zhanghumingcheng"
)
}}
</th>
<th>
{{
$t
(
"fnc.w_zhbieming"
)
}}
</th>
<th>
{{
$t
(
"ground.zhanghuleibie"
)
}}
</th>
<th>
{{
$t
(
"ground.suoshujigou"
)
}}
</th>
<th>
{{
$t
(
"fnc.acc"
)
}}
</th>
</tr>
<tr
v-for=
"(item,index) in accountList"
>
<td>
{{
item
.
OpenBankName
}}
</td>
<td>
{{
item
.
AccountAlias
}}
</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
.
CardNum
}}
<br/>
{{
item
.
AccountHolder
}}
</td>
</tr>
</table>
</div>
</div>
</div>
<div
class=
"query-box"
>
<div
class=
"query-box"
>
<ul>
<ul>
...
@@ -120,12 +153,14 @@
...
@@ -120,12 +153,14 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
accountList
:
[],
nameA
:
this
.
$t
(
"ground.zhanghumingcheng2"
),
nameA
:
this
.
$t
(
"ground.zhanghumingcheng2"
),
nameB
:
this
.
$t
(
"fnc.khuren"
),
nameB
:
this
.
$t
(
"fnc.khuren"
),
nameC
:
this
.
$t
(
"ground.kahao"
),
nameC
:
this
.
$t
(
"ground.kahao"
),
...
@@ -259,6 +294,10 @@
...
@@ -259,6 +294,10 @@
this
.
$message
.
error
(
this
.
$t
(
'visaT.Pleasefillin'
)
+
this
.
nameD
)
this
.
$message
.
error
(
this
.
$t
(
'visaT.Pleasefillin'
)
+
this
.
nameD
)
return
return
}
}
// 查询是否有冲突的账户信息
this
.
checkCanAdd
()
},
addAccount
()
{
this
.
apipost
(
"admin_post_SetEmpBankAccount"
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
"admin_post_SetEmpBankAccount"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
if
(
res
.
data
.
resultCode
==
1
)
{
{
...
@@ -270,8 +309,19 @@
...
@@ -270,8 +309,19 @@
this
.
$message
.
error
(
res
.
data
.
message
)
this
.
$message
.
error
(
res
.
data
.
message
)
}
}
},
err
=>
{})},
checkCanAdd
()
{
this
.
apipost
(
'admin_post_GetBackAccount'
,{
RB_Group_Id
:
this
.
addMsg
.
ObjID
,
...
this
.
addMsg
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
data
&&
res
.
data
.
data
.
length
)
{
this
.
accountList
=
res
.
data
.
data
}
else
{
this
.
addAccount
()
}
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)}
},
err
=>
{})
},
err
=>
{})
},
},
updateData
(
id
){
//修改角色
updateData
(
id
){
//修改角色
this
.
apipost
(
'admin_get_GetEmpBackAccount'
,{
BAId
:
id
},
res
=>
{
this
.
apipost
(
'admin_get_GetEmpBackAccount'
,{
BAId
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
if
(
res
.
data
.
resultCode
==
1
){
...
...
src/components/administrative/empBankAccountAll.vue
0 → 100644
View file @
c3164d9a
This diff is collapsed.
Click to expand it.
src/router/config.js
View file @
c3164d9a
...
@@ -262,6 +262,15 @@ export default {
...
@@ -262,6 +262,15 @@ export default {
title
:
'新增付款对象'
title
:
'新增付款对象'
},
},
},
},
{
path
:
'/empBankAccountAll'
,
//付款对象管理
name
:
'empBankAccountAll'
,
component
:
resolve
=>
require
([
'@/components/administrative/empBankAccountAll'
],
resolve
),
meta
:
{
title
:
'付款对象管理'
},
},
{
{
path
:
'/CommissionManagement'
,
//提成管理
path
:
'/CommissionManagement'
,
//提成管理
name
:
'CommissionManagement'
,
name
:
'CommissionManagement'
,
...
...
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