123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216 |
- <?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="">
- <main>
- <list01/>
- <list02>
- <hngnminfo>
- <hngnm/>
- </hngnminfo>
- </list02>
- </main>
- <send>
- <send_totabdrgst>
- <judgdg/>
- <clamno/>
- <acptno/>
- <obtappflag/>
- <adjtresncd/>
- <edicd/>
- <abdresncd/>
- <abdresnmemo/>
- </send_totabdrgst>
- <send_hngnm>
- <edicd/>
- </send_hngnm>
- </send>
- <init>
- <P0277list>
- <P0277>
- <cdid/>
- <cdnm/>
- </P0277>
- </P0277list>
- <P0265list>
- <P0265>
- <cdid/>
- <cdnm/>
- </P0265>
- </P0265list>
- </init>
- <init2>
- <abdresnlist>
- <abdmlist>
- <nm/>
- <cd/>
- </abdmlist>
- </abdresnlist>
- </init2>
- <hidden>
- <sppiz00700>
- <cond>
- <judgrid/>
- <memoflag/>
- <memocls/>
- <ediitem1/>
- </cond>
- <rslt>
- <memocd/>
- <memo/>
- </rslt>
- </sppiz00700>
- </hidden>
- </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/basiccodeweb/js/ZBC001.js"/>
- <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
- <submission id="TXPIR30230" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_totabdrgst"/>
- <submission id="TRPIR30232" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/send_totabdrgst" resultref="/root/main/list02"/>
- <submission id="TRPIR30403" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/init2/abdresnlist"/>
- </model>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
- CommCode_Load();
- ]]>
- </script>
- <script type="javascript">
- <![CDATA[
- // 공통코드 Load작업
- function CommCode_Load() {
- // 관련 Control 초기화
- zbcfGetCodeList(new Array("P0277","P0265"), new Array("/root/init/P0277list", "/root/init/P0265list"));
- model.refresh();
-
- //부제기코드 초기화
- submit("TRPIR30403");
-
- // Control 초기화
- ipt_edicd.value = '-';
- }
-
- function fGetJudgEdiComment(memoflag, memocls) {
- model.resetInstanceNode("/root/hidden/sppiz00700/rslt");
- model.resetInstanceNode("/root/hidden/sppiz00700/cond");
- model.setValue("/root/hidden/sppiz00700/cond/memoflag", memoflag);
- model.setValue("/root/hidden/sppiz00700/cond/memocls", memocls);
- modal("SPPIZ00700" ,"", "10", "10", "SPPIZ00700", "/root/hidden/sppiz00700", "/root/send/sppiz00700", "", "");
- }
-
- //부제기 신청
- function fSetAbdMemoRefresh(){
- var memo = model.getValue("/root/hidden/sppiz00700/rslt/memo");
-
- model.setValue("/root/send/send_totabdrgst/abdresnmemo",memo);
-
- model.refresh();
- }
- ]]>
- </script>
- </xhtml:head>
- <xhtml:body pagewidth="560" pageheight="300">
- <group id="group1" scroll="auto" style="left:22px; top:230px; width:518px; height:27px; ">
- <button id="btn_cancel" class="btn4_letter2" style="left:461px; top:3px; width:56px; height:22px; ">
- <caption>닫기</caption>
- <close ev:event="DOMActivate"/>
- </button>
- <line id="line88" class="line_6" style="x1:0px; y1:0px; x2:518px; y2:0px; "/>
- <button id="button2" class="btn4_letter2" style="left:404px; top:3px; width:56px; height:22px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- if (model.getValue("/root/send/send_totabdrgst/adjtresncd") == "") {
- messageBox("조정사유는 필수선택 사항", "E008");
- return;
- }
- if (model.getValue("/root/send/send_totabdrgst/edicd") == "") {
- messageBox("EDI코드는 필수입력 사항", "E008");
- return;
- }
- if (model.getValue("/root/send/send_totabdrgst/abdresncd") == "") {
- messageBox("부제기구분은 필수선택 사항", "E008");
- return;
- }
-
- if (messageBox("일괄 부제기사유를", "Q002") != "6") return;
-
- if (submit("TXPIR30230")) {
- messageBox("저장", "I002");
- window.close();
- }
-
- ]]>
- </script>
- </button>
- </group>
- <group id="group3" scroll="auto" style="left:22px; top:10px; width:518px; height:220px; ">
- <line id="line1" class="line_1" style="x1:0px; y1:20px; x2:517px; y2:20px; "/>
- <caption id="caption1" class="tit_2" style="left:5px; top:6px; width:173px; height:14px; ">일괄 부제기 사유</caption>
- <caption id="caption31" class="cell_1" style="left:0px; top:72px; width:85px; height:23px; ">부제기구분</caption>
- <select1 id="combo2" ref="/root/send/send_totabdrgst/abdresncd" class="combo_default" appearance="minimal" style="left:88px; top:73px; width:427px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init2/abdresnlist/abdmlist">
- <label ref="nm"/>
- <value ref="cd"/>
- </itemset>
- </choices>
- </select1>
- <line id="line3" class="line_3" style="x1:0px; y1:94px; x2:518px; y2:94px; "/>
- <caption id="caption2" class="cell_1" style="left:0px; top:24px; width:85px; height:23px; ">조정사유</caption>
- <select1 id="combo1" ref="/root/send/send_totabdrgst/adjtresncd" class="combo_search" appearance="minimal" showvalue="true" style="left:88px; top:25px; width:427px; height:19px; ">
- <choices>
- <itemset nodeset="/root/init/P0277list/P0277">
- <label ref="cdnm"/>
- <value ref="cdid"/>
- </itemset>
- </choices>
- </select1>
- <line id="line2" class="line_3" style="x1:0px; y1:46px; x2:518px; y2:46px; "/>
- <input id="ipt_edicd" ref="/root/send/send_totabdrgst/edicd" class="input_default" imemode="disabled" _chartype="upper" style="left:88px; top:49px; width:73px; height:19px; ">
- <script type="javascript" ev:event="onkeyup">
- <![CDATA[
- inputEnterKey("button108", "DOMActivate");
- ]]>
- </script>
- </input>
- <caption id="caption3" class="cell_1" style="left:0px; top:48px; width:85px; height:23px; ">EDI코드</caption>
- <line id="line4" class="line_3" style="x1:0px; y1:70px; x2:518px; y2:70px; "/>
- <textarea id="textarea1" ref="/root/send/send_totabdrgst/abdresnmemo" style="left:0px; top:97px; width:518px; height:120px; "/>
- <output id="output8" ref="/root/main/list02/hngnminfo/hngnm" class="output_default" style="left:164px; top:49px; width:351px; height:19px; "/>
- </group>
- <button id="button108" class="btn2_letter13" visibility="hidden" style="left:37px; top:265px; width:163px; height:19px; ">
- <caption>[Input] 처방명칭 가져오기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // 처방명칭 가져오기
- var s_edicd = ipt_edicd.value;
- var s_adjtresncd = combo1.value;
-
- //model.setValue("/root/send/send_hngnm/edicd", s_edicd);
- model.setValue("/root/send/send_totabdrgst/edicd", s_edicd);
- model.setValue("/root/send/send_totabdrgst/adjtresncd", s_adjtresncd);
-
- submit("TRPIR30232");
-
- output8.refresh();
- ]]>
- </script>
- </button>
- <button id="button4" class="btn2_letter6" _auth="X" style="left:453px; top:260px; width:86px; height:19px; ">
- <caption>부제기신청</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- // SPPIZ00700_심사Comment조회.xrw 호출
- fGetJudgEdiComment("8", "");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|