123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" 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">
- <xhtml:head>
- <xhtml:title>가납물품업체전송</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <init>
- <oproomlist>
- <oproomcd/>
- <oproomnm/>
- </oproomlist>
- <lrglist>
- <lrgcd/>
- <lrgnm/>
- </lrglist>
- <mdllist>
- <mdlcd/>
- <mdlnm/>
- </mdllist>
- <smllist>
- <smlcd/>
- <smlnm/>
- </smllist>
- <ComboLists>
- <deptlist/>
- </ComboLists>
- <drlist>
- <drid/>
- <drnm/>
- </drlist>
- <custlist>
- <custnm/>
- <chargenm/>
- <chargetel/>
- <custcd/>
- <recvtel/>
- </custlist>
- </init>
- <main>
- <cond>
- <opcnfmfrdd/>
- <opcnfmtodd/>
- <oproomcd/>
- <sendflag>N</sendflag>
- <lrgcd/>
- <mdlcd/>
- <smlcd/>
- <refdeptflag>O</refdeptflag>
- <orddept/>
- <tabflag>CCR</tabflag>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <oprosette/>
- <refflag/>
- <refnm/>
- <prodcmpynm/>
- <pid/>
- <perfdrid/>
- <tabflag>CCR</tabflag>
- <searchflag>E</searchflag>
- <memo/>
- </cond>
- <mnphccolinfo>
- <mnphccollist>
- <sendflagnm/>
- <oproomnm/>
- <perfdeptabbr/>
- <sa/>
- <patnm/>
- <disppid/>
- <custnm/>
- <edicd/>
- <goodcd/>
- <allsizespecid/>
- <goodnm/>
- <goodspec/>
- <goodmodel/>
- <prodcmpynm/>
- <prcpqty/>
- <prcpnm/>
- <prcptm/>
- <resnnm/>
- <chkflag/>
- <sendnm/>
- <sendtm/>
- <memo/>
- <oproomcd/>
- <oprsrvno/>
- <ordseq/>
- <cartgubn/>
- <perfidnm/>
- <sendtel/>
- <prcpunit/>
- <pid/>
- <sendmail/>
- <recvmail/>
- </mnphccollist>
- </mnphccolinfo>
- </main>
- <send>
- <reqdata/>
- <savedata/>
- <sumdata/>
- <senddata/>
- </send>
- <hidden/>
- <temp>
- <report/>
- </temp>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
- <script type="javascript" src="../../../emr/opanstweb/js/SMMNP05500.js"/>
- <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
- <script type="javascript" src="../../../emr/carecomweb/js/CareCom.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- fInit();
- ]]>
- </script>
- <submission id="TRMNP03905" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init"/>
- <submission id="TRMNP05501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/main/mnphccolinfo"/>
- <submission id="TXMNP05502" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/mnphccolinfo"/>
- <submission id="TXMNP05501" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
- <submission id="TRMNP04404" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/lrglist"/>
- <submission id="TRMNP04405" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/mdllist"/>
- <submission id="TRMNP04406" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/smllist"/>
- <submission id="TRMNP00102" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/DeptLists"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TRMNP00107" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/ComboLists"/>
- <submission id="TRMNP03004" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/rosettelist"/>
- <submission id="TRMNP03002" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init/oproomlist"/>
- <submission id="TRMNP00101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/reqdata" resultref="/root/init/drlist"/>
- <submission id="TRMNP05502" mediatype="application/x-www-form-urlencoded" method="post" resultref="/root/init/custlist"/>
- </model>
- </xhtml:head>
- <xhtml:body guideline="2,752;" 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:248px; height:14px; ">가납물품업체전송</caption>
- </group>
- <group id="group1" scroll="auto" style="left:0px; top:18px; width:1195px; height:734px; ">
- <line id="line4" class="line_1" style="x1:0px; y1:115px; x2:1195px; y2:115px; "/>
- <datagrid id="grd_mnphccollist" nodeset="/root/main/mnphccolinfo/mnphccollist" class="datagrid2" caption="전송
여부^방^과^S/A^환자명^등록번호^거래처^EDI^물품코드^SUB^물품명^규격^모델^제조원^수량^처방^처방일시^번경사유^^전송자^전송일시^비고" colsep="^" colwidth="43, 33, 40, 40, 55, 65, 80, 65, 68, 33, 110, 85, 75, 75, 35, 55, 100, 60, 30, 55, 100, 80, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:120px; width:1195px; height:610px; ">
- <col ref="sendflagnm" style="text-align:center; "/>
- <col ref="oproomnm" style="text-align:center; "/>
- <col ref="perfdeptabbr" style="text-align:center; "/>
- <col ref="sa" style="text-align:center; "/>
- <col ref="patnm" style="text-align:center; "/>
- <col ref="disppid" style="text-align:center; "/>
- <col ref="custnm" style="text-align:left; "/>
- <col ref="edicd" style="text-align:center; "/>
- <col ref="goodcd" style="text-align:center; "/>
- <col ref="allsizespecid" style="text-align:center; "/>
- <col ref="goodnm" style="text-align:left; "/>
- <col ref="goodspec" style="text-align:left; "/>
- <col ref="goodmodel" style="text-align:left; "/>
- <col ref="prodcmpynm" style="text-align:left; "/>
- <col ref="prcpqty" style="text-align:center; "/>
- <col ref="prcpnm" style="text-align:center; "/>
- <col ref="prcptm" style="text-align:center; "/>
- <col ref="resnnm" style="text-align:left; "/>
- <col ref="chkflag" type="checkbox" style="text-align:center; "/>
- <col ref="sendnm" style="text-align:center; "/>
- <col ref="sendtm" style="text-align:left; "/>
- <col ref="memo"/>
- <col ref="oproomcd"/>
- <col ref="oprsrvno"/>
- <col ref="ordseq"/>
- <col ref="cartgubn"/>
- <col ref="perfidnm"/>
- <col ref="sendtel"/>
- <col ref="prcpunit"/>
- <col ref="pid"/>
- <col ref="sendmail"/>
- <col ref="recvmail"/>
- </datagrid>
- <caption id="caption12" class="tit_2" style="left:7px; top:100px; width:82px; height:13px; ">전송내역</caption>
- <group id="group3" style="left:0px; top:5px; width:1194px; height:80px; vertical-align:top; ">
- <shape id="roundrect3" class="roundrect_search" appearance="roundrect" style="left:0px; top:0px; width:1194px; height:80px; background-color:#fffbf2; border-color:#ffd799; "/>
- <caption id="caption9" class="search_name" style="left:5px; top:7px; width:86px; height:17px; ">수술일자</caption>
- <caption id="caption10" class="search_n_b" style="left:191px; top:9px; width:12px; height:17px; font-weight:bolder; ">~</caption>
- <input id="ipt_opcnfmfrdd" ref="/root/main/cond/opcnfmfrdd" class="input_s_essential" inputtype="date" style="left:95px; top:7px; width:92px; height:19px; "/>
- <input id="ipt_opcnfmtodd" ref="/root/main/cond/opcnfmtodd" class="input_s_essential" inputtype="date" style="left:207px; top:7px; width:92px; height:19px; "/>
- <button id="btn_search" class="btn1_letter2" style="left:1085px; top:45px; width:56px; height:22px; ">
- <caption>조회</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fList_Read(true);
- ]]>
- </script>
- </button>
- <line id="line9" class="line_4" style="x1:1075px; y1:43px; x2:1075px; y2:68px; "/>
- <caption id="caption36" class="search_name" style="left:315px; top:7px; width:88px; height:17px; ">수 술 방</caption>
- <caption id="caption1" class="search_name" style="left:6px; top:31px; width:86px; height:17px; ">전송여부</caption>
- <select1 id="rdo_uedtflag" ref="/root/main/cond/sendflag" overflow="visible" appearance="full" cols="4" style="left:95px; top:30px; width:200px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>전체</label>
- <value/>
- </item>
- <item>
- <label>전송</label>
- <value>S</value>
- </item>
- <item>
- <label>미전송</label>
- <value>N</value>
- </item>
- <item>
- <label>재전송</label>
- <value>R</value>
- </item>
- </choices>
- </select1>
- <caption id="caption4" class="search_name" style="left:535px; top:7px; width:125px; height:17px; ">집도과/집도의</caption>
- <caption id="caption5" class="search_name" style="left:825px; top:7px; width:99px; height:17px; ">부서구분</caption>
- <caption id="caption7" class="search_name" style="left:6px; top:56px; width:88px; height:17px; ">물품구분</caption>
- <select1 id="cmb_lrg" ref="/root/main/cond/lrgcd" appearance="minimal" style="left:95px; top:56px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/lrglist">
- <label ref="lrgnm"/>
- <value ref="lrgcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/init/mdllist");
- model.removenode("/root/send");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP04405");
-
- //var nodeCnt = getNodesetCount("/root/init/mdllist");
- //if( nodeCnt > 0 ) {
- //addComboItem("cmb_mdl", "전 체", "", "above" );
- //}
- //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_mdl" ref="/root/main/cond/mdlcd" appearance="minimal" style="left:165px; top:56px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/mdllist">
- <label ref="mdlnm"/>
- <value ref="mdlcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.resetInstanceNode("/root/init/smllist");
- model.removenode("/root/send");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP04406");
-
- //var nodeCnt = getNodesetCount("/root/init/smllist");
- //if( nodeCnt > 0 ) {
- // addComboItem("cmb_sml", "전 체", "", "above" );
- //}
- //model.refresh();
- ]]>
- </script>
- </select1>
- <select1 id="cmb_perfdeptlist" ref="/root/main/cond/orddept" class="combo_search" appearance="minimal" style="left:650px; top:5px; width:80px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/ComboLists/deptlist">
- <label ref="depthngnm"/>
- <value ref="deptcd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- if( model.getValue("/root/main/cond/orddept") == "" ) {
- model.resetInstanceNode("/root/init/drlist");
- model.refresh();
- }else {
- model.removenode("/root/send");
- model.makeNode("/root/send/reqdata");
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP00101");
- addComboItem("cmb_drlist", "전 체", "", "above" );
- }
- ]]>
- </script>
- </select1>
- <caption id="caption62" class="search_name" style="left:315px; top:31px; width:86px; height:17px; ">조회구분</caption>
- <input id="ipt_goodnm2" ref="/root/main/cond/refnm" class="input_search" style="left:594px; top:31px; width:162px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <select1 id="cmb_oproomcd" ref="/root/main/cond/oproomcd" appearance="minimal" style="left:460px; top:5px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/oproomlist">
- <label ref="oproomnm"/>
- <value ref="oproomcd"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb_rosette" ref="/root/main/cond/oprosette" class="combo_default" appearance="minimal" style="left:400px; top:5px; width:55px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/rosettelist">
- <label ref="rosettenm"/>
- <value ref="rosettecd"/>
- </itemset>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.removenode("/root/send");
- model.makeNode("/root/send");
- model.makeValue("/root/send/opcnfmdd" ,getCurrentDate().substr(0, 8) );
- model.makeValue("/root/send/rosette" ,model.getValue("/root/main/cond/oprosette"));
- if(submit("TRMNP03002")){ // 수술실코드 가져오기
- addComboItem("cmb_oproomcd","전체","","above");
- }
- ]]>
- </script>
- </select1>
- <select1 id="combo2" ref="/root/main/cond/refdeptflag" appearance="minimal" style="left:910px; top:5px; width:60px; height:19px; ">
- <choices>
- <item>
- <label>수술</label>
- <value>O</value>
- </item>
- <item>
- <label>마취</label>
- <value>A</value>
- </item>
- <item>
- <label>회복</label>
- <value>R</value>
- </item>
- <item>
- <label>안과</label>
- <value>E</value>
- </item>
- </choices>
- </select1>
- <select1 id="radio3" ref="/root/main/cond/refflag" overflow="visible" appearance="full" cols="3" style="left:400px; top:31px; width:190px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>물품코드</label>
- <value>1</value>
- </item>
- <item>
- <label>물품명</label>
- <value>2</value>
- </item>
- <item>
- <label>EDI코드</label>
- <value>3</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("ipt_refnm");
- ]]>
- </script>
- </select1>
- <button id="button2" class="btn2_letter3" style="left:700px; top:56px; width:53px; height:19px; ">
- <caption>초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- model.setValue("/root/main/cond/goodcd", "");
- model.setValue("/root/main/cond/goodnm", "");
- model.setValue("/root/main/cond/allsizespecid", "");
- model.setValue("/root/main/cond/variable", "");
- model.refresh();
- ]]>
- </script>
- </button>
- <input id="ipt_goodnm" ref="/root/main/cond/goodnm" class="input_search" style="left:510px; top:56px; width:185px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <input id="ipt_goodcd" ref="/root/main/cond/goodcd" class="input_search" style="left:400px; top:56px; width:85px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_search", "DOMActivate");
- ]]>
- </script>
- </input>
- <button id="btn_goodsearch" class="icon_search" style="left:490px; top:57px; width:16px; height:16px; ">
- <caption/>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- setParameter("goodflag", model.getValue("/root/main/cond/goodflag"));
- setParameter("menuparam", "T");
- setParameter("cartgubn", model.getValue("/root/main/cond/refdeptflag"));
- setParameter("tabflag", "CCR");
- open("SMMNP04460" ,"", "100", "100", "SMMNP04460", "/root/temp/openflag", "/root/main/cond/openflag");
-
- ]]>
- </script>
- </button>
- <caption id="caption29" class="search_name" style="left:315px; top:56px; width:94px; height:17px; ">물품코드</caption>
- <input id="ipt_prodcmpynm" ref="/root/main/cond/prodcmpynm" class="input_search" style="left:910px; top:31px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_prodcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption28" class="search_name" style="left:825px; top:31px; width:83px; height:17px; ">거 래 처</caption>
- <select1 id="cmb_drlist" ref="/root/main/cond/perfdrid" class="combo_search" appearance="minimal" style="left:735px; top:5px; width:70px; height:19px; text-align:left; ">
- <choices>
- <itemset nodeset="/root/init/drlist">
- <label ref="drnm"/>
- <value ref="drid"/>
- </itemset>
- </choices>
- </select1>
- <select1 id="cmb)sml" ref="/root/main/cond/smlcd" appearance="minimal" style="left:235px; top:56px; width:65px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/smllist">
- <label ref="smlnm"/>
- <value ref="smlcd"/>
- </itemset>
- </choices>
- </select1>
- <input id="input1" ref="/root/main/cond/pid" class="input_search" style="left:910px; top:56px; width:95px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("btn_prodcmpy", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption2" class="search_name" style="left:825px; top:56px; width:83px; height:17px; ">등록번호</caption>
- <caption id="caption3" class="search_name" style="left:1005px; top:5px; width:90px; height:17px; ">집계구분</caption>
- <select1 id="radio1" ref="/root/main/cond/searchflag" overflow="visible" appearance="full" cols="2" style="left:1090px; top:5px; width:95px; height:20px; border-style:none; ">
- <choices>
- <item>
- <label>개별</label>
- <value>E</value>
- </item>
- <item>
- <label>일괄</label>
- <value>B</value>
- </item>
- </choices>
- <script type="javascript" ev:event="xforms-value-changed">
- <![CDATA[
- model.setFocus("ipt_refnm");
- ]]>
- </script>
- </select1>
- </group>
- <button id="button3" class="btn2_letter2" style="left:1034px; top:94px; width:42px; height:19px; ">
- <caption>출력</caption>
- </button>
- <button id="button4" class="btn2_letter3" style="left:976px; top:94px; width:53px; height:19px; ">
- <caption>Excel</caption>
- </button>
- <button id="button8" class="btn5_letter2" style="left:1149px; top:94px; width:42px; height:19px; ">
- <caption>전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- fSave("C");
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter4" style="left:1081px; top:94px; width:64px; height:19px; ">
- <caption>SMS전송</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if( getNodesetCount("/root/init/custlist") < 1 ) {
- messageBox("등록된 거래처가 없습니다.!", "E000");
- return;
- }
- if( group2.visible ) {
- group2.visible = "false";
- }else {
- group2.visible = "true";
- }
- //group2.visible = "true";
-
-
- ]]>
- </script>
- </button>
- <group id="group2" visibility="hidden" style="left:848px; top:120px; width:345px; height:275px; ">
- <datagrid id="grd_custlist" nodeset="/root/init/custlist" class="datagrid2" caption="거래처^담당자^담당자전화번호^거래처코드^회신번호" colsep="^" colwidth="100, 70, 130, 0, 0" extendlastcol="scroll" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" style="left:0px; top:0px; width:345px; height:275px; ">
- <col ref="custnm" style="text-align:center; "/>
- <col ref="chargenm" style="text-align:center; "/>
- <col ref="chargetel" style="text-align:center; "/>
- <col ref="custcd" visibility="hidden"/>
- <col ref="recvtel" visibility="hidden"/>
- <script type="javascript" ev:event="ondblclick">
- <![CDATA[
- fSendSMS();
- ]]>
- </script>
- </datagrid>
- </group>
- <caption id="caption8" style="left:165px; top:95px; width:60px; height:20px; font-family:돋움; font-weight:bold; text-align:center; vertical-align:middle; ">MEMO :</caption>
- <input id="input2" ref="/root/main/cond/memo" style="left:225px; top:94px; width:560px; height:19px; "/>
- </group>
- </xhtml:body>
- </xhtml:html>
|