SMPMS02400_가수금현황.xrw 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <?xml version="1.0" encoding="UTF-16"?>
  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. <send>
  10. <ordtype/>
  11. <fromdd/>
  12. <todd/>
  13. <flag/>
  14. </send>
  15. <main>
  16. <depoamt>
  17. <depoamtlist/>
  18. </depoamt>
  19. <redepoamt>
  20. <redepoamtlist/>
  21. </redepoamt>
  22. </main>
  23. <init>
  24. <orddeptcd>
  25. <orddeptcdlist>
  26. <cd/>
  27. <nm/>
  28. <deptengabbr/>
  29. </orddeptcdlist>
  30. </orddeptcd>
  31. </init>
  32. <hidden>
  33. <tmp/>
  34. </hidden>
  35. <cominit>
  36. <P0001list>
  37. <P0001>
  38. <cdnm/>
  39. <cdid/>
  40. </P0001>
  41. </P0001list>
  42. <P0008list>
  43. <P0008>
  44. <cdnm/>
  45. <cdid/>
  46. </P0008>
  47. </P0008list>
  48. </cominit>
  49. </root>
  50. </instance>
  51. <script type="javascript" ev:event="xforms-ready">
  52. <![CDATA[
  53. var cur_Date = getCurrentDate();
  54. model.setValue("/root/send/fromdd",cur_Date);
  55. model.setValue("/root/send/todd",cur_Date);
  56. button8.dispatch("onclick");
  57. //진료과 , 진료의사 조회
  58. pamGetDeptCDDrIDList();
  59. zbcfGetCodeList(new Array("P0001","P0008"),new Array("/root/cominit/P0001list","/root/cominit/P0008list"));
  60. model.removenode("/root/cominit/P0001list/P0001[1]");
  61. addComboItem("combo1", "전체", "%");
  62. model.setValue("/root/send/ordtype","%");
  63. model.refresh();
  64. ]]>
  65. </script>
  66. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance"/>
  67. <submission id="TRPAM00101" mediatype="application/x-www-form-urlencoded" method="post" replace="instance" resultref="/root/hidden/tmp"/>
  68. <submission id="TXPMS02400" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/depoamt"/>
  69. <submission id="TRPAM00106" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/redepoamt"/>
  70. </model>
  71. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  72. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  73. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  74. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  75. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  76. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  77. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  78. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  79. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  80. </xhtml:head>
  81. <xhtml:body pagewidth="1211" pageheight="784" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  82. <group id="group3" style="left:0px; top:0px; width:1195px; height:13px; ">
  83. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">가수금현황</caption>
  84. </group>
  85. <switch id="switch1" style="left:0px; top:91px; width:1200px; height:677px; ">
  86. <case id="case1" selected="true" style="left:0px; top:0px; width:1198px; height:710px; ">
  87. <line id="line8" class="line_1" style="x1:5px; y1:5px; x2:1190px; y2:5px; "/>
  88. <datagrid id="datagrid3" nodeset="/root/main/depoamt/depoamtlist" class="datagrid4" caption="입원/외래^전표일자^창 구^등록번호^환자명^환자구분^진료과^가수금(현금)^가수금(카드)^가수금(인터넷)" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 200, 100, 100, 100" dataheight="25" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1185px; height:660px; ">
  89. <col disabled="true" ref="ordtype" type="combo" style="text-align:center; ">
  90. <choices>
  91. <itemset nodeset="/root/cominit/P0001list/P0001">
  92. <label ref="cdnm"/>
  93. <value ref="cdid"/>
  94. </itemset>
  95. </choices>
  96. </col>
  97. <col disabled="true" ref="rcptexecdd" format="yyyy-mm-dd" style="text-align:center; "/>
  98. <col ref="rcptrid" style="text-align:center; "/>
  99. <col ref="pid" style="text-align:right; "/>
  100. <col ref="pnm" style="text-align:left; "/>
  101. <col disabled="true" ref="insukind" type="combo" style="text-align:center; ">
  102. <choices>
  103. <itemset nodeset="/root/cominit/P0008list/P0008">
  104. <label ref="cdnm"/>
  105. <value ref="cdid"/>
  106. </itemset>
  107. </choices>
  108. </col>
  109. <col disabled="true" ref="orddeptcd" type="combo" style="text-align:center; ">
  110. <choices>
  111. <itemset nodeset="/root/init/orddeptcd/orddeptcdlist">
  112. <label ref="nm"/>
  113. <value ref="cd"/>
  114. </itemset>
  115. </choices>
  116. </col>
  117. <col ref="cashamt" format="#,###" style="text-align:right; "/>
  118. <col ref="cardamt" format="#,###" style="text-align:right; "/>
  119. <col ref="onlineamt" format="#,###" style="text-align:right; "/>
  120. <col ref="ordtypenm" visibility="hidden" style="text-align:right; "/>
  121. <col ref="insukindnm" visibility="hidden" style="text-align:right; "/>
  122. <col ref="orddeptcdnm" visibility="hidden" style="text-align:right; "/>
  123. </datagrid>
  124. </case>
  125. <case id="case2" style="left:0px; top:0px; width:1198px; height:710px; ">
  126. <line id="line1" class="line_1" style="x1:5px; y1:5px; x2:1190px; y2:5px; "/>
  127. <datagrid id="datagrid1" nodeset="/root/main/redepoamt/redepoamtlist" class="datagrid4" caption="idx^전표일자^창 구^등록번호^환자명^가수금액^비고" colsep="^" colwidth="100, 100, 100, 100, 100, 100, 250" dataheight="25" defaultrows="2" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:5px; top:10px; width:1185px; height:660px; ">
  128. <col ref="idx" visibility="hidden"/>
  129. <col ref="rcptdd" format="yyyy-mm-dd" style="text-align:center; "/>
  130. <col ref="rcptrid" style="text-align:center; "/>
  131. <col ref="pid" style="text-align:center; "/>
  132. <col ref="hngnm" style="text-align:center; "/>
  133. <col ref="onlineamt" format="#,###" style="text-align:right; "/>
  134. <col ref="cnts" style="text-align:left; "/>
  135. </datagrid>
  136. </case>
  137. </switch>
  138. <group id="group5" style="left:0px; top:25px; width:1195px; height:37px; ">
  139. <shape id="roundrect4" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  140. <caption id="caption10" class="search_name" style="left:15px; top:9px; width:100px; height:17px; ">조회기간 :</caption>
  141. <button id="button5" class="btn1_letter2" style="left:1118px; top:7px; width:56px; height:22px; ">
  142. <caption>조회</caption>
  143. <script type="javascript" ev:event="DOMActivate">
  144. <![CDATA[
  145. if(button8.selected == true){
  146. submit("TXPMS02400");
  147. }else if(button1.selected == true){
  148. submit("TRPAM00106");
  149. }
  150. ]]>
  151. </script>
  152. <script id="script2" type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. datagrid1.subtotalposition="below";
  155. datagrid1.subtotal("sum", 1, 6, "#,###", "background-color:#ffffff", 5, "[합계]");
  156. ]]>
  157. </script>
  158. </button>
  159. <input id="input6" ref="/root/send/fromdd" class="input_default" navindex="7" inputtype="date" style="left:106px; top:8px; width:90px; height:19px; ">
  160. <script type="javascript" ev:event="onkeydown">
  161. <![CDATA[
  162. if( event.keyCode == 13 ) {
  163. var pCurTargetObj = event.ptarget.parent;
  164. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  165. event.keyCode = 9;
  166. pCurTargetObj.dispatch("onkeydown");
  167. }
  168. else {
  169. event.keyCode = 9;
  170. }
  171. }
  172. event.stopPropagation();
  173. ]]>
  174. </script>
  175. </input>
  176. <input id="input8" ref="/root/send/todd" class="input_default" navindex="7" inputtype="date" style="left:218px; top:8px; width:90px; height:19px; ">
  177. <script type="javascript" ev:event="onkeydown">
  178. <![CDATA[
  179. if( event.keyCode == 13 ) {
  180. var pCurTargetObj = event.ptarget.parent;
  181. if( pCurTargetObj.elementName == "xforms:select1" || pCurTargetObj.elementName == "xforms:select") {
  182. event.keyCode = 9;
  183. pCurTargetObj.dispatch("onkeydown");
  184. }
  185. else {
  186. event.keyCode = 9;
  187. }
  188. }
  189. event.stopPropagation();
  190. ]]>
  191. </script>
  192. </input>
  193. <button id="btn_print" class="btn6_letter2" style="left:1054px; top:7px; width:56px; height:22px; ">
  194. <caption>출력</caption>
  195. <script type="javascript" ev:event="DOMActivate">
  196. <![CDATA[
  197. if(button8.selected == true){
  198. exeReportPreview("RPPMS07111", "XMLSTR", "","", "false","","","","","false");
  199. }else{
  200. exeReportPreview("RPPMS07112", "XMLSTR", "","", "false","","","","","false");
  201. }
  202. ]]>
  203. </script>
  204. </button>
  205. <caption id="caption11" style="left:202px; top:9px; width:15px; height:20px; ">~</caption>
  206. <caption id="caption1" class="search_name" style="left:330px; top:9px; width:108px; height:17px; ">입원 / 외래 :</caption>
  207. <select1 id="combo1" ref="/root/send/ordtype" appearance="minimal" style="left:440px; top:8px; width:100px; height:19px; ">
  208. <choices>
  209. <itemset nodeset="/root/cominit/P0001list/P0001">
  210. <label ref="cdnm"/>
  211. <value ref="cdid"/>
  212. </itemset>
  213. </choices>
  214. </select1>
  215. </group>
  216. <button id="button1" class="btn_sw" group="tab" selected="false" style="left:101px; top:70px; width:100px; height:22px; ">
  217. <caption>가수환불금list</caption>
  218. <toggle case="case2" ev:event="xforms-activate"/>
  219. <script type="javascript" ev:event="onclick">
  220. <![CDATA[
  221. caption1.visible = false;
  222. combo1.visible = false;
  223. model.setValue("/root/send/flag","B");
  224. ]]>
  225. </script>
  226. </button>
  227. <button id="button8" class="btn_sw" group="tab" selected="true" style="left:0px; top:70px; width:100px; height:22px; ">
  228. <caption>가수금현황</caption>
  229. <toggle case="case1" ev:event="xforms-activate"/>
  230. <script type="javascript" ev:event="onclick">
  231. <![CDATA[
  232. caption1.visible = true;
  233. combo1.visible = true;
  234. model.setValue("/root/send/flag","A");
  235. ]]>
  236. </script>
  237. </button>
  238. </xhtml:body>
  239. </xhtml:html>