fix(WEB): 자재투입 모달 UX 개선 - 선택 유지/중복투입 차단/버튼 UI

- 자재 투입 후 전체 새로고침 제거, 로컬 오버라이드로 현재 수주 선택 유지
- 자동선택 useEffect에 현재 선택 유효 가드 추가
- API remainingRequiredQty 활용하여 이미 충족된 품목 추가 선택 차단
- 기투입 수량 표시 및 '투입 완료' 뱃지 표시
- 체크박스 → 버튼 형태(선택/선택됨)로 변경
- 수량 소수점 불필요 자릿수 제거 (parseFloat 래핑)
This commit is contained in:
2026-02-12 20:07:31 +09:00
parent cbb38d48b9
commit 14af77ca65
7 changed files with 770 additions and 181 deletions

View File

@@ -374,7 +374,7 @@ export const TemplateInspectionContent = forwardRef<InspectionContentRef, Templa
const key = `${rowIdx}-${col.id}`;
const cell = cellValues[key];
const mType = sectionItem.measurement_type || sectionItem.measurementType || '';
const mType = sectionItem.measurement_type || '';
if (col.column_type === 'complex' && col.sub_labels) {
// 복합 컬럼: sub_label 유형별 처리