pharmacy-pos-qr-system/backend/bag_page.html
thug0bin c1596a6d35 feat: 도매상 API 통합 및 스키마 업데이트
- wholesale 패키지 연동 (SooinSession, GeoYoungSession)
- Flask Blueprint 분리 (sooin_api.py, geoyoung_api.py)
- order_context 스키마 확장 (wholesaler_id, internal_code 등)
- 수인약품 개별 취소 기능 (cancel_item, restore_item)
- 문서 추가: WHOLESALE_API_INTEGRATION.md
- 테스트 스크립트들
2026-03-06 11:50:46 +09:00

206 lines
8.4 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<link rel="stylesheet" href="http://sooinpharm.co.kr/Common/Css/Reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="http://sooinpharm.co.kr/Common/Css/Bag.css?v=260116" type="text/css" media="screen" />
<link rel="stylesheet" href="http://sooinpharm.co.kr/Common/Css/jquery-ui.css" type="text/css" />
<title>수인약품(주) :: 장바구니</title>
</head>
<body oncontextmenu="return false" >
<input type="hidden" id="domainNm" name="domainNm" value="sooinpharm.co.kr" />
<input type="hidden" id="aggqty" value="N">
<input type='hidden' id='hardcoding' value='sooinpharm'>
<input type='hidden' id='bidding' value=''>
<input type='hidden' id='gumaeKind' value='U'>
<input type="hidden" id="min_order_qty" value=""><!--최소주문수량-->
<input type="hidden" id="BigWideFlag" value="">
<input type="hidden" id="DayOrdAmt" value="0">
<input type='hidden' id='baekjestockcd' value=''>
<div id="msg_order" style="margin: 0px 0 2px 0px;padding: 0px 7px 2px 0;background-position-y: 50%;position:relative;">
<div style="padding-left: 19px;line-height:13px;min-height:37px;display:table;"><span style="display: table-cell;text-align: left;vertical-align: middle;">17시 이후 주문은 다음근무일로 주문됩니다</span></div>
</div>
<h1 id="bag_title">장바구니</h1>
<div id="bag"
style='height:518px;'
>
<form name="frmBag" id="frmBag" method="post" action="./OrderEnd.asp" autocomplete=off>
<fieldset class="info">
<legend>주문관련 버튼 및 메모</legend>
<ul class="btn">
<li><a href="./BagOrder.asp?kind=del&amp;currVenCd=50911&amp;currMkind=&amp;currRealVenCd=" title="장바구니 비우기" id="btn_cancel_order">장바구니 비우기</a></li>
<input type="hidden" name="hostuser" id="hostuser" />
<li><input type="image" src="http://sooinpharm.co.kr/Images/Btn/btn_order_v2.gif" alt="주문전송" title="주문전송" /></li>
<input type='hidden' id='btnState' value='true'>
</ul>
<p class="memo">
<label for="tx_memo" >주문전송 메모</label><input type="text" name="tx_memo" id="tx_memo" maxlength="150" class="setInput_h20" title="메모" value="" />
</p>
<input type="hidden" name="pDate" id="pDate" value=""/>
</fieldset>
<fieldset class="list">
<legend>장바구니</legend>
<table class="bag_list" summary="스크롤링을 위해 고정시킬 테이블 제목">
<caption>장바구니 리스트</caption>
<colgroup>
<col width="30" />
<col width="*" />
<col width="35" />
<col width="77" />
</colgroup>
<thead>
<tr>
<th scope="col" class="title1 first">건별취소</th>
<th scope="col" class="title2">제품명</th>
<th scope="col" class="title3">수량</th>
<th scope="col" class="title4">금액</th>
</tr>
</thead>
</table>
<div id="bag_view"
style='height:375px;'
> <!--닫는 태그-->
<div class="wrap_table" style="height:375px;overflow-y:scroll;overflow-x:hidden;"><!--scroll div-->
<table class="bag_list">
<caption>장바구니 리스트</caption>
<colgroup>
<col width="30" />
<col width="*" />
<col width="35" />
<col width="60" />
</colgroup>
<thead style="display:none;">
<tr>
<th scope="col" class="title1 first">건별취소</th>
<th scope="col" class="title2">제품명</th>
<th scope="col" class="title3">수량</th>
<th scope="col" class="title4">금액</th>
</tr>
</thead>
<tbody>
<tr id="bagLine0">
<td class="first"><input type="checkbox" name="chk_0" id="chk_0" class="chkBox" /></td>
<td class="td_nm" title="(향)스틸녹스정 10mg(병) 100T" ><a href="./PhysicInfo.asp?pc=02719&currVenCd=50911" target="_blank" class="bagPhysic_ln">(향)스틸녹스정 10mg(병)100T</a></td>
<td >
<input type="text" name="bagQty_0" id="bagQty_0" maxlength="10" class="setInput_h18_qty" value="1" data="1"
style="width:25px;"/>
<input type="hidden" name="pc_0" id="pc_0" value="02719" />
<input type="hidden" name="stock_0" id="stock_0" value="50" />
<input type="hidden" name="price_0" value="17300" />
<input type="hidden" name="physic_nm0" value="(향)스틸녹스정 10mg(병)" />
<input type="hidden" name="totalPrice0" id="totalPrice0" value="17300" />
<input type="hidden" name="ordunitqty_0" id="ordunitqty_0" value="0" />
<input type="hidden" name="bidqty_0" id="bidqty_0" value="" />
<input type="hidden" name="outqty_0" id="outqty_0" value="" />
<input type="hidden" name="pg_0" id="pg_0" value="" />
<input type="hidden" name="prodno_0" id="prodno_0" value="" />
<input type="hidden" name="termdt_0" id="termdt_0" value="" />
</td>
<td class="td_num" >
17,300
</td>
</tr>
<tr id="bagLine1">
<td class="first"><input type="checkbox" name="chk_1" id="chk_1" class="chkBox" /></td>
<td class="td_nm" title="(오가논)코자정 50mg(PTP) 30T" ><a href="./PhysicInfo.asp?pc=32495&currVenCd=50911" target="_blank" class="bagPhysic_ln">(오가논)코자정 50mg(PTP)30T</a></td>
<td >
<input type="text" name="bagQty_1" id="bagQty_1" maxlength="10" class="setInput_h18_qty" value="1" data="1"
style="width:25px;"/>
<input type="hidden" name="pc_1" id="pc_1" value="32495" />
<input type="hidden" name="stock_1" id="stock_1" value="234" />
<input type="hidden" name="price_1" value="14220" />
<input type="hidden" name="physic_nm1" value="(오가논)코자정 50mg(PTP)" />
<input type="hidden" name="totalPrice1" id="totalPrice1" value="14220" />
<input type="hidden" name="ordunitqty_1" id="ordunitqty_1" value="0" />
<input type="hidden" name="bidqty_1" id="bidqty_1" value="" />
<input type="hidden" name="outqty_1" id="outqty_1" value="" />
<input type="hidden" name="pg_1" id="pg_1" value="" />
<input type="hidden" name="prodno_1" id="prodno_1" value="" />
<input type="hidden" name="termdt_1" id="termdt_1" value="" />
</td>
<td class="td_num" >
14,220
</td>
</tr>
</tbody>
</table>
</div><!--scroll-->
</div>
</fieldset>
<fieldset class="total_price">
<legend>장바구니 총 금액</legend>
<div class="cntPhysic">
<dl class="orderPhy">
<dt><span>주문품목</span></dt>
<dd class=""><span id="cnt_order">2개</span></dd>
</dl>
<dl class="cancelPhy">
<dt><span>취소품목</span></dt>
<dd class=""><span id="cnt_cancel">0개</span></dd>
</dl>
</div>
<dl class="total">
<dt>주문금액</dt>
<dd id="bag_totPrice" class="" data="31520">
31,520원
</dd>
</dl>
<input type="hidden" name="chkOrderOk" id="chkOrderOk" value="Y" />
<input type="hidden" name="order_min_amt" id="order_min_amt" value="" />
<input type="hidden" name="intArray" id="intArray" value="1" />
<input type="hidden" name="currVenCd" id="currVenCd" value="50911" />
<input type="hidden" name="currMkind" id="currMkind" value="" />
<input type="hidden" name="kind" value="bag_saveall" />
<input type="hidden" name="currLoc" id="currLoc" value="" />
<input type="hidden" name="currRealVenCd" id="currRealVenCd" value="" />
<input type="hidden" name="ven_rotation_check" id="ven_rotation_check" value="N"/>
</fieldset>
</form>
</div><!-- //bag -->
<input type="hidden" name="cookStockFlag_order" id="cookStockFlag_order" value="N" />
<script type="text/javascript" src="http://sooinpharm.co.kr/Common/Javascript/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="http://sooinpharm.co.kr/Common/Javascript/1.8/jquery-ui.min.js"></script>
<script type="text/javascript" src="http://sooinpharm.co.kr/Common/Javascript/Bag.js?v=250228"></script>
<script type="text/javascript" src="http://sooinpharm.co.kr/Common/Javascript/Common.js?v=220125"></script>
</body>
</html>