minAmount max amount 타입 변경 및 ars
This commit is contained in:
@@ -40,8 +40,8 @@ export const AllTransactionListPage = () => {
|
||||
const [toDate, setToDate] = useState(moment().format('YYYYMMDD'));
|
||||
const [stateCode, setStateCode] = useState<AllTransactionStateCode>(AllTransactionStateCode.ALL);
|
||||
const [serviceCode, setServiceCode] = useState<AllTransactionServiceCode>(AllTransactionServiceCode.ALL);
|
||||
const [minAmount, setMinAmount] = useState<number | string>();
|
||||
const [maxAmount, setMaxAmount] = useState<number | string>();
|
||||
const [minAmount, setMinAmount] = useState<number>();
|
||||
const [maxAmount, setMaxAmount] = useState<number>();
|
||||
const [cardCode, setCardCode] = useState<string | undefined>();
|
||||
const [bankCode, setBankCode] = useState<string | undefined>();
|
||||
const [searchCl, setSearchCl] = useState<AllTransactionSearchCl | undefined>();
|
||||
|
||||
@@ -16,7 +16,7 @@ export const BillingChargePage = () => {
|
||||
|
||||
const [billKey, setBillKey] = useState<string>('BIKYvattest01m');
|
||||
const [productName, setProductName] = useState<string>('테스트상품123');
|
||||
const [productAmount, setProductAmount] = useState<number | string>(1000000);
|
||||
const [productAmount, setProductAmount] = useState<number>(1000000);
|
||||
const [orderNumber, setOrderNumber] = useState<string>('P146733723');
|
||||
const [buyerName, setBuyerName] = useState<string>('김테스트');
|
||||
const [paymentRequestDate, setPaymentRequestDate] = useState<string>('2025-06-08');
|
||||
@@ -109,7 +109,7 @@ export const BillingChargePage = () => {
|
||||
<input
|
||||
type="text"
|
||||
value={ productAmount }
|
||||
onChange={ (e: ChangeEvent<HTMLInputElement>) => setProductAmount(e.target.value) }
|
||||
onChange={ (e: ChangeEvent<HTMLInputElement>) => setProductAmount(parseInt(e.target.value)) }
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -37,8 +37,8 @@ export const BillingListPage = () => {
|
||||
const [requestStatus, setRequestStatus] = useState<BillingRequestStatus>(BillingRequestStatus.ALL);
|
||||
const [processResult, setProcessResult] = useState<BillingProcessResult>(BillingProcessResult.ALL);
|
||||
const [paymentMethod, setPaymentMethod] = useState<BillingPaymentMethod>(BillingPaymentMethod.ALL);
|
||||
const [minAmount, setMinAmount] = useState<number | string>();
|
||||
const [maxAmount, setMaxAmount] = useState<number | string>();
|
||||
const [minAmount, setMinAmount] = useState<number>();
|
||||
const [maxAmount, setMaxAmount] = useState<number>();
|
||||
|
||||
useSetHeaderTitle('빌링');
|
||||
useSetHeaderType(HeaderType.LeftArrow);
|
||||
|
||||
@@ -20,10 +20,10 @@ export const CashReceitHandWrittenIssuancePage = () => {
|
||||
const [issueNumber, setIssueNumber] = useState<string>('01012341234');
|
||||
const [email, setEmail] = useState<string>('test123@nicepay.com');
|
||||
const [phoneNumber, setPhoneNumber] = useState<string>('01012341234');
|
||||
const [supplyAmount, setSupplyAmount] = useState<number | string>(9091);
|
||||
const [vatAmount, setVatAmount] = useState<number | string>(909);
|
||||
const [taxFreeAmount, setTaxFreeAmount] = useState<number | string>(0);
|
||||
const [serviceCharge, setServiceCharge] = useState<number | string>(0);
|
||||
const [supplyAmount, setSupplyAmount] = useState<number>(9091);
|
||||
const [vatAmount, setVatAmount] = useState<number>(909);
|
||||
const [taxFreeAmount, setTaxFreeAmount] = useState<number>(0);
|
||||
const [serviceCharge, setServiceCharge] = useState<number>(0);
|
||||
|
||||
useSetHeaderTitle('수기 발행');
|
||||
useSetHeaderType(HeaderType.RightClose);
|
||||
|
||||
@@ -36,8 +36,8 @@ export const EscrowListPage = () => {
|
||||
const [endDate, setEndDate] = useState(moment().format('YYYY-MM-DD'));
|
||||
const [deliveryStatus, setDeliveryStatus] = useState<EscrowDeliveryStatus>(EscrowDeliveryStatus.ALL);
|
||||
const [settlementStatus, setSettlementStatus] = useState<EscrowSettlementStatus>(EscrowSettlementStatus.ALL);
|
||||
const [minAmount, setMinAmount] = useState<number | string>();
|
||||
const [maxAmount, setMaxAmount] = useState<number | string>();
|
||||
const [minAmount, setMinAmount] = useState<number>();
|
||||
const [maxAmount, setMaxAmount] = useState<number>();
|
||||
|
||||
useSetHeaderTitle('에스크로');
|
||||
useSetHeaderType(HeaderType.LeftArrow);
|
||||
|
||||
Reference in New Issue
Block a user