현금영수증 상세
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user