fix: Select2 이벤트를 change에서 select2:select로 변경하여 같은 값 재선택 시에도 이벤트 발생하도록 수정

- estimateRegistFormPopup.jsp: 품번/품명 셀렉트박스 이벤트 수정
- estimateTemplate1.jsp: 품명 셀렉트박스 이벤트 수정 및 select2:clear 이벤트 추가
- common.js: initPartSelect2Ajax 함수의 품번/품명 이벤트 핸들러 수정
- ContractMgmtController.java: 견적서 신규 작성 시 품목 데이터 로드 주석처리
This commit is contained in:
2025-10-22 17:08:11 +09:00
parent 2fafff5ee5
commit 10c5a67b05
5 changed files with 159 additions and 129 deletions

View File

@@ -1868,11 +1868,11 @@ public class ContractMgmtController {
estimate = contractMgmtService.getEstimateTemplateByObjId(paramMap);
items = contractMgmtService.getEstimateTemplateItemsByTemplateObjId(paramMap);
}
// objId만 있으면 CONTRACT 정보로 견적서 신규 작성
else if(!"".equals(objId) && !"-1".equals(objId)){
estimate = contractMgmtService.getEstimateTemplateInfo(paramMap);
items = contractMgmtService.getEstimateTemplateItems(paramMap);
}
// objId만 있으면 CONTRACT 정보로 견적서 신규 작성
else if(!"".equals(objId) && !"-1".equals(objId)){
estimate = contractMgmtService.getEstimateTemplateInfo(paramMap);
// items = contractMgmtService.getEstimateTemplateItems(paramMap); // 주석처리: 새로 작성 시 빈 템플릿 사용
}
// 고객사 코드맵 추가
String customer_cd = "";