- 링크결제 API 수정
- 지급대행 수정
This commit is contained in:
@@ -13,6 +13,7 @@ import { useExtensionPayoutRequestMutation } from "@/entities/additional-service
|
||||
import { ExtensionPayoutRequestParams, ExtensionPayoutRequestResponse } from "@/entities/additional-service/model/payout/types";
|
||||
import NiceCalendar from "@/shared/ui/calendar/nice-calendar";
|
||||
import { useStore } from "@/shared/model/store";
|
||||
import moment from 'moment';
|
||||
|
||||
export const PayoutRequestPage = () => {
|
||||
const { navigate } = useNavigate();
|
||||
@@ -54,7 +55,7 @@ export const PayoutRequestPage = () => {
|
||||
};
|
||||
|
||||
const setNewDate = (date: string) => {
|
||||
setSettlementDate(date);
|
||||
setSettlementDate(moment(date).format('YYYYMMDD'));
|
||||
setCalendarOpen(false);
|
||||
};
|
||||
const onClickToOpenCalendar = () => {
|
||||
@@ -68,7 +69,7 @@ export const PayoutRequestPage = () => {
|
||||
<div className="ing-list">
|
||||
<div className="billing-form gap-30">
|
||||
<div className="billing-row">
|
||||
<div className="billing-label">서브ID</div>
|
||||
<div className="billing-label">서브ID<span>*</span></div>
|
||||
<div className="billing-field">
|
||||
<input
|
||||
type="text"
|
||||
@@ -78,7 +79,7 @@ export const PayoutRequestPage = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div className="billing-row">
|
||||
<div className="billing-label">지급액</div>
|
||||
<div className="billing-label">지급액<span>*</span></div>
|
||||
<div className="billing-field">
|
||||
<input
|
||||
type="text"
|
||||
@@ -88,7 +89,7 @@ export const PayoutRequestPage = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div className="billing-row">
|
||||
<div className="billing-label">지급일</div>
|
||||
<div className="billing-label">지급일<span>*</span></div>
|
||||
<div className="billing-field">
|
||||
<div className="input-wrapper date">
|
||||
<input
|
||||
@@ -101,6 +102,7 @@ export const PayoutRequestPage = () => {
|
||||
className="date-btn"
|
||||
type="button"
|
||||
onClick={() => onClickToOpenCalendar()}
|
||||
disabled={!isFormValid}
|
||||
>
|
||||
<img
|
||||
src={IMAGE_ROOT + '/ico_date.svg'}
|
||||
|
||||
Reference in New Issue
Block a user