From 2738a018508fda6ea79af263fb605af8d306897f Mon Sep 17 00:00:00 2001 From: 이민희 <mhlee@maprex.co.kr> Date: 월, 24 1월 2022 16:42:11 +0900 Subject: [PATCH] - 업체 excel import 오류 수정 및 유효성 검사 추가 --- src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js b/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js index 92ee0a0..a973f67 100644 --- a/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js +++ b/src/main/webapp/scripts/components/utils/issueSearchFieldKeyViewElement.directive.js @@ -51,7 +51,13 @@ break; } } - + for (let i = 0; i < $scope.lists.length; i++) { + if(JSON.stringify($scope.lists[i]) === JSON.stringify(key)) { + makeTag = ""; + makeTag += "<p>"+target.fieldValue+"</p>"; + return; + } + } makeTag += "<span ng-click='fn.remove(" + key.fieldKey + ")'>횞</span>"; makeTag += "</p>"; }); -- Gitblit v1.8.0