Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bims
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
孙海亮
bims
Commits
94230b74
Commit
94230b74
authored
Aug 14, 2023
by
杨芳博-DEL
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'func-HIS-435' into test
parents
09206b14
51386eb2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
2 deletions
+35
-2
lpjManageDetail.vue
src/views/charge-query/lpjManageDetail.vue
+35
-2
No files found.
src/views/charge-query/lpjManageDetail.vue
View file @
94230b74
...
@@ -108,7 +108,16 @@
...
@@ -108,7 +108,16 @@
<a-row
:gutter=
"30"
>
<a-row
:gutter=
"30"
>
<a-col
:sm=
"24"
class=
"none-label"
>
<a-col
:sm=
"24"
class=
"none-label"
>
<div
class=
"btn-div flex"
>
<div
class=
"btn-div flex"
>
<span></span>
<div
class=
"total-div flex"
>
<div>
<span>
记账总单数:
</span>
<span>
{{
totalListNum
}}
</span>
个
</div>
<div>
<span>
账单总金额:
</span>
<span>
{{
totalActualAmount
}}
</span>
元
</div>
</div>
<a-form-model-item
label=
"button"
>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
@
click=
"handlerSearch"
>
<a-button
type=
"primary"
@
click=
"handlerSearch"
>
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
<Icon
name=
"ssisearch_active"
:size=
"14"
/>
查询
...
@@ -246,7 +255,9 @@ export default {
...
@@ -246,7 +255,9 @@ export default {
name
:
'
有效
'
,
name
:
'
有效
'
,
code
:
1
code
:
1
}
}
]
],
totalActualAmount
:
0
,
totalListNum
:
0
};
};
},
},
components
:
{
components
:
{
...
@@ -337,11 +348,25 @@ export default {
...
@@ -337,11 +348,25 @@ export default {
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
pagination
.
total
=
content
.
total
||
0
;
this
.
dataList
=
content
.
list
||
[];
this
.
dataList
=
content
.
list
||
[];
this
.
cacheDataList
[
filter
.
pageNum
]
=
this
.
dataList
this
.
cacheDataList
[
filter
.
pageNum
]
=
this
.
dataList
this
.
getTotal
()
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
this
.
$message
.
error
(
res
.
returnMsg
);
}
}
});
});
},
},
// 计算总保费
getTotal
(){
let
totalNum
=
0
let
totalMoney
=
0
if
(
this
.
dataList
.
length
>
0
){
this
.
dataList
.
forEach
((
item
)
=>
{
totalNum
++
totalMoney
+=
Number
(
item
.
actualAmount
)
})
}
this
.
totalActualAmount
=
totalMoney
.
toFixed
(
2
)
this
.
totalListNum
=
totalNum
},
// 获取保险公司下拉选项
// 获取保险公司下拉选项
_getCompanyOptions
()
{
_getCompanyOptions
()
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
this
.
$apis
.
GETCOMPANYOPTIONS
().
then
((
res
)
=>
{
...
@@ -594,4 +619,12 @@ export default {
...
@@ -594,4 +619,12 @@ export default {
.btn-div{
.btn-div{
justify-content: space-between;
justify-content: space-between;
}
}
.total-div{
gap:20px;
div span:first-child{
font-weight: bold;
font-family: PingFangSC-Medium, PingFang SC;
font-size: 14px;
}
}
</
style
>
</
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