Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
89476762
Commit
89476762
authored
Jun 08, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化应收统计查询
parent
2a60d1ae
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
src/api/financial/commission.js
+8
-0
src/views/financialCenter/receivables.vue
+9
-6
No files found.
src/api/financial/commission.js
View file @
89476762
...
@@ -428,6 +428,14 @@ export function receivableReport(data) {
...
@@ -428,6 +428,14 @@ export function receivableReport(data) {
data
:
data
data
:
data
})
})
}
}
// 应收款报表统计
export
function
receivableStatistics
(
data
)
{
return
request
({
url
:
'/csf/api/CommissionExpected/receivable_report/statistics'
,
method
:
'post'
,
data
:
data
})
}
// 薪资拆分应发信息汇总列表
// 薪资拆分应发信息汇总列表
export
function
salarySummary
(
data
)
{
export
function
salarySummary
(
data
)
{
...
...
src/views/financialCenter/receivables.vue
View file @
89476762
...
@@ -316,6 +316,7 @@ import {
...
@@ -316,6 +316,7 @@ import {
commissionExpectedRecord
,
commissionExpectedRecord
,
addReceivedFortune
,
addReceivedFortune
,
receivableReport
,
receivableReport
,
receivableStatistics
,
CommissionExpectedChangeStatus
,
CommissionExpectedChangeStatus
,
commissionExchangeRateApi
commissionExchangeRateApi
}
from
'@/api/financial/commission'
}
from
'@/api/financial/commission'
...
@@ -797,17 +798,19 @@ const loadTableData = async () => {
...
@@ -797,17 +798,19 @@ const loadTableData = async () => {
pageSize
:
pageSize
.
value
pageSize
:
pageSize
.
value
}
}
const
response
=
await
receivableReport
(
params
)
const
response
=
await
receivableReport
(
params
)
const
response2
=
await
receivableStatistics
(
params
)
tableData
.
value
=
response
.
data
.
page
.
records
||
[]
tableData
.
value
=
response
.
data
.
page
.
records
||
[]
pageTotal
.
value
=
response
.
data
.
page
.
total
||
0
pageTotal
.
value
=
response
.
data
.
page
.
total
||
0
pageSize
.
value
=
response
.
data
.
page
.
size
||
50
pageSize
.
value
=
response
.
data
.
page
.
size
||
50
if
(
response2
.
data
&&
response2
.
data
.
statisticsVO
)
{
// 统计信息
// 统计信息
statisticsData
.
value
=
{
statisticsData
.
value
=
{
totalAmount
:
response
.
data
.
statisticsVO
.
totalAmount
,
totalAmount
:
response2
.
data
.
statisticsVO
.
totalAmount
,
totalPaidAmount
:
response
.
data
.
statisticsVO
.
totalPaidAmount
,
totalPaidAmount
:
response2
.
data
.
statisticsVO
.
totalPaidAmount
,
pendingPaidAmount
:
response
.
data
.
statisticsVO
.
pendingPaidAmount
,
pendingPaidAmount
:
response2
.
data
.
statisticsVO
.
pendingPaidAmount
,
paidAmountRatio
:
response
.
data
.
statisticsVO
.
paidAmountRatio
,
paidAmountRatio
:
response2
.
data
.
statisticsVO
.
paidAmountRatio
,
totalPolicyCount
:
response
.
data
.
statisticsVO
.
totalPolicyCount
totalPolicyCount
:
response2
.
data
.
statisticsVO
.
totalPolicyCount
}
}
}
}
catch
(
error
)
{
}
catch
(
error
)
{
console
.
error
(
'加载数据失败:'
,
error
)
console
.
error
(
'加载数据失败:'
,
error
)
...
...
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