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
cc505399
Commit
cc505399
authored
Oct 25, 2023
by
zhouliufang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
寄送账单列表支持全选
parent
0f607098
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
lpjManageDetail.vue
src/views/charge-query/lpjManageDetail.vue
+23
-0
No files found.
src/views/charge-query/lpjManageDetail.vue
View file @
cc505399
...
...
@@ -119,6 +119,7 @@
<span
class=
"blue-text"
>
¥
{{
totalAmount
}}
</span>
<span
:style=
"
{color: 'red'}" v-if="invalidActualAmount > 0">(无效
{{
invalidActualAmount
}}
元)
</span>
</div>
<a-button
v-if=
"isEditNewBill"
size=
"small"
type=
"primary"
@
click=
"checkAll"
>
全选
</a-button>
</div>
<a-form-model-item
label=
"button"
>
<a-button
type=
"primary"
@
click=
"handlerSearch"
>
...
...
@@ -335,6 +336,28 @@ export default {
}
this
.
selectedRowKeys
=
arr
;
},
// 全选
checkAll
()
{
this
.
$apis
.
QUERYNOSENDRECEIPLIST
({
pageNum
:
1
,
pageSize
:
this
.
pagination
.
total
,
payorCode
:
this
.
form
.
payorCode
,
...
this
.
searchData
})
.
then
((
res
)
=>
{
if
(
res
.
returnCode
==
"
0000
"
)
{
const
dataList
=
res
.
content
.
list
||
[];
const
selectedRowKeys
=
dataList
.
map
((
item
,
index
)
=>
index
);
this
.
onSelectChange
(
selectedRowKeys
)
const
index
=
Math
.
ceil
(
dataList
.
length
/
this
.
pagination
.
pageSize
)
for
(
let
i
=
1
;
i
<
index
+
1
;
i
++
)
{
this
.
cacheDataList
[
i
]
=
dataList
.
slice
((
i
-
1
)
*
this
.
pagination
.
pageSize
,
i
*
this
.
pagination
.
pageSize
)
}
}
else
{
this
.
$message
.
error
(
res
.
returnMsg
);
}
});
},
// 分页回调
getPageData
(
pager
)
{
if
(
pager
){
...
...
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