From 8ba566310a037583eb360e4804349bff7166e74e Mon Sep 17 00:00:00 2001 From: "opacity@t-win.kr" Date: Thu, 18 Sep 2025 15:33:31 +0900 Subject: [PATCH] =?UTF-8?q?SHOPTIME-5911,=20SHOPTIME-5908=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/MobileSend/MobileSendPopUp.jsx | 10 ++++++++-- .../DetailPanel/UnableProduct/UnableOption.jsx | 15 +++++++++++++++ 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx index 47e40d06..1c47a628 100644 --- a/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx +++ b/com.twin.app.shoptime/src/components/MobileSend/MobileSendPopUp.jsx @@ -162,7 +162,8 @@ export default function MobileSendPopUp({ if (rawPhoneNumber.length === getMaxNum(deviceCountryCode)) { Spotlight.focus("agreeAndSend"); } - if (rawPhoneNumber.length > getMaxNum(deviceCountryCode)) { + // 테스트용: 12자리까지 허용 + if (rawPhoneNumber.length > 12) { return; } const phoneUtil = PhoneNumberUtil.getInstance(); @@ -313,7 +314,12 @@ export default function MobileSendPopUp({ const handleAgreeSendClick = useCallback(() => { let naturalNumber = mobileNumber.replace(/\D/g, ""); - if (!mobileNumber || naturalNumber.length < getMaxNum(deviceCountryCode)) { + // 테스트용: 길이 체크를 더 유연하게 (10자리 또는 11자리 허용) + if ( + !mobileNumber || + naturalNumber.length < 10 || + naturalNumber.length > 12 + ) { setSmsRetCode(907); return; } diff --git a/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableOption.jsx b/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableOption.jsx index 3309f886..bd9b5ee1 100644 --- a/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableOption.jsx +++ b/com.twin.app.shoptime/src/views/DetailPanel/UnableProduct/UnableOption.jsx @@ -215,6 +215,21 @@ export default function UnableOption({ ); } else if (TYPE_CASE.case2) { + if ( + selectedPrdtId === "27LX6TYGA" && + offerInfo && + offerInfo?.length > 0 + ) { + return ( +
+ +
+ ); + } return (