feat: 의약품 마스터 DB 연동 및 한약재/OTC 구분 체계 구축
- herb_items 테이블에 product_type, standard_code 컬럼 추가 - POST /api/purchase-receipts/from-cart API 구현 (표준코드 기반 입고) - 5개 API에 product_type/standard_code 필드 추가 - 프론트엔드 전역 구분 표시: 한약재/OTC 배지, 보험코드/표준코드 구분 - 경방신약 주문 매핑 문서 작성 (38건, 총액 1,561,800원) - DB 스키마 백업 추가 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -127,6 +127,11 @@
|
||||
<i class="bi bi-book"></i> 약재 정보
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" href="#" data-page="medicine-master">
|
||||
<i class="bi bi-capsule"></i> 의약품 마스터
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -915,8 +920,9 @@
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>보험코드</th>
|
||||
<th>약재명</th>
|
||||
<th>구분</th>
|
||||
<th>코드</th>
|
||||
<th>품목명</th>
|
||||
<th>현재 재고(g)</th>
|
||||
<th>로트 수</th>
|
||||
<th>평균 단가</th>
|
||||
@@ -1154,8 +1160,8 @@
|
||||
<table class="table table-sm table-bordered">
|
||||
<thead class="table-light">
|
||||
<tr>
|
||||
<th>약재명</th>
|
||||
<th>보험코드</th>
|
||||
<th>품목명</th>
|
||||
<th>코드</th>
|
||||
<th>원산지</th>
|
||||
<th>로트ID</th>
|
||||
<th>보정 전</th>
|
||||
@@ -1479,6 +1485,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Medicine Master Page -->
|
||||
{% include 'medicine_master.html' %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -2107,6 +2117,7 @@
|
||||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="/static/app.js?v=20260217"></script>
|
||||
<script src="/static/medicine_master.js?v=20260219"></script>
|
||||
<!-- 재고 자산 계산 설정 모달 -->
|
||||
<div class="modal fade" id="inventorySettingsModal" tabindex="-1" aria-labelledby="inventorySettingsModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog">
|
||||
|
||||
Reference in New Issue
Block a user