부가서비스
- KeyIn결제 상태값에 따른 sort 오류 수정
This commit is contained in:
@@ -21,9 +21,9 @@ import { KeyInPaymentList } from '@/entities/additional-service/ui/key-in-paymen
|
||||
// contant로 옮기기
|
||||
const requestStatusBtnGroup = [
|
||||
{ name: '전체', value: KeyInPaymentTransactionStatus.ALL },
|
||||
{ name: '승인', value: KeyInPaymentTransactionStatus.APPROVE },
|
||||
{ name: '전취소', value: KeyInPaymentTransactionStatus.ALL_CANCEL },
|
||||
{ name: '후취소', value: KeyInPaymentTransactionStatus.AFTER_CANCEL }
|
||||
{ name: '승인', value: KeyInPaymentTransactionStatus.APPROVAL },
|
||||
{ name: '전취소', value: KeyInPaymentTransactionStatus.PRE_CANCEL },
|
||||
{ name: '후취소', value: KeyInPaymentTransactionStatus.POST_CANCEL }
|
||||
];
|
||||
|
||||
export const KeyInPaymentPage = () => {
|
||||
@@ -76,6 +76,8 @@ export const KeyInPaymentPage = () => {
|
||||
page: pageParam
|
||||
};
|
||||
|
||||
console.log("Request Info: ", listParams)
|
||||
|
||||
keyinList(listParams).then((rs) => {
|
||||
setListItems(assembleData(rs.content));
|
||||
});
|
||||
@@ -132,6 +134,7 @@ export const KeyInPaymentPage = () => {
|
||||
};
|
||||
|
||||
const onClickToTransactionStatus = (val: KeyInPaymentTransactionStatus) => {
|
||||
console.log("TransactionStatus Test: ", val)
|
||||
setTransactionStatus(val);
|
||||
callList({ val: val });
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user