개발관리_part 조회 품번&품명 선택 방식 변경
This commit is contained in:
@@ -125,7 +125,7 @@ String connector = person.getUserId();
|
||||
$('.select2').select2();
|
||||
|
||||
// 품번/품명 Select2 AJAX 초기화
|
||||
initPartSelect2Ajax("#SEARCH_PART_NO", "#SEARCH_PART_NAME", "#SEARCH_PART_OBJID");
|
||||
// initPartSelect2Ajax("#SEARCH_PART_NO", "#SEARCH_PART_NAME", "#SEARCH_PART_OBJID");
|
||||
|
||||
//첨부팝업
|
||||
$(".File").click(function(){
|
||||
@@ -760,16 +760,16 @@ function fn_deleteErp(){
|
||||
<!-- </td> -->
|
||||
<td><label for="">품번</label></td>
|
||||
<td>
|
||||
<select name="SEARCH_PART_NO" id="SEARCH_PART_NO" class="select2-part" style="width:150px;">
|
||||
<option value="">품번 선택</option>
|
||||
</select>
|
||||
<!-- 입력값 포함 검색 (structurePopupRight.jsp 방식: LIKE '%...%') -->
|
||||
<input type="text" name="SEARCH_PART_NO" id="SEARCH_PART_NO" style="width:150px;" autocomplete="off" value="${param.SEARCH_PART_NO}">
|
||||
<!-- (기존) Select2 OBJID 정확매칭 방식 → 주석처리
|
||||
<input type="hidden" name="SEARCH_PART_OBJID" id="SEARCH_PART_OBJID" value="">
|
||||
-->
|
||||
</td>
|
||||
<td><label for="">품명</label></td>
|
||||
<td>
|
||||
<select name="SEARCH_PART_NAME" id="SEARCH_PART_NAME" class="select2-part" style="width:150px;">
|
||||
<option value="">품명 선택</option>
|
||||
</select>
|
||||
<!-- 입력값 포함 검색 (structurePopupRight.jsp 방식: LIKE '%...%') -->
|
||||
<input type="text" name="SEARCH_PART_NAME" id="SEARCH_PART_NAME" style="width:150px;" autocomplete="off" value="${param.SEARCH_PART_NAME}">
|
||||
</td>
|
||||
|
||||
<td><label for="">Revision</label></td>
|
||||
|
||||
@@ -2001,9 +2001,11 @@ SELECT T1.LEV, T1.BOM_REPORT_OBJID, T1.ROOT_PART_NO, T1.PATH, T1.LEAF, T2.*
|
||||
AND UPPER(T.PART_NO) LIKE UPPER('%${SEARCH_PART_NO}%')
|
||||
</if>
|
||||
|
||||
<!-- (기존) Select2 OBJID 정확매칭 → 주석처리 (structurePopupRight.jsp 방식으로 변경: LIKE 포함검색 사용)
|
||||
<if test="SEARCH_PART_OBJID != null and SEARCH_PART_OBJID != ''">
|
||||
AND T.OBJID = #{SEARCH_PART_OBJID}
|
||||
</if>
|
||||
-->
|
||||
<if test="SEARCH_PART_NAME != null and SEARCH_PART_NAME != ''">
|
||||
AND UPPER(T.PART_NAME) LIKE UPPER('%${SEARCH_PART_NAME}%')
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user