退款
This commit is contained in:
parent
4a8a53c1c2
commit
897ed5c58d
@ -63,7 +63,7 @@ export default function RefunModal(props: any) {
|
||||
config: {
|
||||
params: {
|
||||
page: 1,
|
||||
rows: 10,
|
||||
rows: 20,
|
||||
applyStatus: type
|
||||
}
|
||||
},
|
||||
|
@ -46,7 +46,7 @@ export default function Refun() {
|
||||
dataIndex: 'index',
|
||||
align: 'center',
|
||||
width: 80,
|
||||
render: (_text, _record, index) => (page - 1) * 10 + index + 1, // 显示序号,从1开始
|
||||
render: (_text, _record, index) => (page - 1) * 20 + index + 1, // 显示序号,从1开始
|
||||
},
|
||||
{
|
||||
title: '系统名称',
|
||||
@ -289,7 +289,7 @@ export default function Refun() {
|
||||
key: 'reviewReason',
|
||||
align: 'center',
|
||||
// width: 150,
|
||||
render: (text) => <div className='ellipsis-text' title={text}>{text}</div>,
|
||||
render: (text) => <div className='ellipsis-text' title={text}>{text?text:'—'}</div>,
|
||||
},
|
||||
{
|
||||
title: '退款凭证',
|
||||
@ -339,7 +339,7 @@ export default function Refun() {
|
||||
config: {
|
||||
params: {
|
||||
page: page,
|
||||
rows: 10,
|
||||
rows: 20,
|
||||
applyStatus: type
|
||||
}
|
||||
},
|
||||
@ -383,7 +383,7 @@ export default function Refun() {
|
||||
config: {
|
||||
params: {
|
||||
page: page,
|
||||
rows: 10,
|
||||
rows: 20,
|
||||
applyStatus: type
|
||||
}
|
||||
},
|
||||
@ -392,7 +392,7 @@ export default function Refun() {
|
||||
// setData(data.data.rows)
|
||||
|
||||
// setTotal(data.data.total)
|
||||
if (data.data.rows.length == 0) {
|
||||
if (data.data.rows.length == 0 && page > 1 ) {
|
||||
getData(page - 1)
|
||||
} else {
|
||||
dispath({
|
||||
@ -442,7 +442,7 @@ export default function Refun() {
|
||||
// pagination={false} // 不显示分页
|
||||
pagination={
|
||||
{
|
||||
pageSize: 10,
|
||||
pageSize: 20,
|
||||
total: total,
|
||||
onChange: (currentPage) => {
|
||||
setPage(currentPage);
|
||||
|
Loading…
Reference in New Issue
Block a user