123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:ex="http://www.comsquare.co.kr/xforms/excel" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:ms="urn:schemas-microsoft-com:xslt" xmlns:my="http://www.comsquare.co.kr/example" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:cs="http://www.comsquare.co.kr/xforms">
- <xhtml:head>
- <xhtml:title>장기재고현황(약국)</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <longtermnodelivelist/>
- </main>
- <send>
- <instcd/>
- <goodflag/>
- <lrgcd/>
- <instcdnm/>
- <delivefrdd/>
- <delivetodd/>
- <mngtcls/>
- </send>
- <init>
- </init>
- <temp/>
- </root>
- </instance>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- //화면 Control을 초기화한다
- fInitialize();
- ]]>
- </script>
- <submission id="TRRST02901" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/longtermnodelivelist"/>
- </model>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
- <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript">
- <![CDATA[
-
- // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
- function fInitialize()
- {
- misfGridInit(grd_longtermnodelivelist);
- misfComboComCdList("030M0003",cmb_mngtcls);
- model.setValue("/root/send/mngtcls",model.getValue("/root/init/cmb_mngtcls/comcodelist/cdid[1]"));
- misfMsterDetailSet(grd_longtermnodelivelist, null, "TRRST02901", "N");
- model.setValue(opt_instcd.attribute("ref") , getUserInfo("dutplceinstcd"));
- model.setValue(opt_instcdnm.attribute("ref") , getUserInfo("dutplceinstnm"));
- // [2010.08.26]AS-IS 코드 TO_BE 코드 전환을 위한 물품구분 변경 (goodflag= P) => (goodflag= PH)
- model.setValue(opt_goodflag.attribute("ref"), "PH");
-
- // 현재 날짜 기본 입력(6개월 간격 설정)
- var reqdate = getCurrentDate().toDate("YYYYMMDD");
- model.setValue(ipt_delivefrdd.attribute("ref"), reqdate.getAddDate(-3, "M").getDateFormat("YYYYMMDD") );
- model.setValue(ipt_delivetodd.attribute("ref"), getCurrentDate());
-
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
- <group id="grp_tle" style="left:0px; top:0px; width:1195px; height:13px; ">
- <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">장기재고현황(약국)</caption>
- </group>
- <group id="grp_biz" scroll="auto" style="left:0px; top:38; width:1195; height:744; ">
- <shape id="roundrect1" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:10px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
- <line id="line1" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
- <datagrid id="grd_longtermnodelivelist" nodeset="/root/main/longtermnodelivelist" caption="약품^약품^규격^단가^포장단위^낱개단위^환산수량^재고수량^재고금액^마지막 출고일자" colsep="^" colwidth="125, 241, 121, 88, 65, 65, 79, 71, 102, 110" dataheight="25" ellipsis="true" explorerbar="sortshow" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:75px; width:1195px; height:658px; ">
- <col ref="goodcd" _key="true" style="left:161px; top:25px; width:115px; height:25px; text-align:left; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:center; "/>
- <col disabled="true" ref="goodunitcost" format="#,###.##" style="text-align:right; "/>
- <col ref="purcunit" style="text-align:center; "/>
- <col ref="deliveunit" style="text-align:center; "/>
- <col ref="exchqty" format="#,###.##" style="text-align:right; "/>
- <col ref="stocqty" format="#,###.##" style="text-align:right; "/>
- <col ref="stocamt" format="#,###.##" style="text-align:right; "/>
- <col ref="lastdelivedd" format="yyyy-mm-dd" style="text-align:center; "/>
- <script type="javascript" ev:event="onaftersort">
- <![CDATA[
- grd_longtermnodelivelist.gridToInstance();
- ]]>
- </script>
- </datagrid>
- <output id="opt_goodflag" ref="/root/send/goodflag" class="output_fix" visibility="hidden" appearance="minimal" style="left:1050px; top:15px; width:27px; height:19px; "/>
- <caption id="caption3" class="tit_2" style="left:5px; top:55px; width:183px; height:13px; ">장기재고현황(약국) List</caption>
- <button id="btn_search" class="btn1_letter2" style="left:1125px; top:16px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- misfGridInit(grd_longtermnodelivelist);
- if(!isRequiredControls("opt_instcd") )return false; // 물품구분
- if(!isRequiredControls("opt_goodflag") )return false; // 물품구분
- if(!isRequiredControls("ipt_delivefrdd") )return false; // 작업년월
- if(!isRequiredControls("ipt_delivetodd") )return false; // 작업년월
- if(!isRequiredControls("cmb_lrgcd") )return false; // 대분류
-
- submit("TRRST02901");
-
- model.refresh();
- ]]>
- </script>
- </button>
- <line id="line13" class="line_4" style="x1:1110px; y1:15px; x2:1110px; y2:37px; "/>
- <caption id="cap_instcd" class="search_name" style="left:15; top:19; width:86px; height:17px; ">기관코드 :</caption>
- <caption id="cap_orginspym" class="search_name" style="left:326px; top:19px; width:130px; height:17px; ">미출고 조회일자 :</caption>
- <output id="opt_instcdnm" ref="/root/send/instcdnm" class="output_fix" style="left:100px; top:18px; width:150px; height:19px; text-align:center; "/>
- <output id="opt_instcd" ref="/root/send/instcd" class="output_fix" visibility="hidden" style="left:1030px; top:15px; width:20px; height:19px; "/>
- <input id="ipt_delivefrdd" ref="/root/send/delivefrdd" class="input_s_essential" inputtype="date" style="left:460px; top:18px; width:120px; height:19px; text-align:center; "/>
- <input id="ipt_delivetodd" ref="/root/send/delivetodd" class="input_s_essential" inputtype="date" style="left:602px; top:18px; width:120px; height:19px; text-align:center; "/>
- <caption id="caption16" style="left:585px; top:16px; width:17px; height:20px; vertical-align:middle; ">~</caption>
- <select1 id="cmb_mngtcls" ref="/root/send/mngtcls" class="combo_s_essential" appearance="minimal" style="left:865px; top:18px; width:150px; height:19px; ">
- <choices>
- <itemset>
- <label/>
- <value/>
- </itemset>
- </choices>
- </select1>
- <caption id="caption2" class="search_name" style="left:780px; top:19px; width:88px; height:17px; ">관리분류 :</caption>
- </group>
- <group id="group1" style="left:0px; top:12; width:1195px; height:27px; ">
- <button id="btn_print" class="btn6_letter5" style="left:0px; top:3px; width:92px; height:22px; ">
- <caption>리스트출력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- exeReportPreview("RPRST02901", "XMLSTR");
- ]]>
- </script>
- </button>
- <button id="btn_init" class="btn4_letter3" style="left:1127px; top:3px; width:68px; height:22px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fInitialize();
- ]]>
- </script>
- </button>
- <line id="line17" class="line_6" style="x1:0px; y1:25px; x2:1195px; y2:25px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|