SMPIE01800_산재지불결정통지서(I020)조회.xrw 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. 2008.10.07 / 최초작성 / 박재형
  4. -->
  5. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  6. <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">
  7. <xhtml:head>
  8. <xhtml:title>산재지불결정통지서(I020)조회</xhtml:title>
  9. <model id="model1">
  10. <instance id="instance1">
  11. <root xmlns="">
  12. <main>
  13. <grid>
  14. <gridlisti020>
  15. <i020>
  16. <notidd/>
  17. <acptflag/>
  18. <ordym/>
  19. <ioflag/>
  20. <sumtypecd/>
  21. <clamno/>
  22. <acptno/>
  23. <dg/>
  24. <payschedd/>
  25. <incnt/>
  26. <inpaydecicnt/>
  27. <inpayimpsicnt/>
  28. <inpretecnt/>
  29. <incutcnt/>
  30. <gohospcnt/>
  31. <gohosppaydecicnt/>
  32. <gohosppayimpsicnt/>
  33. <gohosppretecnt/>
  34. <gohospcutcnt/>
  35. <ingocnt/>
  36. <ingopaydecicnt/>
  37. <ingopayimpsicnt/>
  38. <ingopretecnt/>
  39. <ingocutcnt/>
  40. <inclamamt/>
  41. <inpaydeciamt/>
  42. <inpayimpsiamt/>
  43. <inpreteamt/>
  44. <incutamt/>
  45. <gohospclamamt/>
  46. <gohosppdeciamt/>
  47. <gohosppimpsiamt/>
  48. <gohosppreteamt/>
  49. <gohospcutamt/>
  50. <ingoclamamt/>
  51. <ingopaydeciamt/>
  52. <ingopayimpsiamt/>
  53. <ingopreteamt/>
  54. <ingocutamt/>
  55. <excspayamt/>
  56. <orginspramt/>
  57. <calcprepayamt/>
  58. <preteamt/>
  59. <subtramtsum/>
  60. <orgpayamt/>
  61. <rem/>
  62. <docuno/>
  63. <healcareinstcd/>
  64. <taxstndamt/>
  65. <incmtax/>
  66. <resdntax/>
  67. <orgchrgtaxamtsum/>
  68. <acntno/>
  69. <acntbankcd/>
  70. </i020>
  71. </gridlisti020>
  72. </grid>
  73. </main>
  74. <send>
  75. <termflag/>
  76. <fromacptym/>
  77. <toacptym/>
  78. <acptflag/>
  79. <clamno/>
  80. <acptno/>
  81. <sumtypecd>-</sumtypecd>
  82. <clamdgfrom/>
  83. <clamdgto/>
  84. <clamflag/>
  85. <clamym/>
  86. </send>
  87. <init>
  88. <P0272list>
  89. <P0272>
  90. <cdid/>
  91. <cdnm/>
  92. </P0272>
  93. </P0272list>
  94. <P0028list>
  95. <P0028>
  96. <cdid/>
  97. <cdnm/>
  98. </P0028>
  99. </P0028list>
  100. <P0458list>
  101. <P0458>
  102. <cdid/>
  103. <cdnm/>
  104. </P0458>
  105. </P0458list>
  106. <clamdgfrom>
  107. <clamdglist>
  108. <clamdgnm/>
  109. <clamdgcd/>
  110. </clamdglist>
  111. </clamdgfrom>
  112. <clamdgto>
  113. <clamdglist>
  114. <clamdgnm/>
  115. <clamdgcd/>
  116. </clamdglist>
  117. </clamdgto>
  118. <P0155list>
  119. <P0155>
  120. <cdid/>
  121. <cdnm/>
  122. </P0155>
  123. </P0155list>
  124. </init>
  125. </root>
  126. </instance>
  127. <script type="javascript" ev:event="xforms-ready">
  128. <![CDATA[
  129. // 공통코드
  130. CommCode_Load();
  131. var fromacptym = model.getValue("/root/send/fromacptym");
  132. if (fromacptym != "") {
  133. submit("TRPIE01800");
  134. }
  135. else {
  136. // 초기화
  137. fInitialize();
  138. }
  139. ]]>
  140. </script>
  141. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  142. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  143. <submission id="TRPIE01800" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance" resultref="/root/main/grid"/>
  144. <submission id="TRPID20407" mediatype="application/x-www-form-urlencoded" method="post" ref="root/send" resultref="/root/init/clamdg"/>
  145. </model>
  146. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  147. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  148. <script type="javascript" src="../../../com/commonweb/js/numericHelper.js"/>
  149. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  150. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  151. <script type="javascript" src="../../../com/commonweb/js/utilHelper.js"/>
  152. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  153. <script type="javascript" src="../../../com/instantmsgweb/js/ZMI001.js"/>
  154. <script type="javascript" src="../../../pam/pamcomnweb/js/PAM.js"/>
  155. <script type="javascript">
  156. <![CDATA[
  157. // 공통코드
  158. function CommCode_Load() {
  159. // P0272 접수구분(산재심결/지불결정)
  160. zbcfGetCodeList(new Array("P0272","P0028","P0458", "P0155"),
  161. new Array("/root/init/P0272list","/root/init/P0028list","/root/init/P0458list", "/root/init/P0155list"));
  162. model.refresh();
  163. }
  164. // 초기화
  165. function fInitialize() {
  166. var today = getCurrentDate();
  167. model.resetInstanceNode("/root/send");
  168. rdo_termflag.select(0); // 기간구분 -통지일자
  169. ipt_fromacptym.value = today; // 시작일
  170. ipt_toacptym.value = today; // 종료일
  171. cmb_acptflag.select(0); // 접수구분
  172. ipt_clamno.value = "" // 청구번호
  173. ipt_acptno.value = "" // 접수번호
  174. rdo_sumtypecd.select(0); // 산재유형 - 전체
  175. cmb_clamdgfrom.value = "";
  176. cmb_clamdgto.value = "";
  177. cmb_clamdgfrom.disabled = true;
  178. cmb_clamdgto.disabled = true;
  179. // 그리드 공라인 없애기
  180. model.removeNodeset("/root/main/grid/gridlisti020");
  181. model.refresh();
  182. // 포커스 이동
  183. model.setFocus("ipt_fromacptym");
  184. }
  185. // 청구년월 함수
  186. function pidfGetClamdg() {
  187. var check = model.getValue("/root/send/termflag");
  188. if ( model.getValue("/root/send/fromterm") > model.getValue("/root/send/toterm") ) {
  189. messageBox("종료일은 시작일보다 클 수 ", "I004");
  190. model.setValue("/root/send/toterm","")
  191. }
  192. if(check == "2"){
  193. if(model.getValue("/root/send/fromacptym") != "" || model.getValue("/root/send/toacptym") != ""){
  194. model.removeNodeset("/root/init/clamdg");
  195. model.makeNode("/root/init/clamdg");
  196. model.setValue("/root/send/clamym",model.getValue("/root/send/fromacptym"));
  197. model.removeNodeset("/root/send/ioflag");
  198. model.removeNodeset("/root/send/insukind");
  199. model.makeNode("/root/send/ioflag");
  200. model.makeNode("/root/send/insukind");
  201. model.setValue("/root/send/ioflag", "A");
  202. model.setValue("/root/send/insukind", "41");
  203. submit("TRPID20407");
  204. model.copyNode("/root/init/clamdgfrom","/root/init/clamdg");
  205. cmb_clamdgfrom.refresh();
  206. cmb_clamdgfrom.select(0);
  207. model.setValue("/root/send/clamym",model.getValue("/root/send/toacptym"));
  208. submit("TRPID20407");
  209. model.copyNode("/root/init/clamdgto","/root/init/clamdg");
  210. addComboItem("cmb_clamdgfrom","전체","","above");
  211. addComboItem("cmb_clamdgto","전체","","above");
  212. cmb_clamdgto.refresh();
  213. cmb_clamdgto.select(0);
  214. }
  215. model.removeNodeset("/root/send/insukind");
  216. model.removeNodeset("/root/send/ioflag");
  217. }
  218. }
  219. // 청구년월 차수 기간 체크
  220. function fChkClamym()
  221. {
  222. var fromym = model.getValue("/root/send/fromacptym");
  223. var toym = model.getValue("/root/send/toacptym");
  224. var check = model.getValue("/root/send/termflag");
  225. if(check == "2"){
  226. if ( fromym != toym ){
  227. cmb_clamdgfrom.value = "";
  228. cmb_clamdgto.value = "";
  229. cmb_clamdgfrom.disabled = true;
  230. cmb_clamdgto.disabled = true;
  231. }else{
  232. cmb_clamdgfrom.disabled = false;
  233. cmb_clamdgto.disabled = false;
  234. cmb_clamdgfrom.select(0);
  235. cmb_clamdgto.select(0);
  236. }
  237. cmb_clamdgto.refresh();
  238. cmb_clamdgfrom.refresh();
  239. }
  240. }
  241. ]]>
  242. </script>
  243. </xhtml:head>
  244. <xhtml:body guideline="1,1195;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  245. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  246. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:800px; height:14px; ">산재지불결정통지서(I020)조회</caption>
  247. </group>
  248. <group id="grp_btn" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  249. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  250. </group>
  251. <group id="group4" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  252. <caption id="caption36" class="tit_2" style="left:5px; top:80px; width:169px; height:14px; ">I020</caption>
  253. <line id="line27" class="line_1" style="x1:0px; y1:95px; x2:1194px; y2:95px; "/>
  254. <button id="button26" class="btn2_letter2" style="left:1152px; top:75px; width:42px; height:19px; ">
  255. <caption>출력</caption>
  256. <script type="javascript" ev:event="DOMActivate">
  257. <![CDATA[
  258. //출력하기 위해 노드에 코드값으로 가지고 있는 필드의 실제 매핑값을 임의로 만들어 준다.
  259. var cnt = getNodesetCount("/root/main/grid/gridlisti020/i020/notidd");
  260. for( var i = 1; i <= cnt; i++ ){
  261. //매핑값을 넣어주기 위한 노드 생성
  262. model.makeNode("/root/main/grid/gridlisti020/i020["+ i +"]/acptflagnm");
  263. model.makeNode("/root/main/grid/gridlisti020/i020["+ i +"]/sumtypecdnm");
  264. model.makeNode("/root/main/grid/gridlisti020/i020["+ i +"]/ioflagnm");
  265. //매핑값 세팅
  266. model.setValue("/root/main/grid/gridlisti020/i020["+ i +"]/acptflagnm", grd_i020.labelMatrix(i + 1, grd_i020.colRef("acptflag")));
  267. model.setValue("/root/main/grid/gridlisti020/i020["+ i +"]/sumtypecdnm", grd_i020.labelMatrix(i + 1, grd_i020.colRef("sumtypecd")));
  268. model.setValue("/root/main/grid/gridlisti020/i020["+ i +"]/ioflagnm", grd_i020.labelMatrix(i + 1, grd_i020.colRef("ioflag")));
  269. }
  270. exeReportPreview("RPPIE01800", "XMLSTR", "","", "false","","","","","false");
  271. ]]>
  272. </script>
  273. </button>
  274. <button id="button12" class="btn2_letter4" style="left:1087px; top:75px; width:64px; height:19px; ">
  275. <caption>엑셀저장</caption>
  276. <script type="javascript" ev:event="DOMActivate">
  277. <![CDATA[
  278. var today = getCurrentDate(); // 엑셀파일이름에오늘날짜를 넣기위해 받아옴
  279. // 그리드 제목을 선택하면 저장이 안된다.
  280. if (grd_i020.rows == 1) {
  281. return;
  282. }
  283. var fileName = window.fileDialog("save", ",", false, "I020-산재지불결정통지서_"+today, "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  284. if (fileName != "")
  285. {
  286. grd_i020.saveExcel(fileName, "SheetName", true, true, "", "", "acptflag:label;");
  287. }
  288. ]]>
  289. </script>
  290. </button>
  291. <datagrid id="grd_i020" nodeset="/root/main/grid/gridlisti020/i020" caption="통지일자^접수구분^진료년월^내원유형^집계유형^청구번호^접수번호^차수^지불&#xA;예정일자^입원^입원^입원^입원^입원^입원^입원^입원^입원^입원^통원^통원^통원^통원^통원^통원^통원^통원^통원^통원^입원+통원^입원+통원^입원+통원^입원+통원^입원+통원^입원+통원^입원+통원^입원+통원^입원+통원^입원+통원^과지급금^실사환수금^개산금선지급액^지급보류또는&#xA;기타차감금액^지급보류또는&#xA;차감금액소계^실지급액^참조란^서식번호^의료기관코드^과세표준액^소득세^주민세^원천징수세액^계좌번호^은행코드|통지일자^접수구분^진료년월^내원유형^집계유형^청구번호^접수번호^차수^지불&#xA;예정일자^건수^청구액^지불결정건수^지불결정금액^지급불능건수^지급불능금액^지급보류건수^지급보류금액^삭감건수^삭감액^건수^청구액^지불결정건수^지불결정금액^지급불능건수^지급불능금액^지급보류건수^지급보류금액^삭감건수^삭감액^건수^청구액^지불결정건수^지불결정금액^지급불능건수^지급불능금액^지급보류건수^지급보류금액^삭감건수^삭감액^과지급금^실사환수금^개산금선지급액^지급보류또는&#xA;기타차감금액^지급보류또는&#xA;차감금액소계^실지급액^참조란^서식번호^의료기관코드^과세표준액^소득세^주민세^원천징수세액^계좌번호^은행코드" colsep="^" colwidth="80, 66, 70, 70, 90, 70, 100, 35, 80, 39, 85, 82, 85, 81, 85, 76, 85, 53, 85, 50, 85, 84, 85, 79, 85, 78, 85, 69, 85, 49, 85, 93, 85, 86, 85, 85, 85, 71, 85, 79, 66, 60, 84, 75, 79, 100, 60, 80, 71, 100, 70, 100, 100, 60" dataheight="23" defaultrows="2" focuscolor="#b9e5fb" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="35" rowsep="|" style="left:0px; top:100px; width:1194px; height:642px; ">
  292. <col ref="notidd" format="yyyy/mm/dd" style="text-align:center; "/>
  293. <col ref="acptflag" type="combo" style="text-align:center; ">
  294. <choices>
  295. <itemset nodeset="/root/init/P0272list/P0272">
  296. <label ref="cdnm"/>
  297. <value ref="cdid"/>
  298. </itemset>
  299. </choices>
  300. </col>
  301. <col ref="ordym" format="yyyy/mm" style="text-align:center; "/>
  302. <col ref="ioflag" type="combo" style="text-align:center; ">
  303. <choices>
  304. <itemset nodeset="/root/init/P0028list/P0028">
  305. <label ref="cdnm"/>
  306. <value ref="cdid"/>
  307. </itemset>
  308. </choices>
  309. </col>
  310. <col ref="sumtypecd" type="combo" style="text-align:center; ">
  311. <choices>
  312. <itemset nodeset="/root/init/P0458list/P0458">
  313. <label ref="cdnm"/>
  314. <value ref="cdid"/>
  315. </itemset>
  316. </choices>
  317. </col>
  318. <col ref="clamno" style="text-align:center; "/>
  319. <col ref="acptno" style="text-align:center; "/>
  320. <col ref="dg" style="text-align:center; "/>
  321. <col ref="payschedd" format="yyyy/mm/dd" style="text-align:center; "/>
  322. <col ref="incnt" format="#,###" style="text-align:center; "/>
  323. <col ref="inclamamt" format="(-)#,###" style="text-align:right; "/>
  324. <col ref="inpaydecicnt" format="#,###" style="text-align:center; "/>
  325. <col ref="inpaydeciamt" format="(-)#,###" style="text-align:right; "/>
  326. <col ref="inpayimpsicnt" format="#,###" style="text-align:center; "/>
  327. <col ref="inpayimpsiamt" format="(-)#,###" style="text-align:right; "/>
  328. <col ref="inpretecnt" format="#,###" style="text-align:center; "/>
  329. <col ref="inpreteamt" format="(-)#,###" style="text-align:right; "/>
  330. <col ref="incutcnt" format="#,###" style="text-align:center; "/>
  331. <col ref="incutamt" format="(-)#,###" style="text-align:right; "/>
  332. <col ref="gohospcnt" format="#,###" style="text-align:center; "/>
  333. <col ref="gohospclamamt" format="(-)#,###" style="text-align:right; "/>
  334. <col ref="gohosppaydecicnt" format="#,###" style="text-align:center; "/>
  335. <col ref="gohosppdeciamt" format="(-)#,###" style="text-align:right; "/>
  336. <col ref="gohosppayimpsicnt" format="#,###" style="text-align:center; "/>
  337. <col ref="gohosppimpsiamt" format="(-)#,###" style="text-align:right; "/>
  338. <col ref="gohosppretecnt" format="#,###" style="text-align:center; "/>
  339. <col ref="gohosppreteamt" format="(-)#,###" style="text-align:right; "/>
  340. <col ref="gohospcutcnt" format="#,###" style="text-align:center; "/>
  341. <col ref="gohospcutamt" format="(-)#,###" style="text-align:right; "/>
  342. <col ref="ingocnt" format="#,###" style="text-align:center; "/>
  343. <col ref="ingoclamamt" format="(-)#,###" style="text-align:right; "/>
  344. <col ref="ingopaydecicnt" format="#,###" style="text-align:center; "/>
  345. <col ref="ingopaydeciamt" format="(-)#,###" style="text-align:right; "/>
  346. <col ref="ingopayimpsicnt" format="#,###" style="text-align:center; "/>
  347. <col ref="ingopayimpsiamt" format="(-)#,###" style="text-align:right; "/>
  348. <col ref="ingopretecnt" format="#,###" style="text-align:center; "/>
  349. <col ref="ingopreteamt" format="(-)#,###" style="text-align:right; "/>
  350. <col ref="ingocutcnt" format="#,###" style="text-align:center; "/>
  351. <col ref="ingocutamt" format="(-)#,###" style="text-align:right; "/>
  352. <col ref="excspayamt" format="(-)#,###" style="text-align:right; "/>
  353. <col ref="orginspramt" format="(-)#,###" style="text-align:right; "/>
  354. <col ref="calcprepayamt" format="(-)#,###" style="text-align:right; "/>
  355. <col ref="preteamt" format="(-)#,###" style="text-align:right; "/>
  356. <col ref="subtramtsum" format="(-)#,###" style="text-align:right; "/>
  357. <col ref="orgpayamt" format="(-)#,###" style="text-align:right; "/>
  358. <col ref="rem" style="text-align:left; "/>
  359. <col ref="docuno" style="text-align:center; "/>
  360. <col ref="healcareinstcd" style="text-align:center; "/>
  361. <col ref="taxstndamt" format="(-)#,###" style="text-align:right; "/>
  362. <col ref="incmtax" format="(-)#,###" style="text-align:right; "/>
  363. <col ref="resdntax" format="(-)#,###" style="text-align:right; "/>
  364. <col ref="orgchrgtaxamtsum" format="(-)#,###" style="text-align:right; "/>
  365. <col ref="acntno" style="text-align:center; "/>
  366. <col ref="acntbankcd" style="text-align:center; "/>
  367. </datagrid>
  368. <group id="group5" style="left:0px; top:10px; width:1194px; height:60px; vertical-align:top; ">
  369. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  370. <caption id="cap_toacptym" class="search_name" style="left:0px; top:22px; width:66px; height:17px; ">기간 :</caption>
  371. <select1 id="rdo_termflag" ref="/root/send/termflag" overflow="visible" appearance="full" cols="1" rows="2" style="left:65px; top:14px; width:70px; height:32px; border-style:none; ">
  372. <choices>
  373. <item>
  374. <label>통지일자</label>
  375. <value>1</value>
  376. </item>
  377. <item>
  378. <label>청구년월</label>
  379. <value>2</value>
  380. </item>
  381. </choices>
  382. <script type="javascript" ev:event="xforms-select">
  383. <![CDATA[
  384. ]]>
  385. </script>
  386. <script type="javascript" ev:event="xforms-value-changed">
  387. <![CDATA[
  388. var today = getCurrentDate();
  389. // 접수년월을 선택하는 경우 입력 값의 길이가 6자리를 넘는지 체크한다.
  390. if (rdo_termflag.value == 2) {
  391. ipt_fromacptym.attribute("maxlength") = 6;
  392. ipt_toacptym.attribute("maxlength") = 6;
  393. // 2007.10.12 날짜 형식 지정
  394. ipt_fromacptym.attribute("format") = "yyyy-mm";
  395. ipt_toacptym.attribute("format") = "yyyy-mm";
  396. model.setFocus("ipt_fromacptym");
  397. if (ipt_fromacptym.value.length >= 7) {
  398. // 사용자에게 에러 메시지를 보여주고 'YYYYMM'형식으로 변환시킨다.
  399. messageBox("진료년월을 'YYYYMM'형식으로 입력해 주십시오.", "C003");
  400. ipt_fromacptym.value = ipt_fromacptym.value.substr(0,6);
  401. ipt_toacptym.value = ipt_toacptym.value.substr(0,6);
  402. }
  403. cmb_clamdgfrom.disabled = false;
  404. cmb_clamdgto.disabled = false;
  405. cmb_clamdgfrom.select(0);
  406. cmb_clamdgto.select(0);
  407. }
  408. // 통지일자를 선택하는 경우 입력 값의 길이가 6자리를 넘는지 체크한다.
  409. if (rdo_termflag.value == 1) {
  410. ipt_fromacptym.attribute("maxlength") = 8;
  411. ipt_toacptym.attribute("maxlength") = 8;
  412. model.setValue("/root/send/fromacptym", today);
  413. model.setValue("/root/send/toacptym", today);
  414. // 2007.10.12 날짜 형식 지정
  415. ipt_fromacptym.attribute("format") = "yyyy-mm-dd";
  416. ipt_toacptym.attribute("format") = "yyyy-mm-dd";
  417. cmb_clamdgfrom.value = "";
  418. cmb_clamdgto.value = "";
  419. cmb_clamdgfrom.disabled = true;
  420. cmb_clamdgto.disabled = true;
  421. model.setFocus("ipt_fromacptym");
  422. }
  423. model.refresh();
  424. ]]>
  425. </script>
  426. </select1>
  427. <input id="ipt_fromacptym" ref="/root/send/fromacptym" class="input_search" inputtype="date" style="left:144px; top:21px; width:85px; height:19px; ">
  428. <script type="javascript" ev:event="DOMFocusOut">
  429. <![CDATA[
  430. model.setValue("/root/send/toacptym",model.getValue("/root/send/fromacptym"));
  431. model.refresh();
  432. pidfGetClamdg();
  433. fChkClamym();
  434. // model.setValue("/root/send/toacptym",model.getValue("/root/send/fromacptym"));
  435. // model.refreshpart("/root/send/toacptym");
  436. ]]>
  437. </script>
  438. </input>
  439. <caption id="caption31" style="left:294px; top:22px; width:15px; height:15px; ">~</caption>
  440. <input id="ipt_toacptym" ref="/root/send/toacptym" class="input_search" inputtype="date" style="left:308px; top:21px; width:85px; height:19px; ">
  441. <script type="javascript" ev:event="DOMFocusOut">
  442. <![CDATA[
  443. pidfGetClamdg();
  444. fChkClamym();
  445. ]]>
  446. </script>
  447. </input>
  448. <caption id="caption34" class="search_name" style="left:491px; top:5px; width:90px; height:17px; ">접수구분 :</caption>
  449. <select1 id="cmb_acptflag" ref="/root/send/acptflag" class="combo_search" appearance="minimal" style="left:580px; top:5px; width:100px; height:19px; ">
  450. <choices>
  451. <itemset nodeset="/root/init/P0272list/P0272">
  452. <label ref="cdnm"/>
  453. <value ref="cdid"/>
  454. </itemset>
  455. </choices>
  456. </select1>
  457. <caption id="caption35" class="search_name" style="left:491px; top:35px; width:90px; height:17px; ">청구번호 :</caption>
  458. <input id="ipt_clamno" ref="/root/send/clamno" class="input_search" style="left:581px; top:35px; width:100px; height:19px; "/>
  459. <caption id="caption30" class="search_name" style="left:729px; top:5px; width:90px; height:17px; ">접수번호 :</caption>
  460. <input id="ipt_acptno" ref="/root/send/acptno" class="input_search" style="left:819px; top:5px; width:100px; height:19px; "/>
  461. <caption id="caption40" class="search_name" style="left:959px; top:20px; width:90px; height:17px; ">산재유형 :</caption>
  462. <select1 id="rdo_sumtypecd" ref="/root/send/sumtypecd" overflow="visible" appearance="full" cols="1" rows="3" style="left:1050px; top:5px; width:47px; height:49px; border-style:none; ">
  463. <choices>
  464. <item>
  465. <label>전체</label>
  466. <value>-</value>
  467. </item>
  468. <item>
  469. <label>산재</label>
  470. <value>0</value>
  471. </item>
  472. <item>
  473. <label>후유</label>
  474. <value>A</value>
  475. </item>
  476. </choices>
  477. </select1>
  478. <line id="line26" class="line_4" style="x1:1108px; y1:7px; x2:1108px; y2:54px; border-color:#ffe4bb; border-left-style:solid; "/>
  479. <button id="btn_research" class="btn1_letter2" style="left:1123px; top:19px; width:56px; height:22px; ">
  480. <caption>조회</caption>
  481. <script type="javascript" ev:event="DOMActivate">
  482. <![CDATA[
  483. if ((ipt_fromacptym.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "") ||
  484. (ipt_toacptym.currentText == "" && ipt_clamno.currentText == "" && ipt_acptno.currentText == "")) {
  485. messageBox("[기간 ]또는 [청구번호/접수번호]를","C001");
  486. }
  487. else {
  488. submit("TRPIE01800");
  489. }
  490. ]]>
  491. </script>
  492. </button>
  493. <select1 id="cmb_clamflag" ref="/root/send/clamflag" class="combo_search" appearance="minimal" style="left:819px; top:35px; width:100px; height:19px; ">
  494. <choices>
  495. <itemset nodeset="/root/init/P0155list/P0155">
  496. <label ref="cdnm"/>
  497. <value ref="cdid"/>
  498. </itemset>
  499. </choices>
  500. </select1>
  501. <caption id="caption5" class="search_name" style="left:729px; top:35px; width:86px; height:17px; ">청구구분 :</caption>
  502. <select1 id="cmb_clamdgto" ref="/root/send/clamdgto" class="combo_search" appearance="minimal" style="left:398px; top:21px; width:55px; height:19px; ">
  503. <choices>
  504. <itemset nodeset="/root/init/clamdgto/clamdglist">
  505. <label ref="clamdgnm"/>
  506. <value ref="clamdgcd"/>
  507. </itemset>
  508. </choices>
  509. <script type="javascript" ev:event="xforms-value-changed">
  510. <![CDATA[
  511. model.setValue("/root/send/clamdgfrom", model.getValue("/root/send/clamdgto"));
  512. model.refresh();
  513. ]]>
  514. </script>
  515. </select1>
  516. <select1 id="cmb_clamdgfrom" ref="/root/send/clamdgfrom" class="combo_search" appearance="minimal" style="left:234px; top:21px; width:55px; height:19px; ">
  517. <choices>
  518. <itemset nodeset="/root/init/clamdgfrom/clamdglist">
  519. <label ref="clamdgnm"/>
  520. <value ref="clamdgcd"/>
  521. </itemset>
  522. </choices>
  523. <script type="javascript" ev:event="xforms-value-changed">
  524. <![CDATA[
  525. model.setValue("/root/send/clamdgto", model.getValue("/root/send/clamdgfrom"));
  526. model.refresh();
  527. ]]>
  528. </script>
  529. </select1>
  530. </group>
  531. <button id="button7" class="btn2_letter6" style="left:999px; top:75px; width:86px; height:19px; ">
  532. <caption>Open Excel</caption>
  533. <script type="javascript" ev:event="DOMActivate">
  534. <![CDATA[
  535. try {
  536. window.exec("excel");
  537. } catch(e) {
  538. alert(e);
  539. }
  540. ]]>
  541. </script>
  542. </button>
  543. <button id="button10" class="btn2_letter3" style="left:889px; top:75px; width:53px; height:19px; ">
  544. <caption>열카피</caption>
  545. <script type="javascript" ev:event="onclick">
  546. <![CDATA[
  547. grd_i020.attribute("selectionmode") = "bycol";
  548. ]]>
  549. </script>
  550. </button>
  551. <button id="button11" class="btn2_letter3" style="left:944px; top:75px; width:53px; height:19px; ">
  552. <caption>행카피</caption>
  553. <script type="javascript" ev:event="onclick">
  554. <![CDATA[
  555. grd_i020.attribute("selectionmode") = "byrow";
  556. ]]>
  557. </script>
  558. </button>
  559. <button id="button13" class="btn2_letter3" style="left:834px; top:75px; width:53px; height:19px; ">
  560. <caption>셀카피</caption>
  561. <script type="javascript" ev:event="onclick">
  562. <![CDATA[
  563. grd_i020.attribute("selectionmode") = "free";
  564. ]]>
  565. </script>
  566. </button>
  567. </group>
  568. </xhtml:body>
  569. </xhtml:html>