SMPIF71100_청구및입금내역조회(산재장부).xrw 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. [2008.10.13]
  4. (기존에 화면, 조회조건, GRID만 존재함)
  5. * 최초작성 / JHP
  6. -->
  7. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  8. <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">
  9. <xhtml:head>
  10. <xhtml:title>청구및입금내역조회(산재장부)</xhtml:title>
  11. <model id="model1">
  12. <instance id="instance1">
  13. <root xmlns="">
  14. <send>
  15. <termflag>clamym</termflag>
  16. <fromdd/>
  17. <todd/>
  18. <ioflag>A</ioflag>
  19. </send>
  20. <main>
  21. <list01>
  22. <gridclamdepospeclist>
  23. <clamym/>
  24. <uncoym/>
  25. <ioflag/>
  26. <insukind/>
  27. <clamflag/>
  28. <clamdg/>
  29. <acptno/>
  30. <acptdd/>
  31. <clcnt/>
  32. <clclamamt/>
  33. <judgdg/>
  34. <depodd/>
  35. <depoamt/>
  36. <jrdecicnt/>
  37. <jrdeciamt/>
  38. <rtnscheamt/>
  39. <rtnamt/>
  40. <realcnt/>
  41. <realclamamt/>
  42. <realcutamt/>
  43. <realcutrate/>
  44. <lostamt/>
  45. <sendcnt/>
  46. <sendclamamt/>
  47. <unclamcnt/>
  48. <unclamamt/>
  49. <uncoamt/>
  50. </gridclamdepospeclist>
  51. </list01>
  52. </main>
  53. <init>
  54. <P0114list>
  55. <P0114>
  56. <cdid/>
  57. <cdnm/>
  58. </P0114>
  59. </P0114list>
  60. <P0425list>
  61. <P0425>
  62. <cdid/>
  63. <cdnm/>
  64. </P0425>
  65. </P0425list>
  66. <P0242list>
  67. <P0242>
  68. <cdid/>
  69. <cdnm/>
  70. </P0242>
  71. </P0242list>
  72. <U0001list>
  73. <U0001/>
  74. </U0001list>
  75. <P0121list>
  76. <P0121>
  77. <cdid/>
  78. <cdnm/>
  79. </P0121>
  80. </P0121list>
  81. </init>
  82. <hidden>
  83. <sppmc02500>
  84. <cond>
  85. <srchcond/>
  86. <pid/>
  87. <hngnm/>
  88. <rrgstno1/>
  89. <rrgstno2/>
  90. </cond>
  91. </sppmc02500>
  92. <hidbatchgrid>
  93. <ofidocno/>
  94. <ofidocarvdd/>
  95. </hidbatchgrid>
  96. </hidden>
  97. </root>
  98. </instance>
  99. <script type="javascript" ev:event="xforms-ready">
  100. <![CDATA[
  101. CommCode_Load();
  102. fInitialize();
  103. ]]>
  104. </script>
  105. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  106. <submission id="TRPIF71101" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list01"/>
  107. </model>
  108. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  109. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  110. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  111. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  112. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  113. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  114. <script type="javascript">
  115. <![CDATA[
  116. // 공통코드 Load작업
  117. function CommCode_Load() {
  118. // 관련 Control 초기화
  119. // zbcfGetCodeList(new Array("P0426","P0121","P0114"), new Array("/root/init/P0426list","/root/init/P0121list","/root/init/P0114list"));
  120. }
  121. //초기화
  122. function fInitialize(){
  123. // rdo_flag.select(1); // 구분 : 개인별선택
  124. // rdo_ioflag.select(2); // 내원유형 : 입원선택
  125. rdo_termflag.select(0); // 기간구분 : 청구월선택
  126. model.setValue("/root/send/todd", getCurrentDate().toDate().getDateFormat("YYYYMM"));
  127. model.setValue("/root/send/fromdd", getCurrentDate().toDate().getAddDate(-90).getDateFormat("YYYYMM"));
  128. // 그리드 초기화(행을 모두 삭제한다.)
  129. // model.removeNodeset("/root/main/gridlist/indgrid");
  130. model.removeNodeset("/root/main/list01/gridclamdepospeclist");
  131. model.refresh();
  132. }
  133. ]]>
  134. </script>
  135. </xhtml:head>
  136. <xhtml:body class="datagrid2" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  137. <group id="grp_btn" style="left:0px; top:757px; width:1194px; height:27px; "/>
  138. <group id="grp_tle" style="left:0px; top:0px; width:1194px; height:13px; ">
  139. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:311px; height:14px; ">청구 및 입금 내역 조회(산재장부)</caption>
  140. </group>
  141. <group id="grp_biz" scroll="auto" style="left:0px; top:13px; width:1196px; height:744px; ">
  142. <button id="button3" class="btn2_letter3" style="left:989px; top:50px; width:53px; height:19px; ">
  143. <caption>행카피</caption>
  144. <script type="javascript" ev:event="onclick">
  145. <![CDATA[
  146. grd_clamdepospeclist.attribute("selectionmode") = "byrow";
  147. ]]>
  148. </script>
  149. </button>
  150. <button id="button4" class="btn2_letter6" style="left:1043px; top:50px; width:86px; height:19px; ">
  151. <caption>Open Excel</caption>
  152. <script type="javascript" ev:event="DOMActivate">
  153. <![CDATA[
  154. try {
  155. window.exec("excel");
  156. } catch(e) {
  157. alert(e);
  158. }
  159. ]]>
  160. </script>
  161. </button>
  162. <button id="button5" class="btn2_letter3" style="left:935px; top:50px; width:53px; height:19px; ">
  163. <caption>열카피</caption>
  164. <script type="javascript" ev:event="onclick">
  165. <![CDATA[
  166. grd_clamdepospeclist.attribute("selectionmode") = "bycol";
  167. ]]>
  168. </script>
  169. </button>
  170. <line id="line27" class="line_1" style="x1:0px; y1:70px; x2:1195px; y2:70px; "/>
  171. <group id="group5" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  172. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  173. <button id="button1" class="btn1_letter2" style="left:1123px; top:7px; width:56px; height:22px; ">
  174. <caption>조회</caption>
  175. <script type="javascript" ev:event="onclick">
  176. <![CDATA[
  177. // 보험유형이 보험인 경우 보호에 해당하는 필드 감추기. 보험에 해당하는 필드 보이기.
  178. submit("TRPIF71101");
  179. model.refresh();
  180. ]]>
  181. </script>
  182. </button>
  183. <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:28px; border-color:#ffe4bb; border-left-style:solid; "/>
  184. <caption id="caption31" style="left:294px; top:10px; width:15px; height:15px; ">~</caption>
  185. <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:85px; top:9px; width:115px; height:17px; border-style:none; ">
  186. <choices>
  187. <item>
  188. <label>청구월</label>
  189. <value>clamym</value>
  190. </item>
  191. <item>
  192. <label>미수월</label>
  193. <value>uncoym</value>
  194. </item>
  195. </choices>
  196. <script type="javascript" ev:event="xforms-select">
  197. <![CDATA[
  198. model.setValue("/root/send/fromdd","");
  199. model.setValue("/root/send/todd","");
  200. if(rdo_termflag.value == "clamym" || rdo_termflag.value == "uncoym") {
  201. ipt_fromdd.attribute("format") = "yyyy-mm";
  202. ipt_todd.attribute("format") = "yyyy-mm";
  203. ipt_fromdd.attribute("maxlength") = 6;
  204. ipt_todd.attribute("maxlength") = 6;
  205. ipt_fromdd.attribute("inputtype") = "date";
  206. ipt_todd.attribute("inputtype") = "date";
  207. } else {
  208. ipt_fromdd.attribute("format") = "";
  209. ipt_todd.attribute("format") = "";
  210. ipt_fromdd.attribute("maxlength") = 8;
  211. ipt_todd.attribute("maxlength") = 8;
  212. ipt_fromdd.attribute("inputtype") = "";
  213. ipt_todd.attribute("inputtype") = "";
  214. }
  215. model.setFocus("ipt_fromdd");
  216. model.refresh();
  217. ]]>
  218. </script>
  219. </select1>
  220. <caption id="caption67" class="search_name" style="left:465px; top:9px; width:90px; height:17px; ">내원유형 :</caption>
  221. <caption id="caption38" class="search_name" style="left:20px; top:9px; width:60px; height:17px; ">구분 :</caption>
  222. <input id="ipt_fromdd" ref="/root/send/fromdd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:205px; top:9px; width:85px; height:19px; ">
  223. <script type="javascript" ev:event="DOMFocusOut">
  224. <![CDATA[
  225. ipt_todd.value = ipt_fromdd.value;
  226. ]]>
  227. </script>
  228. </input>
  229. <input id="ipt_todd" ref="/root/send/todd" class="input_search" inputtype="date" maxlength="6" format="yyyy-mm" style="left:308px; top:9px; width:85px; height:19px; "/>
  230. <select1 id="rdo_ioflag" ref="/root/send/ioflag" overflow="visible" appearance="full" cols="3" rows="1" style="left:555px; top:9px; width:135px; height:17px; border-style:none; ">
  231. <choices>
  232. <item>
  233. <label>전체</label>
  234. <value>A</value>
  235. </item>
  236. <item>
  237. <label>입원</label>
  238. <value>I</value>
  239. </item>
  240. <item>
  241. <label>외래</label>
  242. <value>O</value>
  243. </item>
  244. </choices>
  245. </select1>
  246. </group>
  247. <caption id="cap_title" class="tit_2" style="left:0px; top:55px; width:154px; height:14px; ">청구 및 입금 내역 목록</caption>
  248. <datagrid id="grd_clamdepospeclist" nodeset="/root/main/list01/gridclamdepospeclist" class="datagrid2" caption="청구월^미수월^내원&#xA;유형^산재&#xA;유형^청구&#xA;형태^차수^접수번호^접수일자^건수^청구액^심사&#xA;차수^입금일자^입금액^입금구분^심결&#xA;건수^심사결정액^환수예정액^환수금^실건수^실청구액^실삭감액^삭감율^결손액^반송&#xA;건수^반송액^미보완&#xA;건수^미보완&#xA;청구액^미수금^비고" colsep="^" colwidth="60, 60, 62, 62, 70, 50, 70, 100, 50, 100, 70, 100, 80, 78, 60, 100, 100, 100, 70, 100, 100, 100, 100, 61, 100, 66, 100, 100" dataheight="23" defaultrows="2" ellipsis="true" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" tooltip="true" style="left:0px; top:75px; width:1195px; height:665px; ">
  249. <col ref="clamym" format="yyyy-mm" style="text-align:center; "/>
  250. <col ref="uncoym" format="yyyy-mm" style="text-align:center; "/>
  251. <col ref="ioflag" style="text-align:center; "/>
  252. <col ref="insukind"/>
  253. <col ref="clamflag"/>
  254. <col ref="clamdg"/>
  255. <col ref="acptno"/>
  256. <col ref="acptdd"/>
  257. <col ref="clcnt"/>
  258. <col ref="clclamamt"/>
  259. <col ref="judgdg"/>
  260. <col ref="depodd"/>
  261. <col ref="depoamt"/>
  262. <col ref="jrdecicnt"/>
  263. <col ref="jrdeciamt"/>
  264. <col ref="rtnscheamt"/>
  265. <col ref="rtnamt"/>
  266. <col ref="realcnt"/>
  267. <col ref="realclamamt"/>
  268. <col ref="realcutamt"/>
  269. <col ref="realcutrate"/>
  270. <col ref="lostamt"/>
  271. <col ref="sendcnt"/>
  272. <col ref="sendclamamt"/>
  273. <col ref="unclamcnt"/>
  274. <col ref="unclamamt"/>
  275. <col ref="uncoamt"/>
  276. <col/>
  277. <script type="javascript" ev:event="oncopy">
  278. <![CDATA[
  279. grid_oncopy();
  280. ]]>
  281. </script>
  282. </datagrid>
  283. <button id="button10" class="btn2_letter3" style="left:881px; top:50px; width:53px; height:19px; ">
  284. <caption>셀카피</caption>
  285. <script type="javascript" ev:event="onclick">
  286. <![CDATA[
  287. grd_clamdepospeclist.attribute("selectionmode") = "free";
  288. ]]>
  289. </script>
  290. </button>
  291. <button id="button12" class="btn2_letter4" style="left:1130px; top:49px; width:64px; height:19px; ">
  292. <caption>엑셀저장</caption>
  293. <script type="javascript" ev:event="onclick">
  294. <![CDATA[
  295. var today = new Date();
  296. var yy = today.getYear()+"";
  297. var mm = today.getMonth()+1;
  298. var dd = today.getDate();
  299. if(mm < 10) { mm = "0"+mm; } else { mm = mm+""; }
  300. if(dd < 10) { dd = "0" + dd; } else { dd = dd + ""; }
  301. var tmp = yy+mm+dd;
  302. var title = "반송재청구장부(자보)_"+tmp;
  303. var fileName = window.fileDialog("save", ",", false, title, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  304. if (fileName != "") {
  305. grd_clamdepospeclist.saveExcel(fileName, "SheetName", true, true, "", "", "");
  306. }
  307. ]]>
  308. </script>
  309. </button>
  310. </group>
  311. </xhtml:body>
  312. </xhtml:html>