SMPIF10200_심결정보생성관리.xrw 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!--
  3. [개발이력]
  4. 2007.05.30 / 최초작성 / 이종찬
  5. -->
  6. <?xml-stylesheet href="../../../com/commonweb/css/common.css" type="text/css" ?>
  7. <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">
  8. <xhtml:head>
  9. <xhtml:title>심결정보생성조회</xhtml:title>
  10. <model id="model1">
  11. <instance id="instance1">
  12. <root xmlns="">
  13. <main>
  14. <list02>
  15. <comboclamym>
  16. <clamymlab/>
  17. <clamymval/>
  18. </comboclamym>
  19. </list02>
  20. <list03>
  21. <combojudgdg>
  22. <judgdglab/>
  23. <judgdgval/>
  24. </combojudgdg>
  25. </list03>
  26. <rCSV/>
  27. <list04>
  28. <input>
  29. <clamno/>
  30. </input>
  31. </list04>
  32. <list05>
  33. <input>
  34. <clamtypecd/>
  35. </input>
  36. </list05>
  37. <list>
  38. <list01>
  39. <gridjrinfo>
  40. <chkbox/>
  41. </gridjrinfo>
  42. </list01>
  43. <list06>
  44. <input06>
  45. <ordfildcd/>
  46. <clamflag/>
  47. <acptdd/>
  48. </input06>
  49. </list06>
  50. </list>
  51. </main>
  52. <send>
  53. <acptno/>
  54. <clamym/>
  55. <judgdg/>
  56. <tmp>
  57. <list/>
  58. </tmp>
  59. <clamno/>
  60. <clamtypecd/>
  61. <offset/>
  62. <pagesize>500</pagesize>
  63. </send>
  64. <init>
  65. <P0008list>
  66. <P0008>
  67. <cdnm/>
  68. <cdid/>
  69. </P0008>
  70. </P0008list>
  71. <comboclamym>
  72. <clamymlab/>
  73. <clamymval/>
  74. </comboclamym>
  75. <combojudgdg>
  76. <judgdglab/>
  77. <judgdgval/>
  78. </combojudgdg>
  79. <P0370list>
  80. <P0370>
  81. <cdnm/>
  82. <cdid/>
  83. </P0370>
  84. </P0370list>
  85. <P0425list>
  86. <P0425>
  87. <cdnm/>
  88. <cdid/>
  89. </P0425>
  90. </P0425list>
  91. <P0408list>
  92. <P0408>
  93. <cdnm/>
  94. <cdid/>
  95. </P0408>
  96. </P0408list>
  97. </init>
  98. <hidden/>
  99. </root>
  100. </instance>
  101. <script type="javascript" ev:event="xforms-ready">
  102. <![CDATA[
  103. // 윤영옥 선생님께 확인 후 주석처리하였다.
  104. //grdjrinfo.fixedcellcheckbox(0,1) = true;
  105. CommCode_Load();
  106. // 조회된 건이 하나도 보이지 않도록 그리드를 초기화 한다.
  107. model.removeNodeset("/root/main/list/list01/gridjrinfo");
  108. model.refresh();
  109. ]]>
  110. </script>
  111. <submission id="TRZBC00101" mediatype="application/x-www-form-urlencoded" method="post"/>
  112. <submission id="TRPIF10200" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" add="bottom" resultref="/root/main/list"/>
  113. <submission id="TRPIF10201" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list02"/>
  114. <submission id="TRPIF10202" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list03"/>
  115. <submission id="TRPIF10204" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list04"/>
  116. <submission id="TRPIF10205" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" resultref="/root/main/list05"/>
  117. <submission id="TXPIF10203" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  118. <submission id="TXPIF10206" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  119. <submission id="TRZBC00102" mediatype="application/x-www-form-urlencoded" method="post"/>
  120. <submission id="TXPIF10207" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  121. <submission id="TXPIF10208" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send"/>
  122. </model>
  123. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  124. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  125. <script type="javascript" src="../../../com/basiccodeweb/js/ZBC001.js"/>
  126. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  127. <script type="javascript" src="../../../com/batchinfoweb/js/ZSB001.js"/>
  128. <script type="javascript">
  129. <![CDATA[
  130. // 공통코드 Load작업
  131. function CommCode_Load() {
  132. // 관련 Control 초기화
  133. zbcfGetCodeList(new Array("P0370"), new Array("/root/init/P0370list")); // 미수처리구분
  134. zbcfGetCodeList(new Array("P0425"), new Array("/root/init/P0425list")); // 진료분야
  135. zbcfGetCodeList(new Array("P0408"), new Array("/root/init/P0408list")); // 청구구분
  136. model.refresh();
  137. }
  138. // 2007.08.07 페이지 단위 조회
  139. function fSubmitOnScroll() {
  140. // 2007.10.08 그리드에 vertical scroll이 생성되지 않은 경우는 아래의 루틴을 태우지 않는다.
  141. if (grd_jrinfo.vscroll.attribute("max") != 0 && grd_jrinfo.vscroll.attribute("pos") != 0) {
  142. // end of scroll
  143. if (grd_jrinfo.vscroll.attribute("max") == grd_jrinfo.vscroll.attribute("pos")) {
  144. model.setValue("/root/send/offset",grd_jrinfo.rows-1); // grid의 header row는 제외
  145. // 심결정보 생성내역 조회
  146. submit("TRPIF10200");
  147. grd_jrinfo.dispatch("onmouseup"); // 스크롤바 처리를 위한 이벤트 발생
  148. // grd_jrinfo.colStyle(13,"data","background-color") = "#ffffcc";
  149. // grd_jrinfo.colStyle(14,"data","background-color") = "#ffff99";
  150. // grd_jrinfo.colStyle(15,"data","background-color") = "#ffff88";
  151. // grd_jrinfo.colStyle(16,"data","background-color") = "#ffff77";
  152. // grd_jrinfo.colStyle(17,"data","background-color") = "#ffff66";
  153. // grd_jrinfo.colStyle(18,"data","background-color") = "#ffff55";
  154. // grd_jrinfo.colStyle(19,"data","background-color") = "#ffff44";
  155. }
  156. }
  157. }
  158. // 2007.09.10 초기화 함수
  159. function fInitialize() {
  160. // 조회 조건 입력값 초기화
  161. model.resetInstanceNode("/root/send");
  162. // 그리드 공라인 없애기
  163. //model.removeNodeset("/root/main/list01/gridjrinfo");
  164. model.removeNodeset("/root/main/list/list01/gridjrinfo");
  165. model.removeNodeset("/root/main/list/list02");
  166. model.removeNodeset("/root/main/list/list03");
  167. model.removeNodeset("/root/main/list/list04");
  168. model.removeNodeset("/root/main/list/list05");
  169. // 2007.12.11 초기화 보완 -------------------------------------------------------------
  170. // 가비지 데이터 삭제
  171. model.setValue("/root/send/clamym","");
  172. model.setValue("/root/send/judgdg","");
  173. model.setValue("/root/send/clamno","");
  174. model.setValue("/root/send/clamtypecd","");
  175. model.removeNodeset("/root/main/list");
  176. // 2007.12.11 setValue 대상의 노드가 존재하지 않는 오류 수정
  177. model.makeNode("/root/main/list04/input/clamno");
  178. model.makeNode("/root/main/list05/input/clamtypecd");
  179. model.setValue("/root/main/list04/input/clamno","");
  180. model.setValue("/root/main/list05/input/clamtypecd","");
  181. // ------------------------------------------------------------------------------------
  182. model.refresh();
  183. //
  184. // 포커스 이동
  185. model.setFocus("ipt_acptno");
  186. }
  187. ]]>
  188. </script>
  189. </xhtml:head>
  190. <xhtml:body guideline="1,1193;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  191. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  192. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:254px; height:14px; ">심결정보생성조회</caption>
  193. </group>
  194. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:744px; ">
  195. <caption id="caption1" class="tit_2" style="left:6px; top:89px; width:121px; height:13px; ">심결정보생성내역</caption>
  196. <line id="line1" class="line_1" style="x1:0px; y1:104px; x2:1194px; y2:104px; "/>
  197. <group id="group4" style="left:0px; top:10px; width:1194px; height:35px; vertical-align:top; ">
  198. <shape id="roundrect3" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1194px; height:35px; background-color:#fffbf2; border-color:#ffd799; "/>
  199. <button id="button15" class="btn1_letter2" navindex="4" style="left:1122px; top:7px; width:56px; height:22px; ">
  200. <caption>조회</caption>
  201. <script type="javascript" ev:event="DOMActivate">
  202. <![CDATA[
  203. // 2007.10.16 그리드 표시 내용이 누적되지 않게 한다.
  204. //model.removeNodeset("/root/main/list01/gridjrinfo");
  205. model.removeNodeset("/root/main/list");
  206. if (isRequiredControls("ipt_acptno","cmb_clamym")) {
  207. // 2007.08.07 조회버튼으로 조회 시 offset은 "0"으로 설정하고 submit() 을 수행한다.
  208. model.setValue("/root/send/offset","0");
  209. // 심결정보 생성내역 조회
  210. submit("TRPIF10200");
  211. // grd_jrinfo.colStyle(13,"data","background-color") = "#ffffcc";
  212. // grd_jrinfo.colStyle(14,"data","background-color") = "#ffff99";
  213. // grd_jrinfo.colStyle(15,"data","background-color") = "#ffff88";
  214. // grd_jrinfo.colStyle(16,"data","background-color") = "#ffff77";
  215. // grd_jrinfo.colStyle(17,"data","background-color") = "#ffff66";
  216. // grd_jrinfo.colStyle(18,"data","background-color") = "#ffff55";
  217. // grd_jrinfo.colStyle(19,"data","background-color") = "#ffff44";
  218. }
  219. ]]>
  220. </script>
  221. </button>
  222. <line id="line2" class="line_4" style="x1:1106px; y1:7px; x2:1106px; y2:29px; border-color:#ffe4bb; border-left-style:solid; "/>
  223. <input id="ipt_acptno" ref="/root/send/acptno" class="input_s_essential" navindex="1" inputtype="button" style="left:110px; top:8px; width:165px; height:19px; ">
  224. <script type="javascript" ev:event="onkeyup">
  225. <![CDATA[
  226. // [Enter] 입력시 청구년월을 콤보에 내리도록 명령
  227. inputEnterKey("btn_clamym", "DOMActivate");
  228. ]]>
  229. </script>
  230. <script type="javascript" ev:event="onbuttonclick">
  231. <![CDATA[
  232. model.makeNode("/root/send/send01/termflag");
  233. model.makeNode("/root/send/send01/fromdd");
  234. model.makeNode("/root/send/send01/todd");
  235. model.makeNode("/root/send/send01/insukind");
  236. model.makeNode("/root/send/send01/acptno");
  237. model.setValue("/root/send/send01/insukind","11");
  238. setParameter("SPPIF30302_RTNTYPE", "P");
  239. modal("SPPIF30302", 1, 1, 1, "SPPIF30302", "/root/send/send01", "/root/send");
  240. model.setValue("/root/send/acptno", getParameter("SPPIF30302_acptno"));
  241. model.removeNodeset("/root/send/send01");
  242. clearParameter("SPPIF30302_RTNTYPE");
  243. clearParameter("SPPIF30302_acptno");
  244. ipt_acptno.refresh();
  245. if( model.getValue("/root/send/acptno") != '' ){
  246. //ipt_srchcond01.dispatch("DOMFocusOut");
  247. btn_clamym.dispatch("DOMActivate");
  248. }
  249. ]]>
  250. </script>
  251. </input>
  252. <caption id="cap_acptno" class="search_name" style="left:15px; top:9px; width:86px; height:17px; ">접수번호 :</caption>
  253. <caption id="cap_03" class="search_name" style="left:632px; top:9px; width:86px; height:17px; ">심사차수 :</caption>
  254. <select1 id="cmb_clamym" ref="/root/send/clamym" class="combo_s_essential" navindex="2" appearance="minimal" style="left:414px; top:8px; width:165px; height:19px; ">
  255. <choices>
  256. <itemset nodeset="/root/main/list02/comboclamym">
  257. <label ref="clamymlab"/>
  258. <value ref="clamymval"/>
  259. </itemset>
  260. </choices>
  261. <script type="javascript" ev:event="xforms-select">
  262. <![CDATA[
  263. // 가비지 데이터 삭제
  264. model.setValue("/root/send/judgdg","");
  265. // 심사차수 조회
  266. submit("TRPIF10202");
  267. // 조회된 심사차수 콤보의 맨 앞자리에 공백 아이템을 넣어준다.
  268. copyNodeType("/root/main/list03/combojudgdg","/root/init/combojudgdg","before");
  269. model.refresh();
  270. // 2007.10.16 그리드 표시 내용이 누적되지 않게 한다.
  271. //model.removeNodeset("/root/main/list01/gridjrinfo");
  272. model.removeNodeset("/root/main/list");
  273. // 청구번호 조회
  274. submit("TRPIF10204");
  275. // 청구유형 조회
  276. submit("TRPIF10205");
  277. model.setValue("/root/send/offset","0");
  278. // 심결정보 생성내역 조회
  279. submit("TRPIF10200");
  280. // grd_jrinfo.colStyle(13,"data","background-color") = "#ffffcc";
  281. // grd_jrinfo.colStyle(14,"data","background-color") = "#ffff99";
  282. // grd_jrinfo.colStyle(15,"data","background-color") = "#ffff88";
  283. // grd_jrinfo.colStyle(16,"data","background-color") = "#ffff77";
  284. // grd_jrinfo.colStyle(17,"data","background-color") = "#ffff66";
  285. // grd_jrinfo.colStyle(18,"data","background-color") = "#ffff55";
  286. // grd_jrinfo.colStyle(19,"data","background-color") = "#ffff44";
  287. ]]>
  288. </script>
  289. </select1>
  290. <caption id="cap_clamym" class="search_name" style="left:319px; top:9px; width:86px; height:17px; ">청구년월 :</caption>
  291. <select1 id="cmb_judgdg" ref="/root/send/judgdg" class="combo_search" navindex="3" appearance="minimal" style="left:726px; top:8px; width:165px; height:19px; ">
  292. <choices>
  293. <itemset nodeset="/root/main/list03/combojudgdg">
  294. <label ref="judgdglab"/>
  295. <value ref="judgdgval"/>
  296. </itemset>
  297. </choices>
  298. <script type="javascript" ev:event="xforms-select">
  299. <![CDATA[
  300. // 2008.02.12 그리드 누적 방지
  301. model.removeNodeset("/root/main/list");
  302. model.removeNodeset("/root/main/list/list05");
  303. // 청구유형 조회
  304. submit("TRPIF10205");
  305. model.setValue("/root/send/offset","0");
  306. // 심결정보 생성내역 조회
  307. submit("TRPIF10200");
  308. // grd_jrinfo.colStyle(13,"data","background-color") = "#ffffcc";
  309. // grd_jrinfo.colStyle(14,"data","background-color") = "#ffff99";
  310. // grd_jrinfo.colStyle(15,"data","background-color") = "#ffff88";
  311. // grd_jrinfo.colStyle(16,"data","background-color") = "#ffff77";
  312. // grd_jrinfo.colStyle(17,"data","background-color") = "#ffff66";
  313. // grd_jrinfo.colStyle(18,"data","background-color") = "#ffff55";
  314. // grd_jrinfo.colStyle(19,"data","background-color") = "#ffff44";
  315. ]]>
  316. </script>
  317. </select1>
  318. </group>
  319. <col type="checkbox"/>
  320. <button id="button2" class="btn2_letter4" style="left:1130px; top:83px; width:64px; height:19px; ">
  321. <caption>엑셀저장</caption>
  322. <script type="javascript" ev:event="DOMActivate">
  323. <![CDATA[
  324. var fileName = window.fileDialog("save", ",", false, "excel", "xls", "Excel Files(*.xls)|*.xls|All Files (*.*)|*.*");
  325. if (fileName != "") {
  326. grd_jrinfo.saveExcel(fileName, "SheetName", true, true, "", "", "");
  327. }
  328. ]]>
  329. </script>
  330. </button>
  331. <datagrid id="grd_jrinfo" nodeset="/root/main/list/list01/gridjrinfo" class="datagrid2" caption="생성^등록번호^수진자^청구일자^입원일자^적용일자^보험유형^장애수첩^접수번호^심사차수^명번호^미수처리^요양급여총액^본인부담금^청구액^본인부담상한금^지원금^장애인의료비^대불금^비고^clamno^조합기호" colsep="^" colwidth="35, 73, 71, 73, 73, 73, 105, 60, 70, 70, 63, 70, 100, 100, 100, 100, 100, 100, 100, 150, 76, 100" dataheight="25" extendlastcol="false" mergecellsfixedrows="bycolrec" rowheader="seq" rowheight="25" rowsep="|" style="left:0px; top:109px; width:1194px; height:628px; ">
  332. <col ref="jryn" style="text-align:center; "/>
  333. <col ref="pid" style="text-align:center; "/>
  334. <col ref="patnm" style="text-align:center; "/>
  335. <col ref="clamdd" visibility="hidden" format="yyyy-mm-dd" style="text-align:center; "/>
  336. <col ref="indd" format="yyyy-mm-dd" style="text-align:center; "/>
  337. <col ref="cretfromdd" format="yyyy-mm-dd" style="text-align:center; "/>
  338. <col ref="insukind" style="text-align:center; "/>
  339. <col ref="prockindflag" visibility="hidden" style="text-align:center; "/>
  340. <col ref="acptno" style="text-align:center; "/>
  341. <col ref="judgdg" style="text-align:center; "/>
  342. <col ref="docuseqno" style="text-align:center; "/>
  343. <col disabled="true" ref="decotretflag" type="combo" style="text-align:center; ">
  344. <choices>
  345. <itemset nodeset="/root/init/P0370list/P0370">
  346. <label ref="cdnm"/>
  347. <value ref="cdid"/>
  348. </itemset>
  349. </choices>
  350. </col>
  351. <col ref="medcaretotamt" format="(-)#,###" style="text-align:right; "/>
  352. <col ref="ownbamt" format="(-)#,###" style="left:960px; top:23px; width:93px; height:23px; text-align:right; "/>
  353. <col ref="insuclamamt" format="(-)#,###" style="text-align:right; "/>
  354. <col ref="ownbmaxexamt" format="(-)#,###" style="text-align:right; "/>
  355. <col ref="suppamt" format="(-)#,###" style="text-align:right; "/>
  356. <col ref="handcaprfund" format="(-)#,###" style="text-align:right; "/>
  357. <col ref="subtamt" format="(-)#,###" style="text-align:right; "/>
  358. <col ref="rem" visibility="hidden"/>
  359. <col ref="clamno" visibility="hidden"/>
  360. <col ref="insuno" style="text-align:center; "/>
  361. <script type="javascript" ev:event="onscroll">
  362. <![CDATA[
  363. fSubmitOnScroll();
  364. ]]>
  365. </script>
  366. </datagrid>
  367. <input id="ipt_clamtypecd" ref="/root/main/list05/input/clamtypecd" class="input_search" disabled="true" navindex="1" visibility="hidden" style="left:865px; top:40px; width:120px; height:19px; "/>
  368. <input id="ipt_clamno" ref="/root/main/list04/input/clamno" class="input_search" disabled="true" visibility="visible" style="left:807px; top:59px; width:126px; height:19px; text-align:center; "/>
  369. <caption id="caption12" class="cell_1" style="left:670px; top:57px; width:135px; height:23px; text-align:center; vertical-align:middle; ">청구번호</caption>
  370. <caption id="caption2" class="cell_1" style="left:935px; top:57px; width:135px; height:23px; text-align:center; vertical-align:middle; ">접수일자</caption>
  371. <input id="ipt_acptdd" ref="/root/main/list/list06/input06/acptdd" class="input_search" disabled="true" visibility="visible" style="left:1072px; top:59px; width:122px; height:19px; text-align:center; "/>
  372. <caption id="caption3" class="cell_1" style="left:408px; top:57px; width:135px; height:23px; text-align:center; vertical-align:middle; ">청구구분</caption>
  373. <caption id="caption4" class="cell_1" style="left:143px; top:57px; width:135px; height:23px; text-align:center; vertical-align:middle; ">청구분야</caption>
  374. <line id="line10" class="line_3" style="x1:143px; y1:80px; x2:1194px; y2:80px; "/>
  375. <line id="line3" class="line_3" style="x1:143px; y1:56px; x2:1194px; y2:56px; "/>
  376. <button id="btn_clamym" class="btn2_letter13" visibility="hidden" style="left:20px; top:70px; width:163px; height:19px; ">
  377. <caption>[콤보박스]청구년월 내려받기</caption>
  378. <!-- - 2007.05.30 / 화면수정 / 청구년월을 획득하기위한 [Enter] 이벤트 핸들러 -->
  379. <script type="javascript" ev:event="DOMActivate">
  380. <![CDATA[
  381. // 이전 데이터 삭제
  382. model.setValue("/root/send/clamym","");
  383. model.setValue("/root/send/judgdg","");
  384. model.setValue("/root/send/clamno","");
  385. model.setValue("/root/send/clamtypecd","");
  386. model.removeNodeset("/root/main/list");
  387. // 청구년월 조회
  388. submit("TRPIF10201");
  389. // 조회된 청구년월 콤보의 맨 앞자리에 공백 아이템을 넣어준다.
  390. copyNodeType("/root/main/list02/comboclamym","/root/init/comboclamym","before");
  391. model.refresh();
  392. model.setFocus("cmb_clamym");
  393. // 청구년월 조회된 건이 1개인 경우 바로 submit 전송
  394. if (cmb_clamym.length == 2) {
  395. cmb_clamym.value = model.getValue("/root/main/list02/comboclamym/clamymlab[2]");
  396. // 청구년월을 포맷
  397. var str = model.getValue("root/send/clamym2");
  398. var ss = "";
  399. var i = 0;
  400. if (str.length == 7) {
  401. // js에서는 0부터 인덱싱한다.
  402. for (i = 0; i <str.length; i++) {
  403. // 건건히 돌리면서 '-'를 제거한다.
  404. if (str.substr(i,1) != "-") {
  405. ss = ss + str.substr(i,1)
  406. }
  407. }
  408. // alert(ss);
  409. model.setValue("root/send/clamym",ss);
  410. }
  411. // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  412. // 심사차수 조회
  413. submit("TRPIF10202");
  414. // 조회된 심사차수 콤보의 맨 앞자리에 공백 아이템을 넣어준다.
  415. copyNodeType("/root/main/list03/combojudgdg","/root/init/combojudgdg","before");
  416. model.refresh();
  417. // 청구번호 조회
  418. submit("TRPIF10204");
  419. // 청구유형 조회
  420. submit("TRPIF10205");
  421. model.setValue("/root/send/offset","0");
  422. // 심결정보 생성내역 조회
  423. submit("TRPIF10200");
  424. // grd_jrinfo.colStyle(13,"data","background-color") = "#ffffcc";
  425. // grd_jrinfo.colStyle(14,"data","background-color") = "#ffff99";
  426. // grd_jrinfo.colStyle(15,"data","background-color") = "#ffff88";
  427. // grd_jrinfo.colStyle(16,"data","background-color") = "#ffff77";
  428. // grd_jrinfo.colStyle(17,"data","background-color") = "#ffff66";
  429. // grd_jrinfo.colStyle(18,"data","background-color") = "#ffff55";
  430. // grd_jrinfo.colStyle(19,"data","background-color") = "#ffff44";
  431. }
  432. ]]>
  433. </script>
  434. </button>
  435. <select1 id="cmb_ordfildcd" ref="/root/main/list/list06/input06/ordfildcd" class="combo_search" disabled="true" appearance="minimal" style="left:280px; top:59px; width:126px; height:19px; text-align:center; ">
  436. <choices>
  437. <itemset nodeset="/root/init/P0425list/P0425">
  438. <label ref="cdnm"/>
  439. <value ref="cdid"/>
  440. </itemset>
  441. </choices>
  442. </select1>
  443. <select1 id="cmb_clamflag" ref="/root/main/list/list06/input06/clamflag" class="combo_search" disabled="true" appearance="minimal" style="left:545px; top:59px; width:123px; height:19px; text-align:center; ">
  444. <choices>
  445. <itemset nodeset="/root/init/P0408list/P0408">
  446. <label ref="cdnm"/>
  447. <value ref="cdid"/>
  448. </itemset>
  449. </choices>
  450. </select1>
  451. <button id="button5" class="btn2_letter8" visibility="hidden" style="left:1019px; top:83px; width:108px; height:19px; ">
  452. <caption>미수배치작업확인</caption>
  453. <script type="javascript" ev:event="DOMActivate">
  454. <![CDATA[
  455. // 2007.11.23 접수미수정보생성배치로그조회
  456. //modal("SPZSB00301", "", "400", "400" ,"SPZSB00301", "", "");
  457. var todd = getCurrentDate();
  458. todd = todd.toDate().getAddDate(+1, 'D');
  459. if (model.getValue("root/main/list05/input/clamtypecd") == "1") {
  460. zsbfOpenBatchLogPopup("uncomngtmgr.InsuJrUncoInfoCretBatch",getCurrentDate(),todd.getDateFormat());
  461. }
  462. else if (model.getValue("root/main/list05/input/clamtypecd") == "4") {
  463. zsbfOpenBatchLogPopup("uncomngtmgr.MedJrUncoInfoCretBatch",getCurrentDate(),todd.getDateFormat());
  464. }
  465. ]]>
  466. </script>
  467. </button>
  468. <button id="button1" class="btn2_letter2" visibility="hidden" style="left:1085px; top:43px; width:42px; height:19px; ">
  469. <caption>삭제</caption>
  470. <script type="javascript" ev:event="DOMActivate">
  471. <![CDATA[
  472. if (model.getValue("root/send/acptno") == "") {
  473. messageBox("접수번호를", "C001");
  474. }
  475. else if (model.getValue("root/send/clamym") == "") {
  476. messageBox("청구년월을", "C001");
  477. }
  478. else if (model.getValue("root/send/judgdg") == "") {
  479. messageBox("심사차수를", "C001");
  480. }
  481. else if (model.getValue("root/main/list04/input/clamno") == "") {
  482. messageBox("청구번호를 획득", "E001");
  483. }
  484. else if (model.getValue("root/main/list05/input/clamtypecd") == "") {
  485. messageBox("청구유형을 획득", "E001");
  486. }
  487. else{
  488. // 인스턴스 값을 읽어다 전송 준비를 한다.
  489. model.setValue("/root/send/clamno", ipt_clamno.value);
  490. model.setValue("/root/send/clamtypecd", ipt_clamtypecd.value);
  491. // 미수 생성 요청
  492. submit("TXPIF10206");
  493. model.setValue("/root/send/offset","0");
  494. // 심결정보 생성내역 조회
  495. submit("TRPIF10200");
  496. }
  497. ]]>
  498. </script>
  499. </button>
  500. </group>
  501. <group id="group2" scroll="auto" style="left:0px; top:757px; width:1195px; height:27px; ">
  502. <button id="button42" class="btn4_letter6" disabled="true" visibility="hidden" style="left:1021px; top:5px; width:104px; height:22px; ">
  503. <caption>심결미수삭제</caption>
  504. <script type="javascript" ev:event="DOMActivate">
  505. <![CDATA[
  506. if (model.getValue("root/send/acptno") == "") {
  507. messageBox("접수번호를", "C001");
  508. }
  509. else if (model.getValue("root/send/clamym") == "") {
  510. messageBox("청구년월을", "C001");
  511. }
  512. else if (model.getValue("root/send/judgdg") == "") {
  513. messageBox("심사차수를", "C001");
  514. }
  515. else if (model.getValue("root/main/list04/input/clamno") == "") {
  516. messageBox("청구번호를 획득", "E001");
  517. }
  518. else if (model.getValue("root/main/list05/input/clamtypecd") == "") {
  519. messageBox("청구유형을 획득", "E001");
  520. }
  521. else {
  522. // 인스턴스 값을 읽어다 전송 준비를 한다.
  523. model.setValue("/root/send/clamno", ipt_clamno.value);
  524. model.setValue("/root/send/clamtypecd", ipt_clamtypecd.value);
  525. // 미수 생성 요청
  526. //submit("TXPIF10203");
  527. submit("TXPIF10208");
  528. model.setValue("/root/send/offset","0");
  529. // 심결정보 생성내역 조회
  530. submit("TRPIF10200");
  531. }
  532. ]]>
  533. </script>
  534. </button>
  535. <line id="line32" class="line_6" style="x1:0px; y1:0px; x2:1194px; y2:0px; "/>
  536. <button id="button3" class="btn4_letter3" visibility="visible" style="left:1127px; top:5px; width:68px; height:22px; ">
  537. <caption>초기화</caption>
  538. <!-- - 2007.05.30 / 화면수정 / 미수생성을 요청한다. -->
  539. <script type="javascript" ev:event="DOMActivate">
  540. <![CDATA[
  541. fInitialize();
  542. ]]>
  543. </script>
  544. </button>
  545. <button id="button4" class="btn4_letter6" disabled="true" visibility="hidden" style="left:915px; top:5px; width:104px; height:22px; ">
  546. <caption>심결미수생성</caption>
  547. <script type="javascript" ev:event="DOMActivate">
  548. <![CDATA[
  549. if (model.getValue("root/send/acptno") == "") {
  550. messageBox("접수번호를", "C001");
  551. }
  552. else if (model.getValue("root/send/clamym") == "") {
  553. messageBox("청구년월을", "C001");
  554. }
  555. else if (model.getValue("root/send/judgdg") == "") {
  556. messageBox("심사차수를", "C001");
  557. }
  558. else if (model.getValue("root/main/list04/input/clamno") == "") {
  559. messageBox("청구번호를 획득", "E001");
  560. }
  561. else if (model.getValue("root/main/list05/input/clamtypecd") == "") {
  562. messageBox("청구유형을 획득", "E001");
  563. }
  564. else {
  565. // 인스턴스 값을 읽어다 전송 준비를 한다.
  566. model.setValue("/root/send/clamno", ipt_clamno.value);
  567. model.setValue("/root/send/clamtypecd", ipt_clamtypecd.value);
  568. // 미수 생성 요청
  569. //submit("TXPIF10203");
  570. submit("TXPIF10207");
  571. model.setValue("/root/send/offset","0");
  572. // 심결정보 생성내역 조회
  573. submit("TRPIF10200");
  574. }
  575. ]]>
  576. </script>
  577. </button>
  578. </group>
  579. </xhtml:body>
  580. </xhtml:html>