feat: 견적확정 밸리데이션, 수주등록 개소그룹, 작업지시 개선

- 견적확정 시 업체명/현장명/담당자/연락처 프론트 밸리데이션 추가
- 견적확정 후 수주등록 버튼 동적 전환
- 수주등록 품목 개소별(floor+code) 그룹핑 수정
- 작업지시 상세 quantity 문자열→숫자 변환 (formatQuantity)
- 작업지시 탭 카운트 초기 로딩 시 전체 표시 (by_process 활용)
- 작업지시 상세 개소별/품목별 합산 테이블 추가
- 작업자 화면 API 연동 및 목업 데이터 분리
- 입고관리 완료건 수정, 재고현황 개선
This commit is contained in:
2026-02-07 03:27:23 +09:00
parent b2085a84ca
commit a8591c438e
29 changed files with 3238 additions and 700 deletions

View File

@@ -136,7 +136,7 @@ export function useItemList(): UseItemListResult {
itemType: (item.type_code ?? item.item_type ?? '') as ItemType,
partType: item.part_type as PartType | undefined,
unit: (item.unit ?? '') as string,
specification: (item.specification ?? '') as string,
specification: ((item.details as Record<string, unknown>)?.specification ?? item.specification ?? '') as string,
// is_active가 null/undefined면 deleted_at 기준으로 판단 (삭제 안됐으면 활성)
// deleted_at이 없거나 null이면 활성, 값이 있으면 비활성
isActive: item.is_active != null ? Boolean(item.is_active) : !item.deleted_at,