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
5210e4fc
Commit
5210e4fc
authored
May 07, 2026
by
yuzhenWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改应收明细发测试
parent
37fa8424
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
15 deletions
+26
-15
src/views/financialCenter/receivables.vue
+26
-15
No files found.
src/views/financialCenter/receivables.vue
View file @
5210e4fc
...
...
@@ -111,7 +111,7 @@
:formatter=
"value => formatCurrency(value)"
>
<
template
#
title
>
<div
style=
"display: inline-flex; align-items: center"
>
应入账总金额
</div>
<div
style=
"display: inline-flex; align-items: center"
>
HKD$
应入账总金额
</div>
</
template
>
</el-statistic>
</el-col>
...
...
@@ -121,7 +121,7 @@
:formatter=
"value => formatCurrency(value)"
>
<
template
#
title
>
<div
style=
"display: inline-flex; align-items: center"
>
已入账金额
</div>
<div
style=
"display: inline-flex; align-items: center"
>
HKD$
已入账金额
</div>
</
template
>
</el-statistic>
</el-col>
...
...
@@ -131,7 +131,7 @@
:formatter=
"value => formatCurrency(value)"
>
<
template
#
title
>
<div
style=
"display: inline-flex; align-items: center"
>
待入账金额
</div>
<div
style=
"display: inline-flex; align-items: center"
>
HKD$
待入账金额
</div>
</
template
>
</el-statistic>
</el-col>
...
...
@@ -158,7 +158,7 @@
:formatter=
"value => formatCurrency(value)"
>
<
template
#
title
>
<div
style=
"display: inline-flex; align-items: center"
>
总保费
</div>
<div
style=
"display: inline-flex; align-items: center"
>
HKD$
总保费
</div>
</
template
>
</el-statistic>
</el-col>
...
...
@@ -178,6 +178,7 @@
:data=
"receivableReportTableData"
border
style=
"width: 100%; margin-bottom: 10px; min-height: 300px"
:row-class-name=
"getRowClassName"
>
<el-table-column
v-for=
"item in receivableReportItemTableColumns"
...
...
@@ -187,7 +188,7 @@
:width=
"item.width"
:formatter=
"item.formatter"
/>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"120"
>
<
!-- <
el-table-column fixed="right" label="操作" min-width="120">
<template #default="{ row }">
<el-popover placement="right" :width="200" trigger="click">
<template #reference>
...
...
@@ -202,7 +203,7 @@
</el-menu>
</el-popover>
</template>
</el-table-column>
</el-table-column>
-->
</el-table>
<el-pagination
v-model:current-page=
"detailPageInfo.currentPage"
...
...
@@ -614,7 +615,7 @@ const getTypeLabel = value => {
// 表格操作菜单
const
dropdownItems
=
[
{
label
:
'入账记录'
,
value
:
'entryRecord'
},
//
{ label: '入账记录', value: 'entryRecord' },
{
label
:
'设置状态'
,
value
:
'setStatus'
},
{
label
:
'更新数据'
,
value
:
'updateData'
}
]
...
...
@@ -1007,7 +1008,7 @@ const receivableReportItemTableColumns = ref([
prop
:
'type'
,
label
:
'是否实收'
,
sortable
:
true
,
width
:
'
15
0'
,
width
:
'
8
0'
,
formatter
:
row
=>
getTypeLabel
(
row
.
type
)
||
'-'
},
{
...
...
@@ -1056,14 +1057,14 @@ const receivableReportItemTableColumns = ref([
prop
:
'commissionPeriod'
,
label
:
'入账期数'
,
sortable
:
true
,
width
:
'
12
0'
,
width
:
'
8
0'
,
formatter
:
row
=>
row
.
commissionPeriod
||
'-'
},
{
prop
:
'totalPeriod'
,
label
:
'入账总期数'
,
sortable
:
true
,
width
:
'1
2
0'
,
width
:
'1
0
0'
,
formatter
:
row
=>
row
.
totalPeriod
||
'-'
},
{
...
...
@@ -1077,19 +1078,19 @@ const receivableReportItemTableColumns = ref([
prop
:
'commissionDateMonth'
,
label
:
'入账年月(估)'
,
sortable
:
true
,
width
:
'1
3
0'
,
width
:
'1
2
0'
,
formatter
:
row
=>
row
.
commissionDateMonth
||
'-'
},
{
prop
:
'commissionDate'
,
label
:
'入账年月(实)'
,
sortable
:
true
,
width
:
'1
3
0'
,
width
:
'1
2
0'
,
formatter
:
row
=>
row
.
commissionDate
||
'-'
},
{
prop
:
'totalRevenueRatio'
,
label
:
'累积
已入账比例
'
,
label
:
'累积
达成率(%)
'
,
sortable
:
true
,
width
:
'130'
,
formatter
:
row
=>
(
row
.
totalRevenueRatio
||
0
)
+
'%'
||
'-'
...
...
@@ -1185,7 +1186,7 @@ const receivableReportItemTableColumns = ref([
prop
:
'issueNumber'
,
label
:
'年期'
,
sortable
:
true
,
width
:
'
12
0'
,
width
:
'
8
0'
,
formatter
:
row
=>
row
.
issueNumber
||
'-'
},
{
...
...
@@ -1307,6 +1308,16 @@ const handleCurrentChangeDetailRecord = val => {
detailPageInfo
.
value
.
currentPage
=
val
receivedFortuneListData
()
}
// 定义行类名方法
const
getRowClassName
=
({
row
})
=>
{
// type == 1 表示“预计”,添加高亮类名
return
row
.
type
===
1
?
'estimated-row'
:
''
}
</
script
>
<
style
scoped
lang=
"scss"
></
style
>
<
style
scoped
lang=
"scss"
>
/* 使用 :deep 穿透 scoped 样式,保证对 el-table__row 生效 */
:deep
(
.estimated-row
)
{
background-color
:
#f0f9ff
;
/* 浅蓝色,可根据需要修改 */
}
</
style
>
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