feat: 환자 처방 내역에서 조제 상세 정보 인라인 펼침 기능 추가

- 환자 처방 내역 모달에서 처방 행 클릭 시 상세 정보 펼침
- 중첩 모달 문제 해결을 위해 인라인 표시 방식으로 변경
- 구성 약재 정보 테이블 표시 (약재명, 보험코드, 첩당용량, 총용량)
- 재고 소비 내역 테이블 표시 (약재명, 원산지, 도매상, 사용량, 단가, 원가)
- 총 원가 자동 계산 및 표시
- chevron 아이콘으로 펼침/접힘 상태 표시
- 다른 행 클릭 시 자동으로 이전 행 닫기

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-02-15 12:54:22 +00:00
parent 83f9f10f3d
commit 041d1d81c4
2 changed files with 137 additions and 15 deletions

View File

@@ -1088,9 +1088,10 @@
<!-- 처방 내역 테이블 -->
<h6><i class="bi bi-list-ul"></i> 처방 내역</h6>
<div class="table-responsive">
<table class="table table-sm table-hover">
<table class="table table-sm">
<thead class="table-dark">
<tr>
<th width="40"></th>
<th width="100">조제일</th>
<th>처방명</th>
<th width="60">제수</th>
@@ -1100,11 +1101,10 @@
<th width="100">판매가</th>
<th width="80">상태</th>
<th width="100">처방전번호</th>
<th width="100">작업</th>
</tr>
</thead>
<tbody id="patientCompoundsList">
<!-- Dynamic content -->
<!-- Dynamic content with collapsible details -->
</tbody>
</table>
</div>