SPPAS00723_미수발생입금조회.xrw 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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. <fromdd/>
  11. <todd/>
  12. <uncocd/>
  13. <ordtype/>
  14. <endflag/>
  15. <rcptrid/>
  16. <pid/>
  17. <dayflag/>
  18. <uncoflag/>
  19. </send>
  20. <main>
  21. <uncoinfo>
  22. <uncolist/>
  23. </uncoinfo>
  24. </main>
  25. <temp>
  26. </temp>
  27. <init>
  28. <uncocd/>
  29. </init>
  30. </root>
  31. </instance>
  32. <submission id="TRPAMCOM01" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/hidden" resultref="/root/init"/>
  33. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  34. <submission id="TRPAS00813" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/uncoinfo"/>
  35. </model>
  36. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  37. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  38. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  39. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  40. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  41. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  42. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  43. <script type="javascript" src="../../../com/zipcodeweb/js/ZBP001.js"/>
  44. <script type="javascript" src="../../../pam/outordamtmngtweb/js/SMPAO00100.js"/>
  45. <script type="javascript" ev:event="xforms-ready">
  46. <![CDATA[
  47. model.setValue("/root/send/fromdd" , getCurrentDate());
  48. model.setValue("/root/send/todd" , getCurrentDate());
  49. model.setValue("/root/send/ordtype", "A");
  50. model.setValue("/root/send/endflag", "N");
  51. model.setValue("/root/send/dayflag", "O");
  52. model.setValue("/root/send/uncoflag", "A");
  53. zbcfGetCodeList( new Array("P0072"),
  54. new Array("/root/init_com/comncdlist/P0072list" //미수분류(개인,계약처)
  55. ) );
  56. if (instance1.selectSingleNode("/root/init_com/comncdlist/P0072list") != null)
  57. {
  58. model.setValue("/root/init_com/comncdlist/P0072list/P0072/cdnm","-");
  59. model.setValue("/root/init_com/comncdlist/P0072list/P0072/cdid","%");
  60. }
  61. submit("TRPAMCOM01");
  62. addComboItem( "cmd_uncocd" , "", "", "above" );
  63. model.refresh();
  64. ]]>
  65. </script>
  66. </xhtml:head>
  67. <xhtml:body>
  68. <group id="group2" style="left:0px; top:23px; width:1206px; height:67px; ">
  69. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:1px; top:0px; width:1200px; height:65px; background-color:#fffbf2; border-color:#ffd799; "/>
  70. <button id="btn_search" class="btn1_letter2" style="left:1125px; top:5px; width:56px; height:22px; ">
  71. <caption>조회</caption>
  72. <script type="javascript" ev:event="DOMActivate">
  73. <![CDATA[
  74. submit("TRPAS00813");
  75. ]]>
  76. </script>
  77. </button>
  78. <line id="line1" class="line_4" visibility="visible" style="x1:1100px; y1:5px; x2:1100px; y2:62px; border-color:#ffe4bb; border-left-style:solid; "/>
  79. <caption id="caption4" class="search_name" style="left:10px; top:36px; width:91px; height:17px; ">미수기간 :</caption>
  80. <input id="input1" ref="/root/send/fromdd" inputtype="date" style="left:102px; top:35px; width:105px; height:19px; "/>
  81. <caption id="caption1" style="left:210px; top:37px; width:20px; height:15px; text-align:center; ">~</caption>
  82. <input id="input2" ref="/root/send/todd" inputtype="date" style="left:230px; top:35px; width:105px; height:19px; "/>
  83. <caption id="caption3" class="search_name" style="left:360px; top:6px; width:91px; height:17px; ">미수구분 :</caption>
  84. <select1 id="cmd_uncocd" ref="/root/send/uncocd" appearance="minimal" style="left:450px; top:6px; width:95px; height:19px; ">
  85. <choices>
  86. <itemset nodeset="root/init/uncocd">
  87. <label ref="nm"/>
  88. <value ref="cd"/>
  89. </itemset>
  90. </choices>
  91. </select1>
  92. <select1 id="radio2" ref="/root/send/dayflag" appearance="full" cols="3" overflow="visible" style="left:345px; top:35px; width:215px; height:20px; border-style:none; ">
  93. <choices>
  94. <item>
  95. <label>진료일자</label>
  96. <value>O</value>
  97. </item>
  98. <item>
  99. <label>수납일자</label>
  100. <value>R</value>
  101. </item>
  102. <item>
  103. <label>발생일자</label>
  104. <value>G</value>
  105. </item>
  106. </choices>
  107. </select1>
  108. <caption id="caption7" class="search_name" style="left:10px; top:6px; width:100px; height:17px; ">진료구분 :</caption>
  109. <select1 id="combo2" ref="/root/send/ordtype" appearance="minimal" style="left:100px; top:6px; width:80px; height:19px; ">
  110. <choices>
  111. <item>
  112. <label>전체</label>
  113. <value>A</value>
  114. </item>
  115. <item>
  116. <label>외래</label>
  117. <value>O</value>
  118. </item>
  119. <item>
  120. <label>입원</label>
  121. <value>I</value>
  122. </item>
  123. </choices>
  124. </select1>
  125. <select1 id="combo4" ref="/root/send/endflag" appearance="minimal" style="left:285px; top:6px; width:65px; height:19px; ">
  126. <choices>
  127. <item>
  128. <label>전체</label>
  129. <value>A</value>
  130. </item>
  131. <item>
  132. <label>종결</label>
  133. <value>Y</value>
  134. </item>
  135. <item>
  136. <label>미결</label>
  137. <value>N</value>
  138. </item>
  139. </choices>
  140. </select1>
  141. <caption id="caption9" class="search_name" style="left:195px; top:6px; width:100px; height:17px; ">종결구분 :</caption>
  142. <caption id="caption10" class="search_name" style="left:745px; top:6px; width:100px; height:17px; ">담당자ID :</caption>
  143. <input id="input6" ref="/root/send/rcptrid" style="left:830px; top:6px; width:70px; height:19px; "/>
  144. <caption id="caption11" class="search_name" style="left:915px; top:6px; width:100px; height:17px; ">환자번호 :</caption>
  145. <input id="input7" ref="/root/send/pid" style="left:1005px; top:6px; width:70px; height:19px; "/>
  146. <button id="button1" class="btn4_letter2" style="left:1125px; top:35px; width:56px; height:22px; ">
  147. <caption>엑셀</caption>
  148. <script type="javascript" ev:event="DOMActivate">
  149. <![CDATA[
  150. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  151. if (fileName != "")
  152. {
  153. grd_uncolist.saveExcel(fileName, "SheetName", true, true, "", "", true);
  154. }
  155. ]]>
  156. </script>
  157. </button>
  158. <caption id="caption5" class="search_name" style="left:550px; top:6px; width:100px; height:20px; ">지정구분 :</caption>
  159. <select1 id="combo1" ref="/root/send/uncoflag" appearance="minimal" style="left:640px; top:6px; width:85px; height:19px; ">
  160. <choices>
  161. <item>
  162. <label>전체</label>
  163. <value>A</value>
  164. </item>
  165. <item>
  166. <label>지정완료</label>
  167. <value>Y</value>
  168. </item>
  169. <item>
  170. <label>미지정</label>
  171. <value>N</value>
  172. </item>
  173. </choices>
  174. </select1>
  175. </group>
  176. <group id="group3" style="left:0px; top:0px; width:1206px; height:13px; ">
  177. <caption id="caption60" class="tit_1" style="left:0px; top:0px; width:183px; height:14px; font-family:돋움; vertical-align:middle; ">미수 지정별, 기간별 조회</caption>
  178. </group>
  179. <caption id="caption2" class="tit_2" style="left:10px; top:96px; width:140px; height:15px; ">미수내역</caption>
  180. <datagrid id="grd_uncolist" nodeset="/root/main/uncoinfo/uncolist" caption="진료구분^환자번호^성명^진료일자^수납일자^발생일자^진료부서^수납자^미수코드^미수명^유형^미수발생금액^미수입금액^미수잔액^미수번호^비고" colsep="^" colwidth="80, 80, 80, 85, 85, 85, 120, 80, 60, 120, 80, 90, 90, 90, 60, 250" explorerbar="sort" mergecellsfixedrows="bycolrec" rowsep="|" subtotalposition="below" style="left:0px; top:115px; width:1200px; height:645px; text-align:center; ">
  181. <col ref="ordtypenm"/>
  182. <col ref="pid"/>
  183. <col ref="hngnm"/>
  184. <col disabled="true" ref="orddd" format="yyyy-mm-dd"/>
  185. <col ref="rcptexecdd" format="yyyy-mm-dd"/>
  186. <col ref="orgrcptdd" format="yyyy-mm-dd"/>
  187. <col ref="orddeptnm"/>
  188. <col ref="rcptrnm"/>
  189. <col ref="uncocd"/>
  190. <col ref="unconm"/>
  191. <col ref="insunm"/>
  192. <col ref="uncoamt" format="(-)#,###" style="text-align:right; "/>
  193. <col ref="rcptamt" format="(-)#,###" style="text-align:right; "/>
  194. <col ref="uncorem" format="(-)#,###" style="text-align:right; "/>
  195. <col ref="uncono"/>
  196. <col ref="remfact"/>
  197. <script type="javascript" ev:event="onaftersort">
  198. <![CDATA[
  199. grd_uncolist.gridToInstance();
  200. ]]>
  201. </script>
  202. <script type="javascript" ev:event="ondblclick">
  203. <![CDATA[
  204. if(isDataCell()) {
  205. var row = grd_uncolist.row;
  206. opener.javascript.setParameter("SMPAS00700_PID", model.getValue("/root/list/uncolist["+ row +"]/pid"));
  207. model.close();
  208. }
  209. ]]>
  210. </script>
  211. </datagrid>
  212. <input id="input4" ref="/root/send/fromst" visibility="hidden" style="left:135px; top:90px; width:20px; height:19px; "/>
  213. <input id="input5" ref="/root/send/tost" visibility="hidden" style="left:160px; top:90px; width:25px; height:19px; "/>
  214. <caption id="caption6" style="left:95px; top:94px; width:1005px; height:20px; font-weight:bold; color:#0000ff; ">★ 미수번호 지정유무는 지정구분에서 완료여부에 따라 조회가능. 발생일자는 최초 미수금액 발생일자를 기준으로 함. ★</caption>
  215. </xhtml:body>
  216. </xhtml:html>