잇슈 수정
This commit is contained in:
@@ -48,8 +48,6 @@ export const ListFilter = ({
|
|||||||
const [filterReceiptType, setFIlterReceiptType] = useState<VatReturnReceiptType>(receiptType);
|
const [filterReceiptType, setFIlterReceiptType] = useState<VatReturnReceiptType>(receiptType);
|
||||||
const [filterTargetType, setFilterTargetType] = useState<VatReturnTargetType>(targetType);
|
const [filterTargetType, setFilterTargetType] = useState<VatReturnTargetType>(targetType);
|
||||||
|
|
||||||
const midOptions = useStore.getState().UserStore.selectOptionsMids;
|
|
||||||
|
|
||||||
const onClickToClose = () => {
|
const onClickToClose = () => {
|
||||||
setFilterOn(false);
|
setFilterOn(false);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,13 +44,13 @@ const NiceCalendarMonth = ({
|
|||||||
if(calendarType === CalendarType.Start){
|
if(calendarType === CalendarType.Start){
|
||||||
setMinMonth(undefined);
|
setMinMonth(undefined);
|
||||||
if(!!endMonth){
|
if(!!endMonth){
|
||||||
setMaxMonth(new Date(endMonth));
|
setMaxMonth(new Date(moment(endMonth+'01').format('YYYY.MM.DD')));
|
||||||
}
|
}
|
||||||
setValueYear(startMonth?.substring(0, 4));
|
setValueYear(startMonth?.substring(0, 4));
|
||||||
}
|
}
|
||||||
else if(calendarType === CalendarType.End){
|
else if(calendarType === CalendarType.End){
|
||||||
if(!!startMonth){
|
if(!!startMonth){
|
||||||
setMinMonth(new Date(startMonth));
|
setMinMonth(new Date(moment(startMonth+'01').format('YYYY.MM.DD')));
|
||||||
}
|
}
|
||||||
setMaxMonth(new Date());
|
setMaxMonth(new Date());
|
||||||
setValueYear(endMonth?.substring(0, 4));
|
setValueYear(endMonth?.substring(0, 4));
|
||||||
@@ -128,7 +128,7 @@ const CalendarWrapper = styled.div`
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
top: 0;
|
top: 100px;
|
||||||
left: 0;
|
left: 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user