From 1e7e0ffb64687b323c032cc80f43d56a67484ccc Mon Sep 17 00:00:00 2001 From: basssy Date: Wed, 13 Nov 2024 11:04:09 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=BC=EA=B1=B4=EC=83=81=EC=84=B8=20?= =?UTF-8?q?=ED=8C=90=EB=A7=A4=EB=8C=80=EB=A6=AC=EC=A0=90=20=EC=A7=80?= =?UTF-8?q?=EC=9A=B0=EA=B3=A0=20=EC=84=A4=EA=B3=84=EC=9D=98=EB=A2=B0=20?= =?UTF-8?q?=EB=B6=88=EB=9F=AC=EC=98=A4=EA=B8=B0=20=ED=8C=9D=EC=97=85=20?= =?UTF-8?q?=ED=98=B8=EC=B6=9C=20=EC=8B=9C=20=EC=88=98=EC=A0=955?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/management/StuffDetail.jsx | 10 ++++++++-- src/locales/ja.json | 3 ++- src/locales/ko.json | 1 + 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/components/management/StuffDetail.jsx b/src/components/management/StuffDetail.jsx index f3b25248..69403e7c 100644 --- a/src/components/management/StuffDetail.jsx +++ b/src/components/management/StuffDetail.jsx @@ -510,6 +510,8 @@ export default function StuffDetail() { setOtherSelOptions(detailData.saleStoreId) form.setValue('otherSaleStoreId', detailData.saleStoreId) form.setValue('otherSaleStoreLevel', detailData.saleStoreLevel) + + form.setValue('saleStoreLevel', '1') } //설계의뢰No. @@ -1039,7 +1041,12 @@ export default function StuffDetail() { //설계의뢰 팝업 오픈 const onSearchDesignRequestPopOpen = () => { - setShowDesignRequestButtonValid(true) + const saleStoreId = form.watch('saleStoreId') + if (saleStoreId === '') { + alert(getMessage('stuff.planReqPopup.error.message2')) + } else { + setShowDesignRequestButtonValid(true) + } } // 풍속선택 팝업 오픈 @@ -1862,7 +1869,6 @@ export default function StuffDetail() { > ) : null} - {/* {detailData?.tempFlg === '1' ? ( */} {detailData?.tempFlg === '1' ? ( <>