Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
薪
薪瑞通-前端
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
许珑标
薪瑞通-前端
Commits
97e81ad9
Commit
97e81ad9
authored
Mar 11, 2025
by
许珑标
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
充值记录查询
parent
92aabe69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
9 deletions
+22
-9
src/api/business/accRecharge.js
src/api/business/accRecharge.js
+7
-1
src/views/business/salaryAccount/index.vue
src/views/business/salaryAccount/index.vue
+15
-8
No files found.
src/api/business/accRecharge.js
View file @
97e81ad9
...
...
@@ -8,7 +8,13 @@ export function listAccRecharge(query) {
params
:
query
})
}
export
function
listBill
(
query
)
{
return
request
({
url
:
'
/business/accRecharge/page
'
,
method
:
'
get
'
,
params
:
query
})
}
// 查询账户充值记录所有列表
export
function
listAllAccRecharge
(
query
)
{
return
request
({
...
...
src/views/business/salaryAccount/index.vue
View file @
97e81ad9
...
...
@@ -72,7 +72,7 @@
<div
style=
"width: 90%;"
>
<el-row>
<el-col
:span=
"12"
><el-button
style=
"width:120px;"
type=
"primary"
plain
@
click=
"showBill(ele.
card
No)"
>
充值记录
</el-button></el-col>
@
click=
"showBill(ele.
payAcc
No)"
>
充值记录
</el-button></el-col>
<el-col
:span=
"12"
><el-button
style=
"width:120px;"
type=
"primary"
plain
@
click=
"salarySelection(ele.payAccNo)"
>
去发薪
</el-button></el-col>
</el-row>
...
...
@@ -361,10 +361,10 @@
</el-tabs>
<el-table
v-loading=
"loading"
:data=
"billDataList"
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"账单类型"
align=
"center"
prop=
"
billTyp
e"
>
<el-table-column
label=
"账单类型"
align=
"center"
prop=
"
capitalPurpos
e"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.
billTyp
e == 1"
>
服务费账单
</span>
<span
v-if=
"scope.row.
billTyp
e == 2"
>
余额
</span>
<span
v-if=
"scope.row.
capitalPurpos
e == 1"
>
服务费账单
</span>
<span
v-if=
"scope.row.
capitalPurpos
e == 2"
>
余额
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"收支类型"
align=
"center"
prop=
"tranType"
>
...
...
@@ -383,7 +383,7 @@
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"时间"
align=
"center"
prop=
"
tran
Time"
width=
"180"
/>
<el-table-column
label=
"时间"
align=
"center"
prop=
"
create
Time"
width=
"180"
/>
</el-table>
<el-pagination
small
layout=
"prev, pager, next"
:total=
"billTotal"
:page.sync=
"billQuery.pageNum"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:limit.sync=
"billQuery.pageSize"
...
...
@@ -399,14 +399,16 @@
<
script
>
import
AccSelect
from
'
@/views/business/accInfo/accSelect.vue
'
import
{
listAllAccInfo
,
getAccAliInfo
}
from
'
@/api/business/accInfo
'
import
{
addAccRecharge
}
from
'
@/api/business/accRecharge.js
'
import
{
addAccRecharge
,
listBill
}
from
'
@/api/business/accRecharge.js
'
import
{
addDateRange
}
from
'
@/utils/ruoyi
'
import
{
formatDate
}
from
'
@/utils
'
import
QrCodeComponent
from
'
@/components/QrCode.vue
'
export
default
{
name
:
'
SalaryAccount
'
,
components
:
{
QrCodeComponent
,
AccSelect
},
data
()
{
return
{
billPanel
:
false
,
qrPayPanel
:
{
open
:
false
,
payUrl
:
''
...
...
@@ -474,7 +476,7 @@ export default {
billQuery
:
{
pageNum
:
1
,
pageSize
:
10
,
billTyp
e
:
1
,
//账单类型:1-服务费;2-余额
capitalPurpos
e
:
1
,
//账单类型:1-服务费;2-余额
tranType
:
''
,
//收支类型:1-收入;2-支出
startTime
:
''
,
endTime
:
''
,
...
...
@@ -483,7 +485,8 @@ export default {
billDataList
:
[],
billTotal
:
0
,
userInfoName
:
null
,
accountCollection
:
[]
accountCollection
:
[],
loading
:
false
}
},
created
()
{
},
...
...
@@ -497,6 +500,10 @@ export default {
}
},
methods
:
{
billTypeTabClick
(
tab
)
{
this
.
billQuery
.
capitalPurpose
=
tab
.
name
===
"
second
"
?
2
:
1
//1:服务费 2:余额
this
.
getBillList
();
},
showBill
(
cardNo
)
{
this
.
billQuery
.
cardNo
=
cardNo
;
this
.
billPanel
=
true
;
...
...
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