ERP-node/frontend/lib/registry/pop-components/pop-search
SeongHyun Kim 955da6ae87 feat(pop): 일괄 채번 + 모달 distinct 중복 제거 + 선택 해제 기능
장바구니에서 여러 품목을 한꺼번에 입고 확정할 때 동일한 입고번호를
공유하도록 일괄 채번(shareAcrossItems) 기능을 추가하고, 입고 목록
화면에서 모달 검색 시 중복 항목을 제거하는 distinct 옵션과 선택된
필터를 해제하는 X 버튼을 구현한다.
[일괄 채번]
- pop-field 자동생성 설정에 shareAcrossItems 스위치 추가
- 백엔드 data-save / inbound-confirm: shareAcrossItems=true 매핑은
  아이템 루프 전 1회만 allocateCode 호출하여 공유 코드 발급
- PopFieldComponent에서 shareAcrossItems 값을 백엔드로 전달
[모달 distinct]
- ModalSelectConfig에 distinct?: boolean 필드 추가
- 설정 패널 필터 탭 영역에 "중복 제거" 체크박스 배치
- ModalDialog fetchData에서 displayField 기준 Set 필터링
[선택 해제]
- ModalSearchInput: 값 선택 시 > 아이콘 -> X 버튼으로 전환
- X 클릭 시 modalDisplayText + 필터값 초기화 (stopPropagation)
- handleModalClear 콜백 + onModalClear prop 체인 연결
2026-03-06 15:59:40 +09:00
..
PopSearchComponent.tsx feat(pop): 일괄 채번 + 모달 distinct 중복 제거 + 선택 해제 기능 2026-03-06 15:59:40 +09:00
PopSearchConfig.tsx feat(pop): 일괄 채번 + 모달 distinct 중복 제거 + 선택 해제 기능 2026-03-06 15:59:40 +09:00
index.tsx feat(pop): 컴포넌트 연결 단순화 + 상태 변경 규칙 UI 개선 + 조회 키 설정 2026-03-03 15:31:13 +09:00
types.ts feat(pop): 일괄 채번 + 모달 distinct 중복 제거 + 선택 해제 기능 2026-03-06 15:59:40 +09:00