From 9288d86365ee62a7f14daa97f1356f39d409a1a1 Mon Sep 17 00:00:00 2001 From: basssy Date: Tue, 7 Jan 2025 17:18:04 +0900 Subject: [PATCH] =?UTF-8?q?=EB=AC=BC=EA=B1=B4=20=EB=AA=A9=EB=A1=9D=20?= =?UTF-8?q?=EA=B2=80=EC=83=89=EC=A1=B0=EA=B1=B4=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?=EC=A4=80=EB=B9=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../management/StuffSearchCondition.jsx | 105 +++++++++--------- src/locales/ja.json | 1 + src/locales/ko.json | 1 + 3 files changed, 54 insertions(+), 53 deletions(-) diff --git a/src/components/management/StuffSearchCondition.jsx b/src/components/management/StuffSearchCondition.jsx index a72fda59..75fa87db 100644 --- a/src/components/management/StuffSearchCondition.jsx +++ b/src/components/management/StuffSearchCondition.jsx @@ -642,6 +642,11 @@ export default function StuffSearchCondition() { } } + // 내 물건 보기 + const checkMyData = (e) => { + console.log('e:::::::', e.target.checked) + } + return ( <> {/* 퍼블적용시작 */} @@ -674,8 +679,6 @@ export default function StuffSearchCondition() { - {/* - */} @@ -789,7 +792,6 @@ export default function StuffSearchCondition() { type="radio" name="radio_ptype" id="radio_u" - // checked={stuffSearch.schDateType === 'U' ? true : false} checked={dateType === 'U' ? true : false} value={'U'} onChange={(e) => { @@ -804,7 +806,6 @@ export default function StuffSearchCondition() { type="radio" name="radio_ptype" id="radio_r" - // checked={stuffSearch.schDateType === 'R' ? true : false} checked={dateType === 'R' ? true : false} value={'R'} onChange={(e) => { @@ -828,54 +829,48 @@ export default function StuffSearchCondition() { {getMessage('stuff.search.schTempFlgT')} -
-
-
- { - // let tempFlg = e.target.value - // setTempFlg(tempFlg) - // console.log('포함을 눌렀어:::::11:::::::', e.target.value) - // console.log('포함을 눌렀어::::22::::::::', tempFlg) - setTempFlg(e.target.value) - stuffSearch.schTempFlg = e.target.value - }} - /> - -
-
- { - setTempFlg(e.target.value) - stuffSearch.schTempFlg = e.target.value - }} - /> - -
-
- { - setTempFlg(e.target.value) - stuffSearch.schTempFlg = e.target.value - }} - /> - -
+
+
+ { + setTempFlg(e.target.value) + stuffSearch.schTempFlg = e.target.value + }} + /> + +
+
+ { + setTempFlg(e.target.value) + stuffSearch.schTempFlg = e.target.value + }} + /> + +
+
+ { + setTempFlg(e.target.value) + stuffSearch.schTempFlg = e.target.value + }} + /> +
@@ -984,7 +979,7 @@ export default function StuffSearchCondition() { /> )}
-
+
checkMyData(e)} /> + +
diff --git a/src/locales/ja.json b/src/locales/ja.json index 60a8af1b..dce33100 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -728,6 +728,7 @@ "stuff.search.schTempFlg": "含む", "stuff.search.schTempFlg0": "除外", "stuff.search.schTempFlg1": "一時的なものだけを見る", + "stuff.search.schMine": "私のものを見る", "stuff.search.grid.title": "商品リスト", "stuff.search.grid.all": "全体", "stuff.search.grid.selected": "選択", diff --git a/src/locales/ko.json b/src/locales/ko.json index 4dbbef05..cbd263c7 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -738,6 +738,7 @@ "stuff.search.schTempFlg": "포함", "stuff.search.schTempFlg0": "제외", "stuff.search.schTempFlg1": "임시물건만 조회", + "stuff.search.schMine": "내물건보기", "stuff.search.grid.title": "물건목록", "stuff.search.grid.all": "전체", "stuff.search.grid.selected": "선택",