feat(proxy-input): 부적합 대분류/소분류 선택 추가

- 부적합 시간 > 0 → 대분류/소분류 드롭다운 표시
- issue_report_categories (nonconformity) + issue_report_items 연동
- 저장 시 work_report_defects에 category_id, item_id 포함

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hyungi Ahn
2026-03-31 15:16:56 +09:00
parent c71286b52b
commit b855ac973a
3 changed files with 59 additions and 3 deletions

View File

@@ -80,7 +80,17 @@
</div>
<div class="pi-edit-row">
<label class="pi-field"><span>시간</span><input type="number" id="bulkHours" value="8" step="0.5" min="0" max="24" class="pi-input"></label>
<label class="pi-field"><span>부적합</span><input type="number" id="bulkDefect" value="0" step="0.5" min="0" max="24" class="pi-input"></label>
<label class="pi-field"><span>부적합 시간</span><input type="number" id="bulkDefect" value="0" step="0.5" min="0" max="24" class="pi-input" onchange="onDefectChange()"></label>
</div>
<div id="defectCategoryRow" class="hidden">
<div class="pi-edit-row">
<select id="bulkDefectCategory" class="pi-select" onchange="onDefectCategoryChange()">
<option value="">부적합 대분류 *</option>
</select>
<select id="bulkDefectItem" class="pi-select">
<option value="">소분류 *</option>
</select>
</div>
</div>
<input type="text" id="bulkNote" placeholder="비고 (선택)" class="pi-note-input">
</div>