From 1bb342c2cc1fefb1bd6ce5c1ba64e6df1cc98bfe Mon Sep 17 00:00:00 2001 From: "Jonguk. Lim" Date: Tue, 22 Oct 2024 12:17:39 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=ED=8F=90=EA=B8=B0=20=EA=B2=B0=EA=B3=BC?= =?UTF-8?q?=20=EC=B2=98=EB=A6=AC=20=ED=8C=9D=EC=97=85=EC=9D=98=20=ED=8F=90?= =?UTF-8?q?=EA=B8=B0=20=EC=9E=A5=EC=86=8C=20=EC=B2=98=EB=A6=AC=20=20=20=20?= =?UTF-8?q?=20=20=20->=20=EC=8B=A0=EA=B7=9C=20=EC=9E=85=EB=A0=A5=EC=9D=98?= =?UTF-8?q?=20=EA=B2=BD=EC=9A=B0=20=EA=B8=B0=20=EB=93=B1=EB=A1=9D=20?= =?UTF-8?q?=ED=8F=90=EA=B8=B0=20=EC=9E=A5=EC=86=8C=EB=A1=9C=20set?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp index 97e5eac..7865b4f 100644 --- a/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp +++ b/src/main/webapp/WEB-INF/jsp/adds/nims/dsuseMgtRslt-info.jsp @@ -210,10 +210,13 @@ isImgSaved = false; $('#btnImgAdd--${pageName}').prop('disabled', true); $('#btnImgDel--${pageName}').prop('disabled', true); - $('#dsuseLoc--${pageName}').val(list[0].DSUSE_LOC); $('#dsuseLoc--${pageName}').prop('disabled', true); - let tagsTextArr = []; + if($('#dsuseLoc--${pageName}').val().length === 0){ + $('#dsuseLoc--${pageName}').val(list[0].DSUSE_LOC); + } + + let tagsTextArr = []; for(let idx = 0; idx < list.length; idx++){ let item = list[idx]; tagsTextArr.push('폐기관리번호 : [ ' + item.DSCDMNG_ID + ' ]의 폐기사진 공유(총 ' + dscnmngIds.length + '건)
폐기일자 : [ ' + item.DSUSE_DE + ' ], 폐기방법 : [ ' + item.DSUSE_MTH_NM + ' ], 폐기장소 : [ ' + item.DSUSE_LOC + ' ]');