현금영수증 상세

This commit is contained in:
focp212@naver.com
2025-10-21 17:14:47 +09:00
parent 841a9d8542
commit bb7d34bf7d
8 changed files with 40 additions and 28 deletions

View File

@@ -57,14 +57,14 @@ export const CashReceiptListPage = () => {
const callList = (option?: {
sortType?: SortTypeKeys,
val?: string
val?: CashReceiptTransactionType
}) => {
let listSummaryParams: CashReceiptSummaryParams = {
mid: mid,
startDate: startDate,
endDate: endDate,
purposeType: purposeType,
transactionType: transactionType,
transactionType: option?.val || transactionType,
processResult: processResult,
searchNumberType: searchNumberType,
searchNumber: searchNumber,
@@ -76,8 +76,9 @@ export const CashReceiptListPage = () => {
page: pageParam
}
};
if(listParams.page){
listParams.page.sortType = (option?.sortType)? option.sortType: sortType;
listParams.page.sortType = option?.sortType || sortType;
setPageParam(listParams.page);
}