SMRSO00700_진료재료처방집계.xrw 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  3. <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">
  4. <xhtml:head>
  5. <xhtml:title>진료재료처방집계</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <init>
  10. <ioflag>
  11. <label>전체</label>
  12. <value/>
  13. <label>입원</label>
  14. <value>I</value>
  15. <label>외래</label>
  16. <value>O</value>
  17. </ioflag>
  18. </init>
  19. <send>
  20. <iudflag/>
  21. <mainmngtdeptcd/>
  22. <mainmngtdeptnm/>
  23. <prcpdeptcd/>
  24. <prcpdeptnm/>
  25. <fromrgstdd/>
  26. <torgstdd/>
  27. <acptdd/>
  28. <ioflag/>
  29. <pid/>
  30. <goodcd/>
  31. <reqprid/>
  32. <reqflag/>
  33. </send>
  34. </root>
  35. </instance>
  36. <script type="javascript" ev:event="xforms-ready">
  37. <![CDATA[
  38. //화면 Control을 초기화한다
  39. fInitialize();
  40. ]]>
  41. </script>
  42. <submission id="TXRSO00701" ref="/root/send" method="post" mediatype="application/x-www-form-urlencoded" resultref="/root/hidden/temp"/>
  43. </model>
  44. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  45. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  46. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  47. <script type="javascript" src="../../../mis/miscommonweb/js/RSZ001.js"/>
  48. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  49. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  50. <script type="javascript">
  51. <![CDATA[
  52. // 화면 open시와 초기화 버튼 클릭시 화면 초기화 기능을 수행한다.
  53. function fInitialize() {
  54. // 청구 주기 셋팅
  55. misfComboComCdListMulti("R0093","cmb_reqpridflag");
  56. /* 하단 변경 HBH*/
  57. //rszfReqFlagComboComCdList(getUserInfo("userid"),cmb_reqflag);
  58. rszfUserReqFlagList(cmb_reqflag,getUserInfo("dutplceinstcd"),getUserInfo("userid"),"%","B");
  59. model.setValue(ipt_deptcd.attribute("ref") , getUserInfo("dutplcecd"));
  60. model.setValue(ipt_deptnm.attribute("ref") , getUserInfo("dutplcenm"));
  61. rbo_ioflag.selected = 0;
  62. var curdate = getCurrentDate();
  63. var cvtdate = curdate.toDate("YYYYMMDD");
  64. model.setValue(ipt_fromrgstdd.attribute("ref") , cvtdate.getAddDate(-1,"D").getDateFormat("YYYYMMDD"));
  65. model.setValue(ipt_torgstdd.attribute("ref") , cvtdate.getAddDate(0,"D").getDateFormat("YYYYMMDD"));
  66. model.setValue(ipt_acptdd.attribute("ref") ,curdate);
  67. model.refresh();
  68. }
  69. function fCheckSaveData()
  70. {
  71. if(!isRequiredControls("ipt_deptcd"))return false;
  72. if(!isRequiredControls("ipt_fromrgstdd"))return false;
  73. if(!isRequiredControls("ipt_torgstdd"))return false;
  74. if(!isRequiredControls("ipt_acptdd"))return false;
  75. if(!isRequiredControls("cmb_reqflag"))return false;
  76. if(!isRequiredControls("cmb_reqpridflag"))return false;
  77. }
  78. ]]>
  79. </script>
  80. </xhtml:head>
  81. <xhtml:body pagewidth="450" pageheight="200" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="grp_tle" style="left:8px; top:0px; width:395px; height:13px; ">
  83. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:243px; height:14px; ">물품 처방집계</caption>
  84. </group>
  85. <group id="group1" style="left:8px; top:12px; width:395px; height:164px; ">
  86. <caption id="cap_deptcd" class="cell_1" style="left:0px; top:30px; width:108px; height:23px; vertical-align:middle; ">집계부서</caption>
  87. <caption id="caption3" class="cell_1" style="left:0px; top:126px; width:108px; height:23px; vertical-align:middle; ">처방부서</caption>
  88. <caption id="cap_fromrgstdd" class="cell_1" style="left:0px; top:54px; width:108px; height:23px; vertical-align:middle; ">처방기간</caption>
  89. <caption id="cap_ioflag" class="cell_1" style="left:0px; top:102px; width:108px; height:23px; vertical-align:middle; ">집계구분</caption>
  90. <caption id="cap_acptdd" class="cell_1" style="left:0px; top:78px; width:108px; height:23px; vertical-align:middle; ">집계일자</caption>
  91. <line id="line7" class="line_1" style="x1:0px; y1:25px; x2:380px; y2:25px; "/>
  92. <line id="line19" class="line_2" style="x1:0px; y1:52px; x2:380px; y2:52px; "/>
  93. <line id="line1" class="line_3" style="x1:0px; y1:148px; x2:380px; y2:148px; "/>
  94. <line id="line28" class="line_2" style="x1:0px; y1:100px; x2:380px; y2:100px; "/>
  95. <line id="line35" class="line_2" style="x1:0px; y1:124px; x2:380px; y2:124px; "/>
  96. <line id="line23" class="line_2" style="x1:0px; y1:75px; x2:380px; y2:75px; "/>
  97. <select1 id="cmb_reqpridflag" ref="/root/send/reqprid" class="combo_s_essential" appearance="minimal" style="left:250px; top:104px; width:129px; height:19px; ">
  98. <choices>
  99. <itemset nodeset="/root/init/reqpridflag">
  100. <label ref="cdnm"/>
  101. <value ref="cdid"/>
  102. </itemset>
  103. </choices>
  104. </select1>
  105. <caption id="caption61" class="tit_2" style="left:5px; top:10px; width:126px; height:14px; ">물품 처방집계</caption>
  106. <button id="button39" img="/com/commonweb/images/geomsaek4.gif" hoverImg="/com/commonweb/images/geomsaek4_o.gif" style="left:173px; top:82px; width:23px; height:20px; font-family:굴림체; font-size:9pt; font-weight:bold; ">
  107. <script id="script3" type="javascript" ev:event="xforms-activate">
  108. <![CDATA[
  109. var pParam = "2▦1▦▦"; //jobgbn▦srtgbn▦srhtxt▦cond1▦...
  110. ERP_FOpenBuSeoHelp("", pParam, "/root/MainData/condition/deptcd","/root/MainData/condition/deptnm", "");
  111. model.setfocus("checkbox1");
  112. ]]>
  113. </script>
  114. <caption/>
  115. </button>
  116. <button id="btn_orddeptnm" class="icon_search" style="left:196px; top:129px; width:16px; height:16px; ">
  117. <caption/>
  118. <script type="javascript" ev:event="DOMActivate">
  119. <![CDATA[
  120. var recv_list = "prcpdeptcd,prcpdeptnm";
  121. misfOpenPopUpList("02", ipt_orddeptcd,"", recv_list) ;
  122. model.refresh();
  123. ]]>
  124. </script>
  125. </button>
  126. <button id="btn_del" class="btn2_letter2" style="left:337px; top:4px; width:42px; height:19px; ">
  127. <caption>삭제</caption>
  128. <script type="javascript" ev:event="DOMActivate">
  129. <![CDATA[
  130. if(fCheckSaveData() == false)return;
  131. model.setValue("/root/send/iudflag","D");
  132. submit("TXRSO00701");
  133. if (model.getValue(gvErrorMsgPath + "/type") != "error")messageBox(model.getValue(gvErrorMsgPath + "/msg"),"I");
  134. ]]>
  135. </script>
  136. </button>
  137. <select1 id="rbo_ioflag" ref="/root/send/ioflag" class="input_s_essential" overflow="visible" appearance="full" rows="1" cols="3" style="left:111px; top:105px; width:135px; height:16px; background-color:transparent; border-style:none; ">
  138. <choices>
  139. <itemset nodeset="/root/init/ioflag">
  140. <label ref="label"/>
  141. <value ref="value"/>
  142. </itemset>
  143. </choices>
  144. </select1>
  145. <caption id="caption4" style="left:239px; top:56px; width:15px; height:20px; font-weight:bold; ">~</caption>
  146. <input id="ipt_orddeptnm" ref="/root/send/prcpdeptnm" class="input_default" appearance="input" style="left:216px; top:128px; width:163px; height:19px; ">
  147. <script type="javascript" ev:event="xforms-value-changed">
  148. <![CDATA[
  149. misfValidationCheck("02", "", "prcpdeptcd,prcpdeptnm" );
  150. model.refresh();
  151. ]]>
  152. </script>
  153. </input>
  154. <shape id="rectangle9" fillStyle="solid" shape="rectangle" fillColor="#bbbbbb" style="left:0px; top:0px; width:385px; height:154px; border-color:#788daf; "/>
  155. <input id="ipt_deptnm" ref="/root/send/mainmngtdeptnm" class="input_default" appearance="input" style="left:216px; top:32px; width:163px; height:19px; ">
  156. <script type="javascript" ev:event="xforms-value-changed">
  157. <![CDATA[
  158. misfValidationCheck("02", "", "mainmngtdeptcd,mainmngtdeptnm" );
  159. model.refresh();
  160. ]]>
  161. </script>
  162. </input>
  163. <input id="ipt_torgstdd" ref="/root/send/torgstdd" class="input_s_essential" inputtype="date" style="left:255px; top:56px; width:124px; height:19px; text-align:center; "/>
  164. <input id="ipt_orddeptcd" ref="/root/send/prcpdeptcd" class="input_default" appearance="input" style="left:111px; top:128px; width:80px; height:19px; ">
  165. <script type="javascript" ev:event="xforms-value-changed">
  166. <![CDATA[
  167. misfValidationCheck("02", "", "prcpdeptcd,prcpdeptnm" );
  168. model.refresh();
  169. ]]>
  170. </script>
  171. </input>
  172. <button id="btn_gen" class="btn2_letter2" style="left:292px; top:4px; width:42px; height:19px; ">
  173. <caption>생성</caption>
  174. <script type="javascript" ev:event="DOMActivate">
  175. <![CDATA[
  176. model.setValue("/root/send/iudflag","I");
  177. if(fCheckSaveData() == false)return;
  178. submit("TXRSO00701");
  179. if (model.getValue(gvErrorMsgPath + "/type") != "error")messageBox(model.getValue(gvErrorMsgPath + "/msg"),"I");
  180. ]]>
  181. </script>
  182. </button>
  183. <button id="btn_deptcd" class="icon_search" style="left:196px; top:34px; width:16px; height:16px; ">
  184. <caption/>
  185. <script type="javascript" ev:event="DOMActivate">
  186. <![CDATA[
  187. var recv_list = "mainmngtdeptcd,mainmngtdeptnm";
  188. misfOpenPopUpList("02", ipt_deptcd,"", recv_list) ;
  189. model.refresh();
  190. ]]>
  191. </script>
  192. </button>
  193. <input id="ipt_deptcd" ref="/root/send/mainmngtdeptcd" class="input_s_essential" appearance="input" style="left:111px; top:32px; width:80; height:19px; ">
  194. <script type="javascript" ev:event="xforms-value-changed">
  195. <![CDATA[
  196. misfValidationCheck("02", "", "mainmngtdeptcd,mainmngtdeptnm" );
  197. model.refresh();
  198. ]]>
  199. </script>
  200. </input>
  201. <input id="ipt_fromrgstdd" ref="/root/send/fromrgstdd" class="input_s_essential" inputtype="date" style="left:111px; top:56px; width:124px; height:19px; text-align:center; "/>
  202. <input id="ipt_acptdd" ref="/root/send/acptdd" class="input_s_essential" inputtype="date" style="left:111px; top:80px; width:142px; height:19px; text-align:center; "/>
  203. <select1 id="cmb_reqflag" ref="/root/send/reqflag" class="combo_s_essential" appearance="minimal" style="left:255px; top:80px; width:124px; height:19px; ">
  204. <choices>
  205. <itemset nodeset="/root/init/reqflag">
  206. <label ref="cdnm"/>
  207. <value ref="cdid"/>
  208. </itemset>
  209. </choices>
  210. </select1>
  211. <caption id="cap_reqflag" class="cell_1" visibility="hidden" style="left:110px; top:0px; width:25px; height:23px; vertical-align:middle; ">청구구분</caption>
  212. <caption id="cap_reqpridflag" class="cell_1" visibility="hidden" style="left:135px; top:0px; width:25px; height:23px; vertical-align:middle; ">청구주기</caption>
  213. </group>
  214. </xhtml:body>
  215. </xhtml:html>