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 + ' ]');